Turtorial is always out of date …
I got template not found etc error while playing with Django, and obviously my turtorial material is not up to date.
Symptom is described here:
http://sam.bluwiki.com/blog/2008/07/django-error-while-importing-urlconf.php
“If you’re getting it, it’s likely you updated to the latest Django SVN release, and haven’t upgraded your admin site’s configuration.”
and the solution link is on the same page, which, in short, add following lines to urls.py:
from django.contrib import admin
admin.autodiscover()
and uncomment this line:
(r’^admin/(.*)’, admin.site.root),
that’s it …
1 Comment
Other Links to this Post
RSS feed for comments on this post. TrackBack URI
By Hang, 2009-06-10 @ 15:36
WordPress is not user friendly enough – I was composing this post and after post, it tells me I need to login, and after login, obviously I lots my post and had to re-enter.
Too bad.