← All projects

TurboDRF

Dead-simple Django REST Framework API generator with role-based permissions.

Role
Author & Maintainer
Years
Open source · MIT
Stack
Python 3.10 – 3.14Django 4.2 – 6.0Django REST FrameworkPostgres RLS (optional)

Overview

TurboDRF turns Django models into proper REST APIs with almost no boilerplate. Add a mixin to your model. Declare a turbodrf() classmethod that says which fields exist and who is allowed to do what. Register the router. You get list, detail, create, update and delete endpoints, with search, filtering, pagination, field selection and proper RBAC out of the box.

Background

Every time I started a new Django project I'd write the same ViewSets, the same permission classes and the same tenant-isolation checks. TurboDRF is the version of that boilerplate I wished existed. Opinionated and secure by default, but small enough to read end to end if you want to.

Features

Install

pip install turbodrf

# optional, for faster JSON rendering
pip install turbodrf[fast]

Stats

See the repo →