Skip to content

Commit 750db63

Browse files
cslzchenOstap-Zherebetskyi
authored andcommitted
Apply suggestion from @cslzchen
1 parent 78bb781 commit 750db63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin/institutions/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def get_success_url(self, *args, **kwargs):
119119
return reverse_lazy('institutions:detail', kwargs={'institution_id': self.kwargs.get('institution_id')})
120120

121121
def post(self, request, *args, **kwargs):
122-
# Override post method from ProcessFormView due to custom behavior
122+
# Override `post` method in `django.views.generic.edit.ProcessFormView` due to custom behavior
123123
self.object = self.get_object()
124124
form = self.get_form()
125125
if form.is_valid():

0 commit comments

Comments
 (0)