23.2 A First Look

Django automatically enabled the admin app when we created our project, including a URL configuration in our root URL configuration, as shown in Example 23.1.

Example 23.1: Project Code

suorganizer/urls.py in 38bc0b6d91

17   from django.contrib import admin  .       ... 30   urlpatterns = [  .       ... 39       url(r'^admin/', include(admin.site.urls)),  .       ... 49   ]

Most of our interactions with the admin app will be configuring the app to interact with the rest of our project as we desire. To begin with, in Example 23.2, we can change the header and title of the admin webpages. The header is the text displayed in the body of the webpage, while the title refers to the HMTL title tag in ...

Get Django Unleashed 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.