On Saturday 30 May 2009 12:47:27 Andy wrote: > I would like to set the order_number in my model to be equal to the > automatically assigned ID plus 10,000. Can anybody tell me how to > achieve this?
check out commit=False in this document: http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#the-save-method And always put a proper subject line - your subject line looks like you are soliciting donations ;-) -- regards kg http://lawgon.livejournal.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

