hasadna/Open-Knesset — pull request #61 by y-p (2013-01-28 16:59:05+00:00)
Title: ENH: Revamp mmm fixture import code

- Old fuzzy matching code was throwing away ~75% of the matches
included in the file. expunged.
- Now relies on entity_id field already included in the fixture,
providing 6x more matches, relying on a faster and more accurate
algo.
- Closes the long-ignored #3303.
- Uses a single json fixture file.
- Added retrieval_date and schema_version to fixture file.
- Data lives at:
https://github.com/y-p/mmm_scrape/blob/master/results/mmm.json
ocasionally updated.
- moved test fixture file to testdata/mmm
- placed gzipped fixture in data/
- reworked tests to accomedate changes. less moving parts now.

Note that some committee pages now have many many documents,
the paging doesn't seem to be working there right now.

**Side-note:** Had trouble with south migrate and the dev db off s3 following the
guide at readthedocs. I got error about existing tables.
Something must have broke since it was written.