1
0
Fork 0
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:
catborise 2020-06-04 14:31:37 +03:00
parent fc2662bd91
commit 028ce0c208
3 changed files with 33 additions and 40 deletions

View file

@ -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'),
]