Merge "Address RemovedInDjango40Warning"

This commit is contained in:
Zuul 2022-11-29 19:16:08 +00:00 committed by Gerrit Code Review
commit 774972c447
2 changed files with 4 additions and 4 deletions

View File

@ -12,11 +12,11 @@
# License for the specific language governing permissions and limitations
# under the License.
from django.conf.urls import url
from django.urls import re_path
from octavia_dashboard.dashboards.project.load_balancer import views
urlpatterns = [
url('', views.IndexView.as_view(), name='index'),
re_path('', views.IndexView.as_view(), name='index'),
]

View File

@ -13,9 +13,9 @@
# under the License.
from django.conf.urls import include
from django.conf.urls import url
from django.urls import re_path
import openstack_dashboard.urls
urlpatterns = [
url(r'', include(openstack_dashboard.urls))
re_path(r'', include(openstack_dashboard.urls))
]