File: urls.py

package info (click to toggle)
celery-progress 0.1.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 156 kB
  • sloc: python: 272; javascript: 168; makefile: 6
file content (7 lines) | stat: -rw-r--r-- 179 bytes parent folder | download
1
2
3
4
5
6
7
from django.urls import re_path
from . import views

app_name = 'celery_progress'
urlpatterns = [
    re_path(r'^(?P<task_id>[\w-]+)/$', views.get_progress, name='task_status')
]