Fixed #26101 -- Allowed introspection of base_field.model in RangeField

Used the same test and fix as in #25867.
This required initializing base_field in RangeField.__init__,
not when setting the attribute.
This commit is contained in:
anna 2016-04-03 12:39:18 +02:00 committed by Markus Holtermann
parent 319b7112d8
commit b28c60529b
4 changed files with 36 additions and 6 deletions

View file

@ -845,7 +845,7 @@ types.
.. attribute:: base_field
The model field to use.
The model field class to use.
.. attribute:: range_type