Re: Apache auth

2007-06-24 Thread Sean Mc Allister
that helps, Sean David Reynolds wrote: > > Sean, > > On 22 Jun 2007, at 10:26 am, Sean Mc Allister wrote: > >> Hi, >> I haven't seen this error myself yet, but you could try to use the patch >> here: >> http://code.djangoproject.com/ticket/3583 >> S

Re: Apache auth

2007-06-22 Thread Sean Mc Allister
Hi, I haven't seen this error myself yet, but you could try to use the patch here: http://code.djangoproject.com/ticket/3583 SmileyChris was so nice as to improve my initial patch, and possibly this will sooner or later even make it into trunk. cheers, Sean David Reynolds wrote: > Hi, > > I've b

Re: Mysql sleeping queries

2007-06-20 Thread Sean Mc Allister
Just to let you know, I'm using postgres and I am also experiencing the same problems with revisions above 5481. It doesn't seem to leave every connection open, but more like 2 out of 3 or something like that. so it's not only a mysql thing. Sean David Reynolds wrote: > > On 19 Jun 2007, at 5:16

Re: Securing static files

2007-05-18 Thread Sean Mc Allister
Hi, I made something similar by creating an Apache AccessHandler. You can have a look at the code here: http://www.djangosnippets.org/snippets/62/ You would have to change the permission checking to your needs, but basically you can do anything you want inside those functions, like check if the u

subclassing form_for_model

2007-05-04 Thread Sean Mc Allister
Hi, can somebody give me a hint how to subclass a form_for_model class? I have read ticket 3815, but that doesn't seem to work too well for me. If I simply subclass the Form, the new fields aren't added if I subclass with argument form=newforms.Form only the new fields are there (see below for det