You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crispy forms default to POST method resulting in a CSRF Token exception when trying to use filters + crispy forms (submitting the form by hitting since there is no submit button, see #3636)
.
When initially rendering an API page with filters and crispy forms, the server also spits out this error (probably because crispy forms is trying to add the token to the form): venv/lib/python3.5/site-packages/django/template/defaulttags.py:66: UserWarning: A {% csrf_token %} was used in a template, but the context did not provide the value. This is usually caused by not using RequestContext.
Activity
jpadilla commentedon Nov 18, 2015
This is related to #3636 (comment)
Initial fixes encode#3636 and fixes encode#3637
Merge pull request #3787 from Cheglader/issue_3636