1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #28750 -- Removed suppport for model Meta.manager_inheritance_from_future.

This commit is contained in:
Tim Graham 2018-12-27 20:59:10 -05:00
parent 6079ed82f4
commit da1de1615c
2 changed files with 0 additions and 17 deletions

View File

@ -33,8 +33,6 @@ DEFAULT_NAMES = (
'select_on_save', 'default_related_name', 'required_db_features', 'select_on_save', 'default_related_name', 'required_db_features',
'required_db_vendor', 'base_manager_name', 'default_manager_name', 'required_db_vendor', 'base_manager_name', 'default_manager_name',
'indexes', 'constraints', 'indexes', 'constraints',
# For backwards compatibility with Django 1.11. RemovedInDjango30Warning
'manager_inheritance_from_future',
) )

View File

@ -1,15 +0,0 @@
from django.db import models
from django.test import SimpleTestCase
from django.test.utils import isolate_apps
@isolate_apps('model_meta')
class TestManagerInheritanceFromFuture(SimpleTestCase):
def test_defined(self):
"""
Meta.manager_inheritance_from_future can be defined for backwards
compatibility with Django 1.11.
"""
class FuturisticModel(models.Model):
class Meta:
manager_inheritance_from_future = True # No error raised.