2👍
✅
for the admin site you can use save_model in your admin file e.g.
class CommonInformationAdmin(admin.ModelAdmin):
....
def save_model(self, request, obj, form, change):
obj.lastEditedby = request.user
obj.save()
Source:stackexchange.com