Using __class__ to get model class as model is not an attribute of class Meta in Django 1.5.x