Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / synnefo / webproject / settings / default / database.py @ 5505e60c

History | View | Annotate | Download (970 Bytes)

1
# Database settings
2
####################
3

    
4

    
5
DATABASES = {
6
    'default': {
7
        # Available values 'postgresql_psycopg2', 'postgresql','mysql',
8
        # 'sqlite3' or 'oracle'
9
        'ENGINE': 'sqlite3',
10

    
11
         # ATTENTION: This *must* be the absolute path if using sqlite3.
12
         # See: http://docs.djangoproject.com/en/dev/ref/settings/#name
13
        'NAME': '/usr/share/synnefo/synnefo_database.sqlite',
14

    
15
        'USER': '',                      # Not used with sqlite3.
16

    
17
        'PASSWORD': '',                  # Not used with sqlite3.
18
        # Set to empty string for localhost. Not used with sqlite3.
19

    
20
        'HOST': '',
21

    
22
        # Set to empty string for default. Not used with sqlite3.
23
        'PORT': '',
24

    
25
        # Uncomment the following lines if you use mysql database
26
        #'OPTIONS': {
27
        #    'init_command': 'SET storage_engine=INNODB; ' +
28
        #        'SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED',
29
        #}
30
    }
31
}
32