Can anyone explain this? (Python 2.7, Django 1.7)
foo = data[\'selected_items\'] (Pdb) foo (Pdb) *** NameError: name \'foo\' is not defined foo (Pdb) u\'1,2\' fo
When the statement appears in PDB, it hasn't actually been executed yet. It will be executed once you use 'next'.