Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install simplejwt django

$ pip install djangorestframework-simplejwt

REST_FRAMEWORK = {
    'DEFAULT_AUTHENTICATION_CLASSES': (
        'rest_framework_simplejwt.authentication.JWTAuthentication',
    )
}
Comment

simplejwt in django setup

REST_FRAMEWORK = {
    'DEFAULT_AUTHENTICATION_CLASSES': (
        ...
        'rest_framework_simplejwt.authentication.JWTAuthentication',
    )
}
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell script enable tls 1.2 
Shell :: how to start xammp on linux 
Shell :: Install specific node version and update node to lastest stable version 
Shell :: zsh: command not found: wine-stable 
Shell :: wslconfig example 
Shell :: gh clone 
Shell :: grep without pattern 
Shell :: find all .desktop files linux 
Shell :: supervisord install ubuntu 
Shell :: copy folder in ubuntu 
Shell :: how to push existing project to github 
Shell :: print grep output in one line 
Shell :: cara install laravel 
Shell :: ubuntu 20.04 install repo 
Shell :: shell script variable 
Shell :: git rm --cached settings.json 
Shell :: how to remove blank lines in bash 
Shell :: copy files between servers 
Shell :: git move head to specific branch 
Shell :: redis install ubuntu 20.04 
Shell :: install v2ray 
Shell :: create md5 hash command line 
Shell :: linux ssh server 
Shell :: git clone recursive submodule 
Shell :: check pip library path ubuntu 
Shell :: install packages with pip jupyter 
Shell :: git pull a new branch froma remote repo 
Shell :: bash array forloop 
Shell :: Unzip all zip files in a proper directory 
Shell :: add anaconda to bash 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =