Opened 13 years ago
Closed 13 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 |
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.pyis 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.