Changes between Version 1 and Version 4 of Ticket #30844


Ignore:
Timestamp:
Oct 6, 2019, 11:11:16 PM (5 years ago)
Author:
Robert Singer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30844

    • Property Component UncategorizedDatabase layer (models, ORM)
    • Property Type UncategorizedNew feature
  • Ticket #30844 – Description

    v1 v4  
    2020    def __init__(self, *args, **kwargs):
    2121        super().__init__(*args, **kwargs)
    22         
    23        if type.name == 'cat':
     22       # another db query is triggered b/c select_related has populated the instance yet
     23       if self.type.name == 'cat':
    2424           self.__class__ = CatMixin
    2525       else:
Back to Top