Permalink
Browse files

Better way of including Admin urls

  • Loading branch information...
1 parent ff82017 commit 6840a0d7c0b8f4506daaacc7a16aed1e1e1acb12 @shabda shabda committed Feb 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/urls.txt
View
@@ -14,7 +14,7 @@ prefix.::
urlpatterns = patterns(
'',
(r'^', include('mainpages.urls')),
- (r'^admin/(.*)', admin.site.root),
+ (r'^admin/', include(admin.site.urls)),
(r'^captcha/', include('yacaptcha.urls')),
.....
)

0 comments on commit 6840a0d

Please sign in to comment.