Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[bug 665183] Make Document.latest_localizable_revision field read-onl…

…y in the admin.

This gets rid of the menu which was causing crazy slowness while also hiding the little magnifying glass which doesn't work without Revision also being an admin-registered type.
  • Loading branch information...
1 parent 0fc1e9a commit c59ec7e7bfa5a8de48ea413ae2cb1078657998ff @erikrose erikrose committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/wiki/
2  apps/wiki/
@@ -11,7 +11,7 @@ class DocumentAdmin(admin.ModelAdmin):
list_filter = ('is_template', 'is_localizable', 'category', 'locale',
'is_archived', 'allow_discussion')
raw_id_fields = ('parent',)
- readonly_fields = ('id', 'current_revision')
+ readonly_fields = ('id', 'current_revision', 'latest_localizable_revision')
search_fields = ('title',)

0 comments on commit c59ec7e

Please sign in to comment.
Something went wrong with that request. Please try again.