Revision 43e360e3

b/settings.py.dist
4 4
import djcelery
5 5
djcelery.setup_loader()
6 6
from celery.schedules import crontab
7
DEBUG = True
7
DEBUG = False
8 8
TEMPLATE_DEBUG = DEBUG
9 9

  
10 10
ADMINS = (
......
19 19

  
20 20
DATABASES = {
21 21
    'default': {
22
        'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
23
        'NAME': '',                      # Or path to database file if using sqlite3.
22
        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
23
        'NAME': 'flowspec',                      # Or path to database file if using sqlite3.
24 24
        'USER': '',                      # Not used with sqlite3.
25 25
        'PASSWORD': '',                  # Not used with sqlite3.
26 26
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
......
103 103
    'django.contrib.auth.middleware.AuthenticationMiddleware',
104 104
    'django.contrib.messages.middleware.MessageMiddleware',
105 105
    'django.middleware.cache.FetchFromCacheMiddleware',
106
    'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
106 107
)
107 108

  
108 109
AUTHENTICATION_BACKENDS = (
......
112 113

  
113 114
ROOT_URLCONF = 'flowspy.urls'
114 115

  
115
STATIC_URL = ''
116
STATIC_URL = '/path/to/static'
116 117

  
117 118
TEMPLATE_DIRS = (
118
    '/home/leopoul/projects/flowspy/templates/',
119
    '/path/to/templates/',
119 120
    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
120 121
    # Always use forward slashes, even on Windows.
121 122
    # Don't forget to use absolute paths, not relative paths.
......
128 129
    'django.contrib.sessions',
129 130
    'django.contrib.sites',
130 131
    'django.contrib.messages',
132
    'django.contrib.flatpages',
131 133
    'flowspec',
132 134
    'poller',
133 135
#    'south',
......
179 181

  
180 182
BROKER_URL = "beanstalk://localhost:11300//"
181 183

  
182
SHIB_AUTH_AFFILIATION = 'urn:mace:grnet.gr:pki:user'
184
SHIB_AUTH_AFFILIATION = 'urn:mace'
183 185
SHIB_ADMIN_DOMAIN = 'grnet.gr'
184 186
SHIB_LOGOUT_URL = 'https://netdev.grnet.gr/Shibboleth.sso/Logout'
185 187

  
186
HELPDESK_MAIL = ""
187
NOC_MAIL = ""
188
# BCC mail addresses
189
NOTIFY_ADMIN_MAILS = ["admin@admin.com"]
188 190

  
189 191
UI_USER_THEN_ACTIONS = ['discard', 'rate-limit']
190 192

  
......
197 199
        "schedule": crontab(minute=01, hour=01),
198 200
        "args": (),
199 201
    },
200
}
202
}
203

  
204

  

Also available in: Unified diff