def serve_static(request, path, insecure=False, **kwargs):
 if ((not django_settings.DEBUG) and (not insecure)):
  raise ImproperlyConfigured(u"The staticfiles view can only be used in debug mode or if the --insecure option of 'runserver' is used")
 if ((not settings.PIPELINE_ENABLED) and settings.PIPELINE_COLLECTOR_ENABLED):
  default_collector.collect(request, files=[path])
 return serve(request, path, document_root=django_settings.STATIC_ROOT, **kwargs)

def serve_static ( request , path , insecure = False , ** kwargs ) : if ( ( not django_settings . DEBUG ) and ( not insecure ) ) : raise ImproperlyConfigured ( u"The staticfiles view can only be used in debug mode or if the --insecure option of 'runserver' is used" ) if ( ( not settings . PIPELINE_ENABLED ) and settings . PIPELINE_COLLECTOR_ENABLED ) : default_collector . collect ( request , files = [ path ] ) return serve ( request , path , document_root = django_settings . STATIC_ROOT , ** kwargs )
sends static file note - this is not the most efficient method but since only development system will be using it .