Open huxaiphaer opened 3 years ago
Can I exclude a field by a condition e.g filtering by role and then exclude a field like zipcode
zipcode
class PersonAdmin(ReverseModelAdmin): inline_type = 'tabular' inline_reverse = ['business_addr', ('home_addr', {'fields': ['street', 'city', 'state', 'zipcode']}), ]
Can I exclude a field by a condition e.g filtering by role and then exclude a field like
zipcode