Don't overwrite author name method with value
authorMagnus Hagander <magnus@hagander.net>
Mon, 4 Mar 2024 20:09:18 +0000 (21:09 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 4 Mar 2024 20:09:18 +0000 (21:09 +0100)
commit08bccf0cc4496c5308113213686f8453ee73eaa7
tree9c68f9e489ad9ef317690b8897a02c124b71869f
parentfe1df8d610c676ea3497a6239fc094b8a13ba790
Don't overwrite author name method with value

When loading a user specific RSS feed, the funciton item_author_name got
overwritten by the name of that user. Since django doesn't recreate the
basic feed object in future requests (meh), any subsequent feed request
would get *all* authors set to that name. As long as no user-specific
feed was ever called, thing would work, but as soon as one was called it
would start moving all entries between the same users, never allowing
more than one.

The fix in a112e1e14 was clearly incomplete.
postgresqleu/newsevents/feeds.py