urlpatterns = [url('^$', serve, kwargs={'path': 'index.html'}), url(
    '^(?!/static/.*)(?P<path>.*\\..*)$', RedirectView.as_view(url=
    '/static/%(path)s'))]
Serving static files from root of Django development server