File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,15 @@ def bucket(self):
135
135
self ._bucket = self .client .bucket (self .settings .bucket_name )
136
136
return self ._bucket
137
137
138
+ @property
139
+ def bucket_name (self ):
140
+ """The name of the bucket corresponding to this store
141
+
142
+ A convenience property referring to self.settings.bucket_name but here for backward compatibility
143
+ with django_storages and ease of general use
144
+ """
145
+ return self .settings .bucket_name
146
+
138
147
def _normalize_name (self , name ):
139
148
"""
140
149
Normalizes the name so that paths like /path/to/ignored/../something.txt
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " django-gcp"
3
- version = " 0.7.1 "
3
+ version = " 0.7.2 "
4
4
description = " Utilities to run Django on Google Cloud Platform"
5
5
authors = [" Tom Clark" ]
6
6
license = " MIT"
You can’t perform that action at this time.
0 commit comments