Commit graph

10 commits

Author SHA1 Message Date
Benjamin Bach
87e2201b64 Fix travis config and add tox
(cherry picked from commit 3126b4e146)
2016-09-22 13:52:14 +02:00
Benjamin Bach
13b561aad3 Fix tests
(cherry picked from commit 10bb675d4d)
2016-09-22 13:52:13 +02:00
Alexandre Silva
64d78b2995 The patching of Page and Snippet models is now done on autodiscover after all models being registered - ref #69
Patching of the search_fields to allow the indexation of translated fields on elasticsearch - closes #66
2016-03-15 17:00:24 +00:00
Alexandre Silva
9baf8427d8 Fixed incompatibilities with Wagtail 1.4rc1 (thanks @hmartiniano) and updated the tests to support the new version - ref #67. 2016-03-15 10:04:06 +00:00
Alexandre Silva
deaa90b6e5 Patched the clean method of the Page model to ensure that there are no duplicated slugs - closes #37. 2016-03-14 16:15:14 +00:00
Alexandre Silva
57ecc10b70 The patching of the wagtail models is now made during the init of the said models so there is no need to inherit from TranslationMixin and SnippetsMixin - ref #69
The panels of the related models within an inline panel are now being patched - ref #70
Included unit tests for both issues.
2016-03-14 15:50:39 +00:00
Alexandre Silva
75eee9a0d7 Added test to evaluate the Page subclasses field creation. Changed the a way a subclass Page is detected (translator.py). 2016-02-29 09:52:26 +00:00
Alexandre Silva
95b860f3a4 Tests for the Page model (failing). 2016-02-26 10:37:22 +00:00
Alexandre Silva
0e5b658e3e Pep8 modification in the tests files. 2016-02-25 10:58:13 +00:00
Alexandre Silva
7d376b6172 Adapted the django-modeltranslation tests to wagtail-modeltranslation. 2016-02-25 10:49:43 +00:00