I'm trying to create my first project by typing in THEFULLPATH\django-admin.py startproject mysite
but its not working. No 'mysite' directory created in my current directory. Instead it gives me a list of commands that is available with django-admin.py. See the below screenshot for more details.
相关问题
- How does the setup bootstrapper detect if prerequi
- Django __str__ returned non-string (type NoneType)
- Django & Amazon SES SMTP. Cannot send email
- Django check user group permissions
- Django restrict pages to certain users
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Getting errors / failing tests when installing Pyt
- Profiling Django with PyCharm
- Why doesn't Django enforce my unique_together
- MultiValueDictKeyError in Django admin
- How do you make an installer for your python progr
The problem (as your other question states), is documented here. You need to unset the environment variable
DJANGO_SETTINGS_MODULE
.You can do this by typing:
at a DOS command prompt.
You need to specifically run the script with python, so:
I'm not sure why it behaves like this, and it sure is annoying..