mirror of https://gitlab.crans.org/bde/nk20
[WEI] Fix redirect link
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
c6e3b54f94
commit
e68afc7d0a
|
@ -1218,4 +1218,4 @@ class WEIAttributeBus1ANextView(LoginRequiredMixin, RedirectView):
|
||||||
qs = qs.filter(information_json__contains='selected_bus_pk') # not perfect, but works...
|
qs = qs.filter(information_json__contains='selected_bus_pk') # not perfect, but works...
|
||||||
if qs.exists():
|
if qs.exists():
|
||||||
return reverse_lazy('wei:wei_bus_1A', args=(qs.first().pk, ))
|
return reverse_lazy('wei:wei_bus_1A', args=(qs.first().pk, ))
|
||||||
return reverse_lazy('wei_1A_list', args=(wei.pk, ))
|
return reverse_lazy('wei:wei_1A_list', args=(wei.pk, ))
|
||||||
|
|
Loading…
Reference in New Issue