Re: enumerating view functions

2010-06-18 Thread Dmitry Beransky
any thoughts/ideas at all? On Wed, Jun 16, 2010 at 11:08 AM, Dmitry Beransky wrote: > Hi, > > Is there a way to enumerate view functions that are currently > associated with a url patern?  In the end, I'd like to get a list of > triples: pattern name, pattern, callback fu

enumerating view functions

2010-06-16 Thread Dmitry Beransky
Hi, Is there a way to enumerate view functions that are currently associated with a url patern? In the end, I'd like to get a list of triples: pattern name, pattern, callback function. Thanks Dmitry -- You received this message because you are subscribed to the Google Groups "Django users" g

analyzing slow view

2010-06-03 Thread Dmitry Beransky
Hi, I'm trying to figure out why a certain view is taking a long time to render. It all comes down to DB access, but here's where I'm starting to get confused. Looking at connections[].queries, I can see that the query in question takes around 300s to execute (does this include re-hydration time

Re: db autoclobbering with automated tests

2010-06-01 Thread Dmitry Beransky
thanks, guys On Mon, May 31, 2010 at 5:23 AM, Russell Keith-Magee wrote: > On Fri, May 28, 2010 at 12:59 PM, Rolando Espinoza La Fuente > wrote: >> I'd added a patch that adds the --noinput option to testserver command: >> http://code.djangoproject.com/ticket/12619 > > I've just marked that tick