I completely forgot to run is_valid() on the receiving view, so
cleaned_data wasn't being populated. This was the problem.
Thanks!
On Jul 30, 4:00 pm, RajeshD <[EMAIL PROTECTED]> wrote:
> > Is it not possible to use Newforms with GET requests?
>
> It is. You can pass it any "dictionary-like"
> Is it not possible to use Newforms with GET requests?
It is. You can pass it any "dictionary-like" object instance as its
submitted data (request.GET and request.POST are both dictionary-like
objects.)
> I'm trying to
> figure out how to paginate results from a search form, and I'm passing
>
Greetings,
Is it not possible to use Newforms with GET requests? I'm trying to
figure out how to paginate results from a search form, and I'm passing
GET values to the pagination view, instantiating an instance of the
Form object with request.GET as an argument (instead of the typical
3 matches
Mail list logo