Watches error displaying contents of boundfield from Django template

I recieve an error (see screen shot) when trying to evaluate a boundfield object form a formset in Django templates.

In the template, I do form.var_name.value to get the value.  In the PyCharm debugger, I need to use form['var_name'] to evaluate the object, but can't access it's value.  When I try to open the object in the Watches windows, I get this error.

NOTE: I don't see the screen shot as visible so here's the error:

Unable to display children:Error resolving variables Traceback (most recent call last):
  File "/home/vagrant/.pycharm_helpers/pydev/pydevd_comm.py", line 932, in doIt
    valDict = pydevd_vars.resolveCompoundVariable(self.thread_id, self.frame_id, self.scope, self.attributes)
  File "/home/vagrant/.pycharm_helpers/pydev/pydevd_vars.py", line 231, in resolveCompoundVariable
    var = getVariable(thread_id, frame_id, scope, attrs)
  File "/home/vagrant/.pycharm_helpers/pydev/pydevd_vars.py", line 223, in getVariable
    var = resolver.resolve(var, k)
  File "/home/vagrant/.pycharm_helpers/pydev/pydevd_resolver.py", line 225, in resolve
    return dict[key]
KeyError: u'__py_debug_temp_var_584492599'
0

Please sign in to leave a comment.