#install simple jwt pip install djangorestframework pip install markdown pip install djangorestframework-simplejwt
from rest_framework_simplejwt.tokens import RefreshToken token = RefreshToken(base64_encoded_token_string) token.blacklist()