7
Commit Graph

14 Commits

Author SHA1 Message Date
Michael van Tellingen
281086a159 Rename variations to variants 2017-06-02 15:31:46 +02:00
Michael van Tellingen
5aa754dd80 Rename PersonalisablePageMixin.personalisable_metadata
Use PersonalisablePageMixin.personalisation_metadata instead to mirror
the package name
2017-06-02 10:23:46 +02:00
Michael van Tellingen
35c22cb6af Use correct filenames for the tests (and split some) 2017-06-02 10:11:46 +02:00
Michael van Tellingen
7076973fc8 Refactor personalisable pages
Instead of working with django model mixins it now uses a separate
model entity to keep track of the personalized pages (metadata).

The current downside of this approach is that the segment of an existing
variant is no longer easily adjustable for now.
2017-05-31 21:31:40 +02:00
Paul J Stevens
ebef7f8785 refactor and add tests 2017-05-31 15:59:09 +02:00
Paul J Stevens
623af1a06a start using correct model in tests 2017-05-31 15:59:09 +02:00
Michael van Tellingen
3eac2cd4dd Codestyle fixes (flake8)
This also adds the flake8 dependencies to the test extras for
installation.
2017-05-28 09:13:08 +02:00
Jasper Berghoef
ebde527ae9 Renames the module from ‘personalisation’ to ‘wagtail_personalisation’ 2017-05-26 16:31:54 +02:00
Jasper Berghoef
d468c68970 Changes reference to rule models in adapter and tests 2017-04-19 11:40:21 +02:00
Michael van Tellingen
8e754fef07 Use wagtail-factories for testing 2017-02-18 22:46:51 +01:00
Boris Besemer
48f1f0a61d adds python 2.7 compatibility 2016-12-07 15:28:49 +01:00
Boris Besemer
b405381942 sorts with isort 2016-11-30 17:21:43 +01:00
Boris Besemer
fd4ddc4395 adds segment middleware testing (simple) 2016-11-30 17:20:42 +01:00
Boris Besemer
2936223203 added lots of factories on top of factories 2016-11-30 14:38:14 +01:00