logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Django 鉴权 - 利用 djangorestframework_simplejwt

安装pip install djangorestframework_simplejwt设置settings.py 设置:REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication',],}路由配置:from...

#django
Django跨域请求的坑-django-cors-headers

Django跨域请求的坑解决办法:django-cors-headersdjango-cors-headers GitHub地址

#ajax#django#python
到底了