BaseRangeField is not available in "django.contrib.postgres.forms", only
"django.contrib.postgres.forms.ranges".
--
Ticket URL: <https://code.djangoproject.com/ticket/28227>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* component: Uncategorized => contrib.postgres
--
Ticket URL: <https://code.djangoproject.com/ticket/28227#comment:1>
* type: Uncategorized => Bug
* easy: 0 => 1
* stage: Unreviewed => Accepted
Comment:
I think that both `BaseRangeField` and `RangeWidget` should be included in
the `__all__` list. I suspect their absence in that list was an oversight
when those classes have been added.
--
Ticket URL: <https://code.djangoproject.com/ticket/28227#comment:2>
* has_patch: 0 => 1
Comment:
I made a patch here: https://github.com/django/django/pull/8526
I hope this is sufficient?
--
Ticket URL: <https://code.djangoproject.com/ticket/28227#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"e9c7f118a7ab19a5441f2dceeb1765138d44daf7" e9c7f118]:
{{{
#!CommitTicketReference repository=""
revision="e9c7f118a7ab19a5441f2dceeb1765138d44daf7"
Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from
contrib.postgres.forms.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28227#comment:4>
--
Ticket URL: <https://code.djangoproject.com/ticket/28227#comment:5>