when I was using flask-admin, the DateTimeField was not working properly. I simply did pip install python-dateutil and everything was fine. small PR