aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/pagination.py
diff options
context:
space:
mode:
authorRense VanderHoek2015-02-20 16:31:12 +0100
committerRense VanderHoek2015-02-20 16:31:12 +0100
commitc8609ba652e1752e690c9e27e02b3531589d0c2c (patch)
treedf496b7117d12f80b84d5663e84979a6fad479cc /rest_framework/pagination.py
parentdc8cc8607763fccc6eb3668ea7e2a976c08dd614 (diff)
downloaddjango-rest-framework-c8609ba652e1752e690c9e27e02b3531589d0c2c.tar.bz2
Set field length/values as actual attributes.
The SimpleMetadata class in metadata.py tries to getattr() attributes on a field. For this to work, max_length and min_length have to be actually set as an attribute. Did the same for min_value and max_value and added those two to SimpleMetadata.get_field_info
Diffstat (limited to 'rest_framework/pagination.py')
0 files changed, 0 insertions, 0 deletions