adjust urls for admin to work

This commit is contained in:
Sanj 2011-12-23 21:54:34 +05:30
parent 4b508c062f
commit 0769d4659c

View File

@ -30,7 +30,7 @@ urlpatterns = patterns('',
(r'site.json', 'app.views.site_json'), (r'site.json', 'app.views.site_json'),
(r'^itf/', include('festival.urls')), (r'^itf/', include('festival.urls')),
(r'^accounts/', include('registration.urls')), (r'^accounts/', include('registration.urls')),
(r'^admin/(.*)', admin.site.urls), (r'^admin/', include(admin.site.urls)),
('^getLanguages', 'itfcore.views.getLanguages'), ('^getLanguages', 'itfcore.views.getLanguages'),
# Uncomment the admin/doc line below and add 'django.contrib.admindocs' # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation: # to INSTALLED_APPS to enable admin documentation: