mysociety/popit-api — pull request #23 by hecticjeff (2014-01-27 17:38:56+00:00)
Title: Add script for converting _id fields of inaccessible documents

As detailed in mysociety/popit#300 the migration tool creates records with invalid _id fields. This script goes through the database and model specified and converts the _id fields to a string. This makes the records accessible again through the API.

Note that this doesn't actually fix the original problem, it just gives a way to restore access to existing installs which are using invalid _ids.