摘要:
django 项目中 __init__.py 的代码为: 运行项目,报错 django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.0 or newer is required; you have 0.7.11.None. 解决方法: 阅读全文
摘要:
views.py: from rest_framework.viewsets import GenericViewSet from rest_framework import serializers from rest_framework.pagination import PageNumberPa 阅读全文
摘要:
views.py: from rest_framework.views import APIView from rest_framework import serializers from django.shortcuts import HttpResponse class UserGroupSer 阅读全文