mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings to DeprecationWarnings, and removed 1.1 deprecated code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5e5be2c44c
commit
1070c57b83
36 changed files with 98 additions and 146 deletions
|
@ -3,6 +3,8 @@ from django.db import models
|
|||
from django.utils import simplejson as json
|
||||
from django.utils.encoding import force_unicode
|
||||
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module='django.db.models.fields.subclassing')
|
||||
|
||||
class Small(object):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue