
from django.conf import urls

from zaqar_ui.content.queues import views


urlpatterns = urls.patterns(
    'zaqar_ui.content.queues',
    urls.url(r'^$', views.IndexView.as_view(), name='index'),
)


from django.conf import urls

from zaqar_ui.content.queues import views


urlpatterns = [
    urls.url(r'^$', views.IndexView.as_view(), name='index'),
]

Update URLs to Django 1.8 style
Update URLs to Django 1.8 style

django.conf.urls.patterns() is deprecated since 1.8.
We should not use patterns(), so this patch updates URLs to
1.8 style.

Change-Id: I6f2b6f44d843ca5e0cdb5db9828df94fa4df5f88
Closes-Bug: #1539354

  
  from django.conf import urls
  
  from zaqar_ui.content.queues import views
  
  
+ urlpatterns = [
- urlpatterns = urls.patterns(
-     'zaqar_ui.content.queues',
      urls.url(r'^$', views.IndexView.as_view(), name='index'),
- )
+ ]
  
Update URLs to Django 1.8 style
## Code Before:

from django.conf import urls

from zaqar_ui.content.queues import views


urlpatterns = urls.patterns(
    'zaqar_ui.content.queues',
    urls.url(r'^$', views.IndexView.as_view(), name='index'),
)

## Instruction:
Update URLs to Django 1.8 style
## Code After:

from django.conf import urls

from zaqar_ui.content.queues import views


urlpatterns = [
    urls.url(r'^$', views.IndexView.as_view(), name='index'),
]
