First time here? Check out the FAQ!

Revision history  [back]

My diagnosis is that the module django.contrib.auth.management.commands.createsuperuser no longer exports the User model. The module askbot.management.commands.createsuperuser expects this in the code.

If you remove the askbot.management.commands.createsuperuser module you can use the default Django createsuperuser command. It seems to work provided you initially answer "no" when running syncdb and run createsuperuser separately after migrating.