Ticket #7813: clear_related_select_fields.diff

File clear_related_select_fields.diff, 416 bytes (added by jbronn, 16 years ago)
  • django/db/models/sql/query.py

     
    107107        Pickling support.
    108108        """
    109109        obj_dict = self.__dict__.copy()
     110        obj_dict['related_select_fields'] = []
    110111        del obj_dict['connection']
    111112        return obj_dict
    112113
Back to Top