Merge "Address RemovedInDjango40Warning"
This commit is contained in:
commit
774972c447
@ -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'),
|
||||
]
|
||||
|
@ -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))
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user