summaryrefslogtreecommitdiff
path: root/chimere/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/forms.py')
-rw-r--r--chimere/forms.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/chimere/forms.py b/chimere/forms.py
index 54dfd43..1e1397e 100644
--- a/chimere/forms.py
+++ b/chimere/forms.py
@@ -162,11 +162,14 @@ class PageAdminForm(forms.ModelForm):
"""
Main form for extra pages
"""
- content = forms.CharField(widget=FullTextareaWidget)
+ content = forms.CharField(
+ widget=FullTextareaWidget, required=False,
+ help_text=Page._meta.get_field('content').help_text
+ )
class Meta:
model = Page
- exclude = []
+ exclude = ['template_path']
class OSMForm(forms.Form):