[Django]-DateTimeField set as default field

2👍

auto_now_true is the only way to set the field to update on creation, as the documentation states

The options auto_now_add, auto_now, and default are mutually exclusive. Any combination of these options will result in an error.

If auto_now_true isn’t working the you need to raise a bug.

Leave a comment