exclude user field from form

This commit is contained in:
Sanj 2012-08-09 04:39:07 +05:30
parent 42b119dfca
commit f5a941c144

View File

@ -7,6 +7,7 @@ class OfferForm(ItfForm):
class Meta: class Meta:
model = Offer model = Offer
exclude = ('user',)
class NeedForm(ItfForm): class NeedForm(ItfForm):
@ -14,3 +15,4 @@ class NeedForm(ItfForm):
class Meta: class Meta:
model = Need model = Need
exclude = ('user',)