Deploy changes
This commit is contained in:
@@ -3,7 +3,6 @@ from django.utils.translation import ugettext as _
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
|
||||
class Message ( models.Model ):
|
||||
|
||||
titel = models.CharField( max_length = 100, verbose_name = _("titel") )
|
||||
@@ -24,7 +23,7 @@ from django.dispatch import receiver
|
||||
|
||||
from django.core.mail import EmailMultiAlternatives
|
||||
|
||||
#from musicians.models import Musician
|
||||
from musicians.models import Musician
|
||||
|
||||
from django.template.loader import get_template
|
||||
|
||||
@@ -35,9 +34,7 @@ def my_handler(sender, instance, created, **kwargs):
|
||||
if not created:
|
||||
return
|
||||
|
||||
#receivers = [ m.user.email for m in Musician.objects.all() ]
|
||||
# overwrite only to me for now
|
||||
receivers = [ 'forum@blechreiz.com' ]
|
||||
receivers = [ m.user.email for m in Musician.objects.all() ]
|
||||
|
||||
subject = "Blechreiz Forum: " + instance.titel
|
||||
from_email = 'forum@blechreiz.com'
|
||||
|
||||
@@ -5,5 +5,5 @@ Neuer Forumeintrag von {{ messages.0.author.username }}:
|
||||
|
||||
|
||||
Im Forum antworten:
|
||||
http://bauer1.selfip.com/messages
|
||||
https://blechreiz.bauer.technology/messages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user