Re: Preventing the leaking of sensitive information in error logs

2011-05-29 Thread Fraser Nevett
On May 29, 5:22 am, Julien Phalip wrote: > I'm bringing this up to the dev-list as I'm keen to hear if someone is > interested in this problem and has suggestions towards a robust > solution. It is a pretty serious issue that I hope can be resolved by > the 1.4 release. For reference, I raised a

Cache DB backend

2009-08-01 Thread Fraser Nevett
I was looking at the database cache backend and noticed a number of of things that might be worth improving... * The "createcachetable" management command manually constructs and executes SQL to create the table. This is seems a bit undesirable as we already have a well-established and well-tes

Re: Cache DB backend

2009-08-02 Thread Fraser Nevett
On Aug 2, 2:48 pm, Russell Keith-Magee wrote: > On Sat, Aug 1, 2009 at 6:06 PM, Fraser  Nevett wrote: > > > I was looking at the database cache backend and noticed a number of of > > things that might be worth improving... > > >  * The "createcachetable" m

Issues surrounding IDN validation and URLs in general

2010-02-27 Thread Fraser Nevett
Validation of IDN (Internationalized Domain Names) was added in [12474], but I noticed that the verify_exists option doesn't work when you use an IDN. This is caused by urllib2 not supporting IDN and the validation code using the original unicode version of the URL when testing for existence. The

Re: Issues surrounding IDN validation and URLs in general

2010-02-27 Thread Fraser Nevett
On Feb 27, 8:02 pm, Fraser Nevett wrote: [...] > I have a patch worked up for this and will raise a ticket shortly. Ticket created and patch uploaded... http://code.djangoproject.com/ticket/12989 Fraser -- You received this message because you are subscribed to the Google Groups &quo

Logging facility for Django

2007-04-22 Thread Fraser Nevett
Hi All, I'm sure I'm not alone in using simple print statements to trace/log what is going on in a Django app, especially when debugging. This works OK when using runserver, but can be more difficult and problematic to use with mod_python in a production environment. To try to give greater contr

Re: Logging facility for Django

2007-04-23 Thread Fraser Nevett
Thanks for the feedback. Jeremy, what database backend are you using? On MySQL I don't see any SQL getting logged. I guess registering the handler to the root logger must mean it gets all the log information from the other loggers too. It's on my to-do list to add the ability to filter by logger

Re: Logging facility for Django

2007-04-23 Thread Fraser Nevett
Hi Vinay, Thanks for taking the time to review and provide feedback on this. Your explanation of how the logging module works and how it can be used was really helpful. > (a) Setting NOTSET on the root logger will cause absolutely everything > to go through the logging system - this could be unn

Search facility for new documentation

2008-08-30 Thread Fraser Nevett
The new documentation site is great, but is currently lacking a search facility. I've been working on adding an embedded Google Custom Search, which is nearly ready and working well on my local copy. I'll submit a patch for this to Trac shortly, but it would really help if someone who knows about

Re: Search facility for new documentation

2008-08-31 Thread Fraser Nevett
On Aug 30, 8:31 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > Sphinx has a built-in search function; I just haven't exposed it yet. > That said, there's a good change the Google will beat anything we can > possibly do ourselves, so I'm looking forward to seeing what you've > come up with.