mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
This commit is contained in:
@@ -3,10 +3,9 @@ import os
|
||||
|
||||
from django.template.engine import Engine
|
||||
from django.test.utils import override_settings
|
||||
from django.utils._os import upath
|
||||
from django.utils.safestring import mark_safe
|
||||
|
||||
ROOT = os.path.dirname(os.path.abspath(upath(__file__)))
|
||||
ROOT = os.path.dirname(os.path.abspath(__file__))
|
||||
TEMPLATE_DIR = os.path.join(ROOT, 'templates')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user