remove old cms, switch to wagtail; move website to cms

This commit is contained in:
bkfox
2016-07-22 05:50:00 +02:00
parent 4bbffa9a50
commit ba3bf68e33
50 changed files with 950 additions and 4836 deletions

View File

@ -23,13 +23,13 @@ class CommentForm(forms.ModelForm):
'placeholder': _('your website (optional)'),
}),
'comment': forms.TextInput(attrs={
'placeholder': _('your lovely comment'),
'placeholder': _('your comment'),
})
}
def __init__(self, *args, **kwargs):
self.request = kwargs.pop('request', None)
self.thread = kwargs.pop('object', None)
self.page = kwargs.pop('object', None)
super().__init__(*args, **kwargs)
def clean(self):
@ -42,6 +42,3 @@ class CommentForm(forms.ModelForm):
raise ValidationError(_('No publication found for this comment'))