![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Web开发框架
文章平均质量分 55
web 快速开发框架
allensong1982
一入马门深似海
展开
-
django开发框架笔记(模板)
1、模板设置: 1) settings.py设置路径 TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, 'templates')], 'APP_DIRS': True, 'OPTIONS': { 'context_processor..原创 2021-08-05 17:24:18 · 202 阅读 · 0 评论 -
Django入门实践- 开启后台admin管理
1.启用默认admin管理后台 a.添加sqlite db b.添加完成之后执行Test Connection,若是没有驱动会提示下载驱动 c.执行指令 # python manage.py migrate Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... O原创 2021-07-27 17:01:05 · 707 阅读 · 0 评论