Author: leidel
Date: Sat Oct 4 03:01:49 2008
New Revision: 52
Modified:
trunk/dbtemplates/models.py
Log:
Made save() mathod arguments magic
Modified: trunk/dbtemplates/models.py
==============================================================================
--- trunk/dbtemplates/models.py (original)
+++ trunk/dbtemplates/models.py Sat Oct 4 03:01:49 2008
@@ -24,9 +24,9 @@
def __unicode__(self):
return self.name
- def save(self, force_insert=False, force_update=False):
+ def save(self, *args, **kwargs):
self.last_changed = datetime.now()
- super(Template, self).save(force_insert, force_update)
+ super(Template, self).save(*args, **kwargs)
__test__ = {'API_TESTS':"""
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---