from django.conf import settings
from django.conf.urls import patterns, url


urlpatterns = patterns(
    "bakery.static_views",
    url(r"^(.*)$", "serve", {
        "document_root": settings.BUILD_DIR,
        'show_indexes': True,
        'default': 'index.html'
        }),
)

from django.conf import settings
from django.conf.urls import url
from bakery.static_views import serve


urlpatterns = [
    url(r"^(.*)$", serve, {
        "document_root": settings.BUILD_DIR,
        'show_indexes': True,
        'default': 'index.html'
        }),
]

Upgrade to Django 1.10 style url patterns
Upgrade to Django 1.10 style url patterns
