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/
Смотрите видео DjangoCon US 2018 - Django REST Framework: Moving Past the Tutorial to Production by Drew Winstel онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь DjangoCon US 08 Ноябрь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,133 раз и оно понравилось 115 людям.