lp:~canonical-ca-hackers/ubuntu-webcatalog/938226-multiple-screenshots
Created by
Łukasz Czyżykowski
and last modified
- Get this branch:
- bzr branch lp:~canonical-ca-hackers/ubuntu-webcatalog/938226-multiple-screenshots
Members of
Canonical Consumer Applications Hackers
can upload to this branch. Log in for directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Anthony Lenton (community): Approve
-
Diff: 1207 lines (+873/-28)16 files modifiedsrc/webcatalog/forms.py (+47/-2)
src/webcatalog/management/commands/import_for_purchase_apps.py (+1/-0)
src/webcatalog/migrations/0015_add_applicationmedia.py (+169/-0)
src/webcatalog/migrations/0016_populate_application_media.py (+168/-0)
src/webcatalog/migrations/0017_delete_screenshot_url.py (+158/-0)
src/webcatalog/migrations/0018_add_unique_together_to_application_media.py (+157/-0)
src/webcatalog/models/__init__.py (+2/-0)
src/webcatalog/models/applications.py (+30/-2)
src/webcatalog/static/css/carousel.css (+37/-0)
src/webcatalog/templates/webcatalog/application_detail.html (+4/-3)
src/webcatalog/templates/webcatalog/screenshot_widget.html (+28/-0)
src/webcatalog/tests/factory.py (+10/-2)
src/webcatalog/tests/test_commands.py (+9/-1)
src/webcatalog/tests/test_data/sca_apps.txt (+4/-0)
src/webcatalog/tests/test_forms.py (+21/-1)
src/webcatalog/tests/test_views.py (+28/-17)
Related bugs
Related blueprints
Branch information
Recent revisions
- 92. By Łukasz Czyżykowski
-
Added unique_together index to the ApplicationMedia to restrict possibility of multiple same urls for the same application.
- 91. By Łukasz Czyżykowski
-
Added tests for checking that carousel is only displayed when there's more than one screenshot.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-webcatalog