Skip to content

Commit

Permalink
Better way of including Admin urls
Browse files Browse the repository at this point in the history
  • Loading branch information
shabda committed Feb 21, 2012
1 parent ff82017 commit 6840a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/urls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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')),
.....
)
Expand Down

0 comments on commit 6840a0d

Please sign in to comment.