Django Template file 'fileName' not found less

选择主目录下的templates文件夹

  • 右键templates
  • 选择倒数几个中的 Mark Directory as
  • 选择Templates Folder
  • 标记完成后、templates文件夹会变为紫色




路漫漫其修远兮,吾将上下而求索
原文地址:https://www.cnblogs.com/jiyu-hlzy/p/15025994.html