omab/django-social-auth — pull request #297 by marcofucci (2012-03-22 16:51:23+00:00)
Title: Make UserSocialAuth optional

`UserSocialAuth` could be made optional without any problems.

In my project, I had something similar to `UserSocialAuth` which required custom pipelines in order to get/create my auth objects.

Your djangoapp is so good that it was easy enough to remove the dependency on `UserSocialAuth`.
In my case I couldn't use the defaults pipelines but with my custom ones everything worked like a charm.

I worked on a basic version but there might be side effects that I didn't consider so please double check first.
I introduced a new item in settings called `SOCIAL_AUTH_CREATE_MODEL` which, if False, doesn't create the `UserSocialAuth` table and the related `ModelAdmin`.