I was trying to add templates to my Django project but it returns an error: TemplateDoesNotExist at /

后端 未结 0 351
夕颜
夕颜 2021-01-30 02:32

I get a mistake when tying to add templates to my Django project.

settings.py :

TEMPLATE_DIRS = (
    os.path.join(os.path.dirname(__file__), \'templates\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题