diff options
| author | Tom <tom@tomforb.es> | 2017-05-20 22:05:48 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-05-20 21:17:06 -0400 |
| commit | e9c7f118a7ab19a5441f2dceeb1765138d44daf7 (patch) | |
| tree | 931271ce79a3495e648ac9acfa496189c1b26f33 | |
| parent | 48028c6f9a22742ff05da79822f5e3385d1b4c4c (diff) | |
Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from contrib.postgres.forms.
| -rw-r--r-- | django/contrib/postgres/forms/ranges.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/django/contrib/postgres/forms/ranges.py b/django/contrib/postgres/forms/ranges.py index d966a6e1db..5f2b2434a3 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): |
