[Django]-Model_to_dict is not returning DateTimeField with auto_now_add = True

4👍

A: model_to_dict is only outputting editable fields.

B: startTime is not set editable because of the auto_now_add.

So I guess you end up with one of the methods from this question.

👤RickyA

Leave a comment