[Fixed]-DateTimeObject not being accepted by Django Model (that expects it)



Timestamp appears to be a list with one datetime in it. It should be a datetime, for example timestamp[0]. It could also be a correctly-formatted string – that’s the code path the exception you’re seeing comes from, but it fails because the value passed in is a list rather than a string.


Leave a comment