Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set correct view as the success URL

Roland Geiderf84cd0794752
diff --git a/wger/weight/views.py b/wger/weight/views.py
index 284a2cfb4..23f020ba2 100644
--- a/wger/weight/views.py
+++ b/wger/weight/views.py
@@ -90,7 +90,7 @@ class WeightUpdateView(YamlFormMixin, UpdateView):
custom_js = '''$(document).ready(function () {
init_weight_datepicker();
});'''
- success_url = reverse_lazy('weight.views.overview')
+ success_url = reverse_lazy('wger.weight.views.overview')
def get_context_data(self, **kwargs):
context = super(WeightUpdateView, self).get_context_data(**kwargs)