Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

djangotoolbox provides a common API for running Django on non-relational/NoSQL databases (currently via Django-nonrel).

In djangotoolbox.db you can find base classes for writing non-relational DB backends. Read Writing a non-relational Django backend for more information.

In djangotoolbox.fields you can find several common field types for non-relational DB backends (ListField, SetField, DictField, RawField, BlobField).

The djangotoolbox.admin module provides admin overrides for making django.contrib.auth work correctly in the admin UI. Simply add 'djangotoolbox' to INSTALLED_APPS after django.contrib.admin. This will disable features that require JOINs. If you still need permission handling you should use the nonrel permission backend.

Changelog

Version 0.9.1

  • Added lazy model lookups to EmbeddedModelField
  • Simplified CapturingTestSuiteRunner by using Django's integrated unittest2 package
  • Several new unit tests

Version 0.8.1

  • Added default implementation for check_aggregate_support(). Contributed by Jonas Haag
  • Added ListField/etc. support for fields that require SubfieldBase

Version 0.8

This release unifies the field types of all existing nonrel backends.

  • Merged with ListField from MongoDB backend. Contributed by Jonas Haag
  • Added SetField, DictField, and RawField. Contributed by Jonas Haag
  • Fixed support for proxy models. Contributed by Vladimir Mihailenco
  • Several cleanups and minor bug fixes

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.