Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body For NameStore AttributeLoad NameLoad attr body TryExcept body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr ListLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad If NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr ListLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad Str attr NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr ListLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad Str attr NameLoad attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad Str body TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return TupleLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad body Return If UnaryOpNot NameLoad body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body TryExcept body If CompareIn Str NameLoad body Expr Yield Call NameLoad BinOpMod NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Yield Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Raise ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body TryExcept body With Call NameLoad NameLoad Str NameStore body Return TupleLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore Str Raise Call NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad decorator_list
N/A N/A 
Adaptations of the cached and filesystem template loader working in a
multi-tenant setting
 N/A hashlib django.conf settings django.core.exceptions ImproperlyConfigured django.template.base TemplateDoesNotExist django.template.loader BaseLoader get_template_from_string find_template_loader make_origin django.utils.encoding force_bytes django.utils._os safe_join django.db connection tenant_schemas.postgresql_backend.base FakeTenant CachedLoader N/A BaseLoader N/A N/A is_usable True __init__ N/A N/A self loaders N/A N/A N/A N/A self template_cache N/A N/A N/A self _loaders loaders N/A N/A self _cached_loaders N/A N/A loaders N/A N/A self N/A N/A N/A N/A N/A self _cached_loaders N/A N/A cached_loaders N/A N/A loader N/A self _loaders N/A N/A N/A N/A cached_loaders append N/A find_template_loader loader N/A N/A self _cached_loaders cached_loaders N/A N/A self _cached_loaders N/A property find_template N/A N/A self name dirs N/A None N/A N/A loader N/A self loaders N/A N/A N/A N/A N/A template display_name N/A loader name dirs N/A N/A template N/A make_origin display_name loader name dirs N/A N/A N/A TemplateDoesNotExist N/A N/A N/A N/A TemplateDoesNotExist name N/A load_template N/A N/A self template_name template_dirs N/A None N/A N/A N/A connection tenant N/A N/A key N/A N/A - join N/A N/A str N/A N/A connection tenant pk template_name N/A N/A key template_name N/A template_dirs N/A N/A N/A connection tenant N/A N/A key N/A N/A - join N/A N/A str N/A N/A connection tenant pk template_name N/A N/A N/A N/A hashlib sha1 N/A force_bytes N/A N/A | join template_dirs hexdigest N/A N/A key N/A N/A - join N/A template_name N/A N/A N/A N/A hashlib sha1 N/A force_bytes N/A N/A | join template_dirs hexdigest N/A N/A key N/A self template_cache N/A N/A N/A template origin N/A N/A self find_template template_name template_dirs N/A N/A N/A hasattr template render N/A N/A N/A N/A template N/A get_template_from_string template origin template_name N/A N/A N/A TemplateDoesNotExist N/A N/A N/A template origin N/A N/A N/A self template_cache N/A key template N/A N/A N/A N/A self template_cache N/A key None N/A reset N/A N/A self N/A N/A N/A Empty the template cache. N/A N/A N/A N/A self template_cache clear N/A N/A FilesystemLoader N/A BaseLoader N/A N/A is_usable True get_template_sources N/A N/A self template_name template_dirs N/A None N/A N/A 
        Returns the absolute paths to "template_name", when appended to each
        directory in "template_dirs". Any paths that don't lie inside one of the
        template dirs are excluded from the result set, for security reasons.
         N/A N/A N/A N/A connection tenant N/A isinstance N/A connection tenant FakeTenant N/A N/A N/A N/A template_dirs N/A N/A N/A N/A template_dirs N/A settings MULTITENANT_TEMPLATE_DIRS N/A N/A N/A AttributeError N/A N/A N/A ImproperlyConfigured N/A To use %s.%s you must define the MULTITENANT_TEMPLATE_DIRS N/A __name__ N/A FilesystemLoader __name__ N/A template_dir template_dirs N/A N/A N/A N/A N/A %s template_dir N/A N/A N/A N/A safe_join N/A template_dir N/A N/A connection tenant domain_url template_name N/A N/A N/A N/A safe_join template_dir N/A N/A connection tenant domain_url template_name N/A N/A N/A UnicodeDecodeError N/A N/A N/A N/A ValueError N/A N/A N/A load_template_source N/A N/A self template_name template_dirs N/A None N/A N/A tried N/A N/A filepath N/A N/A self get_template_sources template_name template_dirs N/A N/A N/A N/A N/A open filepath rb fp N/A N/A N/A N/A N/A N/A N/A fp read decode N/A settings FILE_CHARSET filepath N/A N/A N/A IOError N/A N/A N/A N/A tried append filepath N/A tried N/A N/A error_msg N/A Tried %s tried N/A N/A error_msg Your TEMPLATE_DIRS setting is empty. Change it to point to at least one template directory. N/A N/A TemplateDoesNotExist error_msg N/A N/A N/A load_template_source is_usable True N/A