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 45e058d commit d55e176Copy full SHA for d55e176
docs/api-guide/fields.md
@@ -626,7 +626,6 @@ The `.fail()` method is a shortcut for raising `ValidationError` that takes a me
626
627
def to_internal_value(self, data):
628
if not isinstance(data, six.text_type):
629
- msg = 'Incorrect type. Expected a string, but got %s'
630
self.fail('incorrect_type', input_type=type(data).__name__)
631
632
if not re.match(r'^rgb\([0-9]+,[0-9]+,[0-9]+\)$', data):
0 commit comments