Django: How do I access the request object or any other variable in a form's clean() method?

Posted by nubela on Stack Overflow See other posts from Stack Overflow or by nubela
Published on 2009-06-29T08:49:45Z Indexed on 2010/04/02 13:13 UTC
Read the original article Hit count: 274

Filed under:
|

I am trying to request.user for a form's clean method, but how can I access the request object? Can I modify the clean method to allow variables input?

Thanks.

© Stack Overflow or respective owner

Related posts about django

Related posts about python