Deprecated Passing a 3-tuple or an app_name to include()
Django 1.9
This commit is contained in:
parent
7d975637d5
commit
de979011f9
|
@ -14,7 +14,7 @@ api.autodiscover()
|
|||
|
||||
urlpatterns = [
|
||||
# Admin
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^admin/', admin.site.urls),
|
||||
url(r'^admin_tools/', include('admin_tools.urls')),
|
||||
# REST API
|
||||
url(r'^api/', include(api.router.urls)),
|
||||
|
|
Loading…
Reference in New Issue