I'm confused with how django adds elements to a list. consider the following:
if we add a print statement after request.session['tasks'].append(task) we get a list:
we also get the same list if we comment the append line and use the correct way with +=
However, on the redirect to task/index the first way shows an empty list and the second way shows the list that's expected. Why? Whats going on?