feedback/forms.py
author nishanth
Tue, 13 Apr 2010 16:32:13 +0530
changeset 37 981c3eb98e0e
parent 10 c52d170969f0
child 64 df751cd8a1e4
permissions -rw-r--r--
days are now calucated from dates given for the event .

from django import forms

from workshop.feedback.models import Feedback

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

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