mirror of
https://github.com/Hopiu/wagtail-modeltranslation.git
synced 2026-04-29 19:14:46 +00:00
Simple app containing a mixin model that integrates modeltranslation (https://github.com/deschler/django-modeltranslation) into wagtail panels system.
| dist | ||
| wagtail_modeltranslation | ||
| wagtail_modeltranslation.egg-info | ||
| MANIFEST.in | ||
| README.rst | ||
| setup.py | ||
=====
WAGTAIL MODELTRANSLATION ADAPTATION
=====
Simple app containing a mixin model that integrates modeltranslation
(https://github.com/deschler/django-modeltranslation) into wagtail panels system.
Quick start
-----------
1. Add "wagtail_modeltranslation" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'wagtail_modeltranslation',
**YOUR APPS**
)
2. Use TranslationMixin to integrate django-modeltranslation with Wagtail admin:
from wagtail_modeltranslation.models import TranslationMixin
class FooModel(Page, TranslationMixin):
foo = models.CharField()
FooModel.panels = [...]
2. Visit django-modeltranslation for documentation - http://django-modeltranslation.readthedocs.org/en/latest/