Redirect the success url of 1rm add to list of 1rm
This commit is contained in:
parent
b90c64cf5d
commit
8659460df0
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class TheoreticalMaxCreateView(LoginRequiredMixin, QuickActionsMixin, generic.Cr
|
||||||
return initial
|
return initial
|
||||||
|
|
||||||
def get_success_url(self):
|
def get_success_url(self):
|
||||||
return reverse('equipment-detail', kwargs={'pk': self.object.equipment.pk})
|
return reverse('theoretical-max-list', kwargs={'pk': self.object.equipment.pk})
|
||||||
|
|
||||||
|
|
||||||
class TheoreticalMaxListView(LoginRequiredMixin, QuickActionsMixin, generic.ListView):
|
class TheoreticalMaxListView(LoginRequiredMixin, QuickActionsMixin, generic.ListView):
|
||||||
|
|
Loading…
Reference in a new issue