Refs #16508 -- Renamed the current "virtual" fields to "private".

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.
This commit is contained in:
Michal Petrucha 2016-03-20 18:10:55 +01:00 committed by Tim Graham
parent 47fbbc33de
commit c339a5a6f7
14 changed files with 86 additions and 39 deletions

View file

@ -863,7 +863,7 @@ TEST_RESULTS = {
'm2m_concrete_rel',
],
},
'virtual_fields': {
'private_fields': {
AbstractPerson: [
'generic_relation_abstract',
'content_object_abstract',