mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 07:11:08 -05:00
fixed some thangs, implemented cloudflare turnstile
This commit is contained in:
@@ -19,8 +19,12 @@ urlpatterns = [
|
||||
path('terms/', TemplateView.as_view(template_name='pages/terms.html'), name='terms'),
|
||||
path('privacy/', TemplateView.as_view(template_name='pages/privacy.html'), name='privacy'),
|
||||
|
||||
# Authentication URLs
|
||||
path('accounts/', include('allauth.urls')), # This includes social auth URLs
|
||||
# Custom authentication URLs first (to override allauth defaults)
|
||||
path('accounts/', include('accounts.urls')),
|
||||
|
||||
# Default allauth URLs (for social auth and other features)
|
||||
path('accounts/', include('allauth.urls')),
|
||||
|
||||
path('accounts/email-required/', accounts_views.email_required, name='email_required'),
|
||||
|
||||
# User profile URLs
|
||||
@@ -31,9 +35,6 @@ urlpatterns = [
|
||||
|
||||
# Redirect /user/ to the user's profile if logged in
|
||||
path('user/', accounts_views.user_redirect_view, name='user_redirect'),
|
||||
|
||||
# Include remaining accounts URLs
|
||||
path('', include('accounts.urls')),
|
||||
]
|
||||
|
||||
# Serve static files in development
|
||||
|
||||
Reference in New Issue
Block a user