mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Updates to the test suite to allow for newly deprecated and removed features
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
603884505f
commit
4c468800ee
28 changed files with 255 additions and 298 deletions
|
@ -3,9 +3,6 @@ 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):
|
||||
"""
|
||||
A simple class to show that non-trivial Python objects can be used as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue