上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 64 下一页
摘要: 1.注册主题代码: import xadmin from xadmin import views class BaseSettings(object): #全站的配置类, 配置主题 enable_themes = True #主题功能,enable_themes=True 表示要使用它的主题功能,x 阅读全文
posted @ 2020-07-27 15:46 大话人生 阅读(417) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/Risk2S/p/12359650.html 阅读全文
posted @ 2020-07-27 14:49 大话人生 阅读(330) 评论(0) 推荐(0)
摘要: 1.通过id控制单个层: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>html边框虚线演示</title> <style> .tabledata{ background: rgba(251, 251, 251, 0.93 阅读全文
posted @ 2020-07-27 14:34 大话人生 阅读(347) 评论(0) 推荐(0)
摘要: xampp数据库配置文件位置:/opt/lampp/mysql/my.cnf datadir路径:innodb_data_home_dir = /opt/lampp/var/mysql/ 阅读全文
posted @ 2020-07-27 11:25 大话人生 阅读(172) 评论(0) 推荐(0)
摘要: 主从分离:https://blog.csdn.net/weixin_39726347/article/details/88051089 1.在项目settings.py下的读写数据库配置如下: DATABASES = { 'default': { 'ENGINE': 'django.db.backe 阅读全文
posted @ 2020-07-26 20:23 大话人生 阅读(305) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/sfencs-hcy/p/10989298.html 1.安装:pip install pympler 或 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pympler 2.配置: DE 阅读全文
posted @ 2020-07-26 09:52 大话人生 阅读(349) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/cn_1937/article/details/82715983(Django 开发:django-debug-toolbar使用详解) 注意:python64位可以使用,32位无法使用 1.安装:pip install django-debug-tool 阅读全文
posted @ 2020-07-26 07:58 大话人生 阅读(223) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/chenjunan888/article/details/80447800 阅读全文
posted @ 2020-07-25 17:19 大话人生 阅读(3468) 评论(1) 推荐(0)
摘要: 网址参考:https://www.cnblogs.com/djangocn/p/9538551.html 一、python虚拟环境中安装uwsgi: workon mypython3 pip install uwsgi 或者 pip install -i https://pypi.tuna.tsin 阅读全文
posted @ 2020-07-25 10:19 大话人生 阅读(223) 评论(0) 推荐(0)
摘要: #指导教程class GuideHelpXadmin(object): all_zi_duan = ["id", "add_time", "update_time"] list_display = ['guide_project', 'go_to'] # 定义显示的字段 list_filter = 阅读全文
posted @ 2020-07-24 15:37 大话人生 阅读(496) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 64 下一页