init commit
This commit is contained in:
15
workout/urls.py
Normal file
15
workout/urls.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path('all/', views.all_workouts, name='all workouts'),
|
||||
path('<workout_id>/details/', views.workout_details, name='single workout details'),
|
||||
path('complete/', views.complete_workout, name='user complete workout'),
|
||||
path('completed/', views.workouts_completed_by_logged_in_user, name='user completed workouts'),
|
||||
path('create/', views.add_workout, name='create new workout'),
|
||||
path('planned_workouts/', views.workouts_planned_by_logged_in_user, name='planned workout for user'),
|
||||
path('plan_workout/', views.plan_workout, name='plan workout'),
|
||||
|
||||
path('add_from_files/', views.add_from_files, name='plan workout'),
|
||||
]
|
||||
Reference in New Issue
Block a user