This commit is contained in:
Ross
2024-11-04 12:10:18 +00:00
parent 3a2b89a1fd
commit 7b1fee464b
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ class SupervisorFilter(django_filters.FilterSet):
class Meta:
model = Supervisor
fields = {
"name": ["contains"],
"email": ["contains"],
"name": ["icontains"],
"email": ["icontains"],
"active": ["exact"],
"site": ["exact"],
}
@@ -11,6 +11,8 @@
{% endfor %}
<div><a href="{% url 'generic:supervisor_overview' pk=object.pk %}">Supervisor overview</a></div>
<div>
<a href="{% url 'generic:supervisor_edit' pk=object.pk %}"> Edit</a>