/usr/share/pyshared/notification/admin.py is in python-django-notification 0.1.5-2.
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 10 11 12 13 14 15 16 17 | from django.contrib import admin
from notification.models import NoticeType, NoticeSetting, Notice, ObservedItem
class NoticeTypeAdmin(admin.ModelAdmin):
list_display = ('label', 'display', 'description', 'default')
class NoticeSettingAdmin(admin.ModelAdmin):
list_display = ('id', 'user', 'notice_type', 'medium', 'send')
class NoticeAdmin(admin.ModelAdmin):
list_display = ('message', 'user', 'notice_type', 'added', 'unseen', 'archived')
admin.site.register(NoticeType, NoticeTypeAdmin)
admin.site.register(NoticeSetting, NoticeSettingAdmin)
admin.site.register(Notice, NoticeAdmin)
admin.site.register(ObservedItem)
|