cfpb / college-costs

⚠️ Deprecated: see note. ⚠️ A tool to help students weigh the costs and rewards of a college program.
https://www.consumerfinance.gov/paying-for-college2/understanding-your-financial-aid-offer/about-this-tool/
50 stars 27 forks source link

Allow purging of notifications and programs #220

Closed higs4281 closed 8 years ago

higs4281 commented 8 years ago

We need to be able to purge notification and program objects via Jenkins in order to prepare for live testing by a school. This adds manage.py commands for doing that, plus a model function for ensuring that program_length values that are delivered as json are always even.

Additions

./manage.py purge notifications
./manage.py purge programs

Review

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.02%) to 99.384% when pulling ad2e64543952c67bb4b17a063d9b476c69f4c6ce on purges into e48bd9e37193375b59691701461f85ae79f85717 on master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.02%) to 99.384% when pulling 86ede91ea3be4ca20f46433d0c7dd2b5ab6d629a on purges into e48bd9e37193375b59691701461f85ae79f85717 on master.

amymok commented 8 years ago

Other than the comments above, everything looks good~

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.02%) to 99.384% when pulling 00349646016ee3bfc08410f46dbc08c7f5bb471a on purges into e48bd9e37193375b59691701461f85ae79f85717 on master.