摘要:
一般随django项目创建时,会自动创建一个同名的app,该app不需要在settings中“注册”就可以正常使用,但是如果templatetags如果创建在该app中 就需要”注册”了,否则在html中 会报xxx_tag is not a valid tag library: Template 阅读全文
摘要:
看错误是: django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment v 阅读全文