mirror of
https://github.com/django/django.git
synced 2025-03-05 23:12:32 +00:00
Removed django.forms.widgets.RadioInput per deprecation timeline.
refs #4592.
This commit is contained in:
parent
f6c1f05fbf
commit
797d742662
@ -634,13 +634,6 @@ class RadioChoiceInput(ChoiceInput):
|
||||
self.value = force_text(self.value)
|
||||
|
||||
|
||||
class RadioInput(RadioChoiceInput):
|
||||
def __init__(self, *args, **kwargs):
|
||||
msg = "RadioInput has been deprecated. Use RadioChoiceInput instead."
|
||||
warnings.warn(msg, RemovedInDjango18Warning, stacklevel=2)
|
||||
super(RadioInput, self).__init__(*args, **kwargs)
|
||||
|
||||
|
||||
class CheckboxChoiceInput(ChoiceInput):
|
||||
input_type = 'checkbox'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user