I have a question about django admin import file. my excel data include DateTime data like 2010/10/10 13:10 , i want to import it into mysql by django admin. I used DateTimeField in models. What is the time data format? how to do this?
2 Answers
that function is natural from python, just stablish the format of incoming string date and do the following
https://stackoverflow.com/a/24228410/2946222
or
Comments
This can work, just use settings.DATETIME_INPUT_FORMATS