随笔分类 - Django
摘要:1,网页引用 1.1HelloWorld 目录底下创建 templates 目录并建立 runoob.html文件 1.2修改HelloWorld/settings.py,修改 TEMPLATES 中的 DIRS 为 [os.path.join(BASE_DIR, 'templates')] 2,路
阅读全文
摘要:1,html原生代码点击跳转 <from> <select οnchange="window.location=this.value;"> <option value="a.html">用户管理</option> <option value="b.html">用户</option> </select
阅读全文
摘要:问题: You have 18 unapplied migration(s). Your project may not work properly until you apply 解决方案:按下ctrl+c退出terminal运行的程序,输入 python manage.py migrate
阅读全文