1. Kai Diefenbach
  2. django-lfs-0.6

Commits

Kai Diefenbach  committed 8b87aa4

Bugfix cart: calculation of maximum delivery date

  • Participants
  • Parent commits 6adfaa9
  • Branches default

Comments (0)

Files changed (1)

File lfs/catalog/models.py

View file
     def __unicode__(self):
         return self.round().as_string()
 
+    def __gt__(self, other):
+        if self.max > other.max:
+            return True
+        return False
+
     def __add__(self, other):
         """Adds to delivery times.
         """