mirror of https://github.com/django/django.git
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…
Reference in New Issue