Hi folks,
I'm new to couchdbkit and I think I'm just misunderstanding some basic things...
I'm trying to get a single document using my document class. It's simply like:
class MyDoc(Document)
property = ...
nothing more...
But when I try to get it by
doc = Document.get('doc_id')
it says:
File "/...l/lib/python2.7/site-packages/couchdbkit/schema/base.py", line 469, in get
return db.get(docid, rev=rev, wrapper=cls.wrap)
AttributeError: 'str' object has no attribute 'get'
when I check Document._db it is the right assigned database for my app and the doc by doc_id really exists! What I'am misunderstanding?
Thanks & good night,
Simon