Django’s auto_now and auto_now_add fields for auditing creation and modification timestamps

Adrienne Domingus
3 min readJan 26, 2020

Adding fields to database schemas to audit the creation and modification is a common best practice, useful for any number of things, most commonly debugging and cache invalidation. The good news is, Django has field-types built for just this purpose!

auto_now and auto_now_add fields

--

--