bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
Learn/Django

Django

Admin

This chapter works through Django Admin, the anchor topic behind Admin.

Lesson 1

Django Admin

Django Admin is a really great tool in Django, it is actually a CRUD* user interface of all your models!

Read lesson →Loading…
Lesson 2

Django Admin - Create User

To be able to log into the admin application, we need to create a user.

Read lesson →Loading…
Lesson 3

Django Admin - Include Member

To include the Member model in the admin interface, we have to tell Django that this model should be visible in the admin interface.

Read lesson →Loading…
Lesson 4

Django Admin - Set Fields to Display

When you display a Model as a list, Django displays each record as the string representation of the record object, which in our case is "Member object (1)", "Member object(2)" etc.:

Read lesson →Loading…
Lesson 5

Django Admin - Update Members

Now we are able to create, update, and delete members in our database, and we start by giving them all a date for when they became members.

Read lesson →Loading…
Lesson 6

Django Admin - Add Members

To add a new member, click on the "ADD MEMBER" button in the top right corner:

Read lesson →Loading…
Lesson 7

Django Admin - Delete Members

To delete a new member, you can either select a member and choose the action "Delete selected members" like this:

Read lesson →Loading…

Django chapters

All
1. Django Tutorial2. Display Data3. Admin4. Django Syntax5. QuerySets6. Static Files7. PostgreSQL8. Deploy Django9. More Django