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

Multisite issue. #3

Open
khrizo opened this issue Jun 24, 2021 · 0 comments
Open

Multisite issue. #3

khrizo opened this issue Jun 24, 2021 · 0 comments

Comments

@khrizo
Copy link

khrizo commented Jun 24, 2021

This happened using more than one SITE_ID.

instance.root_page.get_reverse_id
was resulting in None, it seems it was trying to refer to a page in SITE_ID =1.

Decided to replace:

root_page = models.ForeignKey
root_page = PageField 

working as expected now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant