Whenever I joined a project using the Django REST Framework (DRF), I encountered issues like spaghetti code or antipatterns. You probably saw them too. It made me wonder: where do these problems come from if the documentation is so comprehensive and well-organized?
I knew what was going on when I took a look at the DRF tutorial. It seems that the official DRF tutorial is written in reverse order. It shows low-level versatility first instead of explaining high-level acronyms.
When reading the tutorial, developers first learn about the details of views, serializers, and - only at the very end - ViewSets that offer a wonderfully compact way for binding everything into a neat, transparent, and manageable whole.
But most people never get to this point. By then, they already have a relatively functional API and decide to abandon the tutorial in favor of the API Guide, searching for ways to implement the project requirements.
My guide to the Django REST Framework addresses this problem to help you write better code.
Over the following seven chapters, I take you through the Django REST Framework step by step - from the general to detailed overview of its different aspects.
Read this ebook and you’re guaranteed to get clear and highly manageable code that won’t bring you shame when you show or transfer it to others.
Table of contents:
Get access to our ebook.
But we need to confirm your email address first.
To complete the subscription process, please click the link in the email we’ve just sent you.
Sunscrapers Sp. z o.o.
ul. Pokorna 2/947
Thanks for subscribing!
Great, we have your email address in our database. You can now download ebook by following this link.