Apologies, for wasting time the problem was with the line. Couldn't see
the wood for the trees!
debit = credit + i.debit
should read
debit = debit + i.debit
MerMer
Benedict Verheyen wrote:
> Merric Mercer schreef:
>
>> Benedict,
>>
>> Unfortunately, that is just a typo in my post an
Merric Mercer schreef:
> Benedict,
>
> Unfortunately, that is just a typo in my post and not the answer. The
> actual code has 'for i in qset'.
>
> The code runs without displaying any errors. But when I check the
> "UserPointTypeAggregate" database the field has
> only been updated from the
Benedict,
Unfortunately, that is just a typo in my post and not the answer. The
actual code has 'for i in qset'.
The code runs without displaying any errors. But when I check the
"UserPointTypeAggregate" database the field has
only been updated from the first record of the PointTransaction qu
Merric Mercer schreef:
> Help! I have a function that is provided below. When I try the
> individual lines of the function through the interpretor (Ipython)
> everything works as expected. For example:-
>
> >> qset=PointTransaction.objects.filter etc this works fine!!
>
> However
Help! I have a function that is provided below. When I try the
individual lines of the function through the interpretor (Ipython)
everything works as expected. For example:-
>> qset=PointTransaction.objects.filter etc this works fine!!
However, when I try to run the function as a
5 matches
Mail list logo