Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions hypha/apply/utils/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,6 @@ def post(self, request, *args, **kwargs):
class DelegatedViewMixin(View):
"""For use on create views accepting forms from another view"""

# TODO: REMOVE IN DJANGO 2.2
def setup(self, request, *args, **kwargs):
"""Initialize attributes shared by all view methods."""
self.request = request
self.args = args
self.kwargs = kwargs

def get_object(self):
# Make sure the form instance, bound at the parent class level, is the same as the
# value we work with on the class.
Expand Down
Loading