I have a model field as follows with a timezone aware auto add:
start_date = models.DateTimeField(auto_now_add=True, blank=True)
However I still get a RuntimeWarning when running tests:
RuntimeWarning: DateTimeField Survey.start_date received a naive datetime (2020-07-16 03:15:14.463640) while time zone support is active.
I get the same when I have:
start_date = models.DateTimeField(default=timezone.now, blank=True)
Any thoughts?