Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.03 KB

readme.md

File metadata and controls

39 lines (34 loc) · 1.03 KB

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