mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-31 01:19:37 +00:00
urls.py: convert re_path to path
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from django.urls import path, re_path
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r'^vm_logs/(?P<vname>[\w\-\.]+)/$', views.vm_logs, name='vm_logs'),
|
||||
path('vm_logs/<vname>/', views.vm_logs, name='vm_logs'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user