When I run the following command to export my database in a JSON file :
python manage.py dumpdata > datadump.json
I have the following error message :
CommandError: Unable to serialize database: invalid literal for int() with base 10: b'19 22:00:00'
I think that at a moment the command tries to convert a part of a datetime to an integer and fails, but I don't understand why such a thing appears.
Any help will be appreciate,
thanks