7
Commit Graph

10 Commits

Author SHA1 Message Date
6f96f2f172 Add more tests for wagtail_hooks 2017-06-02 11:23:39 +02:00
559d3c5356 Add unittest for serving a regular page
See #150
2017-06-02 10:32:41 +02:00
5aa754dd80 Rename PersonalisablePageMixin.personalisable_metadata
Use PersonalisablePageMixin.personalisation_metadata instead to mirror
the package name
2017-06-02 10:23:46 +02:00
282baa4787 Add tests for the wagtail_hooks.serve_variaton 2017-06-02 10:19:32 +02:00
6c5ab9c6ae Merge HomePage/SpecialPage to ContentPage in the tests
No need to create separate models with the same functionality
2017-06-02 09:30:04 +02:00
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
99d2e4a347 support multiple uses of the mixin class (#140) 2017-05-31 16:50:56 +02:00
03073eb004 Add unittests for the session adapter 2017-05-31 16:13:30 +02:00
1b73119766 post rebase fixes 2017-05-31 15:59:09 +02:00
ebef7f8785 refactor and add tests 2017-05-31 15:59:09 +02:00