How to add an option for select all?
Teut2711 opened this issue · 2 comments
I am making an interface so that the admin can send emails. Now he can send it to one, 2 or more users in the database but sometimes it may be required to mail everyone. Entering each user's email in such case is impractical since there are 2 million records. What I want is to allow "All" as a field. For sending mail to everyone in database.
You can add this option manually, override the get_results method and add your option there. Then, handle it in your form field and widget too.
I am making an interface so that the admin can send emails. Now he can send it to one, 2 or more users in the database but sometimes it may be required to mail everyone. Entering each user's email in such case is impractical since there are 2 million records. What I want is to allow "All" as a field. For sending mail to everyone in database.
Hi
I need this feature too. Can you help me?