Django Rest Framework API #28 / Django API Permissions Using Throttling.

  Рет қаралды 4,226

Code Environment

Code Environment

3 жыл бұрын

Welcome to a new tutorial where you will learn:
- What is Throttling and why would we use it.
- How to use throttle to control the rate of request to Django API.
- How to control the rate of request for Authenticated and Unauthenticated users.
- How to configure throttling for different parts of Django API and control the rate of requests for each application separately.
- How to use Cache to persist the throttling data even if the server restarts.
Source Code:
github.com/CodeEnvironment/dj...
Django REST Framework Throttling doc:
www.django-rest-framework.org...
Django’s cache framework doc:
docs.djangoproject.com/en/3.1...

Пікірлер: 22
@ayannandagoswami1317
@ayannandagoswami1317 Жыл бұрын
Thank you...it's very helpful for me 🙂
@themagicofcomputerscience3270
@themagicofcomputerscience3270 7 ай бұрын
thank you very much
@zakchips
@zakchips 3 жыл бұрын
Thanks. The more I learn the more I realize that I need to learn.
@codeenvironment
@codeenvironment 3 жыл бұрын
💯
@omara2248
@omara2248 2 жыл бұрын
Very helpful! Thank you.
@think-dotest2166
@think-dotest2166 3 жыл бұрын
Awesome video, thanks
@muhammadehtisham2708
@muhammadehtisham2708 3 жыл бұрын
i'm wait your next vedio.
@gshard14
@gshard14 3 жыл бұрын
Thanks, man.
@muruganraja9
@muruganraja9 2 жыл бұрын
Nice content and Neat explanation...
@codeenvironment
@codeenvironment 2 жыл бұрын
Thank you for the support ✌🏻
@RoamingRebel
@RoamingRebel 2 жыл бұрын
V Good Video..👍
@codeenvironment
@codeenvironment 2 жыл бұрын
Thank you Pranav
@barbarbarbar3
@barbarbarbar3 3 жыл бұрын
hi thank's for this tutorial, but how can we change the waiting time ?
@gladwingracias5990
@gladwingracias5990 2 жыл бұрын
Hi, is there any way to change the amount of seconds we have to wait. i.e. the Expected available in *86395* seconds. I would like to edit this time
@deepanshuaggarwal7042
@deepanshuaggarwal7042 3 жыл бұрын
Can we create an api using django-rest framework that will connect to the database (given by url parameter )and query the given table ???
@codeenvironment
@codeenvironment 3 жыл бұрын
Yes you can providing that you have all the necessary information about the database to connect to.
@deepanshuaggarwal7042
@deepanshuaggarwal7042 3 жыл бұрын
@@codeenvironment initially we have information about host, user, password and port of db server. Database name and table name we will know at run time. How can I do it?
@codeenvironment
@codeenvironment 3 жыл бұрын
Please email me at : Codes.environment@gmail.com
@codemanu938
@codemanu938 2 жыл бұрын
In cache what is that backend
@yarik83men51
@yarik83men51 3 жыл бұрын
+++
@orlandog1979
@orlandog1979 3 жыл бұрын
Good bye JWT
Django Rest Framework API #30 / Improve API Response Using Hyperlinks
28:38
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 81 МЛН
Самое Романтичное Видео ❤️
00:16
Глеб Рандалайнен
Рет қаралды 3,5 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 24 МЛН
Nginx | Django Admin Login Rate Limiting
12:47
Very Academy
Рет қаралды 2,4 М.
Django REST Framework Oversimplified
9:43
Dennis Ivy
Рет қаралды 304 М.
Django Rest Framework API #22 / Many To Many Relationship , Nested Data
31:20
Authentications in Django Rest Framework
14:02
IamPython
Рет қаралды 1,8 М.
But how do DJANGO signals work?
35:47
CodingEntrepreneurs
Рет қаралды 41 М.
Dockerizing Django with Postgres, Redis and Celery
20:59
Developer Timeline
Рет қаралды 14 М.
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 381 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 81 МЛН