revsys/django-friendship — pull request #13 by tijs (2013-06-26 09:21:09+00:00)
Title: fixes migration when using a custom user model in Django 1.5

While the python source is now compatible with the custom user models in Django 1.5 the included migration did not work yet. This should allow you to run the migartion with either a custom user model or a (pre 1.5) auth.User model.

hat tip to @rockymeza for this solution (from the Mezzanine project)