getsentry/sentry — pull request #980 by midiotthimble (2013-08-28 03:15:17+00:00)
Title: Disable serve static files in DEBUG

From [staticfiles documentation](https://docs.djangoproject.com/en/1.5/ref/contrib/staticfiles/#django.contrib.staticfiles.views.serve):

>This view will only work if DEBUG is True.
>
>That’s because this view is grossly inefficient and probably insecure. This is only intended for local development, and should never be used in production.