mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
20 lines
295 B
Python
20 lines
295 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
|