exclude user field from form
This commit is contained in:
parent
42b119dfca
commit
f5a941c144
|
@ -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',)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user