Chapter 16. django.contrib
One of the many strengths of Python is its "batteries included" philosophy: when you install Python, it comes with a large standard library of packages that you can start using immediately, without having to download anything else. Django aims to follow this philosophy, and it includes its own standard library of add-ons useful for common Web-development tasks. This chapter covers that collection of add-ons.
The Django Standard Library
Django's standard library lives in the package django.contrib
. Within each subpackage is a separate piece of add-on functionality. These pieces are not necessarily related, but some django.contrib
subpackages may require other ones.
There's no hard requirement for the types of functionality ...
Get The Definitive Guide to Django: Web Development Done Right, Second Edition 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.