Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model Site problem when integrating with django-allauth #3081

Closed
fakegit opened this issue Oct 13, 2016 · 4 comments
Closed

Model Site problem when integrating with django-allauth #3081

fakegit opened this issue Oct 13, 2016 · 4 comments
Labels
status:Needs Info Needs more information from the person who reported the issue or opened the PR

Comments

@fakegit
Copy link

fakegit commented Oct 13, 2016

Django-allauth need django.contrib.sites installed, and use the site model often.

But wagtail has its own site model, and has different fields with django's.

How to solve this?

@gasman
Copy link
Collaborator

gasman commented Oct 13, 2016

Hi @fakegit - is there anything that prevents you from using both apps/models side by side?

@gasman gasman added the status:Needs Info Needs more information from the person who reported the issue or opened the PR label Oct 13, 2016
@fakegit
Copy link
Author

fakegit commented Oct 13, 2016

Exactly, no.
I just consider how to use one site model to solve this.
Finally, I tried to use both site model, make django's site just a copy of wagtail's.

@gasman gasman closed this as completed Oct 13, 2016
@iSquatch
Copy link

@fakegit Would you mind sharing how you managed to get django-allauth working with wagtail? How did you override the django.contrib.sites with the copy of wagtail's sites app? Have you run into any issues after implementing this workaround?

@gasman We can't be the only ones who have tried to setup django-allauth with wagtail... When I run the application with both the django and wagtail 'sites' apps, I'm running into some issues in which I can't really explain exactly where the issue is happening. Static files not loading when running the application on local dev server- but I'm not seeing any errors on the client or server logs. Just appears to be some crossed wires between the two 'sites' applications.

@kakulukia
Copy link
Contributor

id also like to know how to get both wagtail and allauth working side by side, but so far i had no luck - any advances on this regard since one year ago? @DevinCalado did you get it to work in the mean time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:Needs Info Needs more information from the person who reported the issue or opened the PR
Projects
None yet
Development

No branches or pull requests

4 participants