learningequality/ka-lite — pull request #686 by bcipolli (2013-09-10 03:29:48+00:00)
Title: Getting initdevice working on PostGRE

This localizes the logic out of SyncModel and into Device. Uses the "imported" codepath to accomplish goals--save without signing, and without mucking with counters (which is the codepath that breaks in postgre)

This code path is only hit during installation, so should be low impact. I believe the code is a bit cleaner (with documentation as to why we're using the "imported" codepath).

@gimick can you test this out?