No need to check for DEBUG while serving media files, it would anyways be ignored in production