          self.loaders = loaders
          self.string_if_invalid = string_if_invalid
  
      @classmethod
      @lru_cache.lru_cache()
      def get_default(cls):
 
</s> remove                  loaders=None, string_if_invalid=''):
 </s> add                  loaders=None, string_if_invalid='',
                 file_charset=None): </s> remove                     resource = resource.decode(settings.FILE_CHARSET)
 </s> add                     resource = resource.decode(self.engine.file_charset) </s> remove                 with io.open(filepath, encoding=settings.FILE_CHARSET) as fp:
 </s> add                 with io.open(filepath, encoding=self.engine.file_charset) as fp: </s> remove             error_msg = "Your TEMPLATE_DIRS setting is empty. Change it to point to at least one template directory."
 </s> add             error_msg = ("Your template directories configuration is empty. "
                         "Change it to point to at least one template directory.")
        self.file_charset = file_charset
          self.loaders = loaders
          self.string_if_invalid = string_if_invalid
        self.file_charset = file_charset
  
      @classmethod
      @lru_cache.lru_cache()
      def get_default(cls):
keep add keep keep keep keep
 Removed dependency of template loaders on Django settings. 
django/template/engine.py