Skip to content

select_related() example in Ch. 12.3.3 #103

@halfnibble

Description

@halfnibble

In 2 Scoops of Django for 1.6, on page 153 (Ch. 12.3.3), you suggest using "select_related()" to minimize hits to the database in template renders. You show the template code, but I'm not sure how I'm supposed to use "selected_related()" in the View. An example View would be GREAT! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions