mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
211486f3ab
Thanks to James Murty for his work on an alternate patch.
21 lines
296 B
Python
21 lines
296 B
Python
|
|
from django.db import models
|
|
|
|
|
|
class ConcreteModel(models.Model):
|
|
pass
|
|
|
|
|
|
class ProxyModel(ConcreteModel):
|
|
class Meta:
|
|
proxy = True
|
|
|
|
|
|
class ConcreteModelSubclass(ProxyModel):
|
|
pass
|
|
|
|
|
|
class ConcreteModelSubclassProxy(ConcreteModelSubclass):
|
|
class Meta:
|
|
proxy = True
|