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

mysql - How to insert just year and month into date field? -

c# - Detect changes in ObjectSet in Entity Framework 4.0? -