On 22 sep, 07:50, girish shabadimath <girishmss.1...@gmail.com> wrote: > >>> from xxx.xxx import RequestFactory > >>> req = RequestFactory.request
This looks up the name 'request' on the RequestFactory object and binds the result - here an unbound method object - to the name 'req'. > >>> req > > <unbound method RequestFactory.request> You want >>> req = RequestFactory.request() Notice the parens - they actually are the 'call' operator in Python. -- 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.