Creating a Model in Django

From TRCCompSci - AQA Computer Science
Revision as of 15:34, 20 August 2019 by Admin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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