Skip to content

Commit d55e176

Browse files
cmdelatorretomchristie
authored andcommitted
Fix documentation error: removed unused variable (#4647)
1 parent 45e058d commit d55e176

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/api-guide/fields.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ The `.fail()` method is a shortcut for raising `ValidationError` that takes a me
626626

627627
def to_internal_value(self, data):
628628
if not isinstance(data, six.text_type):
629-
msg = 'Incorrect type. Expected a string, but got %s'
630629
self.fail('incorrect_type', input_type=type(data).__name__)
631630

632631
if not re.match(r'^rgb\([0-9]+,[0-9]+,[0-9]+\)$', data):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy