diff --git a/conservancy/usethesource/forms.py b/conservancy/usethesource/forms.py new file mode 100644 index 0000000000000000000000000000000000000000..8e3349c5d80754f560a9b3a7cc417d06fbd1f915 --- /dev/null +++ b/conservancy/usethesource/forms.py @@ -0,0 +1,13 @@ +from django import forms + +from .models import Comment + + +class CommentForm(forms.ModelForm): + class Meta: + model = Comment + fields = ['message'] + + +class DownloadForm(forms.Form): + agree = forms.BooleanField(label="I promise and represent that I will not copy, distribute, modify, or otherwise use this source code candidate and/or firmware for any purpose other than to help SFC evaluate the source code candidate for compliance with the terms of the GNU General Public License (any version) (unless and until it is determined that the source code candidate and firmware are entirely governed by one or more software licenses that permit such use beyond such purpose).")