from django.conf.urls import patterns, url
from s3direct.views import get_upload_params

urlpatterns = patterns('',
                       url('^get_upload_params/',
                           get_upload_params, name='s3direct'),
                       )

from django.conf.urls import url
from s3direct.views import get_upload_params

urlpatterns = [
    url('^get_upload_params/', get_upload_params, name='s3direct')
]

Update urlpatterns to use list of url()
Update urlpatterns to use list of url()
