cherrypy.tutorial.tut04_complex_site module

Tutorial - Multiple objects.

This tutorial shows you how to create a site structure through multiple possibly nested request handler objects.

class cherrypy.tutorial.tut04_complex_site.ExtraLinksPage[source]

Bases: object

Extra links app.

index()[source]

Render extra useful links.

class cherrypy.tutorial.tut04_complex_site.HomePage[source]

Bases: object

Home page app.

index()[source]

Produce HTTP response body of home page app index URI.

class cherrypy.tutorial.tut04_complex_site.JokePage[source]

Bases: object

Joke app.

index()[source]

Produce HTTP response body of joke page app index URI.

class cherrypy.tutorial.tut04_complex_site.LinksPage[source]

Bases: object

Links page app.

index()[source]

Produce HTTP response body of links page app index URI.