Reputation: 1926
I'm new to django but after installing django crispy form with
pip install django-crispy-forms
and having added
'crispy_forms'
in my settings.py, I still have an Unresolved reference when I add
from crispy_forms.helper import FormHelper
in my forms.py
Upvotes: 1
Views: 1661
Reputation: 345
I had the same problem after installing django-crispy-forms via the console (not with pycharm itself)
The way I solved this problem was:
In pycharm open
Settings then Project -> Project Interpreter
It takes some seconds while pycharm is updating its settings. After that the message "Unresolved reference..." disappears
I have to say that I don't know if all steps mentioned above are necessary, however in my case they solved the problem.
Upvotes: 6