• Giorgos Korfiatis's avatar
    Optimize project-list query · cedf0c09
    Giorgos Korfiatis authored
    Note that select_related() does not automatically bring
    `related_name's, such as ProjectApplication.project.
    Need to specify select_related('project'), which brings
    `project' (but not `owner', or other related field).
    cedf0c09
project-list.py 3.5 KB