I am quite new to django ..I have written a web app that takes user
input and adds customer details to db.
I store customer name,email ,a datetime value for each customer.
When the application starts ,I want a utility program to check the db
and if system datetime matches the datetime value stored for each
customer, an email is sent to the customer.
My doubt is ,where and how should I put the db checking and email
sending event logic.Should it be when the webserver starts(at python
manage.py runserver) ?If so ,where do I put the call to
check_db(),send_email() etc
I know it is a silly one,but please understand that I am a newcomer to
django and python..and programming in general
thanks and hoping for guidance
mark
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment