How do I make a project in Django? Beginner

Posted by ggfan on Stack Overflow See other posts from Stack Overflow or by ggfan
Published on 2010-06-02T23:03:47Z Indexed on 2010/06/02 23:04 UTC
Read the original article Hit count: 189

Filed under:
|

Okay I just started with Django and it's totally different from PHP. I installed Python 2.6 and Django.

Both are located in my C drive.

C:
   Django
          build
          django
          docs
   Python26

I am doing the django site tutorial and when they say to write django-admin.py startproject mysite from my Python command line, I keep getting:

Syntax error: invalid syntax
>>>django-admin.py startproject mysite
  FILE "<stdin>", line 1
   django-admin.py startproject mysite
                              ^

My django-admin.py is in the django/bin folder. I installed Python via python setup.py. Am I suppose to use my window's CP? When I do that, I get window's can't open a .py file. I thought I was just creating a folder?

How do I create a project with django?

Thanks :)

© Stack Overflow or respective owner

Related posts about django

Related posts about beginner