How do I make a project in Django? Beginner
- by ggfan
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 :)