You can clone with
HTTPS or Subversion.
We're using UserProfile.student as the name of the OneToOneField back to the User model. Django requires it to be called "user" (it's a slight bug in Django that validation doesn't pick that up).
Change UserProfile to Profile class.
Closed by d6bef0e.
We forgot to make the link from UserProfile -> User be the attribute
"user". This fixes that, but the easiest way to migrate between models
when changing the primary key is to create a new model and copy the data
back and forth. So I've created the Profile model that mirrors the old
UserProfile, except that "student" is now called "user".