Code for Django-CMS on heroku with proper performance