/ paddock / urls.py
urls.py
 1  """paddock URL Configuration
 2  
 3  The `urlpatterns` list routes URLs to views. For more information please see:
 4      https://docs.djangoproject.com/en/4.1/topics/http/urls/
 5  """
 6  
 7  from django.conf import settings
 8  from django.conf.urls.static import static
 9  from django.contrib import admin
10  from django.urls import include, path
11  
12  urlpatterns = [
13      path("", include("b4mad_racing_website.urls")),
14      path("", include("django_prometheus.urls")),
15      path("", include("api.urls")),
16      path("admin/", admin.site.urls),
17      path("accounts/", include("allauth.urls")),
18      path("explorer/", include("explorer.urls")),
19      path("django_plotly_dash/", include("django_plotly_dash.urls")),
20  ] + static(
21      settings.STATIC_URL, document_root=settings.STATIC_ROOT
22  )  # https://stackoverflow.com/questions/39907281/django-uwsgi-static-files-not-being-served-even-after-collectstatic