November 2015
Beginner to intermediate
840 pages
26h 30m
English
The auth app, as you might have guessed, is a full-fledged app. It comes equipped with models, forms, views, decorators, URL patterns, and even middleware. It relies heavily on the sessions app but also makes use of the sites app if it’s enabled (we enabled the sites app in Chapter 15: Creating Webpages with Django Flatpages). See Example 19.9.
Example 19.9: Project Code
suorganizer/settings.py in 97c4234a4a
35 INSTALLED_APPS = ( . ... 37 'django.contrib.auth', . ... 41 'django.contrib.sites', . ... 48 )
In this chapter, we focus on the User Model. Django stores all of the information to identify and authenticate a user/visitor in the model ...
Read now
Unlock full access