Opened 7 years ago

Closed 7 years ago

#19199 closed Uncategorized (invalid)

SyntaxError creating a project

Reported by: qiubox Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Using windows 7
Console cmd
testing django installed OK
but trying create a project: startproject mysite
and return me
File "<stdin>", line 1 startproject mysite

SyntaxError: invalid syntax

Change History (1)

comment:1 Changed 7 years ago by Łukasz Rekucki

Resolution: invalid
Status: newclosed 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:

From the command line, cd into a directory where you'd like to store your code, then run the following command:

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.

Note: See TracTickets for help on using tickets.
Back to Top