-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathlocal_settings.py.example
56 lines (46 loc) · 2.13 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
from artshowjockey.common_settings import *
# This is, probably, the minimum set of settings attributes that
# should be specified for your installation.
# With debugging off, details of errors will be e-mailed to the following people.
ADMINS = (
# ('Your Name', '[email protected]'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '/PROJDIR/data/artshowjockey.db', # 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': '', # Set to empty string for default. Not used with sqlite3.
}
}
STATIC_ROOT = '/PROJDIR/static/'
ARTSHOW_SHOW_NAME = "Generic Art Show"
ARTSHOW_TAX_RATE = "0.0825"
ARTSHOW_TAX_DESCRIPTION = "Santa Clara CA Tax 8.25%"
ARTSHOW_EMAIL_SENDER = "Generic Art Show <[email protected]>"
ARTSHOW_COMMISSION = "0.1"
ARTSHOW_INVOICE_PREFIX = "2012-"
ARTSHOW_EMAIL_FOOTER = """\
--
Random J Hacker
Generic Art Show Lead.
[email protected] - http://www.example.com/artshow
"""
ARTSHOW_CHEQUE_THANK_YOU = "Thank you for exhibiting at Generic Art Show"
ARTSHOW_PRINT_COMMAND = "enscript -P Samsung -B -L 66 -f Courier-Bold10 -q"
ARTSHOW_AUTOPRINT_INVOICE = [ "CUSTOMER COPY", "MERCHANT COPY", "PICK LIST" ]
ARTSHOW_BLANK_BID_SHEET = "artshow/files/blank_bid_sheet.pdf"
ARTSHOW_SCANNER_DEVICE = "/dev/ttyUSB0"
SITE_NAME = ARTSHOW_SHOW_NAME
SITE_ROOT_URL = "http://www.example.com"
# Type about 40 random characters between the quotes. Don't share this with anyone.
SECRET_KEY = ""
# This check is prevent folks doing something silly and getting hacked. Remove at your peril.
assert len(SECRET_KEY)>20, "Secret key cannot be empty or short. Please edit local_settings.py"
# Visit https://www.google.com/recaptcha/admin/create to create a keypair
RECAPTCHA_PUBLIC_KEY = "YOUR_PUBLIC_KEY"
RECAPTCHA_PRIVATE_KEY = "YOUR_PRIVATE_KEY"
ARTSHOW_CHEQUES_AS_PDF = True