]> git.parisson.com Git - teleforma.git/commitdiff
try bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 19:31:09 +0000 (21:31 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 19:31:09 +0000 (21:31 +0200)
teleforma/views/pro.py

index 62d548ec779315b9f681d13f3eed6b32c40432ac..88dd762f8bc79ae2219e9c94c7ea80e3865e5691 100644 (file)
@@ -146,7 +146,7 @@ class SeminarView(SeminarAccessMixin, DetailView):
     model = Seminar
     template_name='teleforma/seminar_detail.html'
 
-    def get_delta(self.username, seminar):
+    def get_delta(self, user, seminar):
         t = datetime.timedelta()
         for r in SeminarRevision.objects.filter(user=user, seminar=seminar, date__gte=REVISION_DATE_FILTER):
             if r.date_modified: