File: urls.py

package info (click to toggle)
django-prometheus 2.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 568 kB
  • sloc: python: 1,776; sh: 5; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 452 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from django.contrib import admin
from django.urls import include, path

from testapp import views

urlpatterns = [
    path("", views.index),
    path("help", views.help),
    path("slow", views.slow, name="slow"),
    path("objection", views.objection),
    path("sql", views.sql),
    path("newlawn/<str:location>", views.newlawn),
    path("file", views.file),
    path("", include("django_prometheus.urls")),
    path("admin/", admin.site.urls),
]