-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlocal_settings.py.example
64 lines (46 loc) · 1.79 KB
/
local_settings.py.example
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# -*- coding: utf-8 -*-
from global_settings import *
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
# For development:
'ENGINE': 'django.db.backends.sqlite3',
# For deployment:
#'ENGINE': 'django.contrib.gis.db.backends.postgis', # Or use 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'
'NAME': 'tasket', # Database name, or path to database file if using sqlite3
'USER': '', # Not used with sqlite3
'PASSWORD': '', # Not used with sqlite3
'HOST': '', # Set to empty string for localhost. Not used with sqlite3
'PORT':''
}
}
# ! MAKE THIS False ON DEPLOY !
DEBUG = True
TEMPLATE_DEBUG = DEBUG
# How many tasks a hub can have - for the Notepad app, use -1
TASK_LIMIT = 10
# How many tasks a user can claim - for the Notepad app, use -1
CLAIMED_LIMIT = 5
# Maximum task estimate
TASK_ESTIMATE_MAX = 14400
# Time limit on completing a task
CLAIMED_TIME_LIMIT = 72
DONE_TIME_LIMIT = 72
# Whether or not normal users can create hubs (admins can always create them)
USERS_CAN_CREATE_HUBS = True
# If a task is set to state "done" by its owner, then automatically verify it (see js/models/task.js)
AUTOVERIFY_TASKS_DONE_BY_OWNER = True
# Email messages from
DEFAULT_FROM_EMAIL = "Tasket Robot <tasket-robot@example.com>"
# Email routing
# EMAIL_PORT = 25
# EMAIL_HOST = "localhost"
# Turn CORS on or off (default: False)
# CROSS_DOMAIN = False
# All top-level pages that should be made accessible
INDEX_PATHS = ["tank.html", "notepad.html",]
# Uncomment the next line to change the default index files from tank.html to notepad.html
# DEFAULT_INDEX_FILE = "notepad.html"