Mercurial > public > sg101
comparison gpp/news/forms.py @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | 1246a4f1ab4f |
children | bdcce55f137e |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
28 friend_name = forms.CharField(label="Friend's Name", max_length=64) | 28 friend_name = forms.CharField(label="Friend's Name", max_length=64) |
29 friend_email = forms.EmailField(label="Friend's Email") | 29 friend_email = forms.EmailField(label="Friend's Email") |
30 | 30 |
31 def email(self): | 31 def email(self): |
32 return self.cleaned_data['friend_email'] | 32 return self.cleaned_data['friend_email'] |
33 | 33 |
34 def name(self): | 34 def name(self): |
35 return self.cleaned_data['friend_name'] | 35 return self.cleaned_data['friend_name'] |
36 | 36 |