Oleg Komarov
dd82ca1156
See #194 This PR adds support for uploading and downloading multiple platform-specific files per Version, updates the API endpoint and adds Version methods `get_download_list` and `get_build_list` for templates. `Version.file` property is removed: all code should expect multiple files and access data using `Version.files` Download urls are still managed by Version, but all platform-aware contexts are expected to pass a platform value, which should be enough to select the correct file, since `Version.files` are not allowed to overlap by platforms. Co-authored-by: Márton Lente <marton@blender.org> Reviewed-on: #201 Reviewed-by: Anna Sirota <annasirota@noreply.localhost> |
||
---|---|---|
.. | ||
management | ||
migrations | ||
templates | ||
templatetags | ||
tests | ||
views | ||
__init__.py | ||
admin.py | ||
apps.py | ||
blender_id.py | ||
forms.py | ||
models.py | ||
signals.py | ||
tasks.py | ||
urls.py | ||
utils.py |