Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1193 from akatsoulas/admin-logs
Browse files Browse the repository at this point in the history
Add logging to the admin interface.
  • Loading branch information
akatsoulas committed Jun 1, 2016
2 parents 5a3861d + 7bf6b81 commit cdafb66
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions remo/base/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from django.contrib import admin


class LogEntryAdmin(admin.ModelAdmin):
list_display = ('user', 'content_type', 'object_id', 'object_repr', 'change_message',)
list_filter = ('user', 'content_type',)

admin.site.register(admin.models.LogEntry, LogEntryAdmin)

0 comments on commit cdafb66

Please sign in to comment.