O'Reilly logo

Django Unleashed by Andrew Pinkham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required