Forums

django-admin.py syntex error

django-admin.py startproject mysite
File "<stdin>", line 1
django-admin.py startproject mysite
^
SyntaxError: invalid syntax

can not locate what is error help!

I think you're running django-admin in a Python console -- try the same command again in a Bash one, and it should work.