Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Loose coupling to contrib.sites application #90

floledermann opened this Issue Jun 27, 2011 · 1 comment


None yet
2 participants

django-socialregistration is currently hard-wired to the sites application. This means it cannot be used in scenarios where the sites app is not installed, or where other methods for assigning authenticated users to sites are used.


flashingpumpkin commented Jun 27, 2011

This is true. I've made it that way because the auth methods require to know where to redirect back.

A solution would be to turn it into some kind of internal Site model, that has a domain field which in turn can take a default value from a function, which can be defined in the settings - similar to upload paths for files. And if not, it's using Site.objects.get_current().domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment