Code example for middleware requirements.
This commit is contained in:
committed by
Boris Besemer
parent
546fa9d513
commit
d69bec8f22
@@ -26,4 +26,12 @@ The Wagxperience app runs in the Wagtail CMS. You can find out more here_.
|
|||||||
|
|
||||||
python manage.py migrate
|
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.
|
||||||
|
@@ -3,8 +3,8 @@
|
|||||||
You can adapt this file completely to your liking, but it should at least
|
You can adapt this file completely to your liking, but it should at least
|
||||||
contain the root `toctree` directive.
|
contain the root `toctree` directive.
|
||||||
|
|
||||||
Welcome to wagtail-personalisation's documentation!
|
Welcome to the Wagxperience documentation!
|
||||||
===================================================
|
==========================================
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
Reference in New Issue
Block a user