12 2021 档案

摘要:import os import re import sys from PyQt5 import QtWidgets, QtCore QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling) # 不同分辨率下 自适 阅读全文
posted @ 2021-12-31 13:33 PythonNew_Mr.Wang 阅读(144) 评论(0) 推荐(0) 编辑
摘要:1:下载pip install PyQt5 -i https://pypi.douban.com/simple pip install -i https://pypi.tuna.tsinghua.edu.cn/simple PyQt5-tools 2:汉化包放入qt的安装目录 链接:https:// 阅读全文
posted @ 2021-12-31 13:15 PythonNew_Mr.Wang 阅读(95) 评论(0) 推荐(0) 编辑
摘要:class PagerSerialiser(serializers.ModelSerializer): # 定义返回的字段名称 game = serializers.SerializerMethodField('get_game') class Meta: model = models.Order 阅读全文
posted @ 2021-12-18 10:20 PythonNew_Mr.Wang 阅读(266) 评论(0) 推荐(0) 编辑
摘要:下载:https://golang.google.cn/dl/ MSI默认配置,环境默认配置 VSCODE打开如果无效,请使用管理员模式运行~ 阅读全文
posted @ 2021-12-16 20:17 PythonNew_Mr.Wang 阅读(25) 评论(0) 推荐(0) 编辑
摘要:这个问题只要在settings.py最后添加 REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication',)}就可以了,不知道为什么百度搜索的一大堆 阅读全文
posted @ 2021-12-14 06:13 PythonNew_Mr.Wang 阅读(163) 评论(2) 推荐(0) 编辑

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