Check out: http://ant.apache.org/
These types of deployment & initialization tasks should be handled by
the surrounding environment, not Django itself. I suggest you use ant
or something similar to set up some scripts for yourself that
coordinate everything.
--~--~-~--~~--
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 Sun, 2007-09-30 at 20:37 -0500, James Bennett wrote:
> On 9/30/07, Mark Green <[EMAIL PROTECTED]> wrote:
> > I'm not sure what drove me to call it "fragment caching".
> > What I really meant to point at are the little things (such as
> > form_for_model()) that would likely benefit from some obj
On Sun, 2007-09-30 at 20:29 -0500, James Bennett wrote:
> On 9/30/07, Mark Green <[EMAIL PROTECTED]> wrote:
> > My question was really only about the former, a much simpler problem:
> > How to keep a tcp connection persistent and re-use it across requests?
>
> By using a pooling connection manage
On 9/30/07, Mark Green <[EMAIL PROTECTED]> wrote:
> I'm not sure what drove me to call it "fragment caching".
> What I really meant to point at are the little things (such as
> form_for_model()) that would likely benefit from some object
> caching instead of burning cycles for each request.
You c
On 9/30/07, Mark Green <[EMAIL PROTECTED]> wrote:
> My question was really only about the former, a much simpler problem:
> How to keep a tcp connection persistent and re-use it across requests?
By using a pooling connection manager external to Django. Again,
complicating the application layer wi
oss requests".
Further problems arise when you need to integrate with a remote peer
that simply depends on persistent connections. My current candidate is
the spread toolkit (http://www.spread.org) but it's certainly not the
only piece of "environmental software" working that way.
On 9/30/07, Mark Green <[EMAIL PROTECTED]> wrote:
> Hm, this raises some serious scalabity questions for me.
> >From your description it sounds like there is no template
> fragment caching, not even db connection pooling possible
> with django?
You can cache anything you want to cache; read the c
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
On Fri, 2007-09-28 at 22:29 -0500, 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
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
hi all,
i'm looking for a way to perform a bunch of initialization tasks
right after django startup.
where would i put such things and how/when are they called?
-mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
14 matches
Mail list logo