import logging import psycopg2 logger = logging.getLogger('django') # 主库 class BasicDB: DATABASES = { 'default': { 'name': 'basic_db', 'engine': 'django.db.bac... Read More
posted @ 2018-12-19 09:52 hyu9999 Views(256) Comments(0) Diggs(0)
1.交互模式下 [-5,256] 2.pycharm或者文件中 [-5, ∞] is 比较对象 == 比较值 Read More
posted @ 2018-10-22 16:02 hyu9999 Views(430) Comments(0) Diggs(0)
1.包安装 pip install django-debug-toolbar pip install django-debug-panel (辅助包) 2.配置 settings新增配置 url.py增加配置 chrome添加插件Django Debug Panel http://www.cnplu Read More
posted @ 2018-06-11 14:25 hyu9999 Views(439) Comments(0) Diggs(0)