from django.conf.urls import url from statistics.views import StatisticsView app_name = 'api' urlpatterns = [ url(r'^$', StatisticsView.as_view()), ]