On 22 sep, 07:50, girish shabadimath <[email protected]> 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 [email protected]. 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.

