annotate shoutbox/forms.py @ 1173:a1a223ab0c8f

Improve form error message when missing captcha response
author Brian Neal <bgneal@gmail.com>
date Sat, 14 Apr 2018 14:03:04 -0500
parents 4aadaf3bc234
children
rev   line source
gremmie@1 1 """
gremmie@1 2 Forms for the Shoutbox application.
gremmie@1 3 """
gremmie@1 4 from django import forms
gremmie@1 5
gremmie@1 6 class ShoutBoxForm(forms.Form):
gremmie@1 7 msg = forms.CharField(label='', max_length=2048, required=True)