from django.urls import path, re_path from frog_api import views urlpatterns = [ path("projects/", views.ProjectView.as_view()), re_path( "data/(?P.+)/(?P.+)/(?P.+)/$", views.CategoryDigestView.as_view(), ), re_path( "data/(?P.+)/(?P.+)/$", views.VersionDigestView.as_view(), ), re_path( "data/(?P.+)/$", views.ProjectDigestView.as_view(), ), path( "data/", views.RootDigestView.as_view(), ), ]