from django.urls import path from .views import * urlpatterns = [ path('create/', CreateStatAPI.as_view()), path('last/', LastStatAPI.as_view()), path('history/', StatsHistoryAPI.as_view()), path('open-meteo/', OpenMeteoWeatherAPI.as_view()), path('stats-by-period/', StatsByPeriodAPI.as_view()) ]