Re: Weird error on Foreign key save?

2009-02-19 Thread Karen Tracey
On Thu, Feb 19, 2009 at 5:24 AM, Alfonso wrote: > > Karen, > > Good point - I will certainly use dpaste in the future. Here's the > traceback, I should have copied that in right from the start: > > Traceback: > [snip] File "/home/queryclick/webapps/django/lib/python2.5/django/contrib/ > admin/o

Re: Weird error on Foreign key save?

2009-02-19 Thread Alfonso
Karen, Good point - I will certainly use dpaste in the future. Here's the traceback, I should have copied that in right from the start: Traceback: File "/home/queryclick/webapps/django/lib/python2.5/django/core/ handlers/base.py" in get_response 86. response = callback(request

Re: Weird error on Foreign key save?

2009-02-18 Thread Karen Tracey
On Wed, Feb 18, 2009 at 2:30 PM, Alfonso wrote: > > I've got an invoice model that foreign key's to a customer model, when > the invoice is saved I'm update a few fields in that related customer > model to make other code in my setup work. I keep getting > "unsupported operand type(s) for ** or

Weird error on Foreign key save?

2009-02-18 Thread Alfonso
I've got an invoice model that foreign key's to a customer model, when the invoice is saved I'm update a few fields in that related customer model to make other code in my setup work. I keep getting "unsupported operand type(s) for ** or pow(): 'Decimal' and 'NoneType'" whenever I try to save th