dennisv / django-storage-swift

OpenStack Swift storage backend for Django
MIT License
86 stars 60 forks source link

Move `def setting()` to utils.py #113

Closed XioNoX closed 7 months ago

XioNoX commented 8 months ago

Hi,

This is to duplicate what's done in the django-storage module. 3rd party apps relies on that structure to be able to monkey patch that function and inject configuration options direcly. For example Netbox (see https://github.com/netbox-community/netbox/issues/14554)

Tested and works as expected, no backward compatibility issue that I can think of. Let me know if you have any questions.

Thank you !

XioNoX commented 7 months ago

Thanks @dennisv for the merge. Could you release a new version on pypi ?

XioNoX commented 7 months ago

Hi @dennisv I was wondering if you saw my previous message and when to expect a new release on pypi. Thanks