Re: filter.update

2019-10-11 Thread Adam Mičuda
Hi, it is not working, because it is not valid python. Use Mydbtable.filter(column = value).update(**{mylist[0]: value}) instead. And keep in mind that value of mylist[0] (any dict key in general) must meet the some criteria to be valid dict key. See https://wiki.python.org/moin/DictionaryKeys

filter.update

2019-10-11 Thread Luca Bertolotti
sorry but i have a big problem I have this mylist = ['a','b','c'] than Mydbtable.filter(column = value),update(mylist[0]=value) why update never accept mylist[0] there is a solution? regards -- You received this message because you are subscribed to the Google Groups "Django users" group. T