Remove null parameter

It doesn't have any effect on ManyToMany relations
This commit is contained in:
Andreas Zweili 2023-03-16 18:12:26 +01:00
parent d9facb981b
commit 21ad59407a
1 changed files with 1 additions and 3 deletions

View File

@ -9,9 +9,7 @@ class Owner(Company):
class Customer(Company):
name = models.CharField(max_length=50, unique=True)
project_manager = models.ManyToManyField(
InventoryUser, null=True, blank=True
)
project_manager = models.ManyToManyField(InventoryUser, blank=True)
class Meta:
ordering = ["name"]