feedback/forms.py
author nishanth
Fri, 16 Apr 2010 17:55:16 +0530
changeset 90 d18d31b07553
parent 64 df751cd8a1e4
child 94 5de0009c0d71
permissions -rwxr-xr-x
now list attendees shows Male/Female instead of M/F

from django import forms

from ws_app.feedback.models import Feedback

class FeedbackForm(forms.ModelForm):
    """ A form to collect the feedback.
    """

    class Meta:
        model = Feedback
        exclude = ['user_ip', 'event', 'day']