NuoDB Extension for Django
Project description
# NuoDB - Django
[](https://travis-ci.org/nuodb/nuodb-django)
This is the official Django adapter for [NuoDB](http://www.nuodb.com). It leverages the [NuoDB Python Driver](https://github.com/nuodb/nuodb-python).
### Requirements
If you haven't already, [Download and Install NuoDB](http://nuodb.com/download-nuodb/)
In the settings.py file in your project, set the `USE_TZ` flag to False. This is done because the timezone is detected when the connection is created.
Set the `ENGINE` field in the `DATABASES/default` dictionary in settings.py to the django_pynuodb folder (if you installed using pip this is just `django_pynuodb`)
You can optionally set the schema by adding a `SCHEMA` field in the `DATABASES/default` dictionary in settings.py, if the schema is not specified it will default to `USER`
### Setup
1 - git clone https://github.com/nuodb/nuodb-django.git
or install with pip
2 - pip install django_pynuodb
### Sample
Here is a sample database dictionary
```
DATABASES = {
'default': {
'ENGINE': 'django_pynuodb',
'NAME': 'test',
'USER': 'dba',
'SCHEMA': '', # optional
'PASSWORD': 'goalie',
'HOST': 'localhost',
'PORT': '48004',
}
}
```
Set the `USE_TZ` flag to `False`
```
USE_TZ = False
```
### License
[NuoDB License](https://github.com/nuodb/nuodb-drivers/blob/master/LICENSE)
[](https://travis-ci.org/nuodb/nuodb-django)
This is the official Django adapter for [NuoDB](http://www.nuodb.com). It leverages the [NuoDB Python Driver](https://github.com/nuodb/nuodb-python).
### Requirements
If you haven't already, [Download and Install NuoDB](http://nuodb.com/download-nuodb/)
In the settings.py file in your project, set the `USE_TZ` flag to False. This is done because the timezone is detected when the connection is created.
Set the `ENGINE` field in the `DATABASES/default` dictionary in settings.py to the django_pynuodb folder (if you installed using pip this is just `django_pynuodb`)
You can optionally set the schema by adding a `SCHEMA` field in the `DATABASES/default` dictionary in settings.py, if the schema is not specified it will default to `USER`
### Setup
1 - git clone https://github.com/nuodb/nuodb-django.git
or install with pip
2 - pip install django_pynuodb
### Sample
Here is a sample database dictionary
```
DATABASES = {
'default': {
'ENGINE': 'django_pynuodb',
'NAME': 'test',
'USER': 'dba',
'SCHEMA': '', # optional
'PASSWORD': 'goalie',
'HOST': 'localhost',
'PORT': '48004',
}
}
```
Set the `USE_TZ` flag to `False`
```
USE_TZ = False
```
### License
[NuoDB License](https://github.com/nuodb/nuodb-drivers/blob/master/LICENSE)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_pynuodb-0.5.tar.gz
(13.9 kB
view details)
File details
Details for the file django_pynuodb-0.5.tar.gz.
File metadata
- Download URL: django_pynuodb-0.5.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
139a78356735a4cbae03c9bb44856ffa03ec0832c7d5fe3fe1a6415725ae7dba
|
|
| MD5 |
8a8ea52931ab996a2b07559de039ce01
|
|
| BLAKE2b-256 |
9a35010212b53f011c4bbd2bc6335b317a4b032d33efb615f5d97047d69dfd83
|