[Django 1.10] Fix URL patterns again
The URL patterns was deprecated in ~1.7, and this style has been removed from the Horizon codebase multiple times. Cleaning up again. Change-Id: I7ca08227eccb6e53edba1da7ef4c3aab32743208
This commit is contained in:
parent
c80dc119c5
commit
a9fa0295c1
@ -12,13 +12,9 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from django.conf.urls import patterns
|
|
||||||
from django.conf.urls import url
|
from django.conf.urls import url
|
||||||
|
|
||||||
from openstack_dashboard.contrib.developer.resource_browser import views
|
from openstack_dashboard.contrib.developer.resource_browser import views
|
||||||
|
|
||||||
|
urlpatterns = [
|
||||||
urlpatterns = patterns(
|
|
||||||
'openstack_dashboard.contrib.developer.resource_browser.views',
|
|
||||||
url('', views.IndexView.as_view(), name='index'),
|
url('', views.IndexView.as_view(), name='index'),
|
||||||
)
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user