Couchdbkit Documentation

The django extension

There are a lot of people trying to integrate CouchDB in their Django application. Most of the implementations are very complicated. So I decided to release the code of couchdbkit extension for Django 1.0x.

This extension provides you a threadsafe access and management of documents and views in your django application with some useful tools specific to Django.

Formalchemy extension

In the Django extension, I wrote the object `DocumentForm` that allows you to create a Django Form class based on a Document class or instance of a Document.

But you don’t need to use Django to have this facility in your web application. If you use Pylons you may already know FormAlchemy. FormAlchemy was originaly developped to map SQLAlchemy object in a form but it now contains an extension for Couchdbkit too.

Getting started

This tutorial exposes key features of this library mainly through code
examples. For in-depth description of the modules, you’ll want to read
the API documentation.

If you have not installed couchdbkit yet, follow instructions on download page . Once you’ve done, you can write your first CouchDB document: