admin: fixup some urls

This commit is contained in:
Jens Langhammer
2020-05-28 10:36:10 +02:00
parent bc495828e7
commit fdfc6472d2
5 changed files with 21 additions and 11 deletions

View File

@ -1,7 +1,6 @@
"""Flow and Stage forms"""
from django import forms
from django.contrib.admin.widgets import FilteredSelectMultiple
from django.utils.translation import gettext_lazy as _
from passbook.flows.models import Flow, FlowStageBinding
@ -17,7 +16,6 @@ class FlowForm(forms.ModelForm):
"name",
"slug",
"designation",
"stages",
]
help_texts = {
"name": _("Shown as the Title in Flow pages."),
@ -31,7 +29,6 @@ class FlowForm(forms.ModelForm):
}
widgets = {
"name": forms.TextInput(),
"stages": FilteredSelectMultiple(_("stages"), False),
}