feedback/forms.py
author nishanth
Mon, 12 Apr 2010 15:14:03 +0530
changeset 16 bef53aaf9085
parent 10 c52d170969f0
child 64 df751cd8a1e4
permissions -rw-r--r--
phew finally IRC came to rescue. fixed a bug that took most of my time.

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']