Author: leidel
Date: Sat Oct  4 02:55:48 2008
New Revision: 23

Modified:
    trunk/robots/models.py

Log:
Fixed save method of Url objects

Modified: trunk/robots/models.py
==============================================================================
--- trunk/robots/models.py      (original)
+++ trunk/robots/models.py      Sat Oct  4 02:55:48 2008
@@ -22,10 +22,10 @@
      def __unicode__(self):
          return u"%s" % self.pattern

-    def save(self):
+    def save(self, force_insert=False, force_update=False):
          if not self.pattern.startswith('/'):
              self.pattern = '/' + self.pattern
-        super(Url, self).save()
+        super(Url, self).save(force_insert, force_update)

  class Rule(models.Model):
      """

--~--~---------~--~----~------------~-------~--~----~
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