-
- Downloads
Subscription enhancements
* It is now possible to 'deactivate subscriptions via the delete http verb * 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 * Creating a subscription does not have side effects (creates no assignment) Other minor changes * Assignments are now implicitly checked if feedback is created * using the assignment endpoint to create subscriptions instead of subscription endpoint Closes #93 and #92.
parent
33f1ff73
No related branches found
No related tags found
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 59 additions, 64 deletionscore/models.py
- core/serializers/feedback.py 23 additions, 19 deletionscore/serializers/feedback.py
- core/serializers/subscription.py 28 additions, 27 deletionscore/serializers/subscription.py
- core/tests/test_feedback.py 18 additions, 17 deletionscore/tests/test_feedback.py
- core/tests/test_subscription_assignment_service.py 82 additions, 34 deletionscore/tests/test_subscription_assignment_service.py
- core/urls.py 2 additions, 1 deletioncore/urls.py
- core/views/feedback.py 25 additions, 22 deletionscore/views/feedback.py
- core/views/subscription.py 49 additions, 48 deletionscore/views/subscription.py
Loading
Please register or sign in to comment