Re: How to check which view got called by a request

2008-01-02 Thread James Bennett
On Jan 2, 2008 4:09 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > It doesn't seem to be possible to work out the exact Python function > that was called (the necessary information isn't always available, since > it could, for example, be a middleware function that short-circuited > things).

Re: How to check which view got called by a request

2008-01-02 Thread Malcolm Tredinnick
On Sat, 2007-12-29 at 20:27 -0800, shabda wrote: > Using the testing framework how can we make sure that the correct view > got called. > > Documentation at http://www.djangoproject.com/documentation/testing/#testcase > says that > (django.test.client can be used to) "Test that the correct view