From 4e729feaa647547f25debb1cb63dec989dc41a20 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 20 Jan 2017 08:01:02 -0500 Subject: Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. These functions do nothing on Python 3. --- django/apps/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'django/apps') diff --git a/django/apps/config.py b/django/apps/config.py index 024643a645..78762dd612 100644 --- a/django/apps/config.py +++ b/django/apps/config.py @@ -2,7 +2,6 @@ import os from importlib import import_module from django.core.exceptions import ImproperlyConfigured -from django.utils._os import upath from django.utils.module_loading import module_has_submodule MODELS_MODULE_NAME = 'models' @@ -80,7 +79,7 @@ class AppConfig: "The app module %r has no filesystem location, " "you must configure this app with an AppConfig subclass " "with a 'path' class attribute." % (module,)) - return upath(paths[0]) + return paths[0] @classmethod def create(cls, entry): -- cgit v1.3