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 15969 upgraded 1.1 -> 1.3. Now NULL in ContentType.name causes error in admin Scott Chapman nobody "We are upgrading 1.1 to 1.3. Oracle back end. There are NULLS in DJANGO_CONTENT_TYPE.Name and DJANGO_CONTENT_TYPE.Model. When I go to the Admin interface and try to change the user, an error comes up: {{{ TemplateSyntaxError at /admin/auth/user/82/ Caught TypeError while rendering: coercing to Unicode: need string or buffer, NoneType found Request Method: GET Request URL: http://..../admin/auth/user/82/ Django Version: 1.3 Exception Type: TemplateSyntaxError Exception Value: Caught TypeError while rendering: coercing to Unicode: need string or buffer, NoneType found Exception Location: ..../django/contrib/auth/models.py in __unicode__, line 89 Python Executable: /usr/bin/python Python Version: 2.4.3 }}} The new version of Django has None for the value in the ContenetType.Name. In version 1.1, it was an empty string, which would Unicode() correctly. " Bug closed contrib.contenttypes 1.3 Normal needsinfo Unreviewed 0 0 0 0 0 0