diff options
Diffstat (limited to 'django/template')
| -rw-r--r-- | django/template/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/template/utils.py b/django/template/utils.py index 852baca566..fde2f64d13 100644 --- a/django/template/utils.py +++ b/django/template/utils.py @@ -5,7 +5,6 @@ from collections import Counter, OrderedDict from django.apps import apps from django.conf import settings from django.core.exceptions import ImproperlyConfigured -from django.utils._os import upath from django.utils.functional import cached_property from django.utils.module_loading import import_string @@ -103,6 +102,6 @@ def get_app_template_dirs(dirname): continue template_dir = os.path.join(app_config.path, dirname) if os.path.isdir(template_dir): - template_dirs.append(upath(template_dir)) + template_dirs.append(template_dir) # Immutable return value because it will be cached and shared by callers. return tuple(template_dirs) |
