aliyun / django-oss-storage

Django storage backends for AliCloud OSS.
MIT License
145 stars 67 forks source link

Added default expire argument for url(name, expire) method. #13

Closed favoyang closed 6 years ago

favoyang commented 6 years ago

Django filefield.url implemented as storage.url(name), which will fail on oss backend. Added default expire argument for url(name, expire) method to fix it.

CLAassistant commented 6 years ago

CLA assistant check
All committers have signed the CLA.

favoyang commented 6 years ago

Turns out that pull request https://github.com/aliyun/django-oss-storage/pull/10 from @jxltom is a better fix. Closed.