摘要: 一般随django项目创建时,会自动创建一个同名的app,该app不需要在settings中“注册”就可以正常使用,但是如果templatetags如果创建在该app中 就需要”注册”了,否则在html中 会报xxx_tag is not a valid tag library: Template 阅读全文
posted @ 2018-05-15 14:36 wind1990 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 看错误是: django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment v 阅读全文
posted @ 2018-05-14 10:07 wind1990 阅读(6238) 评论(0) 推荐(0) 编辑