Hi,

I'm using Django to create registration/payment application for a
limited number of products.    I want to create a timer so that when a
user chooses to purchase a product, that product will then displayed
as "already taken".  But, if the user the user does not go through
with the purchase and the timer runs out, the product goes back to
status "available".  If the user completes the purchase, the timer
should cancel, leaving the product's status permanently as "already
taken".

I've tried using python's dictionary to instantiate python Timer
objects of the fly, but about 30% of the time, I get a "key error"
when it's time to cancel the Timer.

Please.  Could someone give me an idea on the proper way to do this in
Django?

Thanks very much!
Mark

--

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.


Reply via email to