Mercurial > public > sg101
comparison gpp/weblinks/forms.py @ 277:d424b8bae71d
Fixing #128 and #129. Add elsewhere weblinks to search content. Add support for haystack's get_update_field() method.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 02 Oct 2010 23:24:39 +0000 |
parents | 7e8d2dda99e3 |
children |
comparison
equal
deleted
inserted
replaced
276:8a46843c258f | 277:d424b8bae71d |
---|---|
18 return new_url | 18 return new_url |
19 raise forms.ValidationError('That link already exists in our database.') | 19 raise forms.ValidationError('That link already exists in our database.') |
20 | 20 |
21 class Meta: | 21 class Meta: |
22 model = PendingLink | 22 model = PendingLink |
23 exclude = ('user', 'date_added') | 23 exclude = ('user', 'date_added', 'update_date') |