1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

convert urls to new path format

This commit is contained in:
catborise 2020-05-26 20:43:15 +03:00
parent e8d4f0d2e1
commit 20df0f4b5b
6 changed files with 40 additions and 42 deletions

View file

@ -3,6 +3,6 @@ from . import views
urlpatterns = [
path('', views.showlogs, name='showlogs'),
re_path(r'^(?P<page>[0-9]+)/$', views.showlogs, name='showlogspage'),
re_path(r'^vm_logs/(?P<vname>[\w\-\.]+)/$', views.vm_logs, name='vm_logs'),
path('<int:page>/', views.showlogs, name='showlogspage'),
path('vm_logs/<vname>/', views.vm_logs, name='vm_logs'),
]