If I define
cpf = models.CharField(max_length=11, unique=True, null=True, blank=True)
It happens that if I leave a record with the null value, when I try to save a second record, it accuses the duplicate value.
How to circumvent this sit...
asked by
30.07.2015 / 23:07