Revision 619b1c87 settings.py.dist

b/settings.py.dist
1 1
# -*- coding: utf-8 -*-
2 2

  
3 3
# Django settings for synnefo project.
4
import os
5

  
6
PROJECT_PATH = os.path.dirname(os.path.abspath(__file__)) + '/'
4 7

  
5 8
DEBUG = True
6 9
TEMPLATE_DEBUG = DEBUG
......
16 19
        'ENGINE': 'sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
17 20
         # ATTENTION: This *must* be the absolute path if using sqlite3.
18 21
         # See: http://docs.djangoproject.com/en/dev/ref/settings/#name
19
        'NAME': '/FIX/ME/NOW/database.sqlite',
22
        'NAME': PROJECT_PATH + 'database.sqlite',
20 23
        'USER': '',                      # Not used with sqlite3.
21 24
        'PASSWORD': '',                  # Not used with sqlite3.
22 25
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.

Also available in: Unified diff