couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "GettingStartedWithPython" by PeterHoffmann
Date Sun, 21 Sep 2008 18:40:39 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by PeterHoffmann:
http://wiki.apache.org/couchdb/GettingStartedWithPython

The comment on the change is:
delete operations needs revid

------------------------------------------------------------------------------
              r = self.post(''.join(['/', dbName, '/']), body)
          prettyPrint(r)
  
+     def deleteDoc(self, dbName, docId):     
-     def deleteDoc(self, dbName, docId):     # XXX Crashed if resource is non-existent; not
so for DELETE on db. Bug?
+         # XXX Crashed if resource is non-existent; not so for DELETE on db. Bug?
+         # XXX Does not work any more, on has to specify an revid 
+         #     Either do html head to get the recten revid or provide it as parameter
          r = self.delete(''.join(['/', dbName, '/', docId]))
          prettyPrint(r)
  

Mime
View raw message