All Posts Create a Post  
0
votes
66
views
How to display serializer in delete action with django rest swagger
Posted at 1 month, 3 weeks ago / Jan. 8, 2021, 11:21 a.m.

By default, django rest swagger doesn’t displayed the Serializer in DELETE method. But, for some reason I need to implement prevent deletion & force deletion case. So, basicly to implement …

102 1 1 0
0
votes
175
views
Django rest clean up before validation
Posted at 4 months, 1 week ago / Oct. 22, 2020, 11:14 a.m.

Sometime we need to clean up the value before it validated by an exiting validations. For example, when user sended an longitude and latitude data into backend with multiple length …

102 1 1 0
1
votes
415
views
Django Standard API Response Middleware for DRF
Posted at 4 months, 3 weeks ago / Oct. 11, 2020, 8:04 a.m.

As you can see, if you using django-rest-framework, you will found many different response format. This middleware to solve all of these problems with implement the Standard API Response. All …

102 1 1 0
0
votes
193
views
Awesome django books by agiliq.com
Posted at 4 months, 3 weeks ago / Oct. 11, 2020, 8:04 a.m.

This awesome django books for refference is also open sourced at https://github.com/agiliq/books Django Admin Cookbook (Django 2.0) Django ORM Cookbook (Django 2.0) Building APIs with Django and Django Rest Framework …

102 1 1 0