Fixing work edit
This commit is contained in:
parent
1cb00ebc0b
commit
7d4f959146
@ -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'])
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user