-
- Downloads
There was a problem fetching the pipeline summary.
Subscription enhancements
* It is now possible to 'deactivate subscriptions via the delete http verb (subscriptions appear to be deleted from the outside) * Closes #92 * This is not exactly what was specified in #92 but should achieve the same result. Instead of introducing a depleted field, subscriptions can distinguish if they are fully depleted or just temporarily. The method does not involve any overhead. * Refactorings in the subscription model to increase readability
Showing
- core/migrations/0001_initial.py 51 additions, 90 deletionscore/migrations/0001_initial.py
- core/migrations/0002_submissionsubscription_deactivated.py 18 additions, 0 deletionscore/migrations/0002_submissionsubscription_deactivated.py
- core/migrations/0003_auto_20180207_1922.py 0 additions, 18 deletionscore/migrations/0003_auto_20180207_1922.py
- core/models.py 43 additions, 40 deletionscore/models.py
- core/serializers/subscription.py 16 additions, 24 deletionscore/serializers/subscription.py
- core/tests/test_feedback.py 3 additions, 3 deletionscore/tests/test_feedback.py
- core/tests/test_subscription_assignment_service.py 53 additions, 11 deletionscore/tests/test_subscription_assignment_service.py
- core/urls.py 2 additions, 1 deletioncore/urls.py
- core/views/feedback.py 1 addition, 1 deletioncore/views/feedback.py
- core/views/subscription.py 37 additions, 29 deletionscore/views/subscription.py
Loading
Please register or sign in to comment