20 lines
654 B
Python
20 lines
654 B
Python
from django.contrib import admin
|
|
from django.http import HttpResponse
|
|
from django.urls import include, path
|
|
from apps.dashboard import views as dash_views
|
|
|
|
urlpatterns = [
|
|
path('admin/', admin.site.urls),
|
|
path('', dash_views.home_page, name='home'),
|
|
path('apps/dashboard/', include('apps.dashboard.urls')),
|
|
path('apps/lyric/', include('apps.lyric.urls')),
|
|
path('api/lists/', include('apps.api.urls')),
|
|
]
|
|
|
|
# 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)),
|
|
]
|