Re: Patch: adding a msg parameter to assertContains and similar methods in the test client

2009-10-07 Thread Russell Keith-Magee
On Wed, Oct 7, 2009 at 11:15 PM, Christian Oudard wrote: > > I wanted to get some feedback from the mailing list about a patch I > wrote. There are two approaches I tried, and attached them both to > this ticket: > > http://code.djangoproject.com/ticket/10314 > > Quick explanation: Basically, the

Patch: adding a msg parameter to assertContains and similar methods in the test client

2009-10-07 Thread Christian Oudard
I wanted to get some feedback from the mailing list about a patch I wrote. There are two approaches I tried, and attached them both to this ticket: http://code.djangoproject.com/ticket/10314 Quick explanation: Basically, the assertFoo methods in the python stdlib test case class accept a "msg" p

Re: Proposal for 1.2: built-in logging with django.core.log

2009-10-07 Thread Vinay Sajip
On Sep 29, 2:25 pm, Ivan Sagalaev wrote: > LOGGING = { >      'errors': { >          'handler': 'django.logging.FileLogger', # WatchedFileLogger copy >          'filename': '...', >          'level': 'debug', >      }, >      'maintenance': { >          'handler': 'logging.handlers.HTTPHandler',