Tom Christie

Results 98 issues of Tom Christie

I assume this'd be the most robust way to close off #4926.

I'd assume that the SQLite benchmarks are going to be pretty skewed compared to database lookups on a real deployment. Because this package has the potential to have users make...

Because these optimisations don't call into the field `to_representation` there's potential for them to end up with differing output representations, particularly when used with `ujson`. Likely areas of differing representations...

The documentation for the `TokenHasReadWriteScope` class needs to be included.

In both the generic view and serializer sections we need to make sure we're pointing out appropriate usage of `select_related`/`prefetch_related`. (To review: is there anything in there at the moment?)...

Documentation
stale

Use `autocomplete_fields` to keep the select user field manageable. Refs #8533

Cache the request `body` and `stream_consumed` in the ASGI scope, rather than on the request instance. This preserves the existing behaviours when calling `.body()` or `.stream()` multiple times, but extends...

## Introduce `App` first in README / Docs intro. * Promote the `app = App()` style, but then go on to demonstrate plain ASGI style example, and discuss design philosophy...

Good work! I'm wondering what it'd take for you to be convinced in adopting ASGI as the interface between the server/application? At the moment the Python asyncio landscape is in...

discussion

The server component of API Star [has been discontinued](https://github.com/encode/apistar/pull/624), so I'd suggest at some point dropping it from an comparisons. Consider [Starlette](https://www.starlette.io/) (framework) or Uvicorn (just the raw server) instead,...