b7fadb660abf42635aa6b36b5d5dbdc3f0af4792,app/grandchallenge/datasets/views.py,AddImagesToAnnotationSet,get_success_url,#AddImagesToAnnotationSet#,124
Before Change
return super().form_valid(form)
def get_success_url(self):
return reverse(
"datasets:annotationset-detail",
kwargs={
"challenge_short_name": self.kwargs["challenge_short_name"],
"pk": self.kwargs["pk"],
},
)
class AnnotationSetUpdateLabels(
UserIsStaffMixin, AnnotationSetUpdateContextMixin, UpdateView
After Change
return super().form_valid(form)
def get_success_url(self):
return self.object.annotationset.get_absolute_url()
class AnnotationSetUpdateLabels(
UserIsStaffMixin, AnnotationSetUpdateContextMixin, UpdateView
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: comic/grand-challenge.org
Commit Name: b7fadb660abf42635aa6b36b5d5dbdc3f0af4792
Time: 2018-12-13
Author: jamesmeakin@gmail.com
File Name: app/grandchallenge/datasets/views.py
Class Name: AddImagesToAnnotationSet
Method Name: get_success_url
Project Name: comic/grand-challenge.org
Commit Name: 10be620ec5a250bc7b7a3ec89b956eb5ca6f8147
Time: 2013-07-25
Author: w.s.kerkstra@gmail.com
File Name: django/ckeditor/views.py
Class Name:
Method Name: get_media_url_project
Project Name: comic/grand-challenge.org
Commit Name: ea037c194cb1f8a2957276f8a72a43f8db3d5476
Time: 2013-07-25
Author: w.s.kerkstra@gmail.com
File Name: django/ckeditor/views.py
Class Name:
Method Name: get_media_url_project
Project Name: comic/grand-challenge.org
Commit Name: b7fadb660abf42635aa6b36b5d5dbdc3f0af4792
Time: 2018-12-13
Author: jamesmeakin@gmail.com
File Name: app/grandchallenge/datasets/views.py
Class Name: AddImagesToImageSet
Method Name: get_success_url