Deprecated Passing a 3-tuple or an app_name to include()

Django 1.9
This commit is contained in:
Santiago L 2021-04-22 10:51:23 +02:00
parent 7d975637d5
commit de979011f9
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ api.autodiscover()
urlpatterns = [ urlpatterns = [
# Admin # Admin
url(r'^admin/', include(admin.site.urls)), url(r'^admin/', admin.site.urls),
url(r'^admin_tools/', include('admin_tools.urls')), url(r'^admin_tools/', include('admin_tools.urls')),
# REST API # REST API
url(r'^api/', include(api.router.urls)), url(r'^api/', include(api.router.urls)),