S
S
Susanin2021-08-01 19:13:43
Django
Susanin, 2021-08-01 19:13:43

How to use form via macro in django + jinja?

Hello everybody. I made a small form in the form of a macro, added it to the page, it is displayed, but when sending data, an error 403 CSRF verification failed appears. Request aborted. But if you add the form directly, not through a macro, then everything works as it should. Tell me, please, what could be the problem.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question