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 …

  One Response to “Turtorial is always out of date …”

  1. 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.

Sorry, the comment form is closed at this time.