1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

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

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):