Hi I am just starting to use Django and have the book "The Definitive guide." To start project it states the one should run django-admin.py startproject mysite. If I type that exactly I get a caret under the last letter in startproject. If I just type django-admin.py Python tells me that "admin" is not defined.

Now the django-admin.py is in the directory I am working from and it is open to me as the user.

So, what going wrong!!

grabro

asked 08 Jun '13, 06:22

grabro384's gravatar image

grabro384
111
accept rate: 0%


i think you should add the directory of django-admin.py to your windows PATH variable

link

answered 10 Jun '13, 08:47

DjangoForum's gravatar image

DjangoForum ♦♦
6317
accept rate: 8%

i think you should add python.exe dictonary to you system path

link

answered 07 Aug '13, 08:08

hjlweilong's gravatar image

hjlweilong
111
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×46

Asked: 08 Jun '13, 06:22

Seen: 836 times

Last updated: 07 Aug '13, 08:08

powered by OSQA