Tuesday, August 2, 2011

Re: using the request object inside a form

Thanks Daniel

I told you I was doing something stupid :-)

V

On Aug 2, 5:22 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
> The problem isn't in the code you've posted, but in how you instantiate the form in your view. You need to actually pass in 'request' as a keyword argument.
> --
> DR.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate