Internal
Public Access
Features: - Django-based REST API with web interface - Task management with tags, priorities, and due dates - Time tracking with start/stop timers - Subtasks support - Task filtering (all, today, upcoming, overdue, completed) - Tag-based organization with color coding - Sorting by due date and priority - Auto-assign tags when filtering - Responsive 3-pane layout (sidebar, task list, detail panel) - Task sharing between users - Mobile-responsive design with dark mode support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
"""
|
|
User URLs for KeepItGoing.
|
|
"""
|
|
|
|
from django.urls import path
|
|
from rest_framework_simplejwt.views import (
|
|
TokenObtainPairView,
|
|
TokenRefreshView,
|
|
)
|
|
|
|
from . import views
|
|
|
|
# API URLs (to be included under /api/users/)
|
|
api_urlpatterns = [
|
|
path('register/', views.RegisterAPIView.as_view(), name='api-register'),
|
|
path('profile/', views.UserProfileAPIView.as_view(), name='api-profile'),
|
|
path('change-password/', views.ChangePasswordAPIView.as_view(), name='api-change-password'),
|
|
path('devices/', views.DeviceTokenAPIView.as_view(), name='api-devices'),
|
|
path('devices/<uuid:pk>/', views.DeviceTokenDeleteAPIView.as_view(), name='api-device-delete'),
|
|
path('token/', TokenObtainPairView.as_view(), name='token-obtain-pair'),
|
|
path('token/refresh/', TokenRefreshView.as_view(), name='token-refresh'),
|
|
]
|
|
|
|
# Web URLs (to be included at root level)
|
|
web_urlpatterns = [
|
|
path('login/', views.LoginView.as_view(), name='login'),
|
|
path('logout/', views.LogoutView.as_view(), name='logout'),
|
|
path('register/', views.RegisterView.as_view(), name='register'),
|
|
path('profile/', views.ProfileView.as_view(), name='profile'),
|
|
]
|