flamingo-run/django-cloud-tasks

View on GitHub
django_cloud_tasks/urls.py

Summary

Maintainability
A
0 mins
Test Coverage
from django.urls import path

from django_cloud_tasks import views

urlpatterns = [
    path(r"tasks/<task_name>", views.GoogleCloudTaskView.as_view(), name="tasks-endpoint"),
    path(r"subscriptions/<task_name>", views.GoogleCloudSubscribeView.as_view(), name="subscriptions-endpoint"),
]