I'm have some Datefields I would like to keep null or blank when I load a fixture. Is there a way to keep them null or blank without putting some default value? In the model, I have already set null=True, blank=True.
Asked
Active
Viewed 123 times
1 Answers
0
You can try:
day=models.DateField(null=True, blank=True, default=None)
and avoid passing auto_now_add=True
argument.

aminrd
- 4,300
- 4
- 23
- 45