2
0
Эх сурвалжийг харах

Remove API v1

This is being removed in Wagtail 2.0.
Matt Westcott 7 жил өмнө
parent
commit
4079bff981

+ 0 - 1
bakerydemo/settings/base.py

@@ -50,7 +50,6 @@ INSTALLED_APPS = [
     'wagtail.wagtailadmin',
     'wagtail.contrib.modeladmin',
     'wagtail.wagtailcore',
-    'wagtail.contrib.wagtailapi',
 
     'rest_framework',
     'modelcluster',

+ 0 - 3
bakerydemo/urls.py

@@ -8,8 +8,6 @@ from wagtail.wagtailcore import urls as wagtail_urls
 
 from bakerydemo.search import views as search_views
 
-from wagtail.contrib.wagtailapi import urls as wagtailapi_urls
-
 urlpatterns = [
     url(r'^django-admin/', include(admin.site.urls)),
 
@@ -17,7 +15,6 @@ urlpatterns = [
     url(r'^documents/', include(wagtaildocs_urls)),
 
     url(r'^search/$', search_views.search, name='search'),
-    url(r'^api/', include(wagtailapi_urls)),
 
 ]