mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 16:53:10 +00:00
feat(api): Added wagtail.api module
This commit is contained in:
parent
dc3910a613
commit
e3504af94c
4 changed files with 10 additions and 1 deletions
1
wagtail/api/__init__.py
Normal file
1
wagtail/api/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
default_app_config = 'wagtail.api.apps.WagtailAPIAppConfig'
|
||||
7
wagtail/api/apps.py
Normal file
7
wagtail/api/apps.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class WagtailAPIAppConfig(AppConfig):
|
||||
name = 'wagtail.api'
|
||||
label = 'wagtailapi'
|
||||
verbose_name = "Wagtail API"
|
||||
|
|
@ -5,7 +5,7 @@ from django.core.exceptions import ImproperlyConfigured
|
|||
|
||||
class WagtailAPIAppConfig(AppConfig):
|
||||
name = 'wagtail.contrib.wagtailapi'
|
||||
label = 'wagtailapi'
|
||||
label = 'wagtailapi_v1'
|
||||
verbose_name = "Wagtail API"
|
||||
|
||||
def ready(self):
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ INSTALLED_APPS = (
|
|||
'wagtail.wagtailsnippets',
|
||||
'wagtail.wagtaildocs',
|
||||
'wagtail.wagtailadmin',
|
||||
'wagtail.api',
|
||||
'wagtail.wagtailcore',
|
||||
|
||||
'taggit',
|
||||
|
|
|
|||
Loading…
Reference in a new issue