diff options
Diffstat (limited to 'PythonTBC')
-rw-r--r-- | PythonTBC/settings.py | 3 | ||||
-rw-r--r-- | PythonTBC/urls.py | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/PythonTBC/settings.py b/PythonTBC/settings.py index bfcb2d5..4d99488 100644 --- a/PythonTBC/settings.py +++ b/PythonTBC/settings.py @@ -139,7 +139,8 @@ INSTALLED_APPS = ( 'tbc', 'comments', 'south', - + 'commentingapp', + 'tbc_error_page', ) diff --git a/PythonTBC/urls.py b/PythonTBC/urls.py index 78a7215..34bc0f6 100644 --- a/PythonTBC/urls.py +++ b/PythonTBC/urls.py @@ -18,10 +18,13 @@ 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'^comments/', include('comments.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}), + + 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'), ) |