mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Advanced deprecation warnings for Django 1.7.
This commit is contained in:
@@ -8,7 +8,7 @@ from django.utils.deprecation import RenameMethodsBase
|
||||
|
||||
class RenameManagerMethods(RenameMethodsBase):
|
||||
renamed_methods = (
|
||||
('old', 'new', PendingDeprecationWarning),
|
||||
('old', 'new', DeprecationWarning),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user