1👍
Clearly you have .py
in %PATHEXTS%
. But in all probability it’s not set up to pass on command line arguments – the default only registers .py files to run python.exe $1
, not python.exe $1 $2 $3 $4 $5 $6 $7 $8 $9
(unfortunately it doesn’t support $*
). The easiest way to deal with it is to run C:\path\to\python C:\path\to\django-admin.py startproject mysite
.
- [Answered ]-Django Templates: How best can the output of executing python code in a Django template be suppressed?
- [Answered ]-App '\udccd' could not be found. Is it in INSTALLED_APPS?
- [Answered ]-Django: 'WSGIRequest' object has no attribute 'PUT'
- [Answered ]-Django-ckeditor inline error
- [Answered ]-Cannot upload profile picture in django model
0👍
Read this
https://docs.djangoproject.com/en/1.3/ref/django-admin/#startproject-projectname
This command is disabled when the
–settings option to django-admin.py is used, or when the environment
variable DJANGO_SETTINGS_MODULE has
been set. To re-enable it in these
situations, either omit the –settings
option or unset
DJANGO_SETTINGS_MODULE.
Source:stackexchange.com