marazmiki/django-ulogin — pull request #26 by Alarik (2013-11-13 07:57:15+00:00)
Title: Don't call get_user_model in models modules

When you define a foreign key or many-to-many relations to the User model, you should specify the custom model using the AUTH_USER_MODEL setting.
Using get_user_model seems to work, but can cause circular imports in some situations, depending on your import structure and ordering of INSTALLED_APPS