feedback/forms.py
author nishanth
Fri, 16 Apr 2010 18:15:12 +0530
changeset 92 bff52631d402
parent 64 df751cd8a1e4
child 94 5de0009c0d71
permissions -rwxr-xr-x
set debug to false and removed admin url

from django import forms

from ws_app.feedback.models import Feedback

class FeedbackForm(forms.ModelForm):
    """ A form to collect the feedback.
    """

    class Meta:
        model = Feedback
        exclude = ['user_ip', 'event', 'day']