from django.conf.urls import url, patterns

from .views import EntryListView


urlpatterns = patterns(
    '',

    # Entry List
    url('^$', EntryListView.as_view(), name='entry_list'),
)

from django.conf.urls import url

from .views import EntryListView


urlpatterns = [
    # Entry List
    url('^$', EntryListView.as_view(), name='entry_list'),
]

Switch to django new url schema
Switch to django new url schema

- from django.conf.urls import url, patterns
+ from django.conf.urls import url
  
  from .views import EntryListView
  
  
+ urlpatterns = [
- urlpatterns = patterns(
-     '',
- 
      # Entry List
      url('^$', EntryListView.as_view(), name='entry_list'),
- )
+ ]
  
Switch to django new url schema
## Code Before:
from django.conf.urls import url, patterns

from .views import EntryListView


urlpatterns = patterns(
    '',

    # Entry List
    url('^$', EntryListView.as_view(), name='entry_list'),
)

## Instruction:
Switch to django new url schema
## Code After:
from django.conf.urls import url

from .views import EntryListView


urlpatterns = [
    # Entry List
    url('^$', EntryListView.as_view(), name='entry_list'),
]
