django-admin.py is not working.

2 views
Skip to first unread message

Sammy

unread,
Jan 24, 2012, 9:46:25 AM1/24/12
to Django users
I am new to django and i have been trying to create a django project
with no success. Every time i type django-admin.py startproject
mysite. I get
C:\Users\WASSWA SAM\Documents\django\djcode>django-admin.py
startproject mysite
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.
etc.....
I have put django in my path variable like so C:\Python26\Lib\site-
packages\django\bin. Also when i carry out import django in
interactive mode it works perfectly. I am using windows 7.
Reply all
Reply to author
Forward
0 new messages