Update to readme
Included modeladmin
This commit is contained in:
@ -10,12 +10,13 @@ To install the package with pip::
|
|||||||
|
|
||||||
pip install wagtail-personalisation
|
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
|
.. code-block:: python
|
||||||
|
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
# ...
|
# ...
|
||||||
|
'wagtail.contrib.modeladmin',
|
||||||
'personalisation',
|
'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.
|
Reference in New Issue
Block a user