diff gpp/messages/models.py @ 429:d0f0800eef0c

Making the jquery tabbed version of the messages app the current version and removing the old. Also figured out how to dynamically update the base template's count of unread messages when messages are read.
author Brian Neal <bgneal@gmail.com>
date Tue, 03 May 2011 02:56:58 +0000
parents 76ba9478ebbd
children
line wrap: on
line diff
--- a/gpp/messages/models.py	Sun May 01 02:11:48 2011 +0000
+++ b/gpp/messages/models.py	Tue May 03 02:56:58 2011 +0000
@@ -67,10 +67,6 @@
         self.html = site_markup(self.message)
         super(Message, self).save(*args, **kwargs)
 
-    @models.permalink
-    def get_absolute_url(self):
-        return ('messages.views.view', [str(self.id)])
-
     def __unicode__(self):
         return self.subject