feedback/forms.py
author nishanth
Fri, 16 Apr 2010 11:23:39 +0530
changeset 63 d960c570ce63
parent 10 c52d170969f0
child 64 df751cd8a1e4
permissions -rwxr-xr-x
renamed a few more imports .
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     1
from django import forms
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     2
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     3
from workshop.feedback.models import Feedback
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     4
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     5
class FeedbackForm(forms.ModelForm):
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     6
    """ A form to collect the feedback.
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     7
    """
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     8
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
     9
    class Meta:
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
    10
        model = Feedback
10
c52d170969f0 quite a few changes. modified models and feedback views .
nishanth
parents: 5
diff changeset
    11
        exclude = ['user_ip', 'event', 'day']
5
37e4027fba48 submit and list feedback done
nishanth
parents:
diff changeset
    12