Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1429 from akatsoulas/admin-logs
Browse files Browse the repository at this point in the history
List log entries through admin.
  • Loading branch information
akatsoulas committed Apr 5, 2016
2 parents 40bcfda + 5254a6d commit 6702a4b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mozillians/common/admin.py
@@ -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 6702a4b

Please sign in to comment.