Merge lp:~michael.nelson/ubuntu-webcatalog/1019326-missing-ratings-summary into lp:ubuntu-webcatalog
Proposed by
Michael Nelson
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Nelson | ||||
Approved revision: | 182 | ||||
Merged at revision: | 174 | ||||
Proposed branch: | lp:~michael.nelson/ubuntu-webcatalog/1019326-missing-ratings-summary | ||||
Merge into: | lp:ubuntu-webcatalog | ||||
Diff against target: |
256 lines (+100/-25) 6 files modified
src/webcatalog/admin.py (+6/-0) src/webcatalog/management/commands/import_all_ratings_stats.py (+13/-1) src/webcatalog/management/commands/import_ratings_stats.py (+25/-13) src/webcatalog/tasks.py (+7/-1) src/webcatalog/tests/test_commands.py (+44/-9) src/webcatalog/tests/test_views.py (+5/-1) |
||||
To merge this branch: | bzr merge lp:~michael.nelson/ubuntu-webcatalog/1019326-missing-ratings-summary | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Łukasz Czyżykowski (community) | Approve | ||
Review via email: mp+137619@code.launchpad.net |
Commit message
Add admin class for ReviewStatsImport and optional --download-all flag for import_
Description of the change
After some investigation on bug 1015604, this branch adds:
1) An admin class for ReviewStatsImport, so we can view/update when the last import occurred,
2) An --download-all flag for the import_
3) An extra task so that we can request all ratings stats to be downloaded without needing a webop.
`fab test`
To post a comment you must log in.
All great