Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8953209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:03:09+00:00 2026-06-15T14:03:09+00:00

I am working on an app that needs to send emails to multiple users.

  • 0

I am working on an app that needs to send emails to multiple users. Users are picked from a separate admin page, then a newsletter object is created in “send newsletter” action and an HttpResponseRedirect is returned to the admin edit page for the newsletter. What I want to do is instead of having a multiple select list for the recipients (there are too many addresses in the list for it to be of any use) I just want to have a div that lists the selected email addresses for reference, without any ability to edit. How do I do that?

Not sure why this is relevant, but the Newsletter model looks something like this

class Newsletter(models.Model):                                                                                                                                                                                     
    owner = models.ForeignKey(User, related_name='+', blank=False)                                                                                                                                                  
    sent = models.BooleanField(default=False)                                                                                                                                                                       
    date_created = models.DateTimeField(auto_now_add=True)                                                                                                                                                          
    date_sent = models.DateTimeField(null=True)                                                                                                                                                                     
    subject = models.CharField(max_length=255)                                                                                                                                                                      
    content = HTMLField()                                                                                                                                                                                           
    recipients = models.ManyToManyField(Email, related_name='+')                                                                                                                                                    

class Meta:                                                                                                                                                                                                     
    ordering = ['date_sent', 'date_created']                                              

There are no views, what I want is to display recipients as non-editable list of email addresses in django admin. I don’t want to just disable the widget, since there are too many emails in the Email model, I just want the ones selected for this particular newsletter listed somewhere on the admin edit page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:03:10+00:00Added an answer on June 15, 2026 at 2:03 pm

    Easiest way: a readonly field.

    class MyAdmin(admin.ModelAdmin):
       readonly_fields = ('_recipients', )
       fields = ('_recipients',)
    
       def _recipients(self, obj):
         return u', '.join([x.email for x in obj.recipients.all()])
       _recipient
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working in a iPhone app that needs to send a array as a
I'm working on an app that needs to accept a RegEx from the user,
I'm working on an app that needs to retrieve some data from a server.
I'm working on an app that needs to be able to send out email
I'm working on a web app in ASP.NET that needs to send text messages
I’m working on a Python app that needs to send hundreds of HTTP requests
I'm creating quick web app that needs to send a php-created message from within
I'm working on a WPF app that needs to host some Flash content. The
We're working on a Ruby on Rails app that needs to take advantage of
I currently started working on a maven web-app project that needs to be launched

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.