Difference between revisions of "Creating a Model in Django"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "One advantage of using Django is the ability to create a model, it is essentially a database table but without specifying any of the code to create the underlying structure. M...")
(No difference)

Revision as of 15:34, 20 August 2019

One advantage of using Django is the ability to create a model, it is essentially a database table but without specifying any of the code to create the underlying structure. Model's can be related just like a relational SQL database, you can set a field as been a one to one field or a foreign key.

Creating a Model