30
33
if not settings.DEBUG and not insecure:
31
34
raise ImproperlyConfigured("The staticfiles view can only be used in "
33
36
"option of 'runserver' is used")
35
38
absolute_path = finders.find(normalized_path)
37
40
if path.endswith('/') or path == '':