Execute view logic without page change | Add item to list

2019-03-17 Thread Aris Almpanis
Hello all, Django newbie here so sorry for any mistargeted questions! I am building an app for handling user orders and I would like to track each user's add item request, pretty much like an 'add product to cart' functionality. At the moment I have a detail view where there is the option of add

Re: add item to list

2018-07-05 Thread Oladipupo Elegbede
First, you need to know how to add items to an existing list. x = ['egg'] s = 'spam' x.append(s) x = ['egg', 'spam'] This is basic python. Back to Django, how are you accessing the item you want to add to the list? What logic do you have already for the list. If you throw a little more light,

Re: add item to list

2018-07-05 Thread Kasper Laudrup
Hi Mustafa, On 2018-07-05 14:56, Mustafa Ryad wrote: How canĀ  i add item to this is list You need to provide a lot more context if anyone should be able to help you. Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" gr

add item to list

2018-07-05 Thread Mustafa Ryad
How can i add item to this is list -- 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