1 | File "import.py", line 35, in clear
|
---|
2 | eval('models.%s' % n).objects.all().delete()
|
---|
3 | File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 389, in delete
|
---|
4 | delete_objects(seen_objs)
|
---|
5 | File "/usr/lib/python2.5/site-packages/django/db/models/query.py", line 836, in delete_objects
|
---|
6 | update_query.clear_related(field, pk_list)
|
---|
7 | File "/usr/lib/python2.5/site-packages/django/db/models/sql/subqueries.py", line 211, in clear_related
|
---|
8 | self.execute_sql(None)
|
---|
9 | File "/usr/lib/python2.5/site-packages/django/db/models/sql/subqueries.py", line 112, in execute_sql
|
---|
10 | super(UpdateQuery, self).execute_sql(result_type)
|
---|
11 | File "/usr/lib/python2.5/site-packages/django/db/models/sql/query.py", line 1608, in execute_sql
|
---|
12 | cursor.execute(sql, params)
|
---|
13 | File "/usr/lib/python2.5/site-packages/django/db/backends/util.py", line 18, in execute
|
---|
14 | return self.cursor.execute(sql, params)
|
---|
15 | psycopg2.ProgrammingError: column "address_id" of relation "tables_student" does not exist
|
---|