Re: Exceptions in Templates

2006-05-14 Thread Adrian Holovaty
On 5/14/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > The patch in ticket #1852 looks like a good start. I was looking at it > this morning and trying to trace through whether anything else needed > similar modification. Not sure the output it produces is perfect, but it > looks like a good

Re: Exceptions in Templates

2006-05-14 Thread Malcolm Tredinnick
Hey Michael, On Mon, 2006-05-15 at 05:30 +0200, Michael Radziej wrote: > Hi, > > Django silently drops certain types of exceptions during exception > processing. > > Now, while this is in general useful, it really obscures your bugs. > > I'd propose to optionally log those exceptions to st

Exceptions in Templates

2006-05-14 Thread Michael Radziej
Hi, Django silently drops certain types of exceptions during exception processing. Now, while this is in general useful, it really obscures your bugs. I'd propose to optionally log those exceptions to stdout when, say settings.log_template_exceptions, is set. What do you thing? Michael

Re: multi-select admin filter for RelatedFields

2006-05-14 Thread Michael Radziej
Am 15.05.2006 um 00:07 schrieb Marc Boeren: > > Update: the known bug is solved, the complete patch is now: > http://www.million.nl/file/marc/django/multi-select- > relatedfilterspec.2.diff Though I can't currently use admin pages at all, this looks cute. Why don't you open a ticket and prov

Re: multi-select admin filter for RelatedFields

2006-05-14 Thread Marc Boeren
Update: the known bug is solved, the complete patch is now: http://www.million.nl/file/marc/django/multi-select-relatedfilterspec.2.diff This also solves the recordcount mismatch in the results view. On a side note: if you have trouble with hidden Exceptions (as I had in this case), it really he

Re: request: change title of django documentation

2006-05-14 Thread James Bennett
On 5/14/06, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > Django documentation page titles are like: "Django | Documentation | Model > Reference", "Django | Documentation | Template Guide", "Django | Code | > RemovingTheMagic". If you have multiple tabs open with these pages, all you > get to see is

Re: multi-select admin filter for RelatedFields

2006-05-14 Thread Marc Boeren
A preliminary patch can be found at http://www.million.nl/file/marc/django/multi-select-relatedfilterspec.diff Screenshots for and/or will make it clear what this patch does :-) http://www.million.nl/file/marc/django/multi-select-relatedfilterspec-and.gif http://www.million.nl/file/marc/django/mu

Re: CONTENT-LENGTH not being set

2006-05-14 Thread Adrian Holovaty
On 5/13/06, Martin Ostrovsky <[EMAIL PROTECTED]> wrote: > Is there a reason why CONTENT-LENGTH is always blank in the environ > dictionary that gets passed to WSGIRequest ? > (django/core/handlers/wsgi.py) If you want to set the "content-length" header, use the ConditionalGetMiddleware middleware

Re: request: change title of django documentation

2006-05-14 Thread Clint Ecker
I think this is a good idea. I've been slowly coming around to fixing this problem on my sites lately. On 5/14/06, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > Hi, > > Django documentation page titles are like: "Django | Documentation | Model > Reference", "Django | Documentation | Template Guide",