[Fixed]-Forms which can apply conditions for individual fields in django

1👍

In your model field add limit_choices_to

brand = models.ForeignKey("products.Brand",limit_choices_to={'is_deleted': False})

#

This part is for your comment

enter image description here

Do just like above image

Leave a comment