[Answered ]-Accessing datetime field in sqlite using python-django

2👍

I am not suprised that DateTimeField expects both a date and a time.

Try TimeField instead.

(Please note that SQLite does not have a native date/time type; it’s just a string.)

👤CL.

Leave a comment