Re: Pass extra data to a view

2008-05-03 Thread Jay Parlar
On 5/3/08, Mike Chambers <[EMAIL PROTECTED]> wrote: > > Could you just specify the data in the URL that you redirect to? > > mike In my case, it's a variable amount of data, a list of ids from the database. I suppose I could specify it in the URL. I've got it working with sessions now, but pass

Re: Pass extra data to a view

2008-05-03 Thread Lei Zhang
Hi I used to do this by putting the data in URL parameters. Does anyone knows a more elegant way to do this? > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Pass extra data to a view

2008-05-03 Thread Mike Chambers
Could you just specify the data in the URL that you redirect to? mike Jay Parlar wrote: > On 5/2/08, Jay Parlar <[EMAIL PROTECTED]> wrote: >> I must be missing something super obvious here, but I can't figure out >> how to pass data to a new view, from the old one. >> >> For example, I have th

Re: Pass extra data to a view

2008-05-02 Thread Jay Parlar
On 5/2/08, Jay Parlar <[EMAIL PROTECTED]> wrote: > I must be missing something super obvious here, but I can't figure out > how to pass data to a new view, from the old one. > > For example, I have the following in a view: > > categories = [1,2,3] > return HttpResponseRedirect( >

Pass extra data to a view

2008-05-02 Thread Jay Parlar
I must be missing something super obvious here, but I can't figure out how to pass data to a new view, from the old one. For example, I have the following in a view: categories = [1,2,3] return HttpResponseRedirect( reverse('question-select', args=[position_id],k