Project

General

Profile

Revision 9791e4f3

Added by Marc Nicolas almost 9 years ago

Mise en place de la nouvelle API Pygal avec le nouveau bar_chart

View differences:

webstatDev/idoc_Maison/idoc/settings.py
59 59
# Database
60 60
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
61 61

  
62
DATABASES = {
63
    'default': {
64
        'ENGINE': 'django.db.backends.sqlite3',
65
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
66
    }
67
}
68
'''
62
#DATABASES = {
63
#    'default': {
64
#        'ENGINE': 'django.db.backends.sqlite3',
65
#        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
66
#    }
67
#}
69 68
DATABASES = {
70 69
    'default': {
71 70
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
72
        'NAME':  'webstat_DB_TEST',
71
        'NAME':  'webstat_DB',
73 72
        'USER': 'postgres',
74 73
        'PASSWORD': '',
75 74
        'HOST': 'localhost',
76 75
        'PORT': 5432
77 76
    }
78 77
}
79
'''
78

  
79

  
80 80

  
81 81
# Internationalization
82 82
# https://docs.djangoproject.com/en/1.7/topics/i18n/
......
100 100
APPEND_SLASH = True
101 101

  
102 102
STATICFILES_DIRS = (
103
    "/home/marc/MyDev/sitools-idoc/webstatDev/idoc_Maison/static/",
103
    "/home/marc/Projet/idoc_Maison/static/",
104 104
)
105 105
TEMPLATE_DIRS = (
106
    "/home/marc/MyDev/sitools-idoc/webstatDev/idoc_Maison/templates/",
106
    "/home/marc/Projet/idoc_Maison/templates/",
107 107
)
108 108

  

Also available in: Unified diff