<filename>django_redis_prometheus/urls.py
from django.conf.urls import url
from django_redis_prometheus import exports

urlpatterns = [
    url(r'^metrics$', exports.ExportToDjangoView,
        name='prometheus-django-metrics'),
]

<filename>django_redis_prometheus/urls.py
from django.conf.urls import url
from django_redis_prometheus import exports

urlpatterns = [
    url(r'^metrics$', exports.ExportToDjangoView,
        name='prometheus-django-metrics'),
]
