18 lines
827 B
Diff
18 lines
827 B
Diff
--- /home/j/p/camp/camp/.venv/lib/python3.13/site-packages/app_namespace/loader.py.orig 2025-01-30 17:09:14.284447979 +0530
|
|
+++ /home/j/p/camp/camp/.venv/lib/python3.13/site-packages/app_namespace/loader.py 2025-01-30 17:09:22.637303678 +0530
|
|
@@ -6,7 +6,6 @@
|
|
|
|
import django
|
|
from django.apps import apps
|
|
-from django.utils._os import upath
|
|
from django.utils._os import safe_join
|
|
try:
|
|
from django.template import Origin
|
|
@@ -64,7 +63,6 @@
|
|
templates_dir = os.path.join(
|
|
getattr(app_config, 'path', '/'), 'templates')
|
|
if os.path.isdir(templates_dir):
|
|
- templates_dir = upath(templates_dir)
|
|
app_templates_dirs[app_config.name] = templates_dir
|
|
app_templates_dirs[app_config.label] = templates_dir
|
|
return app_templates_dirs
|