Hi all, Why can't we use the aggregate function 'max' from within save()? I found it working to find the lot_max from among the objects filtered by prod_date and then if lot_max is None, lot_no must be 0, else it's just lot_max + 1. I don't know if I've misunderstood some requirement by the way.
Raj. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

