mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +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.utils.translation import gettext_lazy as _ | ||||
|  | ||||
| __all__ = ['IntegerRangeField', 'FloatRangeField', 'DateTimeRangeField', 'DateRangeField'] | ||||
| __all__ = [ | ||||
|     'BaseRangeField', 'IntegerRangeField', 'FloatRangeField', | ||||
|     'DateTimeRangeField', 'DateRangeField', 'RangeWidget', | ||||
| ] | ||||
|  | ||||
|  | ||||
| class BaseRangeField(forms.MultiValueField): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user