On Dec 30, 9:42 am, Kev Dwyer <kevin.p.dw...@gmail.com> wrote: > Chris Kavanagh wrote: > > Hi, I'm using WinXP, Python27, django 1.3.1. > > > When I try django-admin.py startproject mysite, I get a "Usage django- > > admin.py subcommand [options] [args]" listing of commands instead of > > starting the project in mysite folder. . .I've tried every workaround > > I've found on Google & on this site. I've put C:\Python27\Lib\site- > > packages\django\bin in my Env Variable Path, I've changed the registry > > setting HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command > > to PYDIR\\python.exe" "%1" %*. I've typed in the full path in the > > command line (python django-admin.py startproject mysite) & nothing > > works. And yes, I set it up using python setup.py install. > > > Any suggestions or other work arounds??? I'm at my wits end!!! Thanks > > for any help. > > Hello, > > If you're seeing the usage message then python is able to find and execute > the django-admin.py script, but the script doesn't like the input that you > are providing. > > Can you provide a paste of what you enter in the command prompt, and the > output that you receive? > > Cheers,
Thanks for the help. . .I created a directory named "mysite" then opened a command prompt from the "mysite" directory. In the prompt I put "django-admin.py startproject mysite". The output i get is lengthy, but here it is. . . Usage: django-admin.py subcommand [options] [args] Options: -v VERBOSITY, --verbosity=VERBOSITY Verbosity level; 0=minimal output, 1=normal out 2=all output --settings=SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provid DJANGO_SETTINGS_MODULE environment variable wil 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 subcomm 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 And that's it. Thanks again for the help. . .Cheers -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.