|
You are here |
saptaks.blog | ||
| | | | |
www.cdrf.co
|
|
| | | | | Detailed descriptions, with full methods and attributes of CreateModelMixin Django REST Framework class. | |
| | | | |
stribny.name
|
|
| | | | | How to combine request and response serializers into one for use in ModelViewSets. | |
| | | | |
richardtier.com
|
|
| | | | | Django Rest Framework integrates well with models to provide out of the box validation, and ModelSerializers allow futher fine-grained custom validation. However, if you're not using a model as the resource of your endpoint then the code required for custom validation of complex data structure can get hairy. If there is a heavily nested data... | |
| | | | |
www.laceyhenschel.com
|
|
| | | This week I needed to manipulate the privacy of a Wagtail page programmatically. The Wagtail docs show you how to edit page privacy in the admin UI, but it doesn't peek behind the curtain to show you the code. The example here is a result of my Google searching. | ||