X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2f9c60b76f3ab4e69d794a6bb14388a81ff29eb7..391b7a7b21da0ae7aae68826cfee514c8ea7eca9:/apps/catalogue/forms.py?ds=inline diff --git a/apps/catalogue/forms.py b/apps/catalogue/forms.py index 33ccbe6f..6a56e764 100644 --- a/apps/catalogue/forms.py +++ b/apps/catalogue/forms.py @@ -65,7 +65,7 @@ class ChunkForm(forms.ModelForm): """ user = forms.ModelChoiceField(queryset= User.objects.annotate(count=Count('chunk')). - order_by('-count', 'last_name', 'first_name')) + order_by('-count', 'last_name', 'first_name'), required=False) class Meta: