Source

pixels_for_food / pixels / forms.py

Full commit
#!/usr/bin/env python

from models import Donation
from django import forms

class DonationForm (forms.Form):
    """ Form for donations input from external user """
    name = forms.CharField(max_length=100, required=False)
    email = forms.EmailField(max_length=50, required=False)
    anonymous = forms.BooleanField()    
    amount = forms.DecimalField(max_digits=5, decimal_places=2, widget=forms.HiddenInput)
    pounds = forms.IntegerField(widget=forms.HiddenInput)