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:
parent
e8d4f0d2e1
commit
20df0f4b5b
6 changed files with 40 additions and 42 deletions
|
|
@ -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'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue