03 2020 档案

摘要:class MonitoredKeywordMore(APIView): def post(self, request): try: # 设置原生命令并且请求数据 parents_asin = str(request.data.get("parentsasin")) hour=str(request 阅读全文
posted @ 2020-03-26 08:37 PythonNew_Mr.Wang 阅读(827) 评论(0) 推荐(0) 编辑
摘要:如果是后台上传文件: setting配置: STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static'), os.path.join(BASE_DIR, "media"), ] # Django用户上传的都 阅读全文
posted @ 2020-03-08 14:16 PythonNew_Mr.Wang 阅读(1875) 评论(0) 推荐(0) 编辑
摘要:后端: from rest_framework.views import APIView from car import settings from django.shortcuts import render, redirect, HttpResponse from dal import mode 阅读全文
posted @ 2020-03-06 23:28 PythonNew_Mr.Wang 阅读(1068) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示