eliot
eliot copied to clipboard
document django usage
I want each Django request to be an Eliot Task.
I wrote a middleware that works with Eliot 0.8, but it's kinda kludgy: https://gist.github.com/keturn/7c84079aa6f15f7045f4
The new-style of middleware in Django 1.10 seems like a nicer way to interoperate with Eliot (https://docs.djangoproject.com/en/1.10/topics/http/middleware/). But I think maybe Flask would need something like linked above so maybe still need something like that.