M testproject/testproject/urls.py => testproject/testproject/urls.py +1 -1
@@ 10,7 10,7 @@ from wiki.urls import get_pattern as get_wiki_pattern
admin.autodiscover()
urlpatterns = [
- url(r'^admin/', include(admin.site.urls)),
+ url(r'^admin/', admin.site.urls),
url(r'^robots.txt', lambda _: HttpResponse('User-agent: *\nDisallow: /')),
]
M tests/testdata/urls.py => tests/testdata/urls.py +1 -1
@@ 9,7 9,7 @@ admin.autodiscover()
urlpatterns = [
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
- url(r'^admin/', include(admin.site.urls)),
+ url(r'^admin/', admin.site.urls),
]
if settings.DEBUG: