Thanks, I really don't even know where to start and to be honest I am confused but thanks anyways.
On Thursday, August 4, 2016 at 9:52:38 PM UTC-4, Ryne Everett wrote: > > There are probably a lot of different approaches to this but the first one > that comes to mind is django signals > <https://docs.djangoproject.com/en/stable/topics/signals/>. You could > listen to the post-save signal > <https://docs.djangoproject.com/en/stable/ref/signals/#post-save> on the > Page model and have your handler check if the page is published (and you > probably want to make sure it's the first time it's been published) and if > so dispatch your emails. > > It would be great if you implemented this as a reusable app > <https://docs.djangoproject.com/en/stable/intro/reusable-apps/> and > shared it with the mezzanine community because it seems like a common > blogging-platform feature which we lack. This would also enable us to be > more helpful should you run into difficulties because we could see your > code. > > On Thu, Aug 4, 2016 at 6:15 PM, Michael Ketiku <[email protected] > <javascript:>> wrote: > >> Hi everyone, I am a beginning Django developer and I am working with >> Mezzanine on my first application. As part of that I would like to find out >> how to send an email message to all users of a mezzanine site when a new >> page or blog post is created. I looked all through the mezzanine docs but >> can not find anything regarding this. Please point me in the right >> direction, I have looked at django-alerts and django-notifier but can not >> understand how to send emails to users like that. >> >> Thanks- >> Michael >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mezzanine Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
