Tutorial part 2 has wrong instructions for enabling admin
|Reported by:||farcepest||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
# Uncomment the next line to enable the admin: (r'^admin/', include(admin.site.urls)),
After creating a new project and inspecting the new default urls.py, I find it should be:
# Uncomment the next line to enable the admin: (r'^admin/', include(admin.site.root)),
i.e. change urls to root.
New users doing what the tutorial tells them probably would never see this; if they uncomment the line as it tells them, it just works. I found this converting an old 0.96 project to 1.02 and going through the tutorial as a refresher.