django/tests/proxy_model_inheritance/models.py

14 lines
225 B
Python

from django.db import models
class ConcreteModel(models.Model):
pass
class ConcreteModelSubclass(ConcreteModel):
pass
class ConcreteModelSubclassProxy(ConcreteModelSubclass):
class Meta:
proxy = True