from django.conf.urls import include, url
from buckets.test import views

urlpatterns = [
    url(r'^', include('buckets.urls')),
    url(r'^media/s3/uploads$', views.fake_s3_upload, name='fake_s3_upload'),
]

from django.conf.urls import include, url
from buckets.test import views

urlpatterns = [
    url(r'^', include('buckets.urls')),
    url(r'^media/s3/uploads/$', views.fake_s3_upload, name='fake_s3_upload'),
]

Add trailing slash to fake_s3_upload url