from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.showlogs, name='showlogs'), url(r'^(?P[0-9]+)/$', views.showlogs, name='showlogspage'), url(r'^vm_logs/(?P[\w\-\.]+)/$', views.vm_logs, name='vm_logs'), ]