/usr/share/pyshared/djapian/admin.py is in python-django-djapian 2.3.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | from django.contrib import admin
from djapian.models import Change
class ChangeAdmin(admin.ModelAdmin):
"""Set what's displayed in admin"""
list_display = ('content_type', 'object_id', 'action', "date", )
list_filter = ('content_type', 'action', )
admin.site.register(Change, ChangeAdmin)
|