Dica #53 - DRF: Criando subrota com action
Regis do Python
Hoje veremos como criar uma subrota para executar uma ação extra no Django REST framework. Site: https://www.dicas-de-django.com.br/53-drf-routing-for-extra-actions Github: https://github.com/rg3915/drf-example Doc: https://www.django-rest-framework.org/api-guide/viewsets/#marking-extra-actions-for-routing Doc: https://www.django-rest-framework.org/api-guide/routers/#routing-for-extra-actions
01:44 like 04:54 unlike 05:57 retorna somente meus posts ... https://www.youtube.com/watch?v=6IS8KfzvD74
2021-11-08
2.52903965 LBC
Copyrighted (contact publisher)
35260799 Bytes