We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de71d57 + c1c7283 commit f9e9afcCopy full SHA for f9e9afc
django_prometheus/urls.py
@@ -1,6 +1,6 @@
1
-from django.conf.urls import url
+from django.urls import path
2
from django_prometheus import exports
3
4
urlpatterns = [
5
- url(r"^metrics$", exports.ExportToDjangoView, name="prometheus-django-metrics")
+ path("metrics", exports.ExportToDjangoView, name="prometheus-django-metrics")
6
]
0 commit comments