Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newforms-admin: Fixed #6756 -- Flatpage 'Advanced options' fieldset i…

…s properly collapsed. Thanks, mb0@mb0.org.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 304642769c5e0e704d0204bc241574c8c491cdf5 1 parent 997f281
Brian Rosner brosner authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/flatpages/models.py
2  django/contrib/flatpages/models.py
View
@@ -35,7 +35,7 @@ def get_absolute_url(self):
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')
Please sign in to comment.
Something went wrong with that request. Please try again.