
When launching the server, the following message appears: RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead. This commit fix this warning in app-catalog/openstack_catalog/urls.py:7 Change-Id: Id3ba43d9ce2d81985a66adfecc06c3102a14a94f
9 lines
221 B
Python
9 lines
221 B
Python
from django.conf.urls import url
|
|
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
|
|
|
from openstack_catalog import views
|
|
|
|
urlpatterns = [url(r'^$', views.index)]
|
|
|
|
urlpatterns += staticfiles_urlpatterns()
|