A Wagtail add-on for showing personalized content
Project description
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.
Instructions
Wagtail Personalisation requires Wagtail 1.10 and Django 1.11.
To install the package with pip:
pip install wagtail-personalisation
Next, include the wagtail_personalisation, wagtail.contrib.modeladmin and wagtailfontawesome apps in your project’s INSTALLED_APPS:
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.
MIDDLEWARE = [
'django.contrib.sessions.middleware.SessionMiddleware',
# ...
]
Sandbox
To experiment with the package you can use the sandbox provided in this repository. To install this you will need to create and activate a virtualenv and then run make sandbox. This will start a fresh Wagtail install, with the personalisation module enabled, on http://localhost:8000 and http://localhost:8000/cms/. The superuser credentials are superuser@example.com with the password testing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wagtail-personalisation-0.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833090400ab62ec90c135468b58631f7c26046da4f1cac6cd87355095d04ba73 |
|
MD5 | 0d70f6cbb26e99ca7ea3c01bbda5d081 |
|
BLAKE2b-256 | ec226a2d8d71f7fcc6baefecad3e0b0cdd6afd98d6c89c9883fe423c6854a473 |
Hashes for wagtail_personalisation-0.9.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9932978d3e4e07f1310bb4203d894d123d1028e037cb822f7f0bd91005293298 |
|
MD5 | 6aecc1dfa26427252e7cb127ee7d8b58 |
|
BLAKE2b-256 | a5569e2304cd042e7e02cb19951b87b14ee2046b1343fbe7df61ad599f906184 |