Questions about Django MTV

0

I'm having a hard time understanding the Django concept.

Please check if my design is correct:

MTV refers to the Model Template View. Model would be my database. Template would be the interface displayed to the user (HTML, for example ). View would be my functions that treat Model information and display in Template.

So, developing a login page would be: Template - My database with the user information.
Template - The screen displayed pro View - This is where my function 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?

    
asked by anonymous 21.12.2017 / 19:17

0 answers