Published in Martin Paul Eve

My backup application, django-caretaker, has to reload the SQLite database after it has run the import procedure. Basically, we’re using an external tool to recreate (delete and replace) the original SQL file on disk. But Django won’t always reload this. There are three “gotchas” for how to handle this. The first is that you need a reload function.