From f5a941c14428779277e13d656fa9e903769e81fd Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 9 Aug 2012 04:39:07 +0530 Subject: [PATCH] exclude user field from form --- itf/offersneeds/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/itf/offersneeds/forms.py b/itf/offersneeds/forms.py index 8c2ed91..7d589c8 100644 --- a/itf/offersneeds/forms.py +++ b/itf/offersneeds/forms.py @@ -7,6 +7,7 @@ class OfferForm(ItfForm): class Meta: model = Offer + exclude = ('user',) class NeedForm(ItfForm): @@ -14,3 +15,4 @@ class NeedForm(ItfForm): class Meta: model = Need + exclude = ('user',)