Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8768763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:08:57+00:00 2026-06-13T17:08:57+00:00

In most MVC/ORM type systems django’s views.py might be referred to as a controller,

  • 0

In most MVC/ORM type systems django’s views.py might be referred to as a controller, and their templates the views. Is this a different design pattern that they are following? Why is it called views.py?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:08:59+00:00Added an answer on June 13, 2026 at 5:08 pm

    This question is answered in the FAQ.

    Django appears to be a MVC framework, but you call the Controller the
    “view”, and the View the “template”. How come you don’t use the
    standard names?

    Well, the standard names are debatable.

    In our interpretation of MVC, the “view” describes the data that gets
    presented to the user. It’s not necessarily how the data looks, but
    which data is presented. The view describes which data you see, not
    how you see it. It’s a subtle distinction.

    So, in our case, a “view” is the Python callback function for a
    particular URL, because that callback function describes which data is
    presented.

    Furthermore, it’s sensible to separate content from presentation –
    which is where templates come in. In Django, a “view” describes which
    data is presented, but a view normally delegates to a template, which
    describes how the data is presented.

    Where does the “controller” fit in, then? In Django’s case, it’s
    probably the framework itself: the machinery that sends a request to
    the appropriate view, according to the Django URL configuration.

    If you’re hungry for acronyms, you might say that Django is a “MTV”
    framework – that is, “model”, “template”, and “view.” That breakdown
    makes much more sense.

    At the end of the day, of course, it comes down to getting stuff done.
    And, regardless of how things are named, Django gets stuff done in a
    way that’s most logical to us.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the most usual way to develop views in asp.net mvc? Should I
This time I have a more philosopical question. Most MVC tutorials/books seem to suggest
Most CF MVC Frameworks use the front controller pattern. Usually Search Engine Safe (SES)
I'm using ASP.NET, but I'm sure this pertains to any (or most) MVC frameworks.
How does one most efficiently connect a view and a controller in a MVC-esque
Most of the ASP.NET MVC paging solutions I have found by googling look like
Most of my company's web programming background is PHP, so ASP.NET MVC was a
Like most web developers these days, I'm thoroughly enjoying the benefits of solid MVC
In most samples I have seen on the web, DI in MVC Controllers is
I am learning ASP.NET MVC now a days and I have found that most

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.