#19781: Documentation on Django Comments moderation emails doesn't match actual
behavior
----------------------------------+--------------------
     Reporter:  mikeshultz        |      Owner:  nobody
         Type:  New feature       |     Status:  new
    Component:  contrib.comments  |    Version:  1.4
     Severity:  Normal            |   Keywords:
 Triage Stage:  Unreviewed        |  Has patch:  0
Easy pickings:  0                 |      UI/UX:  0
----------------------------------+--------------------
 django.contrib.comments.moderation(ln:239) currently uses
 settings.MANAGERS to decide who the recipients of the moderation e-mails
 are.  This isn't mentioned in the documentation.

 However, I'd like to request this to change to sending to all users with
 the {{{ Can moderate comments }}} permission.  If this would be to
 resource intensive(querying users every comment post), then I'd like to
 suggest adding {{{ settings.MODERATORS }}} that would trump {{{
 settings.MANAGERS }}} if it exists.

 I don't have a good idea for the former, but the latter, a simple change
 to something like this would help:

 {{{
 recipient_list = [manager_tuple[1] for manager_tuple in getattr(settings,
 'MODERATORS', None) or settings.MANAGERS]
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19781>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to