Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

get_page_queryset_from_path() in cms/utils/page_resolver.py not 100% site aware #1575

Merged
merged 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 7, 2013
  1. @barsch

    Update cms/utils/page_resolver.py

    barsch authored
    see issue #1573
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.