Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

fix(core): typo in weight unit URL string. Update urls.py .

Pankaj Basnet470b632af357
diff --git a/wger/core/urls.py b/wger/core/urls.py
index 3a484387e..df0ca1813 100644
--- a/wger/core/urls.py
+++ b/wger/core/urls.py
@@ -180,7 +180,7 @@ patterns_weight_units = [
name='add',
),
path(
- '<int:pk>)/edit',
+ '<int:pk>/edit',
weight_units.UnitUpdateView.as_view(),
name='edit',
),