Mercurial > public > sg101
diff gpp/comments/forms.py @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | b8474ffe76d9 |
children | bbbc357ac5f3 |
line wrap: on
line diff
--- a/gpp/comments/forms.py Thu Jan 20 04:40:14 2011 +0000 +++ b/gpp/comments/forms.py Thu Jan 27 02:56:10 2011 +0000 @@ -12,7 +12,7 @@ class CommentForm(forms.Form): comment = forms.CharField(label='', - min_length=1, + min_length=1, max_length=COMMENT_MAX_LENGTH, widget=forms.Textarea(attrs={'class': 'markItUp smileyTarget'})) content_type = forms.CharField(widget=forms.HiddenInput) @@ -69,6 +69,6 @@ 'all': (settings.GPP_THIRD_PARTY_CSS['markitup'] + settings.GPP_THIRD_PARTY_CSS['jquery-ui']), } - js = (settings.GPP_THIRD_PARTY_JS['markitup'] + + js = (settings.GPP_THIRD_PARTY_JS['markitup'] + settings.GPP_THIRD_PARTY_JS['jquery-ui'] + ('js/comments.js', ))