summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/views.py
diff options
context:
space:
mode:
authorMagnus Hagander2021-11-25 12:30:28 +0000
committerMagnus Hagander2021-11-25 12:30:28 +0000
commit74ff5309290edaaa80dd222a412dfaa7b8947271 (patch)
treea43b9b5f7d2abeb12caa93c310fd7edb87ab2a4b /pgcommitfest/commitfest/views.py
parentc4041b26bb73a6269942812caf9621f42292ec37 (diff)
Replace django-selectable with selectize
django-selectable is no longer maintained, and will cause issues in newer versions of django. selectize is what we use in the pgeu-system codebase today, so copy the handling over from there.
Diffstat (limited to 'pgcommitfest/commitfest/views.py')
-rw-r--r--pgcommitfest/commitfest/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py
index e348692..6040c1b 100644
--- a/pgcommitfest/commitfest/views.py
+++ b/pgcommitfest/commitfest/views.py
@@ -325,6 +325,7 @@ def patchform(request, cfid, patchid):
'form': form,
'patch': patch,
'title': 'Edit patch',
+ 'selectize_multiple_fields': form.selectize_multiple_fields.items(),
'breadcrumbs': [{'title': cf.title, 'href': '/%s/' % cf.pk},
{'title': 'View patch', 'href': '/%s/%s/' % (cf.pk, patch.pk)}],
})