add app user management allauth

This commit is contained in:
2025-02-01 19:16:33 +01:00
parent c13049a30f
commit e3ae8300f1
55 changed files with 1147 additions and 465 deletions

View File

@@ -16,8 +16,19 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.conf import settings
from aseusers.views import profile_view
from wallet_api.views import *
urlpatterns = [
path('admin/', admin.site.urls),
path('wallet/', include('wallet_api.urls')),
path('accounts/', include('allauth.urls')),
path('', include('wallet_api.urls')),
path('profile/', include('aseusers.urls')),
path('@<username>/', profile_view, name="profile"),
]
# Only used when DEBUG=True, whitenoise can serve files when DEBUG=False
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)