[英]django-admin startproject not working as intended
I am going through a Django tutorial and I tried to use django-admin startproject NAME
to create project folders. 我正在阅读Django教程,并且尝试使用django-admin startproject NAME
创建项目文件夹。 According to the tutorial, I should get the following after typing that in: 根据教程,我应该在输入以下内容后得到:
NAME/
__init__.py
manage.py
settings.py
urls.py
I typed that in Powershell. 我在Powershell中输入。 No error message came out but it did not create anything in the current directory. 没有出现错误消息,但是它没有在当前目录中创建任何内容。 What am I doing wrong? 我究竟做错了什么? I am working on Vista x32 with Python 2.7. 我正在使用Python 2.7开发Vista x32。 And I have Django 1.4.2 installed. 我已经安装了Django 1.4.2。 I also have the C:/Python27
under environment variables. 我在环境变量下也有C:/Python27
。
Using python C:\\Python27\\Scripts\\django-admin.py startproject NAME
without having to go through virtualenc. 使用python C:\\Python27\\Scripts\\django-admin.py startproject NAME
而无需通过virtualenc。
Here's the link I got this: 这是我得到的链接:
django-admin.py startproject is not working django-admin.py startproject无法正常工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.