| 109 | ===== Concrete |
| 110 | Concrete fields are fields that have a column |
| 111 | |
| 112 | ===== Proxied relations |
| 113 | Proxied relations are when concrete models inherit all related from their proxies. |
| 114 | |
| 115 | {{{ |
| 116 | class Person(models.Model): |
| 117 | pass |
| 118 | |
| 119 | class ProxyPerson(Person): |
| 120 | class Meta: |
| 121 | proxy = True |
| 122 | |
| 123 | class RelationToProxy(models.Model): |
| 124 | proxy_person = models.ForeignKey(ProxyPerson) |
| 125 | }}} |
| 126 | |
| 127 | In this case, Person has no related objects, but it has 1 proxied related object from RelationToProxy. |
| 128 | |
| 129 | |
| 130 | |