Django 1.5 code for Senex Website