django-nonrel / djangotoolbox

Django tools for building nonrel backends
BSD 3-Clause "New" or "Revised" License
200 stars 125 forks source link

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_.

.. _Django-nonrel: http://django-nonrel.org/ .. _Writing a non-relational Django backend: http://www.allbuttonspressed.com/blog/django/2010/04/Writing-a-non-relational-Django-backend .. _nonrel permission backend: https://github.com/django-nonrel/django-permission-backend-nonrel