annotate gpp/templates/forums/topic_notify_email.txt @ 552:9e42e6618168

For bitbucket issue #2, tweak the admin settings for the Post model to reduce slow queries. Define our own queryset() method so we can control the select_related(), and not have it cascade from post to topics to forums to categories. Removed 'topic' from list_display because MySQL still sucked with 2 inner joins. Now it seems to be tolerable with only one join to User.
author Brian Neal <bgneal@gmail.com>
date Wed, 25 Jan 2012 20:07:03 -0600
parents accfc1fdb88d
children
rev   line source
bgneal@181 1 Hello,
bgneal@181 2
bgneal@181 3 You are receiving this message because you have subscribed to one or
bgneal@181 4 more forum topics at SurfGuitar101.com.
bgneal@181 5
bgneal@181 6 This is a heads up that {{ poster }} replied to a forum topic you have
bgneal@181 7 subscribed to:
bgneal@181 8
bgneal@181 9 ---
bgneal@397 10 RE: {{ topic_name|safe }}
bgneal@181 11
bgneal@397 12 {{ message|safe }}
bgneal@181 13 ---
bgneal@181 14
bgneal@181 15 To view this post on the site, please visit:
bgneal@181 16 {{ post_url }}
bgneal@181 17
bgneal@181 18 If you would like to stop receiving these email notifications, you may
bgneal@181 19 manage your topic subscriptions at:
bgneal@181 20 {{ unsubscribe_url }}
bgneal@181 21
bgneal@181 22 Surf's up!
bgneal@181 23 -The staff at SurfGuitar101.com
bgneal@181 24
bgneal@181 25 P.S. This is an automated message from SurfGuitar101.com. Please do not
bgneal@181 26 reply to this email unless you wish to report a problem to the staff.
bgneal@181 27 Thanks!