tipfy.ext.httpexceptions

Yazılım ekran görüntüsü:
tipfy.ext.httpexceptions
Yazılım detaylar:
Versiyon: 0.1.2
Qayıt: 12 May 15
Geliştirici: xen
Lisans: Ücretsiz
Popülerlik: 8

Rating: nan/5 (Total Votes: 0)

tipfy.ext.httpexceptions sunucu hataları yakalamak ve uygun sayfayı göstermek için bir katman olduğunu.
Kurulum:
Birkaç basit adımları takip uygulamanızda bu uzantıyı kullanmak için:
* Yumurta ithalat buildout.cfg ekle
* Şablonlar 404.html ve (ortak şablonları genellikle bulunduğu yer) "ortak / templates / 'klasörüne 500.html ekle
* Config.py değiştirin ve takiben satırları ekleyin ::
& Nbsp; # Ara katman Yapılandırma
& Nbsp; Yapılandırma ['tipfy'] = {
& Nbsp; & nbsp; & nbsp; 'Katman': [
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; # Listenin başlamak için bu satırı ekleyin
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 'Tipfy.ext.httpexceptions.middleware.HTTPExceptionMiddleware'
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; ..
& Nbsp; & nbsp; & nbsp; ]
& Nbsp; }

Gereksinimleri :

  • Python

Geliştirici Diğer yazılım xen

Drush EM
Drush EM

13 May 15

Yorumlar tipfy.ext.httpexceptions

Yorum Bulunamadı
Yorum eklemek
Görüntülerde açın!