tipfy.ext.httpexceptions

Screenshot Software:
tipfy.ext.httpexceptions
Mga detalye ng Software:
Bersyon: 0.1.2
I-upload ang petsa: 12 May 15
Nag-develop: xen
Lisensya: Libre
Katanyagan: 1

Rating: nan/5 (Total Votes: 0)

tipfy.ext.httpexceptions ay isang middleware upang mahuli ang mga error ng server at ipakita ang tamang page.
Setup:
Upang gamitin ang extension na ito sa iyong application sundin ang ilang mga simpleng hakbang na ito:
* Idagdag sa buildout.cfg egg import
* Magdagdag ng mga template 404.html at 500.html sa 'karaniwang template / /' folder (lugar kung saan karaniwang matatagpuan karaniwang template)
* Baguhin config.py at magdagdag ng mga sumusunod na linya ::
& Nbsp; # Middlewares config
& Nbsp; config ['tipfy'] = {
& Nbsp; & nbsp; & nbsp; 'Middleware': [
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; # Idagdag ang linya sa simula ng listahan
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 'Tipfy.ext.httpexceptions.middleware.HTTPExceptionMiddleware',
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; ..
& Nbsp; & nbsp; & nbsp; ]
& Nbsp; }

Kinakailangan :

  • sawa

Iba pang mga software developer ng xen

Drush EM
Drush EM

13 May 15

Mga komento sa tipfy.ext.httpexceptions

Mga Komento hindi natagpuan
Magdagdag ng komento
I-sa mga imahe!