summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/core/files/storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/files/storage.py b/django/core/files/storage.py
index 2cf5e2a5c7..7097dc9585 100644
--- a/django/core/files/storage.py
+++ b/django/core/files/storage.py
@@ -316,7 +316,7 @@ class FileSystemStorage(Storage):
pass
def exists(self, name):
- return os.path.exists(self.path(name))
+ return os.path.lexists(self.path(name))
def listdir(self, path):
path = self.path(path)