Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix trophy urls

Roland Geider3ad2310a4136
diff --git a/wger/trophies/urls.py b/wger/trophies/urls.py
index 5b5b8de40..1bf054f5f 100644
--- a/wger/trophies/urls.py
+++ b/wger/trophies/urls.py
@@ -14,7 +14,7 @@
# along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.
# Django
-from django.urls import re_path
+from django.urls import path
# wger
from wger.core.views.react import ReactView
@@ -23,13 +23,13 @@ from wger.core.views.react import ReactView
from .views import TrophiesOverview
urlpatterns = [
- re_path(
+ path(
'',
ReactView.as_view(),
name='overview',
),
- re_path(
- 'admin/overview/',
+ path(
+ 'admin',
TrophiesOverview.as_view(),
name='admin-overview',
),