From 304642769c5e0e704d0204bc241574c8c491cdf5 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Tue, 11 Mar 2008 22:02:11 +0000 Subject: [PATCH] newforms-admin: Fixed #6756 -- Flatpage 'Advanced options' fieldset is properly collapsed. Thanks, mb0@mb0.org. git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7226 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/flatpages/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/flatpages/models.py b/django/contrib/flatpages/models.py index f2be360ff3..70ecf7c5a3 100644 --- a/django/contrib/flatpages/models.py +++ b/django/contrib/flatpages/models.py @@ -35,7 +35,7 @@ from django.contrib import admin class FlatPageAdmin(admin.ModelAdmin): fieldsets = ( (None, {'fields': ('url', 'title', 'content', 'sites')}), - ('Advanced options', {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}), + ('Advanced options', {'classes': ('collapse',), 'fields': ('enable_comments', 'registration_required', 'template_name')}), ) list_filter = ('sites',) search_fields = ('url', 'title')