fixing issues w/ creating tasks and downloading their datasets
@ mention of reviewers`
@ckcollab`
A brief description of the purpose of the changes contained in this PR.
Should fix downloading datasets from task detail modal. Should now be able to create tasks via the Task Creation modal (wasn't working due to an error "instance has no attribute 'validated'" since creating the object did not pass through the queryset annotation adding the validated field. Also cleaned up some task query counts and serializer shtuff.
A checklist for hand testing
-
Can create task via the "Create Task" button on task management, using uploaded datasets. -
When clicking on a row in the task management table, should bring up a modal with all the datasets relevant to the task, and allow you to download them via green download button on the right side of the files table.
Checklist
-
Code review by me -
Hand tested by me -
I'm proud of my work -
Code review by reviewer -
Hand tested by reviewer -
Ready to merge
Resolves #286 (closed)