Go back to cookies :(
This commit is contained in:
20
core/urls.py
20
core/urls.py
@ -2,25 +2,17 @@ from __future__ import annotations
|
||||
|
||||
from debug_toolbar.toolbar import debug_toolbar_urls
|
||||
from django.contrib import admin
|
||||
from django.urls import URLPattern, URLResolver, include, path
|
||||
from django.urls import URLPattern, URLResolver, path
|
||||
|
||||
from core.views import game_view, index, reward_campaign_view
|
||||
from core.views import WebhooksView, game_view, index, reward_campaign_view
|
||||
|
||||
app_name: str = "core"
|
||||
|
||||
urlpatterns: list[URLPattern | URLResolver] = [
|
||||
path("admin/", admin.site.urls),
|
||||
path("accounts/", include("allauth.urls"), name="accounts"),
|
||||
path(route="admin/", view=admin.site.urls),
|
||||
path(route="", view=index, name="index"),
|
||||
path(
|
||||
route="games/",
|
||||
view=game_view,
|
||||
name="games",
|
||||
),
|
||||
path(
|
||||
route="reward_campaigns/",
|
||||
view=reward_campaign_view,
|
||||
name="reward_campaigns",
|
||||
),
|
||||
path(route="webhooks/", view=WebhooksView.as_view(), name="webhooks"),
|
||||
path(route="games/", view=game_view, name="games"),
|
||||
path(route="reward_campaigns/", view=reward_campaign_view, name="reward_campaigns"),
|
||||
*debug_toolbar_urls(),
|
||||
]
|
||||
|
Reference in New Issue
Block a user