Add Twitch auth with django-allauth

This commit is contained in:
2024-08-15 06:13:40 +02:00
parent d4d8567ef8
commit 324f255a8e
10 changed files with 367 additions and 61 deletions

View File

@ -2,7 +2,7 @@ from __future__ import annotations
from debug_toolbar.toolbar import debug_toolbar_urls
from django.contrib import admin
from django.urls import URLPattern, URLResolver, path
from django.urls import URLPattern, URLResolver, include, path
from core.views import game_view, index, reward_campaign_view
@ -10,6 +10,7 @@ app_name: str = "core"
urlpatterns: list[URLPattern | URLResolver] = [
path("admin/", admin.site.urls),
path("accounts/", include("allauth.urls"), name="accounts"),
path(route="", view=index, name="index"),
path(
route="games/",