8

Code example for middleware requirements.

This commit is contained in:
Jasper Berghoef
2017-01-24 13:18:18 +01:00
committed by Boris Besemer
parent 546fa9d513
commit d69bec8f22
2 changed files with 11 additions and 3 deletions

View File

@@ -26,4 +26,12 @@ The Wagxperience app runs in the Wagtail CMS. You can find out more here_.
python manage.py migrate
Make sure that ``django.contrib.sessions.middleware.SessionMiddleware`` has been added in first. This is a prerequisite for this project.
Make sure that ``django.contrib.sessions.middleware.SessionMiddleware`` is included in your middleware::
MIDDLEWARE = [
# ...
'django.contrib.sessions.middleware.SessionMiddleware',
# ...
]
This is a prerequisite for this project.

View File

@@ -3,8 +3,8 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to wagtail-personalisation's documentation!
===================================================
Welcome to the Wagxperience documentation!
==========================================
.. toctree::
:maxdepth: 2