forgot to import os in cms.views.py