La saisie des événements a forcément une catégorie
This commit is contained in:
parent
81ae863b45
commit
cd68d0039c
@ -43,7 +43,8 @@ class URLSubmissionForm(Form):
|
|||||||
category = ModelChoiceField(
|
category = ModelChoiceField(
|
||||||
label=_("Category"),
|
label=_("Category"),
|
||||||
queryset=Category.objects.all().order_by("name"),
|
queryset=Category.objects.all().order_by("name"),
|
||||||
empty_label=_("Unknown"),
|
initial=Category.get_default_category(),
|
||||||
|
empty_label=None,
|
||||||
help_text=_('Optional. If you don''t specify a category, we''ll find it for you.'),
|
help_text=_('Optional. If you don''t specify a category, we''ll find it for you.'),
|
||||||
required=False,
|
required=False,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user