~netlandish/django-wiki

e972422d71a9aff67a6f088cbf392ac87091ce5e — Raffaele Salmaso 6 years ago 6ce234c
Update admin urls inclusion
2 files changed, 2 insertions(+), 2 deletions(-)

M testproject/testproject/urls.py
M tests/testdata/urls.py
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: