Custom runner config for Django in pycharm
Hey everyone! We have a custom Django setup with custom runners to run Django. As a result, instead of `python manage.py runserver`, I would have to run `project_runner django runserver` to get the django server up and running. Smilar config exists for other runners...
I have trouble setting up this environment in pycharm professional edition... No matter what I try, Pycharm ends up running one of these:
`python manage.py <custom_command>` (for custom commands)
or
`python django.py <custom command>` (if I set custom manage.py)
But I want to run using `project_runner` instead of python. How can I configure this?
P.S. I have tried changing project interpreter from `python` to `project_runner` and it throwed an error "Invalid Python interpreter name 'project_runner"`.
Please sign in to leave a comment.
Hello. Running custom custom scripts as python interpreters is not supported (You can create feature request here http://youtrack.jetbrains.com), but you can use custom ``manage.py`` and set it Django settings in PyCharm.