AdminLesson 24Free preview
Include Models
This lesson is part of Django · All levels
Summary
For the Member model to appear in the admin, list it in the file admin.py belonging to the application. After that, the data can be viewed and edited through the admin interface. This is a mandatory step before admin manages the data.
Key points
- Open the application file (admin.py)
- Import models to be managed
- Use the word.
- The model appears live on the admin
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.