Update for Djnango 1.4.5: admin.site.urls
http://stackoverflow.com/questions/5503616/how-to-correct-this-error-adminsite-object-has-no-attribute-root
This commit is contained in:
parent
85e9253eec
commit
d70e6f3f8b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ admin.autodiscover()
|
|||
|
||||
urlpatterns = patterns('',
|
||||
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
||||
(r'^admin/(.*)', admin.site.root),
|
||||
(r'^admin/(.*)', admin.site.urls),
|
||||
(r'^$', 'conservancy.frontpage.view'),
|
||||
(r'^feeds/(?P<url>.*)/?$', 'django.contrib.syndication.views.feed',
|
||||
{'feed_dict': feed_dict}),
|
||||
|
|
Loading…
Reference in a new issue