We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdebc3b commit bb9ad78Copy full SHA for bb9ad78
s3file/storages.py
@@ -12,7 +12,7 @@
12
class S3MockStorage(FileSystemStorage):
13
@property
14
def location(self):
15
- return settings.AWS_LOCATION
+ return getattr(settings, 'AWS_LOCATION', '')
16
17
def path(self, name):
18
return safe_join(os.path.abspath(self.base_location), self.location, name)
0 commit comments