mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-21 21:41:55 +00:00
Add Django models import to Site Settings docs
This commit is contained in:
parent
51d8cac6f4
commit
602cd50d18
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ Create a model that inherits from ``BaseSetting``, and register it using the ``r
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
from django.db import models
|
||||
from wagtail.contrib.settings.models import BaseSetting, register_setting
|
||||
|
||||
@register_setting
|
||||
|
|
|
|||
Loading…
Reference in a new issue