from django.conf.urls import patterns, url


urlpatterns = patterns(
    'tagging_autocomplete.views',
    url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
)

from django.conf.urls import url


urlpatterns = [
    'tagging_autocomplete.views',
    url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
]

Drop the deprecated way of specifying url patterns
Drop the deprecated way of specifying url patterns
- from django.conf.urls import patterns, url
+ from django.conf.urls import url
  
  
- urlpatterns = patterns(
+ urlpatterns = [
      'tagging_autocomplete.views',
      url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
- )
+ ]
  
Drop the deprecated way of specifying url patterns
## Code Before:
from django.conf.urls import patterns, url


urlpatterns = patterns(
    'tagging_autocomplete.views',
    url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
)

## Instruction:
Drop the deprecated way of specifying url patterns
## Code After:
from django.conf.urls import url


urlpatterns = [
    'tagging_autocomplete.views',
    url(r'^list$', 'list_tags', name='tagging_autocomplete-list'),
]
