我按照官方的文檔,並設置它一步一步來。 使用瀏覽器指向http://localhost:6543/sacrud/,這裏引發403禁止錯誤。我試圖刪除sa_home函數的參數權限pyramid_sacrud/views/init.py來解決它,雖然它可以訪問但它沒有登錄頁面。 這裏是我的應用程序的ini文件: from pyramid.config import Configurator
from
我想從我的金字塔鯖模板訪問GMAPS_API_KEY渲染全球。我不斷收到該GMAPS_API_KEY未定義的錯誤: ...
File "views/header.html", line 10, in render_body
<script src="https://maps.googleapis.com/maps/api/js?key=${GMAPS_API_KEY}&sensor=t