2026-02-19 20:31:29 -05:00
|
|
|
from django.contrib import admin
|
2026-02-01 20:18:42 -05:00
|
|
|
from django.http import HttpResponse
|
2026-01-13 20:58:05 -05:00
|
|
|
from django.urls import include, path
|
2026-01-30 16:21:32 -05:00
|
|
|
from apps.dashboard import views as dash_views
|
2026-01-13 20:58:05 -05:00
|
|
|
|
|
|
|
|
urlpatterns = [
|
2026-02-19 20:31:29 -05:00
|
|
|
path('admin/', admin.site.urls),
|
2026-01-30 16:21:32 -05:00
|
|
|
path('', dash_views.home_page, name='home'),
|
2026-01-13 20:58:05 -05:00
|
|
|
path('apps/dashboard/', include('apps.dashboard.urls')),
|
2026-01-30 16:21:32 -05:00
|
|
|
path('apps/lyric/', include('apps.lyric.urls')),
|
2026-02-20 16:37:48 -05:00
|
|
|
path('api/lists/', include('apps.api.urls')),
|
2026-01-13 20:58:05 -05:00
|
|
|
]
|
2026-02-01 20:18:42 -05:00
|
|
|
|
|
|
|
|
# Please remove the following urlpattern
|
|
|
|
|
## then install actual favicon.ico in staticroot
|
|
|
|
|
### and call {% static 'favicon.ico' %} in base.html
|
|
|
|
|
urlpatterns += [
|
|
|
|
|
path("favicon.ico", lambda request: HttpResponse(status=204)),
|
|
|
|
|
]
|