mirror of
https://github.com/django/django.git
synced 2025-07-22 20:55:17 +00:00
Removed django.forms.widgets.RadioInput per deprecation timeline.
refs #4592.
This commit is contained in:
parent
f6c1f05fbf
commit
797d742662
1 changed files with 0 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue