raise TemplateDoesNotExist(template_name, chain=chain)
django.template.exceptions.TemplateDoesNotExist: login.html
在settings.py中的
TEMPLATES =
加入
'DIRS': [os.path.join(BASE_DIR, "templates"),],
raise TemplateDoesNotExist(template_name, chain=chain)
django.template.exceptions.TemplateDoesNotExist: login.html
在settings.py中的
TEMPLATES =
加入
'DIRS': [os.path.join(BASE_DIR, "templates"),],