This section contains information about how to configure your Django projects to use django-middleware-extras and also contains a quick reference of the available settings that can be used in order to customize the functionality of this application.
In the Django project’s settings module, add middleware_extras to the INSTALLED_APPS setting:
INSTALLED_APPS = (
...
'middleware_extras',
)
The following settings can be specified in the Django project’s settings module to customize the functionality of django-middleware-extras.
Finally, synchronize the project’s database using the following command:
python manage.py syncdb