id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 15297 SQLiteCursorWrapper Regression with SVN verson of Django 1.3 Leon Matthews nobody "I've been periodically running our site against 1.3 SVN to check for problems, play with new features, etc... This morning after running `svn update`, I ran into a regression: '''Summary''' * AttributeError while rendering: 'SQLiteCursorWrapper' object has no attribute 'db' * Problem under SVN revision 15525 * Runs fine under Django 1.2.3 * Runs fine under Django 1.3 beta 1 * Full traceback: http://dpaste.com/413457/ '''Details''' {{{ Template error: In template /home/leonov/Projects/animal3/templates/layout/common.html, error at line 68 Caught AttributeError while rendering: 'SQLiteCursorWrapper' object has no attribute 'db' 67 : {% block messagess %} 68 : {% for message in messages %} 69 :
{{ message }}
70 : {% endfor %} 71 : {% endblock messagess %} }}} (''nb. block misspelt, to rule-out name-collision problem''). Removing the message block completely causes the same Exception to be thrown, but this time in a Django Debug Toolbar template: {{{ Template error: In template /home/leonov/Projects/animal3/env-1.3/lib/python2.6/site-packages/debug_toolbar/templates/debug_toolbar/base.html, error at line 49 Caught AttributeError while rendering: 'SQLiteCursorWrapper' object has no attribute 'db' 40 : {% for panel in panels %} 41 : {% if panel.has_content %} 42 :
43 :
44 : {% trans ""Close"" %} 45 :

{{ panel.title|safe }}

46 :
47 :
48 :
49 : {{ panel.content|safe }} 50 :
51 :
52 :
53 : {% endif %} 54 : {% endfor %} }}} " closed Database layer (models, ORM) dev fixed blocker Accepted 0 0 0 0 0 0