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

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -