We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6177d88 commit 8324940Copy full SHA for 8324940
README.rst
@@ -135,8 +135,8 @@ Validators
135
136
137
class MyClass(models.Model)
138
- image1 = StdImageField(validators=MinSizeValidator(800, 600))
139
- image2 = StdImageField(validators=MaxSizeValidator(1028, 768))
+ image1 = StdImageField(validators=[MinSizeValidator(800, 600)])
+ image2 = StdImageField(validators=[MaxSizeValidator(1028, 768)])
140
141
142
CAUTION: The MaxSizeValidator should be used with caution.
0 commit comments