Skip to content

Feat: add suport for azure url override#1539

Open
Gornoka wants to merge 3 commits into
jschneier:masterfrom
Gornoka:feat/quick/add_suport_for_azure_url_overrid
Open

Feat: add suport for azure url override#1539
Gornoka wants to merge 3 commits into
jschneier:masterfrom
Gornoka:feat/quick/add_suport_for_azure_url_overrid

Conversation

@Gornoka

@Gornoka Gornoka commented Sep 30, 2025

Copy link
Copy Markdown

This change allows the Azure backend to work with completely custom Blob Storage URLs.

The default implementation assumed that everyone sticks to Azures naming conventions, unfortunately not everyone does. This PR just extends the existing client_options parameter to prevent double passing the account_url, if it is specified as client_parameter.

While testing this I have found that the current implementation changes the client_params without creating a copy first, if you are interested in changes that address that let me know (would also make the implementation of these changes a little nicer). https://github.com/Gornoka/django-storages/tree/debug/quick/reduce_side_effects

This might also be a solution to this issue: #1503

@Gornoka Gornoka changed the title Feat: add suport for azure url overrid Feat: add suport for azure url override Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant