0
I’m having a hard time understanding the concept of Django.
Please check that my conception is correct:
MTV refers to Model Template View.
Model would be my database.
Template would be the interface displayed pro user (HTML, for example).
View would be my functions that handle Model information and present in Template.
Therefore, developing a login page would be:
Model - My database with user information.
Template - The screen shown for user to enter login and password.
View - This is where my function is that validates the information entered by the user in the Template next to the Model and returns if the request is correct and can proceed to the next page.
Correct?
Yes, it seems to be correct.
– Woss
And each app would be a page? In the example cited, the login page is an app, whereas the page that is presented after login is another app?
– Denis Callau