-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathplog.cfg
More file actions
35 lines (25 loc) · 767 Bytes
/
plog.cfg
File metadata and controls
35 lines (25 loc) · 767 Bytes
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
# vim:filetype=python
from datetime import timedelta
# SERVER_NAME = 'www.example.com'
SESSION_COOKIE_NAME = 'sid'
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SECURE = True
# SESSION_COOKIE_DOMAIN = None
PERMANENT_SESSION_LIFETIME = timedelta(days=7)
MONGODB_CONFIG = {
'db': 'plog',
# 'host': 'localhost',
# 'port': 27017,
# 'username': None,
# 'password': None,
}
# log of the number of bcrypt rounds used for
# encrypting passwords. higher is stronger.
BCRYPT_LOG_ROUNDS = 12
# timezone that dates are entered in in the admin UI
TIMEZONE = 'US/Eastern'
# included in the scripts area for non-admin pages
# TRACKER_CODE = "..."
# included in the <head> area, for things like
# google webmaster tools verification
# META_TAGS = "..."