from django.conf.urls import patterns, url
from django_prometheus import exports

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

@@ -25,18 +25,8 @@
 port
- patterns,
  url

Fix Django 1.10 compatibility