[Oi-commits] r1354 - trunk/forum
oi-commits at pardus.org.tr
oi-commits at pardus.org.tr
Wed May 7 14:12:05 EEST 2008
Author: jnmbk
Date: Wed May 7 14:12:05 2008
New Revision: 1354
Modified:
trunk/forum/views.py
Log:
faster again
Modified: trunk/forum/views.py
=================================================================
--- trunk/forum/views.py (original)
+++ trunk/forum/views.py Wed May 7 14:12:05 2008
@@ -141,7 +141,8 @@
# is the user watching this topic?
try:
- watching = request.user.watchlist_set.get(topic=topic_id)
+ request.user.watchlist_set.get(topic__id=topic_id)
+ watching = True
except ObjectDoesNotExist:
pass
More information about the Oi-commits
mailing list