Django REST Framework - Customising permissions in Generic Views | VSCode REST Client extension

preview_player
Показать описание
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:

In this video, we'll look at dynamically altering Permission Classes based on whether the incoming request is a GET or POST request. We'll see how to use the AllowAny and IsAdminUser permissions in the process.

We will also introduce the VSCode REST Client extension in this video.

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
03:17 REST Client VSCode extension
06:29 IsAdminUser permission on POST requests

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:

#python #django #webdevelopment #djangorestframework
Рекомендации по теме
Комментарии
Автор

Thank you very much, I was waiting for the other chapters so I could continue advancing with Django

Deus-lo-Vuilt
Автор

Excellent content. I was thinking about how I could handle different serializers per view; you already gave me the idea.

keinermendoza
visit shbcf.ru