python - shell with django environment in eclipse,pydev giving syntax error -
``>>>python manage.py syncdb file "<console>", line 1 python manage.py syncdb syntaxerror: invalid syntax ^``
what problem be?
extra info if might -
python - 2.6
django - 1.2.5
eclipse - 3.6.0
pydev - 1.6.5
it seems you're in python shell already, command won't work. have use command line in project folder.
in this question you'll find how run syncdb python shell.
Comments
Post a Comment