""" URL configuration for accounts app. """ from django.urls import path from . import views # from allauth.account.views import SignupView, LoginView, LogoutView app_name = 'accounts' urlpatterns = [ # path('accounts/', include('allauth.urls')), # Main views # path('login/', views.AccountLoginView.as_view(), name='login'), # path('logout/', LogoutView.as_view(), name='logout'), # path('signup/', SignupView.as_view(), name='account_signup'), path('users/', views.UserListView.as_view(), name='user_list'), path('users//', views.UserDetailView.as_view(), name='user_detail'), path('profile/', views.UserProfileView.as_view(), name='user_profile'), path('sessions/', views.SessionManagementView.as_view(), name='session_management'), # path('reset-password/', views.ResetPasswordView.as_view(), name='reset_password'), path('profile-picture/', views.upload_avatar, name='upload_avatar'), # HTMX views path('htmx/user-search/', views.user_search, name='user_search'), path('htmx/user-stats/', views.user_stats, name='user_stats'), path('htmx/session-list/', views.session_list, name='session_list'), path('htmx/end-session//', views.end_session, name='end_session'), path('htmx/profile-update/', views.user_profile_update, name='user_profile_update'), path('htmx/two-factor-setup/', views.two_factor_setup, name='two_factor_setup'), path('htmx/remove-two-factor//', views.remove_two_factor_device, name='remove_two_factor_device'), path('htmx/user-activity//', views.user_activity_log, name='user_activity_log'), ]