Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select_related() example in Ch. 12.3.3 #103

Open
halfnibble opened this issue Jan 7, 2015 · 0 comments
Open

select_related() example in Ch. 12.3.3 #103

halfnibble opened this issue Jan 7, 2015 · 0 comments

Comments

@halfnibble
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant