When switching a Python codebase to use the dataclasses feature, added in Python 3.7, I ran into an unexpected issue when running code with Django: dates were not updating.
It was actually a little more general than that: entire objects were not updating: some object variables might have contents from the current day’s run, others might have values that were set on the day the current instance of Django was started. When running … read more.