mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 21:52:21 +01:00
Marietje 4.1: Addition of Django REST framework, Swagger, Dark mode and updates to Django and Bootstrap
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
from django.conf.urls import url
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = 'stats'
|
||||
app_name = "stats"
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', views.stats, name='stats'),
|
||||
url(r'^user$', views.user_stats, name='user_stats'),
|
||||
path("", views.StatsView.as_view(), name="stats"),
|
||||
path("user/", views.UserStatsView.as_view(), name="user_stats"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user