mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #24919 -- Made test models serializable for migrations.
This commit is contained in:
@@ -5,6 +5,7 @@ import warnings
|
||||
|
||||
from django.db import models
|
||||
from django.utils import six
|
||||
from django.utils.deconstruct import deconstructible
|
||||
from django.utils.deprecation import RemovedInDjango110Warning
|
||||
from django.utils.encoding import force_text, python_2_unicode_compatible
|
||||
|
||||
@@ -16,6 +17,7 @@ warnings.filterwarnings(
|
||||
)
|
||||
|
||||
|
||||
@deconstructible
|
||||
@python_2_unicode_compatible
|
||||
class Small(object):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user