DjangoCon US 2018 - Django REST Framework: Moving Past the Tutorial to Production by Drew Winstel

DjangoCon US 2018 - Django REST Framework: Moving Past the Tutorial to Production by Drew Winstel

So you’ve made your first attempt at creating a DRF API, but now you need to figure out how to put the hair on the proverbial pony. You want to make things easier on your client developers so they can get exactly what they need. I’ll walk through things that made our lives better developing a Django REST Framework API serving a React frontend.

I’ll include optimizations such as embedding related fields into serializers, using different serializers for different users and use cases (HTTP methods), and using DRF’s actions decorator to provide easy access to related tasks. I’ll also touch on some third-party libraries that made life way easier, such as rest-framework-filters, django-rest-swagger, and django-simple-history.

This talk was presented at: https://2018.djangocon.us/talk/django-rest-framework-moving-past-the-to/

LINKS: Follow Drew Winstel 👇 On Twitter: https://twitter.com/hops_and_smoke Official homepage: https://github.com/drewbrew/

Follow DjangCon US 👇 https://twitter.com/djangocon

Follow DEFNA 👇 https://twitter.com/defnado https://www.defna.org/

Date Added: September 19, 2024

Watch Video