Commits

Kai Diefenbach  committed 6020326

Using "admin.site.urls".

  • Participants
  • Parent commits 6a1e948

Comments (0)

Files changed (1)

File lfc_project/urls.py

     url('^accounts/login/?$', login, {"template_name" : "admin/login.html"}, name='auth_login'),
     url('^accounts/logout/?$', logout, name='auth_logout'),
 
-    (r'^admin/(.*)', admin.site.root),
+    (r'^admin/', include(admin.site.urls)),
     (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.path.join(DIRNAME, "media"), 'show_indexes': True }),
 )