Why is django admin not accepting Nullable foreign keys?
You should try adding null=True, like this one:
car = models.ForeignKey(Car, default=None, null=True, blank=True)
How about blank=True
? From Django's docs:
If
True
, the field is allowed to be blank. Default isFalse
.