Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage'
(permalink)
Another Django upgrade hint:
Your forgot to update urls.conf as follows:
Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage'
Your forgot to update urls.conf as follows:
# OLD:
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^admin/', include('django.contrib.admin.urls')),
)
# NEW:
from django.conf.urls.defaults import *
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/(.*)', admin.site.root),
)
Labels: django


Links to this post:
Create a Link
<< Home