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
.response(request=request) indeed should work (I've added a couple tests to confirm). Perhaps @JulianFeinauer if you could provide more context for what you are doing?
@danjac and @chrisgrande you both are right. I tried it again and it works. No idea what I did wrong initially.
So we can either keep it as is to have the request more explicit as variable or close this PR. Its up to you : )
If you render a Form containing
{% csrf_token %}
it is not rendered.This is related to this issue: https://stackoverflow.com/questions/34629261/django-render-to-string-ignores-csrf-token
The text was updated successfully, but these errors were encountered: