You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# admin.pyfromdjango.contribimportadminfromauditlog.adminimportLogEntryAdminfromauditlog.modelsimportLogEntryclassCustomLogEntryAdmin(LogEntryAdmin):
list_display=list(LogEntryAdmin.list_display) + [
# Add your custom fields here"changes_str",
]
# Remember to unregister the original admin classadmin.site.unregister(LogEntry)
# And re-register it with the custom oneadmin.site.register(LogEntry, CustomLogEntryAdmin)
I'm trying to manually log logins as the only
access
action for my log.It creates the LogEntry object but the admin doesn't display my changes text (or changes in general)
So how can i get the changes text to display here?
The text was updated successfully, but these errors were encountered: