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. |
||
---|---|---|
.. | ||
4x8.png | ||
8x4.png | ||
__init__.py | ||
models.py | ||
test_binaryfield.py | ||
test_booleanfield.py | ||
test_charfield.py | ||
test_custom_fields.py | ||
test_datetimefield.py | ||
test_decimalfield.py | ||
test_durationfield.py | ||
test_field_flags.py | ||
test_filefield.py | ||
test_floatfield.py | ||
test_foreignkey.py | ||
test_genericipaddressfield.py | ||
test_imagefield.py | ||
test_integerfield.py | ||
test_manytomanyfield.py | ||
test_promises.py | ||
test_slugfield.py | ||
test_textfield.py | ||
test_uuid.py | ||
tests.py |