mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
urls.py: convert re_path to path
This commit is contained in:
parent
fc2662bd91
commit
028ce0c208
3 changed files with 33 additions and 40 deletions
|
|
@ -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'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue