This is the same as
from couchdb import Document
Just quite common error(: Anyway, what's about document method call problem?
--
,,,^..^,,,
Take a look at User.is_authenticated method - it just returns itself(;
Other methods works as expected.
--
,,,^..^,,,
Take a look at User.is_authenticated method - it just returns itself(;
Other methods works as expected.
Yes, couchdb.Document and couchdb.mapping.Document are different.
First one if dict based class that represents raw CouchDB document as
it is, while second one tries to objectify it and give the warranty
that document would always have some fields with certain type.
--
,,,^..^,,,