fixups for graphite-web

Should this `ImportError` be handled if not being run within Django?