This file is indexed.

/usr/share/pyshared/app_plugins/admin.py is in python-django-app-plugins 0.1.1-1.

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
18
19
20
21
from django.contrib import admin
from app_plugins.models import PluginPoint, Plugin, UserPluginPreference
from app_plugins.forms import AdminPluginPointForm, AdminPluginForm

class PluginPointAdmin(admin.ModelAdmin):
    list_display = ('label', 'index', 'registered', 'status')
    list_filter = ('registered', 'status')
    form = AdminPluginPointForm

class PluginAdmin(admin.ModelAdmin):
    list_display = ('label', 'index', 'registered', 'required', 'status')
    list_filter = ('registered', 'status')
    form = AdminPluginForm

class UserPluginPreferenceAdmin(admin.ModelAdmin):
    list_display = ('plugin', 'user', 'index', 'visible')
    list_filter = ('visible',)

admin.site.register(PluginPoint, PluginPointAdmin)
admin.site.register(Plugin, PluginAdmin)
admin.site.register(UserPluginPreference, UserPluginPreferenceAdmin)