Fixed #6879 -- Made string in `contrib.flatpages` translatable, thanks ctrochalakis.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2008-03-29 15:54:43 +00:00
parent a3747f23be
commit 0c222b9533
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class FlatPage(models.Model):
class Admin: class Admin:
fields = ( fields = (
(None, {'fields': ('url', 'title', 'content', 'sites')}), (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',) list_filter = ('sites',)
search_fields = ('url', 'title') search_fields = ('url', 'title')