Author: gregoryjnewman
Date: Mon Sep  8 07:44:58 2008
New Revision: 850

Modified:
    trunk/pinax/local_apps/zwitschern/views.py

Log:
single e tweet was using wrong model and showing the same tweet regardless  
of id.  fixing ticket #80

Modified: trunk/pinax/local_apps/zwitschern/views.py
==============================================================================
--- trunk/pinax/local_apps/zwitschern/views.py  (original)
+++ trunk/pinax/local_apps/zwitschern/views.py  Mon Sep  8 07:44:58 2008
@@ -61,7 +61,7 @@
      """
      A single tweet.
      """
-    tweet = get_object_or_404(TweetInstance, id=id)
+    tweet = get_object_or_404(Tweet, id=id)
      return render_to_response("zwitschern/single.html", {
          "tweet": tweet,
      }, context_instance=RequestContext(request))

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to