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:
parent
a3747f23be
commit
0c222b9533
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue