Commits

Daniel LaMotte committed 8c4b413

haml: skip haml_path when compiling if its in tepmlate_dirs

  • Participants
  • Parent commits ea12c60
  • Tags 0.7.1

Comments (0)

Files changed (1)

File haml/management/commands/compilehaml.py

             )
 
         for template_dir in settings.TEMPLATE_DIRS:
+            if template_dir.startswith(haml_path):
+                continue
+
             # trick to add proper trailing slash if necessary
             l = len(os.path.join(template_dir + '/', ''))