Re: Exception Middleware not run [was Re: Subclass handle_uncaught_exception]

2012-05-16 Thread Rory Campbell-Lange
se is ExceptCatcher being seen by decorators.py where it does an hasattr check on the middleware. On 15/05/12, Rory Campbell-Lange (r...@campbell-lange.net) wrote: > On further investigation it appears that the process_exception > middleware isn't being called in my case. In other words

Exception Middleware not run [was Re: Subclass handle_uncaught_exception]

2012-05-15 Thread Rory Campbell-Lange
relationship between base.py and decorators.py. However the middleware class above does not have the class I have loaded in base.py's self._exception_middleware. Should it have? Rory On 14/05/12, Rory Campbell-Lange (r...@campbell-lange.net) wrote: > I have a custom database interface w

Subclass handle_uncaught_exception

2012-05-14 Thread Rory Campbell-Lange
s lazy so that it errors earlier, or subclass handle_uncaught_exception. If the latter is feasible I'd be grateful for some advice on how to do so within my app. Rory p.s. An earlier version of this question was asked on Stack Overflow at http://stackoverflow.com/questions/10574581/reroute-djangos-ha

Re: How safe to use #6646 : included template overrides parent

2009-03-30 Thread Rory Campbell-Lange
On 30/03/09, Russell Keith-Magee (freakboy3...@gmail.com) wrote: > On Mon, Mar 30, 2009 at 7:44 PM, Rory Campbell-Lange > wrote: > > > > We use Django 1.0.2 from Debian. We are considering using the patch > > included in #6646 to address the following: ... > >

How safe to use #6646 : included template overrides parent

2009-03-30 Thread Rory Campbell-Lange
angoproject.com/ticket/6646 We are concerned about relying on this patch when upgrading to future versions of Django -- how safe is it? Rory -- Rory Campbell-Lange Director r...@campbell-lange.net Campbell-Lange Workshop www.campbell-lange.net 0207 6311 555 3 Tottenham Street London W1T 2AF Registere

Help embedded in each template [was Re: "include" wiping out rest of template]

2006-12-31 Thread Rory Campbell-Lange
On 29/12/06, Rory Campbell-Lange ([EMAIL PROTECTED]) wrote: I'd like to hold the 'help' for each template in a block called 'helptext' within each html file. I'd like to include the relevant html files from the main /help/ template, so that /help/sites shows the

"include" wiping out rest of template

2006-12-29 Thread Rory Campbell-Lange
and 'include's. Embedding help in the relevant page helps with editing and internationalisation. Thanks for any elucidation. Rory - Forwarded message from Rory Campbell-Lange <[EMAIL PROTECTED]> - Date: Fri, 29 Dec 2006 14:52:01 + From: Rory Campbell-Lange <[

Model quoting error : Postgresql 8.1

2006-11-19 Thread Rory Campbell-Lange
ror at or near "Offices" at character 105 INSERT INTO "data_sector" ("name","localname","created","modified","country_id") VALUES (Administrative Offices,'','2006-11-18 21:36:31.145400','2006-