/rqlite-django

Django Backend for the Rqlite Database

Primary LanguagePythonMIT LicenseMIT

django-rqlite

(UNTESTED) rqlite backend for django

untested: because django has a huge list of features for sqlite which cannot be tested. further )

INSTALL

git clone https://github.com/sum12/rqlite-django
pip install ./rqlite-django
git clone https://github.com/rqlite/pyrqlite
pip install ./pyrqlite

USAGE

in settings.py of your Django

DATABASES = {
    'default': {
        'ENGINE': 'rqlite.djangobackend',
        OPTIONS':{
            'host': 'localhost',    # default
            'port': 4001            # default
        }
    }
}

Missing Functionality

Django has a huge number of functions added on top of plain SQLite, to provide advanced manipulations have a look here, these function cannot be used anymore as they are no longer available in go.

For more information: rqlite/rqlite#523