mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
Advanced deprecation warnings for Django 1.7.
This commit is contained in:
@@ -636,7 +636,7 @@ class RadioChoiceInput(ChoiceInput):
|
||||
class RadioInput(RadioChoiceInput):
|
||||
def __init__(self, *args, **kwargs):
|
||||
msg = "RadioInput has been deprecated. Use RadioChoiceInput instead."
|
||||
warnings.warn(msg, PendingDeprecationWarning, stacklevel=2)
|
||||
warnings.warn(msg, DeprecationWarning, stacklevel=2)
|
||||
super(RadioInput, self).__init__(*args, **kwargs)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user