Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from contrib.postgres.forms.
This commit is contained in:
parent
48028c6f9a
commit
e9c7f118a7
|
@ -5,7 +5,10 @@ from django.core import exceptions
|
||||||
from django.forms.widgets import MultiWidget
|
from django.forms.widgets import MultiWidget
|
||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
__all__ = ['IntegerRangeField', 'FloatRangeField', 'DateTimeRangeField', 'DateRangeField']
|
__all__ = [
|
||||||
|
'BaseRangeField', 'IntegerRangeField', 'FloatRangeField',
|
||||||
|
'DateTimeRangeField', 'DateRangeField', 'RangeWidget',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class BaseRangeField(forms.MultiValueField):
|
class BaseRangeField(forms.MultiValueField):
|
||||||
|
|
Loading…
Reference in New Issue