Remove bloat
This commit is contained in:
parent
011c617328
commit
715cbf4bf0
51 changed files with 691 additions and 3032 deletions
|
|
@ -4,15 +4,12 @@ from typing import TYPE_CHECKING
|
|||
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from django.urls.resolvers import URLPattern, URLResolver
|
||||
|
||||
urlpatterns: list[URLResolver] | list[URLPattern | URLResolver] = [ # type: ignore[assignment]
|
||||
path(route="admin/", view=admin.site.urls),
|
||||
path(route="accounts/", view=include("accounts.urls", namespace="accounts")),
|
||||
path(route="", view=include("twitch.urls", namespace="twitch")),
|
||||
]
|
||||
|
||||
|
|
@ -23,7 +20,6 @@ if not settings.TESTING:
|
|||
urlpatterns = [
|
||||
*urlpatterns,
|
||||
*debug_toolbar_urls(),
|
||||
path("__reload__/", include("django_browser_reload.urls")),
|
||||
]
|
||||
|
||||
# Serve media in development
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue