Mercurial > public > sg101
diff gpp/downloads/forms.py @ 241:27bee3ac85e6
For #93: fix url scheme for downloads.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Sep 2010 01:01:40 +0000 |
parents | b4305e18d3af |
children | 88b2b9cb8c1f |
line wrap: on
line diff
--- a/gpp/downloads/forms.py Wed Sep 15 00:14:54 2010 +0000 +++ b/gpp/downloads/forms.py Wed Sep 15 01:01:40 2010 +0000 @@ -10,14 +10,6 @@ from downloads.models import AllowedExtension -class SearchForm(forms.Form): - """Downloads search form.""" - text = forms.CharField(max_length=30) - - def query(self): - return self.cleaned_data['text'] - - class AddDownloadForm(forms.ModelForm): """Form to allow adding downloads.""" title = forms.CharField(required=True,