Skip to content
Snippets Groups Projects
  • Deaktivert bruker's avatar
    e7d11b0d
    greg.models: fix PersonIdentities link to Person · e7d11b0d
    Deaktivert bruker authored
    A Person may have multiple associated PersonIdentities.  The object
    relation link between these data structures was previously introduced
    as "person", but is renamed "identities" with this patch.
    
    This changes the access pattern from:
    
    	person.person.all() -> QuerySet[PersonIdentity]
    
    To:
    
    	person.identities.all() -> QuerySet[PersonIdentity]
    
    Fixes: GREG-20
    e7d11b0d
    History
    greg.models: fix PersonIdentities link to Person
    Deaktivert bruker authored
    A Person may have multiple associated PersonIdentities.  The object
    relation link between these data structures was previously introduced
    as "person", but is renamed "identities" with this patch.
    
    This changes the access pattern from:
    
    	person.person.all() -> QuerySet[PersonIdentity]
    
    To:
    
    	person.identities.all() -> QuerySet[PersonIdentity]
    
    Fixes: GREG-20