From 20d215f21f81ded6b3e490c8164a51a5d9ffd5a8 Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 1 Apr 2016 10:52:20 +0530 Subject: added admin-tool urls --- PythonTBC/urls.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'PythonTBC/urls.py') diff --git a/PythonTBC/urls.py b/PythonTBC/urls.py index 78a7215..5cd6ff1 100644 --- a/PythonTBC/urls.py +++ b/PythonTBC/urls.py @@ -19,9 +19,16 @@ urlpatterns = patterns('', # Uncomment the next line to enable the admin: url(r'^admin/', include(admin.site.urls)), - url(r'^comments/', include('comments.urls')), url(r'^', include('tbc.urls', namespace='tbc')), url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), + + url(r'^admin-tools/$', 'tbc.views.admin_tools'), + url(r'^admin-tools/commenting', 'commentingapp.views.commenting', name = 'commenting'), + url(r'^admin-tools/error_page', 'tbc_error_page.views.error', name = 'error_page'), + url(r'^admin-tools/broken_page', 'tbc_error_page.views.broken', name = 'broken_page'), + + + ) -- cgit From 07d7303d23d41e99aa1d13f053b133b9484fbb63 Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 1 Apr 2016 11:20:18 +0530 Subject: made minor changes in admin url --- PythonTBC/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PythonTBC/urls.py') diff --git a/PythonTBC/urls.py b/PythonTBC/urls.py index 5cd6ff1..2b145bf 100644 --- a/PythonTBC/urls.py +++ b/PythonTBC/urls.py @@ -18,7 +18,7 @@ urlpatterns = patterns('', # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: - url(r'^admin/', include(admin.site.urls)), + url(r'^admin', include(admin.site.urls)), url(r'^', include('tbc.urls', namespace='tbc')), url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), -- cgit From f81da73b10ac16222f903acc5e93245de3a64b5a Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 1 Apr 2016 11:51:55 +0530 Subject: changed urls --- PythonTBC/urls.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'PythonTBC/urls.py') diff --git a/PythonTBC/urls.py b/PythonTBC/urls.py index 2b145bf..34bc0f6 100644 --- a/PythonTBC/urls.py +++ b/PythonTBC/urls.py @@ -22,13 +22,9 @@ urlpatterns = patterns('', url(r'^', include('tbc.urls', namespace='tbc')), url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), - url(r'^admin-tools/$', 'tbc.views.admin_tools'), url(r'^admin-tools/commenting', 'commentingapp.views.commenting', name = 'commenting'), url(r'^admin-tools/error_page', 'tbc_error_page.views.error', name = 'error_page'), url(r'^admin-tools/broken_page', 'tbc_error_page.views.broken', name = 'broken_page'), - - - ) -- cgit