7

Update imports in examples in docs

This commit is contained in:
Kaitlyn Crawford
2018-12-18 14:02:01 +02:00
parent 2e827be41a
commit dcdeb4e9a2

View File

@ -37,7 +37,7 @@ Rules consist of two important elements, the model's fields and the ``test_user`
A very simple example of a rule would look something like this::
from django.db import models
from wagtail.wagtailadmin.edit_handlers import FieldPanel
from wagtail.admin.edit_handlers import FieldPanel
from personalisation import AbstractBaseRule
class MyNewRule(AbstractBaseRule):