Commits

Guilherme Gondim committed 4a0d390

Fix super() arguments on EntryPreviewView

  • Participants
  • Parent commits 82c6842

Comments (0)

Files changed (1)

         return super(EntryPreviewView, self).dispatch(*args, **kwargs)
 
     def get_object(self, *args, **kwargs):
-        obj = super(EntryPreviewView).get_object(*args, **kwargs)
+        obj = super(EntryPreviewView, self).get_object(*args, **kwargs)
         user = self.request.user
         if user.is_superuser or user == obj.user:
             return obj