mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from contrib.postgres.forms.
This commit is contained in:
		| @@ -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): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user