Robert G
unread,May 9, 2012, 1:34:41 PM5/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
When I type
d:\myproj>django-admin.py startproject mysite
or
d:\myproj>django-admin.py test
or any of the subcommands, I get this message:
Usage: django-admin.py subcommand [options] [args]
Options:
-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normal
output,
2=verbose output, 3=very verbose 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:
[django]
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
...
This is a fresh install of Python2.7 and Django 1.4.
in Python, I can import django & print(django.getversion()) with no
problem so I assume it is installed correctly.
I've added D:\Python27;D:\Python27\Scripts; to my PATH environmental
variables (Using Windows 7).
I did have one issue when I first tried to install Django it popped up
a window asking what program to use, I manually selected the Python
application from the list and the django installation worked.
I can't seem to find much about this error online - any suggestions?