In order to access the admin page following along in the tutorial, you
must also uncomment several lines in the urls.py which is not mentioned in
part 1 or part 2 of the tutorial
{{{
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
...
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21385>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_docs: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_better_patch: => 0
Comment:
You are looking at the tutorial for the development version of Django
(note "dev" in the URL). You can access the tutorial that corresponds to
Django 1.4 here: https://docs.djangoproject.com/en/1.4/intro/tutorial02/
--
Ticket URL: <https://code.djangoproject.com/ticket/21385#comment:1>