So, you basically need a shopping cart. Use sessions. Other option would be to store everything in cookies and use js to manipulate the products. On 08/05/2014 11:25 pm, "Chi-Cheong Weng" <chicheongw...@gmail.com> wrote:
> Hi guys, > > I have been using Django for a little more than a year now, but I still > cannot think of a clean way of achieving this: > > Let's say I have 1000 products in the db and I want to create a campaign > to promote the products. I am displaying the products 100 items each time > and each item has a check box. I want to be able to go back and forth > between different pages to select products and then when I hit the submit > button, the server will know what products I select. > > How would you do this? Will you use other technology stack such as ajax, > jquery, etc? > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/3b7c61b7-647e-48c9-907a-3a52dad7c183%40googlegroups.com<https://groups.google.com/d/msgid/django-users/3b7c61b7-647e-48c9-907a-3a52dad7c183%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHqTbjkh7GA3SrT5sygyRZkKNXD9VGJVz8XAWsYj3yd4UiUwKg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.