
I needed to export a lot of entries stored in the SQLite database of my previous Django site for importing into the new Hugo-powered SimonGriffee.com. Thankfully, Sam Kingston had already written a script to export Mezzanine blog posts to Jekyll, so I modified it to make djangoflatpage2hugo.py, below. To use it: Save the the code below in a file called djangoflatpage2hugo.py and put it in the following location: yourdjangoproject/ management/ commands/ djangoflatpage2hugo.
…continue