zoukankan      html  css  js  c++  java
  • windows下django1.7 +python3.4.2搭建记录2

    TEMPLATE_DIRS=( os.path.join(BASE_DIR,'templates'),)

    问题解决

    如何定位basedir呢?我用的笨办法,setting.py中有一句配置:
    'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),

    我把db.sqlite3的目录给找出来了

    应该还有别的办法,欢迎探讨,下期研究数据库或auth认证。
     
  • 相关阅读:
    GreenPlum 大数据平台--集群恢复
    GreenPlum 大数据平台--常用命令
    oracle--CRS-0215 : Could not start resource 'ora.node2.ons'.
    ORACLE--10G安装问题( error while loading shared libraries)
    如何启动一个Vue2.x项目
    django admin登陆添加修改内容
    Vue, element-ui Module build failed: Error: No PostCSS Config found
    Mac安装Vue-cli时 提示bash: vue: command not found问题
    一个挺好用的生成GIF格式图片的小程序
    Vue: 生命周期, VueRouter
  • 原文地址:https://www.cnblogs.com/slqt/p/4319138.html
Copyright © 2011-2022 走看看