Skip to content
Snippets Groups Projects
Commit 39b92044 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Add documentation about the edit view

parent 109074ed
No related branches found
No related tags found
No related merge requests found
...@@ -140,6 +140,10 @@ class SubmissionDetailView(ViewDispatcher): ...@@ -140,6 +140,10 @@ class SubmissionDetailView(ViewDispatcher):
@method_decorator(login_required, name='dispatch') @method_decorator(login_required, name='dispatch')
class SubmissionEditView(UpdateView): class SubmissionEditView(UpdateView):
"""
Converts the data held on the submission into an editable format and knows how to save
that back to the object. Shortcuts the normal update view save approach
"""
model = ApplicationSubmission model = ApplicationSubmission
def dispatch(self, request, *args, **kwargs): def dispatch(self, request, *args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment