Re: using the request object inside a form

2011-08-02 Thread vanderkerkoff
Thanks Daniel I told you I was doing something stupid :-) V On Aug 2, 5:22 pm, Daniel Roseman 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

using the request object inside a form

2011-08-02 Thread Daniel Roseman
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 view this discussion on t

using the request object inside a form

2011-08-02 Thread vanderkerkoff
Hello there. I need to use parts of the URL to calculate some thing inside my form. Here's a stripped down version, I can't seem to get it to give me anything other than none for self.request :-( class EventBookForm(ModelForm): title = CharField() firstname = CharField()