Add timestamp and user for edits to Comment/FreeComment in contrib.comments
|Reported by:||Owned by:||Adrian Holovaty|
|Severity:||Keywords:||comments, moderation, contrib, edit|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In benchmarking Django's contrib.comments implementation against other frameworks that offer site-wide comments, there are subtle variations in the model used to represent the actual comments. Django's comments provide for some valuable extensions, but seem to be missing something that many other implementations have: fields for the user that last edited a comment and the time at which that edit was made.
This actually seems a bit odd since care was taken with ModeratorDeletion to provide for a record of removal of given comment. However, cases when a moderator would prefer to edit the comment instead of marking it deleted.
Proposal is to add the eqivalent of edit_date and edit_user to the comments implementation. This seems to be a common pattern in models offering similar functionality.