22 lines
640 B
Python
22 lines
640 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('api/', include('apps.api.urls')),
|
|
path('dashboard/', include('apps.dashboard.urls')),
|
|
path('lyric/', include('apps.lyric.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)),
|
|
]
|