Author: leidel
Date: Fri Oct 17 08:13:23 2008
New Revision: 79
Modified:
trunk/messages/models.py
Log:
Fixed missing keyed arguments in save method of Message model
Modified: trunk/messages/models.py
==============================================================================
--- trunk/messages/models.py (original)
+++ trunk/messages/models.py Fri Oct 17 08:13:23 2008
@@ -79,10 +79,10 @@
return ('messages_detail', [self.id])
get_absolute_url = models.permalink(get_absolute_url)
- def save(self):
+ def save(self, force_insert=False, force_update=False):
if not self.id:
self.sent_at = datetime.datetime.now()
- super(Message, self).save()
+ super(Message, self).save(force_insert, force_update)
class Meta:
ordering = ['-sent_at']
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---