Skip to content

Commit

Permalink
Merge pull request #1575 from barsch/patch-1
Browse files Browse the repository at this point in the history
get_page_queryset_from_path() in cms/utils/page_resolver.py not 100% site aware
  • Loading branch information
digi604 committed Jan 7, 2013
2 parents d22b7c8 + 4cccb69 commit e11273b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/utils/page_resolver.py
Expand Up @@ -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
Expand Down

0 comments on commit e11273b

Please sign in to comment.