https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/viewconfig.html#mapping-views-using-a-decorator-section
require_csrf = False on the view? > On Oct 16, 2025, at 16:11, Eldav <[email protected]> wrote: > > Hello list, > > just one quick question for confirmation, as I think I know the answer: is it > possible to disable CSRF protection for just one route? > > In my use case, I don't control the system which will call that route, it's a > notification service posting workflow events. HTTP method has to be POST. > > If Pyramid can't do it, I'll set up a micro-service, probably with Litestar, > writing to the sama database as Pyramid. > > Thanks in advance, > > Laurent. > > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion visit > https://groups.google.com/d/msgid/pylons-discuss/2fd1dc91-83e4-4f34-a66b-76dcf1fae00bn%40googlegroups.com > > <https://groups.google.com/d/msgid/pylons-discuss/2fd1dc91-83e4-4f34-a66b-76dcf1fae00bn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/pylons-discuss/2D1EEF19-DB7B-42A1-8382-FF60956095A5%400x58.com.
