IntelliJ 12 Python - Issues with manage.py Tasks -
i'm looking nifty python/django ide , came across pycharm jetbrains tested week , i'm quite impressed piece of software.
however, i've read intellij ultimate jetbrains own python plugin offers same features pycharm itself, went ahead , gave try, experienced issues didn't have within pycharms. in intellij, built in feature 'tools > "run manage.py task..."' works (e.g. runserver, startapp, syncdb, ...), not commands:
almost sql-related commands "sql", "sqlall", "sqlclear", ... shown available commands, raise "no applications" error message when entered. in pycharm commands works fine.
running test suite via "test" opens box have choose applications want test. however, there 1 entry "[all applications]" , running causes several exceptions thrown.
adding new applications "settings.py" file has no effect on "run manage.py task..." whereas in pycharm adds new commands it. i've tried example "django.contrib.gis" enable "ogrinspect"
all issues lead assumption intellij somehow fails recognize installed django applications. did miss configurations or settings in intellij set in pycharm?
to further explain did exactly: in intellij created new project "python module" enabled django desired technology. in pycharm created new project of type "django project". following steps same.
okay, apparently culprit intellij idea project creation wizard.
if create new project within pycharms , choose django project desired project type, works. don't have configure else.
to in intellij idea, create new project, choose "python module" type , check django technology. in new project go "file > project structure", navigate "facets", choose django module on right , set "settings:" option point specific "settings.py" file.
after configuration, should work smooth in pycharms.
i consider problem bug, wizard creates basic project, including "settings.py" file, doesn't add in project settings. plus, don't warning such needed settings file missing.
Comments
Post a Comment