On 8/13/07, eXt <[EMAIL PROTECTED]> wrote:
>
> So here is a template and a context. Why I can't access it in my
> doctest via response.template and response.context?

How are you running your doctest?

In order to capture the template rendering details, Django needs to
add some instrumentation to the template rendering system. If you run
your tests using ./manage.py test, this instrumentation is added
automatically. If the instrumentation isn't installed (for example, if
you are manually running your doctest), you will get 'no template, no
context' returned through the test system.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to