tipfy.ext.httpexceptions

Software screenshot:
tipfy.ext.httpexceptions
Podrobnosti Software:
Verze: 0.1.2
Datum uploadu: 12 May 15
Vývojka: xen
Licence: Volný
Popularita: 1

Rating: nan/5 (Total Votes: 0)

tipfy.ext.httpexceptions je middleware chytit chyb serveru a ukázat správnou stranu.
Nastavení:
Chcete-li použít toto rozšíření ve své aplikaci následovat několik jednoduchých kroků:
* Přidat do buildout.cfg vejce dovoz
* Přidat šablony 404.html a 500.html na "společné šablon / / 'složky (místa, kde společné šablony obvykle nachází)
* Upravit config.py a přidejte následujících možností řádky ::
& Nbsp; # Middlewares config
& Nbsp; konfigurační ['tipfy'] = {
& Nbsp; & nbsp; & nbsp; "Middleware": [
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; # Přidejte tento řádek na začátek seznamu
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 'Tipfy.ext.httpexceptions.middleware.HTTPExceptionMiddleware',
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; ..
& Nbsp; & nbsp; & nbsp; ]
& Nbsp; }

Požadavky na :

  • Python

Ostatní software developer xen

Drush EM
Drush EM

13 May 15

Komentáře k tipfy.ext.httpexceptions

Komentáře nebyl nalezen
Přidat komentář
Zapnout obrázky!