Re: Django: how to send email when the publish date is reached for a blog item

2017-03-07 Thread Shawn Milochik
There are multiple ways to do it. For example:

Write a Django management command and call it from cron.

Use a scheduled Celery task.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOzwKwFCgHoF421%2B-qP%3DEjeiqxosv45YSYfw%3Dis00fH4BTxnYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django: how to send email when the publish date is reached for a blog item

2017-03-07 Thread Simha Rupa Das
I have created a blog using Django

My blog model contains:

Title
Description
Image
Publish_date
Date_created

Now whenever i reach the publish_date, i want to send email or send some 
notification to an android app.

How to do that.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/daeb7d61-c9ab-458f-bc37-63a1c3ebed5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.