feedback/forms.py
author nishanth
Fri, 09 Apr 2010 15:48:47 +0530
changeset 7 af9ab5ad2786
parent 5 37e4027fba48
child 10 c52d170969f0
permissions -rw-r--r--
fixed a bug in registration .

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