* Splits documentation over multiple folders * Editor guide documentation intro * Adds segment dashboard documentation * Adds editor documenation regarding segment creation * Adds logo with padding for the documentation * Updates usage guide documentation * Splits sandbox and custom rules documentation * Improves ‘Create a variant’ documentation * Adds documentation regarding streamfield and template tags * Consistent StreamField references * Feedback from M. Dingjan * Remove ‘coming soon’ section * Enable sandbox debug toolbar * Updated documentation
38 lines
923 B
ReStructuredText
38 lines
923 B
ReStructuredText
Installing Wagxperience
|
|
=======================
|
|
|
|
Wagtail Personalisation requires Wagtail_ 2.0 or 2.1 and Django_ 1.11 or 2.0.
|
|
|
|
.. _Wagtail: https://github.com/wagtail/wagtail
|
|
.. _Django: https://github.com/django/django
|
|
|
|
|
|
To install the package with pip:
|
|
|
|
.. code-block:: console
|
|
|
|
pip install wagtail-personalisation
|
|
|
|
Next, include the ``wagtail_personalisation``, ``wagtail.contrib.modeladmin``
|
|
and ``wagtailfontawesome`` apps in your project's ``INSTALLED_APPS``:
|
|
|
|
.. code-block:: python
|
|
|
|
INSTALLED_APPS = [
|
|
# ...
|
|
'wagtail.contrib.modeladmin',
|
|
'wagtail_personalisation',
|
|
'wagtailfontawesome',
|
|
# ...
|
|
]
|
|
|
|
Make sure that ``django.contrib.sessions.middleware.SessionMiddleware`` has
|
|
been added in first, this is a prerequisite for this project.
|
|
|
|
.. code-block:: python
|
|
|
|
MIDDLEWARE = [
|
|
'django.contrib.sessions.middleware.SessionMiddleware',
|
|
# ...
|
|
]
|