1. Petar Bukvic
  2. django-versioning

Commits

Ivan Zakrevsky  committed 87617f9

disabled @login_required decorator. Used only ACL system. Anonymous can be allowed by ACL system.

  • Participants
  • Parent commits c49f4e2
  • Branches master

Comments (0)

Files changed (1)

File versioning/views.py

View file
  • Ignore whitespace
         """Returns content_object url"""
         return self.object.content_object.get_absolute_url()
 
-    @method_decorator(login_required)
+    # @method_decorator(login_required)
     def dispatch(self, request, *args, **kwargs):
         return super(RevisionReapplyView, self).dispatch(request, *args, **kwargs)
 
             raise PermissionDenied
         return qs
 
-    @method_decorator(login_required)
+    # @method_decorator(login_required)
     def dispatch(self, request, *args, **kwargs):
         return super(RevisionListView, self).dispatch(request, *args, **kwargs)