X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=www%2Fmaps%2Fmaps%2Flib%2Fapp_globals.py;fp=www%2Fmaps%2Fmaps%2Flib%2Fapp_globals.py;h=8e62241eea90b1bcd74146bc396cae996cc71ed7;hb=5485afbd4da2182072ef9756c65137729bf1eee5;hp=0000000000000000000000000000000000000000;hpb=a5341c314815ed4df97e2b0f94d05322660052cf;p=dead%2Fcensus-tools.git diff --git a/www/maps/maps/lib/app_globals.py b/www/maps/maps/lib/app_globals.py new file mode 100644 index 0000000..8e62241 --- /dev/null +++ b/www/maps/maps/lib/app_globals.py @@ -0,0 +1,15 @@ +"""The application's Globals object""" + +class Globals(object): + + """Globals acts as a container for objects available throughout the + life of the application + + """ + + def __init__(self): + """One instance of Globals is created during application + initialization and is available during requests via the + 'app_globals' variable + + """