from django.conf.urls.defaults import include, patterns, url


urlpatterns = patterns('',
    url(r'^', include('posts.urls')),
)

from django.conf.urls.defaults import include, url


urlpatterns = [
    url(r'^', include('posts.urls')),
]

upgrade test url patterns to list based syntax