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:
parent
51d8cac6f4
commit
602cd50d18
@ -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 New Issue
Block a user