mirror of
https://github.com/django/django.git
synced 2024-12-24 18:16:19 +00:00
commit
8606785faa
@ -97,7 +97,7 @@ class Storage(object):
|
|||||||
|
|
||||||
def exists(self, name):
|
def exists(self, name):
|
||||||
"""
|
"""
|
||||||
Returns True if a file referened by the given name already exists in the
|
Returns True if a file referenced by the given name already exists in the
|
||||||
storage system, or False if the name is available for a new file.
|
storage system, or False if the name is available for a new file.
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError('subclasses of Storage must provide a exists() method')
|
raise NotImplementedError('subclasses of Storage must provide a exists() method')
|
||||||
|
Loading…
Reference in New Issue
Block a user