Traceback (most recent call last):


 "C:\Users\dev\PycharmProjects\books\venv\lib\site-packages\django_elasticsearch_dsl\fields.py", line 59, in get_value_from_instance

instance = getattr(instance, attr)
AttributeError: 'BookType' object has no attribute 'price'

Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/py3.4/lib/multiprocessing/spawn.py", line 106, in spawn_main

exitcode = _main(fd)


 "/py3.4/lib/multiprocessing/spawn.py", line 116, in _main

self = pickle.load(from_parent)


 "/root/GetVar.py", line 7, in <module>

get_var( 'A', None )


 "/py3.4/lib/site-packages/doit/doit_cmd.py", line 35, in get_var

return _CMDLINE_VARS.get(name, default)
AttributeError: 'NoneType' object has no attribute 'get'
