Skip to content

Conversation

brianhelba
Copy link
Contributor

This was already implicitly encouraged by the documentation and API structure, but this change ensures that callers will always pass arguments correctly. Since all additional arguments to .url are non-standard (compared to Django Storage) and vary across Django-Storages subclasses, calling with positional arguments should be disallowed.

This is technically a breaking change for anyone using positional arguments, though the fix should be obvious.

This was already implicitly encouraged by the documentation and API structure,
but this change ensures that callers will always pass arguments correctly.
Since all additional arguments to `.url` are non-standard (compared to Django
`Storage`) and vary across Django-Storages subclasses, calling with positional
arguments should be disallowed.

This is technically a breaking change for anyone using positional arguments,
though the fix should be obvious.
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