Skip to content

Commit

Permalink
Re-remove the segments adapter instructions
Browse files Browse the repository at this point in the history
Too specific for the README.
  • Loading branch information
tomdyson authored and mvantellingen committed May 31, 2017
1 parent 5eefa21 commit 361f0b1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,6 @@ Next, include the ``wagtail_personalisation`` and
Make sure that ``django.contrib.sessions.middleware.SessionMiddleware`` has
been added in first, this is a prerequisite for this project.


Changing segments adapter
-------------------------
To change the segments adapter, first make a new one based on the
``BaseSegmentsAdapter``

.. code-block:: python
class YourSegmentsAdapter(BaseSegmentsAdapter):
# Add your own logic here
Add the ``PERSONALISATION_SEGMENTS_ADAPTER`` setting to your settings.py and
choose your own adapter.


Sandbox
-------

Expand Down

0 comments on commit 361f0b1

Please sign in to comment.