Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 29 by vicalloy: multi-recipient in one message.
http://code.google.com/p/django-messages/issues/detail?id=29
If I add two recipient will get two message in my outbox.
I think one message and multi-recipient would be better(just like email).
The models can be:
class Content(models.Model):
recipient = models.ForeignKey(User, related_name='received_messages',
null=True, blank=True, verbose_name=_("Recipient"))
read_at = models.DateTimeField(_("read at"), null=True, blank=True)
replied_at = models.DateTimeField(_("replied at"), null=True,
blank=True)
recipient_deleted_at = models.DateTimeField(_("Recipient deleted at"),
null=True, blank=True)
class Message(models.Model):
subject = models.CharField(_("Subject"), max_length=120)
body = models.TextField(_("Body"))
sender = models.ForeignKey(User, related_name='sent_messages',
verbose_name=_("Sender"))
recipients = = models.TextField(_("Recipients"))
parent_msg = models.ForeignKey('self', related_name='next_messages',
null=True, blank=True, verbose_name=_("Parent message"))
sent_at = models.DateTimeField(_("sent at"), null=True, blank=True)
sender_deleted_at = models.DateTimeField(_("Sender deleted at"),
null=True, blank=True)
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" 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/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---