Pycharm manage.py autocomplete error

I am using Django 1.10 and Pycharm 2016.2 .

In every Django project, the 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.

+6
source share
2 answers

You can use the helper from the community version that supports django 1.10+ Replace the file JetBrains \ PyCharm 2016.2 \ helpers \ pycharm \ django_manage_commands_provider_parser \ parser.py

with this

+6
source

I used django 1.10 and pycharm did not support it yet. Down to 1.9.8 and now autocomplete works without errors

+2
source

All Articles