Fix missing renames from personalisation -> wagtail_personalisation
This commit is contained in:
2
Makefile
2
Makefile
@@ -23,7 +23,7 @@ retest:
|
|||||||
py.test --nomigrations --reuse-db tests/ -vvv
|
py.test --nomigrations --reuse-db tests/ -vvv
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
py.test --nomigrations --reuse-db tests/ --cov=personalisation --cov-report=term-missing --cov-report=html
|
py.test --nomigrations --reuse-db tests/ --cov=wagtail_personalisation --cov-report=term-missing --cov-report=html
|
||||||
|
|
||||||
lint: flake8 isort
|
lint: flake8 isort
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@ Start time The start time of your time frame.
|
|||||||
End time The end time of your time frame.
|
End time The end time of your time frame.
|
||||||
================== ==========================================================
|
================== ==========================================================
|
||||||
|
|
||||||
``personalisation.rules.TimeRule``
|
``wagtail_personalisation.rules.TimeRule``
|
||||||
|
|
||||||
Day rule
|
Day rule
|
||||||
--------
|
--------
|
||||||
@@ -34,7 +34,7 @@ Saturday Matches when the visitors visits on a saturday.
|
|||||||
Sunday Matches when the visitors visits on a sunday.
|
Sunday Matches when the visitors visits on a sunday.
|
||||||
================== ==========================================================
|
================== ==========================================================
|
||||||
|
|
||||||
``personalisation.rules.DayRule``
|
``wagtail_personalisation.rules.DayRule``
|
||||||
|
|
||||||
Referral rule
|
Referral rule
|
||||||
-------------
|
-------------
|
||||||
@@ -52,7 +52,7 @@ Option Description
|
|||||||
Regex string The regex string to match the referral header to.
|
Regex string The regex string to match the referral header to.
|
||||||
================== ==========================================================
|
================== ==========================================================
|
||||||
|
|
||||||
``personalisation.rules.ReferralRule``
|
``wagtail_personalisation.rules.ReferralRule``
|
||||||
|
|
||||||
Visit count rule
|
Visit count rule
|
||||||
----------------
|
----------------
|
||||||
@@ -70,7 +70,7 @@ Operator Whether to match for more than, less than or equal to the
|
|||||||
specified visit count.
|
specified visit count.
|
||||||
================== ==========================================================
|
================== ==========================================================
|
||||||
|
|
||||||
``personalisation.rules.VisitCountRule``
|
``wagtail_personalisation.rules.VisitCountRule``
|
||||||
|
|
||||||
Query rule
|
Query rule
|
||||||
----------
|
----------
|
||||||
@@ -90,7 +90,7 @@ Parameter The first part of the query ('campaign').
|
|||||||
Value The second part of the query ('ourbestoffer').
|
Value The second part of the query ('ourbestoffer').
|
||||||
================== ==========================================================
|
================== ==========================================================
|
||||||
|
|
||||||
``personalisation.rules.QueryRule``
|
``wagtail_personalisation.rules.QueryRule``
|
||||||
|
|
||||||
Device rule
|
Device rule
|
||||||
-----------
|
-----------
|
||||||
@@ -106,7 +106,7 @@ Tablet Matches when the visitor uses a tablet.
|
|||||||
Desktop Matches when the visitor uses a desktop.
|
Desktop Matches when the visitor uses a desktop.
|
||||||
================== ==========================================================
|
================== ==========================================================
|
||||||
|
|
||||||
``personalisation.rules.DeviceRule``
|
``wagtail_personalisation.rules.DeviceRule``
|
||||||
|
|
||||||
User is logged in rule
|
User is logged in rule
|
||||||
----------------------
|
----------------------
|
||||||
@@ -120,4 +120,4 @@ Option Description
|
|||||||
Is logged in Whether the user is logged in or logged out.
|
Is logged in Whether the user is logged in or logged out.
|
||||||
================== ==========================================================
|
================== ==========================================================
|
||||||
|
|
||||||
``personalisation.rules.UserIsLoggedInRule``
|
``wagtail_personalisation.rules.UserIsLoggedInRule``
|
||||||
|
@@ -21,7 +21,7 @@ The Wagxperience app runs in the Wagtail CMS. You can find out more here_.
|
|||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
# ...
|
# ...
|
||||||
'wagtail.contrib.modeladmin',
|
'wagtail.contrib.modeladmin',
|
||||||
'personalisation',
|
'wagtail_personalisation',
|
||||||
# ...
|
# ...
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@ module.exports = {
|
|||||||
form: './js/form.js'
|
form: './js/form.js'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, './src/personalisation/static/js'),
|
path: path.resolve(__dirname, './src/wagtail_personalisation/static/js'),
|
||||||
filename: '[name].js',
|
filename: '[name].js',
|
||||||
sourceMapFilename: '[file].map'
|
sourceMapFilename: '[file].map'
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user