On Mon, Sep 30, 2019, at 6:33 AM, Joel Lord wrote:
Any idea what I was missing there? Often, member.display_name doesn't exist or is "None". This seems to also be the problem that I submitted a while back (6 months ago?) that the notification to the moderator of subscription requests, which should include both display name and email address of
On 9/29/19 5:59 PM, Mark Sapiro wrote: the requestor, only has the email address. We've been trying to track the problem down in code but it keeps going deeper and deeper...
This should be the UI trying to unconditionally convert a Python object to string. Name string transforms correctly, but since the absence of a name is denoted by a None object (as opposed to an empty string ''), the renderer mindlessly converts it to "None".
It could be fixed with a simple
{% if member.display_name is not None %}{{ member.display_name }}{% endif %}
in the right place in the Django template.
-- Joel Lord Web Administrator, Alpha Psi Omega Grand Cast etc... etc... etc...
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)