I'm using Django 1.10
and Pycharm 2016.2
.
In every Django project, manage.py
commands work correctly but autocomplete gives the following error:
Failed to get real commands on module "projects_name" python died with code 1
File opt/Pycharm/helpers/.../jb_manage_tasks_provider.py
File opt/pycharm/helpers.../parser.py
File my virtual env folder/lib/python3.5/site packages/django/core/management/base.py
AttributeError Command object has no attribute 'args'
Reinstalling Pycharm did not help.
You can use helper from community edition which support django 1.10+ Replace file JetBrains\PyCharm 2016.2\helpers\pycharm\django_manage_commands_provider_parser\parser.py
with this
i've been using django 1.10 and pycharm not supporting it yet. Downgraded to 1.9.8 and now autocompletion works without errors
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With