[Twisted-web] Custom 404/500 page example.. working
corydodt at twistedmatrix.com
Wed Nov 24 10:53:30 MST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Presented for your coding pleasure:
I believe this is a fairly common use case: You want to automatically handle
404 and 500 errors by returning a custom Page of your own design. The example
above shows you how to do it.
The same location previously held a version that used stan. With some help
from Donovan and James I (finally) got it working with xml templates as well.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Twisted-web