bmun/huxley — pull request #295 by kmeht (2014-09-03 02:16:59+00:00)
Title: Support saving country preferences during registration.

Since Django Rest Framework doesn't support writing Many-to-Many
fields that have a "through" model, this hacks it together by
intercepting the create request, and manually creating the
country preferences.

This means that we don't have serializer support for it yet, so
we're going to have to do more work if we want to display the
advisor's preferences in the UI.

**Test Plan**: Added unit tests. Registered manually, went into the admin panel and verified my country preferences were there with the correct ranks.