Changes between Initial Version and Version 1 of Ticket #35110


Ignore:
Timestamp:
Jan 12, 2024, 9:59:09 PM (11 months ago)
Author:
Cody Towstik
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35110 – Description

    initial v1  
    66In both cases, you can make the field distinct.
    77
     8{{{
    89class Person(models.Model):
    910    email = models.CharField()
     
    2526# foreign key case
    2627Customer.objects.distinct("person__email").in_bulk(emails_to_process, fieldname="person__email)
     28}}}
Back to Top