> You just call it, views are normal python functions, that being said it is
> often better to redirect where possible(or sensible).
>
> Alex
hey alex -
Thanks for your quick reply. Is my syntax above correct to execute
it? it doesn't seem to be working at all. I know the code is
executing at the line immediately above this but this line seems to
just get skipped right on over. Here's the full code:
currentauctionid=request.session["newbidauctionid"]
sb=Bid.objects.order_by('-id').filter(AuctionId=float
(currentauctionid))
for id in sb:
topbidder=id.BidderId #get the top bidder's id on the auction
if float(request.user.id)==float(topbidder): #This will
determine if the peron is the current high bidder
currentslug=slug #this line executes fine
controltransfer=ShowAuctionDetails
(request,slug=currentslug,selfbidder=1) #this will for the "can't
outbid yourself message... this line is skipped
else:
pass
break # exit the loop
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---