Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Todos bulk creation serializer, viewset and tests * Add TODO * Add project field * Add step to serializer * Make it possible to get todo by pk * Add filter for retrieving todos * Implementand test update logic * Add partial_update, destroy and bulk_update functionality * Order by creation date * Rename url * Reduce amount of code * Make sure we have all the fields * Remove id validation logic * Simplify get_queryset * Move the viewset to project_api * Require step field on the serializer level * Reqiure step field on the serializer level * Add permission classes * Add create test-case * Add a testcase for permission check * Rename and move tests * Linting fixes * Remove old comment * Add project/ prefix * Fix bulk update * Supply non-existent project_id * Make it more readable
- Loading branch information
Showing
4 changed files
with
329 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.