@@ -142,11 +142,8 @@ class CharField(Field):
142
142
# kwargs.pop() in CharField
143
143
allow_blank : bool = ...,
144
144
trim_whitespace : bool = ...,
145
- min_length : Optional [int ] = ...,
146
145
max_length : Optional [int ] = ...,
147
- validators : Optional [Sequence [_Validator ]] = ...,
148
- error_messages : Optional [Mapping [str , str ]] = ...,
149
- style : Optional [Mapping [str , Any ]] = ...,
146
+ min_length : Optional [int ] = ...,
150
147
): ...
151
148
152
149
class EmailField (CharField ): ...
@@ -170,13 +167,6 @@ class RegexField(CharField):
170
167
source : Union [Callable , str ] = ...,
171
168
label : Optional [str ] = ...,
172
169
help_text : Optional [str ] = ...,
173
- allow_null : bool = ...,
174
- allow_blank : bool = ...,
175
- trim_whitespace : bool = ...,
176
- min_length : Optional [int ] = ...,
177
- max_length : Optional [int ] = ...,
178
- validators : Optional [Sequence [_Validator ]] = ...,
179
- error_messages : Optional [Mapping [str , str ]] = ...,
180
170
style : Optional [Mapping [str , Any ]] = ...,
181
171
error_messages : Optional [Mapping [str , str ]] = ...,
182
172
validators : Optional [Sequence [_Validator ]] = ...,
@@ -204,13 +194,6 @@ class SlugField(CharField):
204
194
source : Union [Callable , str ] = ...,
205
195
label : Optional [str ] = ...,
206
196
help_text : Optional [str ] = ...,
207
- allow_null : bool = ...,
208
- allow_blank : bool = ...,
209
- trim_whitespace : bool = ...,
210
- min_length : Optional [int ] = ...,
211
- max_length : Optional [int ] = ...,
212
- validators : Optional [Sequence [_Validator ]] = ...,
213
- error_messages : Optional [Mapping [str , str ]] = ...,
214
197
style : Optional [Mapping [str , Any ]] = ...,
215
198
error_messages : Optional [Mapping [str , str ]] = ...,
216
199
validators : Optional [Sequence [_Validator ]] = ...,
@@ -268,13 +251,6 @@ class IPAddressField(CharField):
268
251
source : Union [Callable , str ] = ...,
269
252
label : Optional [str ] = ...,
270
253
help_text : Optional [str ] = ...,
271
- allow_null : bool = ...,
272
- allow_blank : bool = ...,
273
- trim_whitespace : bool = ...,
274
- min_length : Optional [int ] = ...,
275
- max_length : Optional [int ] = ...,
276
- validators : Optional [Sequence [_Validator ]] = ...,
277
- error_messages : Optional [Mapping [str , str ]] = ...,
278
254
style : Optional [Mapping [str , Any ]] = ...,
279
255
error_messages : Optional [Mapping [str , str ]] = ...,
280
256
validators : Optional [Sequence [_Validator ]] = ...,
0 commit comments