forked from PowerUpWithPride/donation-tracker-toplevel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
local_statics.py
executable file
·71 lines (51 loc) · 1.77 KB
/
local_statics.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import os
ALLOWED_HOSTS = ['localhost']
# this is used as part of the auto-mailing services to identify where
# to redirect registration and password resets to
DOMAIN = 'localhost'
PAYPAL_DOMAIN = 'http://localhost'
# Leave this as true during development, so that you get error pages describing what went wrong
DEBUG = True
# You can add your e-mail if you want to receive notifications of failures I think , but its probably not a good idea
ADMINS = [
]
# You can also make local sqlite databases in your current directory
# if you want to test changes to the data model
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'db/testdb',
},
}
TIME_ZONE = 'Europe/Stockholm'
SITE_NAME = 'Demo Tracker'
SITE_NAME_SHORT = 'Demo'
# set this to your site's prefix, This allows handling multiple deployments from a common url base
SITE_PREFIX = '/'
SECRET_KEY = 'Replace This'
STATICFILES_DIRS = (
# os.path.abspath('tracker/static/'),
os.path.abspath('donation-tracker/tracker/static/'),
)
STATIC_URL = "/static" + SITE_PREFIX
STATIC_ROOT = "/var/www/html/static" + SITE_PREFIX
HAS_GDOC = False
# GDOC_USERNAME = '[email protected]'
# GDOC_PASSWORD = '12345678'
HAS_EMAIL = False
#EMAIL_HOST = ''
#EMAIL_PORT = 465
#EMAIL_HOST_USER = ''
#EMAIL_HOST_PASSWORD = ''
#EMAIL_FROM_USER = ''
#EMAIL_USE_TLS = False
#EMAIL_USE_SSL = False
HAS_GOOGLE_APP_ID = False
# GOOGLE_CLIENT_ID = 'the.google.apps.url.thingy'
# GOOGLE_CLIENT_SECRET = 'secretpasswordthing'
HAS_GIANTBOMB_API_KEY = False
# GIANTBOMB_API_KEY = 'Itsreallynicetohaveanditsfreetomakeanaccountbutnotneccessary'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
USE_NEW_DONATE_LAYOUT = False
USE_AMQP = False
#AMQP_CONNECTIONSTRING = "amqps://username:[email protected]/v_host"