Re: static list in __init__

2011-02-26 Thread Dan Christensen
CrabbyPete writes: > I have an application that initializes a larges static array in its > __init__ I want to be able to access it from my views.py > functions. What is the best way to do this? I know I can put it in > memcache, or a database but it seems like an unnecessary over head. > > eg. >

static list in __init__

2011-02-26 Thread CrabbyPete
I have an application that initializes a larges static array in its __init__ I want to be able to access it from my views.py functions. What is the best way to do this? I know I can put it in memcache, or a database but it seems like an unnecessary over head. eg. __init__.py biglist = initialize