Automatic aggregation db triggers for django