tipfy.ext.httpexceptions

軟件截圖:
tipfy.ext.httpexceptions
軟件詳細信息:
版本: 0.1.2
上傳日期: 12 May 15
開發: xen
許可: 免費
人氣: 1

Rating: nan/5 (Total Votes: 0)

tipfy.ext.httpexceptions是一個中間件捕捉服務器錯誤,並顯示正確的頁面。
設置:
要使用這個擴展在應用程序中遵循幾個簡單的步驟:
*添加到buildout.cfg進口雞蛋
*添加模板404.html和500.html以“共同/模板/”文件夾(地方常見的模板,通常位於)
*修改config.py並添加如下因素線::
  #中間件配置
 配置['tipfy'] = {
    '中間件':[
        #添加此行來啟動列表
        “tipfy.ext.httpexceptions.middleware.HTTPExceptionMiddleware',
        ..
    ]
  }

要求

  • 在Python的

顯影劑的其他軟件 xen

Drush EM
Drush EM

13 May 15

意見 tipfy.ext.httpexceptions

評論沒有發現
添加評論
打開圖片!