-
Jan Maximilian Michal authored
* 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.
Jan Maximilian Michal authored* 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.
models.py 20.61 KiB