Right now, we are using m2m_changed.connect to rename talk, poster, and publication files, which is only triggered when an author (or speaker) is changed on a file. But this doesn't trigger when another field is updated. And, generally, talks, posters, and publication filenames are based on:
- First author
- Title
- Venue + Year
So, really, we should trigger a change when any of these are updated.
Second, it seems to me that we may want to try a different strategy to rename the initial file based on these fields, like:
Right now, we are using
m2m_changed.connectto rename talk, poster, and publication files, which is only triggered when an author (or speaker) is changed on a file. But this doesn't trigger when another field is updated. And, generally, talks, posters, and publication filenames are based on:So, really, we should trigger a change when any of these are updated.
Second, it seems to me that we may want to try a different strategy to rename the initial file based on these fields, like: