djangogoogle-app-engine

'createsuperuser' command un known while trying to get started with Djangoappengine


I am trying to get going with Djangoappengine. I followed the instructions, but when I get to this step:

manage.py createsuperuser

I get the following:

Unknown command: 'createsuperuser'

So I ran

manage.py help

And saw that 'createsuperuser' is not even in the list. The list of subcommands listed by help:

  cleanup
  compilemessages
  createcachetable
  dbshell
  deploy
  diffsettings
  dumpdata
  flush
  inspectdb
  loaddata
  makemessages
  remote
  reset
  runfcgi
  runserver
  shell
  sql
  sqlall
  sqlclear
  sqlcustom
  sqlflush
  sqlindexes
  sqlinitialdata
  sqlreset
  sqlsequencereset
  startapp
  syncdb
  test
  testserver
  validate

I can't figure out what has gone wrong here, as I am a total newbe with this stuff. I don't even know exactly what 'createsuperuser' is suppose to do, other than obviously creating a super user of some sort. :)

Any tips?


Solution

  • You need to activate django.contrib.auth in your INSTALLED_APPS in settings.py.