Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from contrib.postgres.forms.

This commit is contained in:
Tom 2017-05-20 22:05:48 +01:00 committed by Tim Graham
parent 48028c6f9a
commit e9c7f118a7
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,10 @@ from django.core import exceptions
from django.forms.widgets import MultiWidget
from django.utils.translation import gettext_lazy as _
__all__ = ['IntegerRangeField', 'FloatRangeField', 'DateTimeRangeField', 'DateRangeField']
__all__ = [
'BaseRangeField', 'IntegerRangeField', 'FloatRangeField',
'DateTimeRangeField', 'DateRangeField', 'RangeWidget',
]
class BaseRangeField(forms.MultiValueField):