Does manage.py fix_question_tags work?

After unsetting the force lower case tags setting, running python manage.py fix_question_tags appears to change many of my existing tags to lower case, but then results in a traceback:

File "manage.py", line 11, in <module>
  execute_manager(settings)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/__init__.py", line 438, in execute_manager
  utility.execute()
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/__init__.py", line 379, in execute
  self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/base.py", line 191, in run_from_argv
  self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/base.py", line 220, in execute
  output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/management/base.py", line 351, in handle
  return self.handle_noargs(**options)
File "/home/askbotdir/askbot/management/commands/fix_question_tags.py", line 15, in handle_noargs
  self.run_command()
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/db/transaction.py", line 217, in inner
  res = func(*args, **kwargs)
File "/home/askbotdir/askbot/management/commands/fix_question_tags.py", line 42, in run_command
  questions = models.Question.objects.all()
AttributeError: 'module' object has no attribute 'Question'
jimt's avatar
63
jimt
asked 2012-05-08 03:41:09 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2012-05-08 09:19:44 -0500
edit flag offensive 0 remove flag close merge delete

Comments

It is a bug, thanks. Model Question was removed a while ago.

Evgeny's avatar Evgeny (2012-05-08 09:20:15 -0500) edit
add a comment see more comments