Jun 102009
 

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 …