Hi,
On Sat, Sep 29, 2007 at 10:06:19PM -0700, pength wrote:
> well, I am doing some similiar things, for example, I want to show the
> time when this Django/Apache server start, and set some "gloabl
> variables" which all of my apps can use, just do like this:
> I have a primary app named "city",
On Fri, 2007-09-28 at 22:34 -0600, staff-gmail wrote:
> James Bennett wrote:
> > On 9/28/07, Mark Green <[EMAIL PROTECTED]> wrote:
> >
> >> i'm looking for a way to perform a bunch of initialization tasks
> >> right after django startup.
> >>
> >
> > There really is no such thing as "Djang
well, I am doing some similiar things, for example, I want to show the
time when this Django/Apache server start, and set some "gloabl
variables" which all of my apps can use, just do like this:
I have a primary app named "city", and every other app's views.py will
add a line as "from myproject.ci
James Bennett wrote:
> On 9/28/07, Mark Green <[EMAIL PROTECTED]> wrote:
>
>> i'm looking for a way to perform a bunch of initialization tasks
>> right after django startup.
>>
>
> There really is no such thing as "Django startup"; remember that
> Django is hosted inside a web server, and
On 9/28/07, Mark Green <[EMAIL PROTECTED]> wrote:
> i'm looking for a way to perform a bunch of initialization tasks
> right after django startup.
There really is no such thing as "Django startup"; remember that
Django is hosted inside a web server, and that server processes will
come and go over
5 matches
Mail list logo