include test for missing Meta.manager_inheritance_from_future

fix_request_path_info
Diederik van der Boor 2018-02-05 13:31:00 +01:00
parent 78682d2022
commit ff57aa57a3
1 changed files with 2 additions and 3 deletions

View File

@ -191,9 +191,8 @@ class MROBase1(ShowFieldType, PolymorphicModel):
class MROBase2(MROBase1): class MROBase2(MROBase1):
class Meta: pass
# Django 1.x inheritance does not inherit MyManager as _default_manager here # No manager_inheritance_from_future or Meta set. test that polymorphic restores that.
manager_inheritance_from_future = True
class MROBase3(models.Model): class MROBase3(models.Model):