summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/fields/utils.py
AgeCommit message (Collapse)Author
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2015-06-06Instead of using DjangoJSONEncoder, use base_field's value_to_string.Matthew Somerville
Note this means the serialization of e.g. IntegerRangeField now has strings for lower and upper, so use to_python when they came back in (same behaviour as ArrayField, hopefully, from where I also got the set_attributes_from_name function).