diff --git a/django/contrib/postgres/forms/ranges.py b/django/contrib/postgres/forms/ranges.py index d966a6e1db8..5f2b2434a3b 100644 --- a/django/contrib/postgres/forms/ranges.py +++ b/django/contrib/postgres/forms/ranges.py @@ -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):