There are the following models:
class SwitchEquipment (models.Model): class Meta(): db_table = 'switch_equipment' switchequipment_networkname = models.TextField() switchequipment_network = models.ForeignKey(Network) class Network(models.Model): class Meta(): db_table = 'network' network_name = models.TextField() network_switch = models.ManyToManyField(SwitchEquipment) According to my idea, the network_switch and switchequipmet_network fields I want to make optional. Tried to add blank = True, but did not help. Tell me, is it possible my idea in Django?