Python新手使用的Django架站的16堂课 — 第六章

page167
django.template.backends.jinja2.Jinja2
django.template.backends.django.DjangoTemplates
http://getbootstrap.com/getting-started/#download
https://code.jquery.com/


django-admin startproject ch06www
cd ch06www
python manage.py startapp mysite
mkdir templates
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver 192.168.99.218:8080


设置 tv-url 的值为0 ,或者为1
page181
(稍后补充)
本教程专为Python初学者设计,详细介绍了使用Django框架搭建网站的全过程,包括环境配置、应用创建、模板引擎选择(如Jinja2和DjangoTemplates)、前端资源引入(如Bootstrap和jQuery),以及数据库迁移和超级用户创建等关键步骤。
547

被折叠的 条评论
为什么被折叠?



