﻿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
1419	"[magic-removal] sqlclear tries to find app by field ""package"" of table ""django_content_type"""	akaihola <antti.kaihola@…>	Adrian Holovaty	"The sqlclear procedure fails in [2434]:

{{{
$ manage.py sqlclear myapp
BEGIN;
Traceback (most recent call last):
  File ""/projectpath/manage.py"", line 11, in ?
    execute_manager(settings)
  File ""django/core/management.py"", line 1264, in execute_manager
    execute_from_command_line(action_mapping)
  File ""django/core/management.py"", line 1232, in execute_from_command_line
    output = action_mapping[action](mod)
  File ""django/core/management.py"", line 311, in get_sql_delete
    backend.quote_name('package')), [app_label])
  File ""django/db/backends/util.py"", line 11, in execute
    result = self.cursor.execute(sql, params)
psycopg.ProgrammingError: ERROR:  column ""package"" does not exist

SELECT ""id"" FROM ""django_content_type"" WHERE ""package"" = 'myapp'
}}}
"	defect	closed	Core (Management commands)	magic-removal	normal	fixed		nesh@…	Unreviewed	0	0	0	0	0	0
