Skip to content
Snippets Groups Projects
Commit ee9a5cd9 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

Adding filter for tasks without a predecessor

parent 3c392ac2
No related branches found
No related tags found
3 merge requests!143Query Page:,!136Adding filter for tasks without a predecessor,!135Adding filter for tasks without a predecessor
......@@ -80,7 +80,7 @@
{% include 'taskdatabase/pagination.html' %}
</div>
</div>
<p class="footer"> Version 1.0.0 (28 oct 2021 - 11:30)
<p class="footer"> Version 1.0.0 (28 oct 2021 - 14:00)
</div>
......
......@@ -55,6 +55,8 @@ class TaskFilter(filters.FilterSet):
'purge_policy': ['exact'],
'priority': ['exact','lte','gte'],
'resume': ['exact'],
# http://localhost:8000/atdb/tasks/?predecessor__isnull=True
'predecessor': ['isnull'],
'predecessor__status': ['exact', 'icontains', 'in', 'startswith'],
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment