摘要:
from rest_framework_simplejwt.authentication import JWTAuthentication from rest_framework.permissions import IsAuthenticated, DjangoModelPermissions c 阅读全文
摘要:
视图层 from rest_framework_simplejwt.tokens import AccessToken from django.middleware.csrf import get_token from django.contrib.auth import login class J 阅读全文
摘要:
import smtplib from email.mime.text import MIMEText from email.header import Header from email.utils import formataddr from utils.common_logger import 阅读全文