mirror of
https://github.com/thecyberlearn/quantum-ai.git
synced 2026-08-18 07:52:59 +00:00
- Complete Django project structure with apps/ organization - Working homepage with exact Next.js recreation (1039 lines) - User authentication system with wallet balance - Agent system with processors and models - Stripe payment integration setup - All Django migrations and URL routing - Comprehensive .gitignore file - Homepage loads successfully (HTTP 200) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
1.1 KiB
Python
24 lines
1.1 KiB
Python
from django.urls import path
|
|
from django.contrib.auth import views as auth_views
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('login/', auth_views.LoginView.as_view(template_name='auth/login.html'), name='login'),
|
|
path('logout/', auth_views.LogoutView.as_view(next_page='homepage'), name='logout'),
|
|
path('register/', views.register, name='register'),
|
|
path('password-reset/', auth_views.PasswordResetView.as_view(
|
|
template_name='auth/password_reset.html',
|
|
email_template_name='auth/password_reset_email.html',
|
|
success_url='/auth/password-reset/done/'
|
|
), name='password_reset'),
|
|
path('password-reset/done/', auth_views.PasswordResetDoneView.as_view(
|
|
template_name='auth/password_reset_done.html'
|
|
), name='password_reset_done'),
|
|
path('reset/<uidb64>/<token>/', auth_views.PasswordResetConfirmView.as_view(
|
|
template_name='auth/password_reset_confirm.html',
|
|
success_url='/auth/reset/done/'
|
|
), name='password_reset_confirm'),
|
|
path('reset/done/', auth_views.PasswordResetCompleteView.as_view(
|
|
template_name='auth/password_reset_complete.html'
|
|
), name='password_reset_complete'),
|
|
] |