hi all,
how to make use of this snippets
http://djangosnippets.org/snippets/963/
i have a view function
def demand(request, id, template = 'hello.html'):
....
....
i want to test dis using the above snippets,,
i copied the snippet in my localmachine
when i use django shell to check wat the request method (defined in snippet)
returns, it gives the following message...:
>>> from xxx.xxx import RequestFactory
>>> req = RequestFactory.request
>>> req
<unbound method RequestFactory.request>
plz help me to knw how to use the snippet given in the above link...
--
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 [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.