Opened 12 years ago
Closed 12 years ago
#19199 closed Uncategorized (invalid)
SyntaxError creating a project
Description ¶
Using windows 7
Console cmd
python
testing django installed OK
but trying create a project:
django-admin.py startproject mysite
and return me
File "<stdin>", line 1
django-admin.py startproject mysite
SyntaxError: invalid syntax
Note:
See TracTickets
for help on using tickets.
django-admin.py
is a command line utility, so you have to run in the console, not inside Python interactive session. That's also what the tutorial tells you to do:Please also note, that this tracker is for reporting bugs, not usage questions. You'll get much better and faster answers using other channels, see Getting Help.