Re: Custum save on Foreignkey in Admin

2013-02-04 Thread Rob van Dam | Camping het Wieskamp
cerely, Pankaj Singh http://about.me/psjinx On Mon, Feb 4, 2013 at 10:46 PM, Rob van Dam wrote: Hi Pankaj, Thank you so much You have saved my day :-) I will be able to test it tomorrow, and I will let you know if it worked. I tested all my previous attempts saving an existing item in Admin. Bu

Re: Custum save on Foreignkey in Admin

2013-02-04 Thread Rob van Dam
() instance.ticket.update_total_amount() admin.site.register(Ticket, TicketAdmin) I hope it helps. Sincerely, Pankaj Singh http://about.me/psjinx On Mon, Feb 4, 2013 at 9:01 PM, Rob van Dam | Camping het Wieskamp wrote: Hi Pankaj, I have tried many things today, but unfortunately I cannot get

Re: Custum save on Foreignkey in Admin

2013-02-04 Thread Rob van Dam | Camping het Wieskamp
Hi Pankaj, I have tried many things today, but unfortunately I cannot get anything working :-( Can you give me a bit more information on this issue? Any hint would be highly appreciated! I cannot get anything saved in the database. For testing I made this setup (added ordernumber to the Tick