from management import api, views, reports from django.conf.urls import url urlpatterns = [ url(r'mail/([0-9]{1,99})$', views.news), ]