0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00

Add Django models import to Site Settings docs

This commit is contained in:
David Beitey 2019-05-03 06:25:16 +00:00 committed by Matt Westcott
parent 51d8cac6f4
commit 602cd50d18

View File

@ -22,6 +22,7 @@ Create a model that inherits from ``BaseSetting``, and register it using the ``r
.. code-block:: python .. code-block:: python
from django.db import models
from wagtail.contrib.settings.models import BaseSetting, register_setting from wagtail.contrib.settings.models import BaseSetting, register_setting
@register_setting @register_setting