mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 22:09:16 +02:00
11 lines
298 B
Python
11 lines
298 B
Python
from django.conf.urls import url
|
|
from django.views.decorators.cache import cache_page
|
|
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^settings/$', views.InstanceSettings.as_view(), name='settings'),
|
|
url(r'^stats/$',
|
|
cache_page(60 * 5)(views.InstanceStats.as_view()), name='stats'),
|
|
]
|