published by | Adam Johnson |
---|---|
in blog | Adam Johnson |
original entry | How to implement a “dry run mode” for data imports in Django |
In data import processes it’s often useful to have a “dry run” mode, that runs through the process but doesn’t actually save the data. This can allow you to check for validity and gather statistics, such as how many records already exist in the database. In this post …