From 9b527c474495243dcfc39070f99bb5c1d818b919 Mon Sep 17 00:00:00 2001 From: lhark Date: Sat, 2 Jul 2016 02:02:25 +0200 Subject: [PATCH] Define app namespaces --- re2o/urls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/re2o/urls.py b/re2o/urls.py index faf471f2..6bcabc24 100644 --- a/re2o/urls.py +++ b/re2o/urls.py @@ -20,6 +20,7 @@ from logs.views import index urlpatterns = [ url(r'^$', index), url(r'^admin/', include(admin.site.urls)), - url(r'^users/', include('users.urls')), - url(r'^search/', include('search.urls')), + url(r'^users/', include('users.urls', namespace='users')), + url(r'^search/', include('search.urls', namespace='search')), + #url(r'^logs/', include('logs.urls', namespace='logs')), ]