Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1575 from barsch/patch-1

get_page_queryset_from_path() in cms/utils/page_resolver.py not 100% site aware
  • Loading branch information...
commit e11273b49f3f20af436f80eec1ab857c263fa976 2 parents d22b7c8 + 4cccb69
@digi604 digi604 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cms/utils/page_resolver.py
View
2  cms/utils/page_resolver.py
@@ -76,7 +76,7 @@ def get_page_queryset_from_path(path, preview=False, draft=False, site=None):
# get the home page (needed to get the page)
try:
- home = pages.get_home()
+ home = pages.get_home(site=site)
except NoHomeFound:
home = None
# if there is no path (slashes stripped) and we found a home, this is the
Please sign in to comment.
Something went wrong with that request. Please try again.