Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add react view for new log and session form
Roland Geideree1cf3dd0bf0
diff --git a/wger/manager/urls.py b/wger/manager/urls.pyindex f6ac93186..78f40ee8f 100644--- a/wger/manager/urls.py+++ b/wger/manager/urls.py@@ -79,6 +79,15 @@ patterns_templates = [),]+# sub patterns for days+patterns_days = [+ path(+ '<int:day_pk>/add-logs',+ ReactView.as_view(),+ name='overview',+ ),+]+# sub patterns for workoutspatterns_workout = [path(@@ -263,6 +272,7 @@ urlpatterns = [path('', include((patterns_workout, 'workout'), namespace='workout')),path('', include((patterns_routine, 'routine'), namespace='routine')),path('template/', include((patterns_templates, 'template'), namespace='template')),+ path('<int:routine_pk>/day/', include((patterns_days, 'day'), namespace='template')),path('log/', include((patterns_log, 'log'), namespace='log')),path('session/', include((patterns_session, 'session'), namespace='session')),path('schedule/', include((patterns_schedule, 'schedule'), namespace='schedule')),