dimagi/core-hq — pull request #965 by twymer (2013-04-30 19:41:02+00:00)
Title: Name length error

User registration was taking "full name" and chopping it into first and last to be stored both in Couch and Django. This meant someone could input a name too long for 30 character field restrictions in Django.

Now it truncates during the sync from couch to Django and does not sync name fields backwards from Django to couch.

I also corrected several locations where the Django name fields were being used instead of the couch version.