django-dockit 0.0.13

Introduction

Django-DocKit provides a Document ORM in django. DocKit attempts to provide a batteries included experience while preserving django's various conventions.

Features

  • Backendable support for document and index storage
    • Mongodb
    • Django Model with support for celery or ztask indexing
  • Integrates with hyperadmin (https://github.com/zbyte64/django-hyperadmin)
    • Supports inlines
    • List Field support
    • Supports editing documents with deeply nested schemas
  • Class based views
  • Django forms support
  • Dynamically typed documents and schemas
  • Document and Index routing to multiple backends

Help & Feedback

We have a mailing list for general discussion and help: http://groups.google.com/group/django-dockit/

Installation

Requirements

  • Python 2.6 or later
  • Django 1.3 or later

Settings

Put 'dockit' into your INSTALLED_APPS section of your settings file.

Configuring Document Store Backend

Django Document

Set the following in your settings file:

DOCKIT_BACKENDS = {
    'default': {
        'ENGINE': 'dockit.backends.djangodocument.backend.ModelDocumentStorage',
    }
}
DOCKIT_INDEX_BACKENDS = {
    'default': {
        'ENGINE': 'dockit.backends.djangodocument.backend.ModelIndexStorage',
    },
}

#Uncomment to use django-ztask for indexing
#DOCKIT_INDEX_BACKENDS['default']['INDEX_TASKS'] = 'dockit.backends.djangodocument.tasks.ZTaskIndexTasks'

#Uncomment to use django-celery for indexing
#DOCKIT_INDEX_BACKENDS['default']['INDEX_TASKS'] = 'dockit.backends.djangodocument.tasks.CeleryIndexTasks'

Then add 'dockit.backends.djangodocument' to INSTALLED_APPS

Mongodb

Set the following in your settings file:

DOCKIT_BACKENDS = {
    'default': {
        'ENGINE':'dockit.backends.mongo.backend.MongoDocumentStorage',
        'USER':'travis',
        'PASSWORD':'test',
        'DB':'mydb_test',
        'HOST':'127.0.0.1',
        'PORT':27017,
    }
}
DOCKIT_INDEX_BACKENDS = {
    'default': {
        'ENGINE':'dockit.backends.mongo.backend.MongoIndexStorage',
        'USER':'travis',
        'PASSWORD':'test',
        'DB':'mydb_test',
        'HOST':'127.0.0.1',
        'PORT':27017,
    },
}
New BSD License

Author

Jason Kraus

Pip

django-dockit==0.0.13

Classifiers

  • Topic :: Internet :: WWW/HTTP :: Dynamic Content
  • Programming Language :: Python
  • Operating System :: OS Independent
  • Natural Language :: English
  • Intended Audience :: Developers
  • Development Status :: 3 - Alpha
File Type Python Version Uploaded On Downloads
django-dockit-0.0.13.tar.gz Source April 11, 2013 1,352
Version Release Date
0.0.13 April 11, 2013
0.0.12 May 2, 2012
0.0.11 March 21, 2012
0.0.10 March 10, 2012
0.0.9 March 10, 2012
0.0.8 March 8, 2012
0.0.7 March 2, 2012
0.0.6 Feb. 24, 2012
0.0.5 Feb. 24, 2012
0.0.4 Feb. 22, 2012
0.0.3 Feb. 16, 2012
Date Package Version Action
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.12 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.13 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.10 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.11 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.8 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.9 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.3 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.6 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.7 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.4 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit 0.0.5 Release Created
Nov. 4, 2014, 1:07 p.m. django-dockit Package Created