소스 검색

[fix] render.py for home

version-14
Rushabh Mehta 8 년 전
부모
커밋
df66dfe941
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      frappe/website/render.py

+ 3
- 2
frappe/website/render.py 파일 보기

@@ -23,8 +23,9 @@ class PageNotFoundError(Exception): pass

def render(path=None, http_status_code=None):
"""render html page"""
path = resolve_path(path or frappe.local.request.path)
path = path.strip('/ ')
if not path:
path = frappe.local.request.path
path = resolve_path(path.strip('/ '))
data = None

# if in list of already known 404s, send it


불러오는 중...
취소
저장