Fixing work edit
This commit is contained in:
@@ -238,7 +238,7 @@ class WorkUpdateView(CollectionMixin, UpdateView):
|
||||
template_name = 'interface/default_form.html'
|
||||
|
||||
def get_success_url(self):
|
||||
return resolve_url('work_detail', self.kwargs['pk'])
|
||||
return resolve_url('work_detail', self.collection.pk, self.kwargs['pk'])
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user