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

View file

@ -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)),