|
You are here |
stribny.name | ||
| | | | |
www.django-rest-framework.org
|
|
| | | | | Django, API, REST, Serializer relations | |
| | | | |
www.laceyhenschel.com
|
|
| | | | | If you came here from Part 1 of What You Should Know About Django REST Framework, you may be wondering why I just walked you through a bunch of source code. We stepped through that code because if you know what the main methods of the ModelViewSet do and how they work, you know where to go when you want to tweak the behavior of your viewset. You can pull out the method that contains what you want to change, override it with your own custom behavior, and put it back in. In Part 1, we were writing a BookViewSet. So let's go through a few cases where we might want to customize the behavior of our endpoints and walk through how we would do that. | |
| | | | |
corgibytes.com
|
|
| | | | | I've spent the last couple of months working on an API written using Python, Django, and Django REST Framework (DRF). The latter is a popular, well-established framework for building APIs in Python, so I assumed it would have decent documentation surrounding relational fields, which is a fairly common situation in any model-view-controller (MVC) framework. It turns out that was a faulty assumption. | |
| | | | |
joaoventura.net
|
|
| | | [AI summary] The post is the first part of a tutorial series on how to set up internationalization and translation features in Django web projects. | ||