hi all, i used django snippet http://djangosnippets.org/snippets/963/
and successfully created request object i checked the response.status_code its giving 200 i checked response.content it matches with the browser source code when i issue *response.template* it gives error and* response.context* also not giving output,, i used template and context data in view function,, why its showing nothing..? shell cmds: >>>rf = RequestFactory() >>>get_req = rf.request('/details') >>> response = detail(get_req, 27000) >>> response.status_code 200 >>> response.content '<html>\n<head>\n <title> details</title>\n .................................................... .............................................................</body>\n</html>\n\n' >>> response.template Traceback (most recent call last): File "<console>", line 1, in <module> AttributeError: 'HttpResponse' object has no attribute 'template' >>> response.context['data'] Traceback (most recent call last): File "<console>", line 1, in <module> AttributeError: 'HttpResponse' object has no attribute 'context' -- Girish M S -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.