The django.contrib
package contains Django's standard library. We have used the following sub-frameworks from this package during earlier chapters in this book:
admin
: The Django admin interfaceauth
: The user authentication systemsessions
: The Django session frameworksyndication
: The feed generation framework
These sub-frameworks greatly simplified our work, whether we were creating registration and authentication facilities, building an administration page, or providing feeds for our content. The django.contrib
package is a very important part of Django. Knowing its sub-packages and how to use them will save you a lot of time and effort.
This section will provide you with a brief introduction to other frameworks from this package. You won't get into the details of how to use each framework, but you will learn enough to know when to use the framework. Once you want to use a framework in a project, you can read the online documentation to learn more about it.