16👍
✅
Just delete it from the self.fields dict:
if not user.has_perm("blablabla"):
del self.fields["company"]
Source:stackexchange.com
16👍
Just delete it from the self.fields dict:
if not user.has_perm("blablabla"):
del self.fields["company"]