Merge lp:~canonical-ca-hackers/ubuntu-recommender/933884-delete-old-recommendations into lp:ubuntu-recommender
Proposed by
Łukasz Czyżykowski
Status: | Merged |
---|---|
Approved by: | Michael Nelson |
Approved revision: | 65 |
Merged at revision: | 49 |
Proposed branch: | lp:~canonical-ca-hackers/ubuntu-recommender/933884-delete-old-recommendations |
Merge into: | lp:ubuntu-recommender |
Diff against target: |
130 lines (+99/-1) 2 files modified
src/recommender/management/commands/recommendation_cleanup.py (+57/-0) src/recommender/tests/test_commands.py (+42/-1) |
To merge this branch: | bzr merge lp:~canonical-ca-hackers/ubuntu-recommender/933884-delete-old-recommendations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | Approve | ||
Review via email:
|
Commit message
Added recommendation_
Description of the change
Overview
========
This branch adds a management command to clean up old Recommendation objects which doesn't have any feedback. By default, recommendation created more than 30 days ago are deleted, but this can be specified on the command line.
$ python manage.py recommendation_
To post a comment you must log in.