State in admin rendering process when error occurred: /usr/local/lib/python2.6/dist-packages/django/template/debug.py in render_node
74. e.source = node.source 75. raise 76. except Exception, e: 77. from sys import exc_info 78. wrapped = TemplateSyntaxError(u'Caught an exception while rendering: %s' % force_unicode(e, errors='replace')) 79. wrapped.source = node.source 80. wrapped.exc_info = exc_info() 81. raise wrapped ... 82. return result 83. 84. class DebugVariableNode(VariableNode): 85. def render(self, context): 86. try: 87. output = force_unicode(self.filter_expression.resolve(context)) ▼ Local vars Variable Value context [{'block': <Block Node: userlinks. Contents: [<Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x90ebd0c>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x90ebbcc>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.templatetags.i18n.TranslateNode object at 0x90d240c>, <Text Node: '</a> / '>, <django.template.defaulttags.URLNode object at 0x90eb80c>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.templatetags.i18n.TranslateNode object at 0x90d2bcc>, <Text Node: '</a> '>]>}, {'root_path': None, 'app_list': [{'app_url': 'auth/', 'models': [{'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': 'auth/group/', 'name': <django.utils.functional.__proxy__ object at 0x908294c>}, {'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': 'auth/ user/', 'name': <django.utils.functional.__proxy__ object at 0x90892cc>}], 'has_module_perms': True, 'name': 'Auth'}, {'app_url': 'sites/', 'models': [{'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': 'sites/site/', 'name': <django.utils.functional.__proxy__ object at 0x90b6a8c>}], 'has_module_perms': True, 'name': 'Sites'}, {'app_url': 'staticpages/', 'models': [{'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': 'staticpages/link/', 'name': u'Links'}, {'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': 'staticpages/menu/', 'name': u'Menus'}, {'perms': {'add': True, 'change': True, 'delete': True}, 'admin_url': 'staticpages/ staticpage/', 'name': u'Static pages'}], 'has_module_perms': True, 'name': 'Staticpages'}], 'title': u'Site administration'}, {'MEDIA_URL': 'http://localhost/static/sccom'}, {'perms': <django.core.context_processors.PermWrapper object at 0x90a984c>, 'messages': [], 'user': <User: ryan>}, {}] e TypeError("unsupported operand type(s) for +=: 'function' and 'list'",) exc_info <built-in function exc_info> node <django.template.defaulttags.URLNode object at 0x90ebd0c> self [<Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x90ebd0c>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x90ebbcc>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.templatetags.i18n.TranslateNode object at 0x90d240c>, <Text Node: '</a> / '>, <django.template.defaulttags.URLNode object at 0x90eb80c>, <Text Node: ' '>, <If node>, <Text Node: ' '>, <django.templatetags.i18n.TranslateNode object at 0x90d2bcc>, <Text Node: '</a> '>] wrapped TemplateSyntaxError(u"Caught an exception while rendering: unsupported operand type(s) for +=: 'function' and 'list'",) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---