mirror of https://github.com/django/django.git
c339a5a6f7
The only reason why GenericForeignKey and GenericRelation are stored separately inside _meta is that they need to be cloned for every model subclass, but that's not true for any other virtual field. Actually, it's only true for GenericRelation. |
||
---|---|---|
.. | ||
models | ||
__init__.py | ||
test_empty_join.py | ||
test_forms.py | ||
tests.py |