From 5270fad6f0a05d58d4810b08ba47276654a8eca9 Mon Sep 17 00:00:00 2001
From: Christos Trochalakis <yatiohi@ideopolis.gr>
Date: Tue, 25 Mar 2008 09:25:44 +0200
Subject: [PATCH] Advanced options made translatable
---
django/contrib/flatpages/models.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/django/contrib/flatpages/models.py b/django/contrib/flatpages/models.py
index 36327c8..b352cbb 100644
a
|
b
|
class FlatPage(models.Model):
|
21 | 21 | class Admin: |
22 | 22 | fields = ( |
23 | 23 | (None, {'fields': ('url', 'title', 'content', 'sites')}), |
24 | | ('Advanced options', {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}), |
| 24 | (_('Advanced options'), {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}), |
25 | 25 | ) |
26 | 26 | list_filter = ('sites',) |
27 | 27 | search_fields = ('url', 'title') |