I upgraded a working Django app to 1.1 and I now get a KeyError exception on a for loop!
Template error
In template /vol/.../templates/base_bbn.html, error at line 7
Caught an exception while rendering: 'django.contrib.comments.urls.'
You would think that there couldn't be a KeyError on a for loop like this because there would be a key for each item it iterates through.
{% block blog_class %}
{% for post in POSTS %} # <-----------Template error on this line
<p class="bbn-dateln">{{ post.publish|date:"Y F d" }
The actual exception is KeyError
File "/usr/lib/python2.5/site-packages/django/utils/importlib.py", line 36, in import_module
return sys.modules[name]
KeyError: 'django.contrib.comments.urls.'
Any suggestions on how to debug this? POSTS that I'm passing to this template to be rendered looks fine....