Просмотр исходного кода

allow_blank does not do anything on a QuerySelectMultipleField

sh4nks 10 лет назад
Родитель
Сommit
e32d2cac8f
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      flaskbb/management/forms.py

+ 0 - 1
flaskbb/management/forms.py

@@ -85,7 +85,6 @@ class UserForm(Form):
         # TODO: Template rendering errors "NoneType is not callable"
         #       without this, figure out why.
         query_factory=select_primary_group,
-        allow_blank=True,
         get_label="name")
 
     def validate_username(self, field):