rf_protect is absolutely enough.
четверг, 18 июля 2013 г., 11:35:00 UTC+2 пользователь Vladimir Ignatev
написал:
>
> I need using RequestFactory instead of Client to test one of my views. So
> the question is how to generate proper CSRF token to provide it to my
> @csrf_protect'ed
I need using RequestFactory instead of Client to test one of my views. So
the question is how to generate proper CSRF token to provide it to my
@csrf_protect'ed view? At this moment I get 403 error when generating POST
request.
I've read similar topic in this group dated 2011 year, but that
2 matches
Mail list logo