diff gpp/weblinks/forms.py @ 242:7e8d2dda99e3

For #93: fix url scheme for weblinks.
author Brian Neal <bgneal@gmail.com>
date Wed, 15 Sep 2010 03:24:01 +0000
parents b4305e18d3af
children d424b8bae71d
line wrap: on
line diff
--- a/gpp/weblinks/forms.py	Wed Sep 15 01:01:40 2010 +0000
+++ b/gpp/weblinks/forms.py	Wed Sep 15 03:24:01 2010 +0000
@@ -5,13 +5,6 @@
 from django import forms
 from weblinks.models import PendingLink, Link
 
-class SearchForm(forms.Form):
-   '''Weblinks search form'''
-   text = forms.CharField(max_length = 30)
-
-   def query(self):
-      return self.cleaned_data['text']
-
 
 class AddLinkForm(forms.ModelForm):
    title = forms.CharField(widget = forms.TextInput(attrs = {'size': 52}))