13 Mar
2024
13 Mar
'24
9:48 p.m.
"Mark" == Mark Sapiro <mark@msapiro.net> writes:
Mark> On 3/12/24 11:12 PM, peter--- via Mailman-users wrote:
Mark> Wrapping the last_view_obj, created = Mark> LastView.objects.get_or_create() in a try, except seems Mark> appropriate, but your code in the except clause assumes there Mark> will be exactly 2 objects returned.
I was copying code from https://gitlab.com/mailman/hyperkitty/-/blob/master/hyperkitty/models/thread...
Peter C