标签:tin ack django path TE got load request class
TEMPLATES = [ { ‘BACKEND‘: ‘django.template.backends.django.DjangoTemplates‘, ‘DIRS‘: [os.path.join(BASE_DIR, ‘templates‘)] , ‘APP_DIRS‘: True, ‘OPTIONS‘: { ‘context_processors‘: [ ‘django.template.context_processors.debug‘, ‘django.template.context_processors.request‘, ‘django.contrib.auth.context_processors.auth‘, ‘django.contrib.messages.context_processors.messages‘, ], ‘builtins‘: [‘django.templatetags.static‘] # 模板中自动加载static,不需要写 {% load static %} }, }, ]
标签:tin ack django path TE got load request class
原文地址:https://www.cnblogs.com/tangpg/p/9197958.html