PyCharm: How to run syncdb and sql commands?

When working with Django, you can synchronize the database as follows:

python manage.py syncdb

and also check the generated SQL as follows:

python manage.py sql bookmarks

How do I do higher than PyCharm IDE instead of terminal?

Thank,

+5
source share
3 answers

Tools| Run manage.py Task...: enter image description here

+20
source

Take instructions on running the test suite and modify it for your own teams. Also see General Setup Guide .

+1
source

The above dialogue can also be called up using the keys. CTRL ALT R for Windows and ALT R on Mac

+1
source

All Articles