
Learn to customize the Django admin dashboard by changing the site header, site title, and index title through the admin site configuration and the administrator class.
learn to seed a Django project with 500 random blog objects using the Faker library for tests, generating random titles and bodies.
learn how to enable custom search in the Django admin dashboard by adding a search field for blog titles, using search_fields, text field types, and case-insensitive lookups.
Learn to use pre-populated fields in the Django admin to auto-fill the slug from the title, configuring the source field and saving changes in the blog model.
Learn to add a date hierarchy in the Django admin to drill down data by creation date for quick, time-based navigation across records.
Learn to customize the Django admin form layout by ordering fields with ModelAdmin.fields, controlling visibility of title, body, slug, and draft, and placing fields in the same row.
Generate random comments for each blog post using a library, set up a comments admin, and use bulk creation to attach three comments per blog with the blog shown.
Learn to use Django admin inline editors to manage related models, such as editing and adding blog comments from the blog page, using tabular or stacked inlines.
Learn how the Django admin permission system assigns add, change, view, and delete rights to individual users or groups, using John’s blog access as an example.
Create a user group in the Django admin, assign permissions to that group to control access to blogs and comments, and add users to the group.
Install and enable a date range filter package for the Django admin and configure the blog admin to filter by the date created using the time range filter.
Learn to integrate maps into the Django admin using django-leaflet, register a Place model with name and position, migrate, and configure the Leafleted Yardman admin class for interactive map display.
Learn to enable import and export in the Django admin using Jungle Import-Export, supporting formats like CSV and Excel, plus other common options through a resource class and ImportExportModelAdmin.
Learn how to optimize Django admin queries by using select_related on foreign keys and one-to-one fields to reduce database hits; customize behavior via get_select_related.
Learn how to disable deleting in the Django admin by overriding get_actions to remove delete selected and has_permission to return false, removing the delete button on change pages.
One of the most powerful components of Django is the automatic admin interface. It provides a quick, database centric interface that authenticated users can use to manage content on a Django site.
However, the Django admin exposes an API which is unique and quite different from all the other components that ship with Django, such as the auth app. This makes it difficult for Django developers to take full advantage of the admin dashboard.
This course, exclusively on the Django admin, aims at solving that. It will arm the student with expert knowledge on how to master, supercharge and be productive with the Django admin.