Home
Strawberry integration with Django
WHAT: A toolset for GraphQL schema generation from Django models.
WHY: To build better web apps more quickly and with less code.
HOW: By providing django-specific methods for using the strawberry GraphQL library.
Supported features¶
- GraphQL type generation from models
- Filtering, pagination and ordering
- Basic create, retrieve, update and delete (CRUD) types and mutations
- Basic Django auth support, current user query, login and logout mutations
- Django sync and async views
- Permission extension using django's permissioning system
- Relay support with automatic resolvers generation
- Query optimization to improve performance and avoid common pitfalls (e.g n+1)
- Debug Toolbar integration with graphiql to display metrics like SQL queries
- Unit test integration
Getting started¶
Check out the quick start for all the basics, then the example app for a slightly more complete setup )