Chapter 3. Adding Models and Objects to Your Website
What You’ll Learn in This Hour
- How to install the Django admin interface model application
- How to configure the
URLconf
file to allow web browsers to see the admin interface - How to activate a model in the admin interface
- How to add, delete, view, and modify objects using the admin interface
- How to add fields to data models
- How to change the behavior of fields in a data model
- How to create relationships between classes in data models
In Hour 2, “Creating Your First Website,” you went through the steps to create a basic Django website. As part of that process, you created a simple application and model. In this hour, you will activate and install Django’s admin interface so that you will be able ...
Get Sams Teach Yourself Django in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.