6
6
class SuspiciousInputAdmin(admin.ModelAdmin):
7
7
list_display = ('text', 'user', 'get_app')
8
#readonly_fields = ('text', 'user', 'get_app',)
8
readonly_fields = ('text', 'user', 'get_app',)
9
9
exclude = ('content_type', 'object_id', )
13
# 'fields': ('spam_text', 'user', 'content_type', 'object_id',)
18
12
app = ContentType.objects.get_for_id(