Django is a web framework which uses Python as programming language. With reusable and pluggable components, it became easy and fast for development and deployment of data driven websites.
It's free and open source.
| Basics||Installation and creating pojects using Django|
| Form||Form to collect user intered data and displaying|
| URL||Collecting data from URL|
| For Loop||Displaying data by looping using Django|
| Admin||Admin interface for managing users and tables|
| static files||Adding JQuery and Bootstrap to static files|
| MySQL()||Installing mysqlclient and connecting to framework|
| Insert||Adding records to MySQL tables using web form|
| Multiple||Adding multiple records to MySQL tables from a list|
| Display||Displaying records from MySQL tables|
Model Template View ( MTV )
Django uses Model Template View (MTV) Architecture and we can separate the three important areas of the web framework. It became easy for the teams to work on different parts of a complex project.
Model : We will handle our database by using Model. We declare our class here to manage data tables.
Template : We keep our user interface ( UI ) here. Take the input data or display the outcome of a transaction here.
Views : Views remains between our Model and Template ( UI ) . The main job is to handle business logics of our project.
← Subscribe to our YouTube Channel here
This article is written by plus2net.com team.
|how to display only one record....can you tell me |