kopia lustrzana https://github.com/wagtail/wagtail
change 'iff' to 'if and only if' to avoid confusion (#3327)
rodzic
753efbb29e
commit
31d85c3aed
|
@ -85,7 +85,7 @@ class FieldBlock(Block):
|
|||
|
||||
@property
|
||||
def required(self):
|
||||
# a FieldBlock is required iff its underlying form field is required
|
||||
# a FieldBlock is required if and only if its underlying form field is required
|
||||
return self.field.required
|
||||
|
||||
class Meta:
|
||||
|
|
Ładowanie…
Reference in New Issue