# HG changeset patch # User neko259 # Date 2015-02-11 13:55:47 # Node ID b8ac26d313e9bece717aff7d3bfde4a392af23ec # Parent 67afa53e0b5b9011cedc0cba3d85e323b48ad493 Made thread and images list read-only in admin (BB-55) diff --git a/boards/admin.py b/boards/admin.py --- a/boards/admin.py +++ b/boards/admin.py @@ -10,7 +10,7 @@ class PostAdmin(admin.ModelAdmin): list_filter = ('pub_time',) search_fields = ('id', 'title', 'text') exclude = ('referenced_posts', 'refmap') - readonly_fields = ('poster_ip', 'threads') + readonly_fields = ('poster_ip', 'threads', 'thread', 'images') def ban_poster(self, request, queryset): bans = 0