from django.urls import path from .views import CreateStatAPI urlpatterns = [ path('stats/', CreateStatAPI.as_view()) ]