Cannot delete a user in the django admin UI : table follow_follow does not exist
When I try to delete a user with the UI, I get the following exception. I thought I had already successfully tested this feature. I confirm that the table follow_follow does not exist in my database.
Did I set up something wrong or is it a bug?
/data/local/virtualenv/askbot/lib/python2.6/site-packages/askbot/middleware/pagesize.py TIME: 2011-06-03 02:37:46,022 MSG: pagesize.py:process_exception:43 File "/data/local/virtualenv/askbot/lib/python2.6/site-packag
response = callback(request, *callback_args, **callback_kwargs)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/options.py", line 225, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/sites.py", line 186, in inner
return view(request, *args, **kwargs)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/options.py", line 926, in changelist_view
response = self.response_action(request, queryset=cl.get_query_set())
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/options.py", line 711, in response_action
response = func(self, request, queryset.filter(pk__in=selected))
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/actions.py", line 35, in delete_selected
deletable_objects, perms_needed = get_deleted_objects(queryset, opts, request.user, modeladmin.admin_site, levels_to_root=2)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/util.py", line 114, in get_deleted_objects
obj._collect_sub_objects(collector)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/base.py", line 565, in _collect_sub_objects
for sub_obj in delete_qs:
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/query.py", line 696, in _fill_cache
self._result_cache.append(self._iter.next())
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/query.py", line 239, in iterator
for row in self.query.results_iter():
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/sql/query.py", line 284, in results_iter
for rows in self.execute_sql(MULTI):
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/sql/query.py", line 2347, in execute_sql
cursor.execute(sql, params)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/backends/mysql/base.py", line 84, in execute
return self.cursor.execute(query, args)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/MySQLdb/cursors.py", line 174, in execute
self.errorhandler(self, exc, value)
File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
/data/local/virtualenv/askbot/lib/python2.6/site-packages/askbot/middleware/pagesize.py TIME: 2011-06-03 02:37:46,022 MSG: pagesize.py:process_exception:44 <class '_mysql_exceptions.ProgrammingError'>
/data/local/virtualenv/askbot/lib/python2.6/site-packages/askbot/middleware/pagesize.py TIME: 2011-06-03 02 ...
Comments