feedback/forms.py
author nishanth
Thu, 15 Apr 2010 11:57:42 +0530
changeset 38 b63b78017225
parent 10 c52d170969f0
child 64 df751cd8a1e4
permissions -rw-r--r--
added date tags in view event template and open_feedback template is now a lil better .

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