Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


create_view -> create_design_doc #5

wants to merge 1 commit into from

5 participants


The method currently calls RestClient.create_view, which doesn't exist. This patch calls RestClient.create_design_doc instead.


So... any chance of this getting pulled in? The python client is unusable without being able to create views.

no reason to pull, this has already been fixed. please check and close the pull


Currently it's design_create in the new API

@ingenthr ingenthr closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  couchbase/
2  couchbase/
@@ -284,7 +284,7 @@ def save(self, document):
view = key.split('/')[1]
rest = self.server._rest()
- rest.create_view(self.bucket_name, view, json.dumps(value))
+ rest.create_design_doc(self.bucket_name, view, json.dumps(value))
if '_rev' in value:
# couchbase works in clobber mode so for a "set" _rev is useless
Something went wrong with that request. Please try again.