diff gpp/bulletins/models.py @ 182:5c889b587416

Fixing #64. Updating all model save() methods to use *args and **kwargs. Django 1.2 has new keyword arguments.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Mar 2010 21:41:11 +0000
parents e249b5f9d180
children 65016249bf35
line wrap: on
line diff
--- a/gpp/bulletins/models.py	Sun Mar 28 01:07:47 2010 +0000
+++ b/gpp/bulletins/models.py	Sun Mar 28 21:41:11 2010 +0000
@@ -38,8 +38,8 @@
     def __unicode__(self):
         return self.title
 
-    def save(self, force_insert=False, force_update=False):
-        super(Bulletin, self).save(force_insert, force_update)
+    def save(self, *args, **kwargs):
+        super(Bulletin, self).save(*args, **kwargs)
         cache.delete('home_bulletins')