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...
LINKS:
Follow Drew Winstel 👇
On Twitter: / hops_and_smoke
Official homepage: https://github.com/drewbrew/
Follow DjangCon US 👇
/ djangocon
Follow DEFNA 👇
/ defnado
https://www.defna.org/
Watch video DjangoCon US 2018 - Django REST Framework: Moving Past the Tutorial to Production by Drew Winstel online without registration, duration hours minute second in high quality. This video was added by user DjangoCon US 08 November 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,133 once and liked it 115 people.