Ticket #13124: find_template_loader_patch.diff

File find_template_loader_patch.diff, 417 bytes (added by avostryakov, 5 years ago)
  • django/template/loader.py

     
    7878        return None
    7979
    8080def find_template_loader(loader):
    81     if hasattr(loader, '__iter__'):
     81    if isinstance(loader, tuple):
    8282        loader, args = loader[0], loader[1:]
    8383    else:
    8484        args = []
Back to Top