﻿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
16854	AttributeError on syncdb	Nikolay Zakharov	nobody	"When one have stale content types and trying to do syncdb, following error occurs:

{{{
Syncing...
Creating tables ...
Traceback (most recent call last):
  File ""./manage.py"", line 9, in <module>
    execute_manager(settings)
... traceback
  File ""/usr/lib/python2.6/dist-packages/django/contrib/contenttypes/management.py"", line 47, in update_contenttypes
    content_type_display = '\n'.join(['    %s | %s' % (ct.app_label, ct.model) for ct in content_types])
AttributeError: 'unicode' object has no attribute 'app_label'
}}}

This is because of type mismatch in list comprehension: content_types was list of objects, but now it is a dict with app_labels as keys and models as values."	Bug	closed	Core (Management commands)	dev	Normal	fixed	syncdb management contenttypes		Accepted	1	0	0	0	1	0
