we read that the callable of a default field value is called, every time a new object is created.
In my model I have:
when_first_upload = models.DateTimeField(default=datetime.datetime.now())
When in the admin page I create a new object I always get the same datetime, as if the callable is not called. Any ideas why?
It is as if something is cached somewhere and keeps the evaluated last call of the callable.
When I do a migrate it resets, but stays the same when adding new objects until the next migration.