Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 198 by SpaX...@gmail.com: Naming: mapping.Document conflicts with
client.Document
http://code.google.com/p/couchdb-python/issues/detail?id=198
Could we rename
mapping.Document
to
mapping.DocumentMap
to better avoid the naming confusion?
In addition, the documentation at
http://packages.python.org/CouchDB/mapping.html
says (mine emphasised)
To define a document mapping, you declare a Python class inherited from
**Document**, and add any number of Field attributes:
Please change that to
To define a document mapping, you declare a Python class inherited from
**mapping.DocumentMap**, and add any number of Field attributes:
This will probably break a lot of things, and is a breaking change, but
would be nice to see.