running django_admin.py - command line parameters are lost under windows
|Reported by:||Owned by:||Adrian Holovaty|
|Component:||Core (Management commands)||Version:|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have django-admin's directory in my DOS Path:
I'm in c:\tmp
django-admin.py startproject myproject
It gives me back the usage statment.
I modified django-admin to print argv and it comes back as a list with a single string in it, being the full path to django-admin.py.
I don't know if this is an issue with my installation or django.
If I specify:
python c:\python24\....\django-admin.py startproject myproject
then it works fine and I can then run the server in the myproject directory.