Unresolved filter 'crispy'

138 views
Skip to first unread message

Kubilay Yazoğlu

unread,
Dec 4, 2017, 5:53:18 AM12/4/17
to Django users
I'm trying to add crispy forms to my project. (http://django-crispy-forms.readthedocs.io/en/latest/)

I installed crispy forms by pip install django-crispy-forms

I added this in installed apps:
    'crispy_forms',

And this at the end of settings.py:
    CRISPY_TEMPLATE_PACK = 'bootstrap3'

And this at the top of my form.html
    {% load crispy_forms_tags %}

Still, I'm getting unresolved filter 'crispy' error. What am I missing?
crisopy.jpg

Jason

unread,
Dec 4, 2017, 7:11:08 AM12/4/17
to Django users
That's coming from your IDE.  Assuming its Pycharm, I've noticed it doesn't often pick up new additions to the virtualenv so I've made it a habit to invalidate caches and restart when making any additions.  This is primarly for vagrant and remote interpreters.
Reply all
Reply to author
Forward
0 new messages