Skip to content

Commit

Permalink
Fixes line length and adds Middleware code example
Browse files Browse the repository at this point in the history
  • Loading branch information
jberghoef committed Jun 2, 2017
1 parent 7405c34 commit 702fa23
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
Wagtail Personalisation
=======================

Wagtail Personalisation is a fully-featured personalisation module for `Wagtail CMS`_. It enables editors to create customised pages - or parts of pages - based on segments whose rules are configured directly in the admin interface.
Wagtail Personalisation is a fully-featured personalisation module for
`Wagtail CMS`_. It enables editors to create customised pages
- or parts of pages - based on segments whose rules are configured directly
in the admin interface.

.. _Wagtail CMS: http://wagtail.io/

Expand Down Expand Up @@ -46,14 +49,21 @@ and ``wagtailfontawesome`` apps in your project's ``INSTALLED_APPS``:
INSTALLED_APPS = [
# ...
'wagtail.contrib.modeladmin',
'wagtailfontawesome',
'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',
# ...
]
Sandbox
-------

Expand Down

0 comments on commit 702fa23

Please sign in to comment.