enhanced uploader
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
from django.contrib.auth import views as auth_views
|
||||
from django.urls import path
|
||||
|
||||
from .health_exports import export_bowel_csv, export_pain_csv
|
||||
|
||||
from .views import (
|
||||
DailyPlannerView, TaskCreateView, category_suggestions, TaskDeleteView, TaskDetailView, TaskListView,
|
||||
DailyPlannerView, HealthView, TaskCreateView, category_suggestions, TaskDeleteView, TaskDetailView, TaskListView,
|
||||
TaskUpdateView, WorkoutCreateView, WorkoutUpdateView, delete_workout, fasting_configure, neck_headache_checkin_panel,
|
||||
fasting_toggle_tracking, fasting_widget, logout_view, register, toggle_task_active, toggle_task_completed,
|
||||
save_neck_headache_checkin, save_sleep_checkin, advance_onboarding, toggle_workout_completed, user_settings, workout_today,
|
||||
@@ -13,6 +15,7 @@ app_name = 'planner'
|
||||
|
||||
urlpatterns = [
|
||||
path('', TaskListView.as_view(), name='task-list'),
|
||||
path('health/', HealthView.as_view(), name='health'),
|
||||
path('login/', auth_views.LoginView.as_view(template_name='registration/login.html'), name='login'),
|
||||
path('register/', register, name='register'),
|
||||
path('logout/', logout_view, name='logout'),
|
||||
@@ -28,6 +31,8 @@ urlpatterns = [
|
||||
path('teeth/toggle/', toggle_tooth_brushing, name='tooth-brushing-toggle'),
|
||||
path('bowel-health/panel/', bowel_health_panel, name='bowel-health-panel'),
|
||||
path('bowel-health/save/', save_bowel_health_checkin, name='bowel-health-save'),
|
||||
path('check-ins/export/<str:period>/', export_pain_csv, name='pain-export'),
|
||||
path('bowel-health/export/<str:period>/', export_bowel_csv, name='bowel-export'),
|
||||
path('workouts/today/', workout_today, name='workout-today'),
|
||||
path('workouts/new/', WorkoutCreateView.as_view(), name='workout-create'),
|
||||
path('workouts/<int:pk>/edit/', WorkoutUpdateView.as_view(), name='workout-update'),
|
||||
|
||||
Reference in New Issue
Block a user