Рет қаралды 2,530
Lets discuss about basic token authentication in Django Rest Framework.
▬▬▬▬▬▬ Steps for Token Authentication 🎥 ▬▬▬▬▬▬
Add app ‘rest_framework.authtoken' in settings.py
Run python manage.py migrate
Create Superuser if you are not created yet using below command
python manage.py createsuperuser
Generate Token Manually
python manage.py drf_create_token username
Testing
-- use curl
-- use http (pip install httpie)
-- use postman
▬▬▬▬▬▬ Previous Django Rest framework Videos 🎥 ▬▬▬▬▬▬
♂ Django Rest Framework - Introduction Video - Chapter 1
• Python REST API - Djan...
♂ Django Rest Framework Tutorial -Installation and Setup -Chapter 2
• Installing Django Rest...
♂ Django Rest Framework Tutorial -Serializers -Chapter 3
• Create Serializers in ...
♂Django Rest Framework Tutorial -How to Serialize the Data without Model ?-Chapter 4
• Serialize Data without...
♂Types of Views in Django Rest Framework -Chapter 5
• Views in Django Rest F...
♂Class Based Views in Django Rest API- Chapter 6
• Class Based Views in D...
♂APIView CRUD Operatons Django Rest Framework Chapter7
• APIView CRUD Operatons...
♂Django Mixins CRUD Operations in Rest Framework Chapter8
• Django Mixins CRUD Ope...
♂Django Generic Views CRUD Operations in Rest Framework 9
• Django Generic Views C...
♂Routers and Pagination in Django Rest Framework
• Routers and Pagination...
♂Authentications in Django Rest Framework
• Authentications in Dja...
Official website :
www.django-res...
▬▬▬▬▬▬ O T H E R P L A Y L I S T 🎥 ▬▬▬▬▬▬
🎥 Django Tutorial - Health Insurance Claim Project
• Django Tutorial - Buil...
🎤 Good Tech Talks Playlist
• My Tech Talk
📱▬▬▬▬▬▬ S O C I A L N E T W O R K S 🎭 ▬▬▬▬▬▬
🎣 Facebook : /
🎣 Instagram : /
🎣 Twitter: /
🎣 LinkedIn : / iamp. .
🎣 Telegram : t.me/iampython...
#pythonapi #django #djangorestframework