Re: DJANGO and modpy reloading hell...

2007-04-13 Thread Luciano Adamiak
It's for the whole thing... I guess But it will prevent your restarting every change.. On 4/13/07, durumdara <[EMAIL PROTECTED]> wrote: > > > Hi! > > On Apr 13, 2:00 pm, "Luciano Adamiak" <[EMAIL PROTECTED]> > wrote: > > Just set "Ma

Re: DJANGO and modpy reloading hell...

2007-04-13 Thread Luciano Adamiak
Just set "MaxRequestsPerChild 1" in your httpd.conf On 4/13/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > > On Apr 13, 5:20 pm, "durumdara" <[EMAIL PROTECTED]> wrote: > > Hi ! > > > > I want to substitute my modpy based website to any framework system, > > but I have a question: > > > > Th

Re: Problem with form caching data

2007-04-05 Thread Luciano Adamiak
So Does anyone have a clue??? On 4/4/07, Luciano Adamiak <[EMAIL PROTECTED]> wrote: > > Hi everyone... > > I'm having an strange behavior with a form. > > It's a simple sign-up form. > > When I call the page using the url http://xxx/membro/cad

Problem with form caching data

2007-04-04 Thread Luciano Adamiak
Hi everyone... I'm having an strange behavior with a form. It's a simple sign-up form. When I call the page using the url http://xxx/membro/cadastro/3/ the form show the data for de mebro.id=3, so after that, if I call the page using the url http://xxx/membro/cadastro/ the form should not show a

Re: newforms and form_from_instance

2007-04-03 Thread Luciano Adamiak
Gary, after some testing I came to this solution: I created my own form_for_instance function like this: def form_for_instance(instance): f = forms.models.form_for_instance(instance=instance, form=MyCustomForm) f.base_fields['email'].initial=instance.email ... f.base_fields['sen