English 中文(简体)
Django django-admin.py 指挥问题
原标题:Django django-admin.py command problem
  • 时间:2011-07-05 12:16:38
  •  标签:
  • django

I m new to Python and Django. In fact, I m new to web framework too. I m using Windows 7 OS and have installed Django.

我知道Django已经成功安装。 当我去辅导时,这一指挥系统“django-admin.py开办项目评估项目”总是建议在项目开始之前进行。

However, when I run this command, django-admin.py was not recognized as keyword. Can anyone please help me to see what s wrong here?

最佳回答

在窗户口上,有人安装在C:Python27号古典上(因Sharma2.7缺席)。 然而,平线安装器并不自动将这一位置添加到你的太平洋建筑工程。 你们需要做的是,要么用C:Python27 标本贾戈-行政。 可以通过下列方式做到这一点:

  1. Open your Start Menu and Locate My Computer, Right Click on it and choose Properties
  2. On the left hand side select "Advanced System Settings".
  3. Next click on the "Environment Variables" button.
  4. Look in the bottom scroll box until you find one named PATH. Select this and hit Edit.
  5. To the end of the current value, append ";CPython27Scripts".
  6. Close/Save everything, including your cmd.exe prompt. When you reopen it C:Python27Scripts should be on your path, and django-admin.py should work.
问题回答

暂无回答




相关问题
How to get two random records with Django

How do I get two distinct random records using Django? I ve seen questions about how to get one but I need to get two random records and they must differ.

Moving (very old) Zope/Plone Site to Django

I am ask to move data from a (now offline) site driven by Plone to a new Django site. These are the version informations I have: Zope Version (unreleased version, python 2.1.3 ) Python Version 2.1....

Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

Flexible pagination in Django

I d like to implement pagination such that I can allow the user to choose the number of records per page such as 10, 25, 50 etc. How should I go about this? Is there an app I can add onto my project ...

is it convenient to urlencode all next parameters? - django

While writing code, it is pretty common to request a page with an appended "next" query string argument. For instance, in the following template code next points back to the page the user is on: &...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

热门标签