Skip to content

Commit be1c751

Browse files
committed
Python 2 fix.
1 parent be666aa commit be1c751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ def to_internal_value(self, data):
903903

904904
# Number types...
905905

906-
class MaxMinMixin:
906+
class MaxMinMixin(object):
907907
default_error_messages = {
908908
'max_value': _('Ensure this value is less than or equal to {max_value}.'),
909909
'min_value': _('Ensure this value is greater than or equal to {min_value}.'),

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