Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (9 sloc) 313 Bytes
Wrapper for loading templates from "templates" directories in INSTALLED_APPS
from django.template.utils import get_app_template_dirs
from .filesystem import Loader as FilesystemLoader
class Loader(FilesystemLoader):
def get_dirs(self):
return get_app_template_dirs('templates')
Something went wrong with that request. Please try again.