Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
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.

share|improve this question
    
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 May 11 '12 at 1:51
    
Thank you, that looks like exactly the same problem as me. –  Drew May 14 '12 at 4:15
add comment

2 Answers

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

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

share|improve this answer
add comment

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".

share|improve this answer
    
That exact command has worked in the past. This is just an example, certain other attempts have failed as well (usually python files) –  Drew May 5 '12 at 3:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.