Django: alter data method