Ticket #6756: FlatPageAdminCollapse.diff
File FlatPageAdminCollapse.diff, 678 bytes (added by , 17 years ago) |
---|
-
contrib/flatpages/models.py
35 35 class FlatPageAdmin(admin.ModelAdmin): 36 36 fieldsets = ( 37 37 (None, {'fields': ('url', 'title', 'content', 'sites')}), 38 ('Advanced options', {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}),38 ('Advanced options', {'classes': ('collapse',), 'fields': ('enable_comments', 'registration_required', 'template_name')}), 39 39 ) 40 40 list_filter = ('sites',) 41 41 search_fields = ('url', 'title')