On Sun, Feb 10, 2013 at 3:22 AM, David Flory <david.c.fl...@gmail.com> wrote: > When I run either django-admin.py or manage.py all I get is the help screen > for the command regardless of the parameters I give. > > For example: > django-admin.py startproject mysite > returns the help screen. It does not create mysite/. > > I am working with Python33 and the Dev version of Django refreshed with git. > > Clearly django-admin is on the python path since it is executed. > > import django > print(django.get_version())
What that shows is that Django is in the Python search path. It doesn't mean django-admin.py is on the OS PATH. What you need to do is execute django-admin.py through your Python interpreter like any Python script: C:\Users\Me\work> C:\python27\python path\to\django-admin.py startproject mysite (Replace C:\python27\ with the path to your python.exe. Or if you have already added such dor to your OS PATH then you can simply use >python django-admin.py startproject mysite) Don't rely on any brittle faking of the .py file extension as a native so it behaves like a native executable or .bat file. IMHO all of them are broken in some way or another under Windows. Hopefully the PEP 397 'py' launcher included with Python >= 3.3 will solve this for good. Write it explicitly Instead like shown above. That's something that works on every platform for every interpreted programming language. Same advice goes to executing the manage.py script you will get afterward. e.g.: mysite> C:\python27\python manage.py startapp my1stapp Regards, -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.