-
Notifications
You must be signed in to change notification settings - Fork 10
/
eventframe-settings.py
44 lines (42 loc) · 1.26 KB
/
eventframe-settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- coding: utf-8 -*-
#: Site title
SITE_TITLE = 'HasGeek Eventframe'
#: Site id (for network bar)
SITE_ID = 'events'
#: Admin domains. The first is considered primary
ADMIN_HOSTS = ['0.0.0.0', '127.0.0.1', 'admin.in.pycon.org']
#: Using SSL?
USE_SSL = True
import os
dbpath = os.path.abspath("var/pyconindia.db")
#: Database backend
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + dbpath
#: Secret key
SECRET_KEY = 'make this something random'
#: Timezone
TIMEZONE = 'Asia/Calcutta'
#: LastUser server
LASTUSER_SERVER = 'https://auth.hasgeek.com/'
#: LastUser client id
LASTUSER_CLIENT_ID = 'Ft7DShD6TXuWWNQR3a23Ng'
#: LastUser client secret
LASTUSER_CLIENT_SECRET = 'SOmDVUGwTZSlc4V-HNIqvQzp53UkcyQDC-boHoE4zeLQ'
#: Path to site themes (must be an absolute path)
#THEME_PATHS = '../themes'
THEME_PATHS = 'themes'
#: Mail settings
#: MAIL_FAIL_SILENTLY : default True
#: MAIL_SERVER : default 'localhost'
#: MAIL_PORT : default 25
#: MAIL_USE_TLS : default False
#: MAIL_USE_SSL : default False
#: MAIL_USERNAME : default None
#: MAIL_PASSWORD : default None
#: DEFAULT_MAIL_SENDER : default None
MAIL_FAIL_SILENTLY = False
MAIL_SERVER = 'localhost'
DEFAULT_MAIL_SENDER = ('HasGeek', '[email protected]')
#: Logging: recipients of error emails
ADMINS = []
#: Log file
LOGFILE = 'error.log'