7

Update to readme

Included modeladmin
This commit is contained in:
Jasper Berghoef
2016-11-08 09:51:36 +01:00
parent 35a8bd5c8e
commit 72aad87f01

View File

@ -10,12 +10,13 @@ To install the package with pip::
pip install wagtail-personalisation
Next, include the ``personalisation`` app in your project's ``INSTALLED_APPS``:
Next, include the ``personalisation`` and ``wagtail.contrib.modeladmin`` app in your project's ``INSTALLED_APPS``:
.. code-block:: python
INSTALLED_APPS = [
# ...
'wagtail.contrib.modeladmin',
'personalisation',
# ...
]
@ -30,4 +31,4 @@ Last but not least, add ``personalisation.middleware.SegmentMiddleware`` to your
# ...
]
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`` has been added in first, this is a prerequisite for this project.