0
C:\Users\Drew Gross\Documents\Projects\Batadase\src>django-admin.py startproject batadase
Usage: django-admin.py subcommand [options] [args]

Options:
  -v VERBOSITY, --verbosity=VERBOSITY
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=all output
  --settings=SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath=PYTHONPATH
                        A directory to add to the Python path, e.g.
                        "/home/djangoprojects/myproject".
  --traceback           Print traceback on exception
  --version             show program's version number and exit
  -h, --help            show this help message and exit

Type 'django-admin.py help <subcommand>' for help on a specific subcommand.

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

C:\Users\Drew Gross\Documents\Projects\Batadase\src>

I don't think this is normal. I can't think of anything I've done recently that would cause this to happen, although I have done a bunch of things, I can't remember them all. It did work in the past.

2
  • I don't have enough points to submit comments, but you may want to keep an eye on this question, which talks about the same problem: stackoverflow.com/questions/9993792/…
    – hdhondt
    Commented May 11, 2012 at 1:51
  • Thank you, that looks like exactly the same problem as me.
    – Drew
    Commented May 14, 2012 at 4:15

2 Answers 2

0

Looks completely normal to me. It's the command you invoke that receives and interprets your arguments. Apparantly django-admin.py takes exception to your arguments "start-admin" and "batadase".

1
  • That exact command has worked in the past. This is just an example, certain other attempts have failed as well (usually python files)
    – Drew
    Commented May 5, 2012 at 3:33
0

I found the answer here: https://stackoverflow.com/questions/9880540/python-command-line-arguments-windows

I needed to add %* to my the registry in for opening python files.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .