feedback/forms.py
author nishanth
Fri, 16 Apr 2010 17:55:59 +0530
changeset 91 d5ae97aaa24d
parent 64 df751cd8a1e4
child 94 5de0009c0d71
permissions -rwxr-xr-x
fixed another typo
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
64
df751cd8a1e4 renamed import .
nishanth
parents: 10
diff changeset
     3
from ws_app.feedback.models import Feedback
5
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