handypiamap / settings_local.py

DATABASE_ENGINE = 'sqlite3'  # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'cmap.sql'       # Or path to database file if using sqlite3.
DATABASE_USER = ''             # Not used with sqlite3.
DATABASE_PASSWORD = ''       # Not used with sqlite3.
DATABASE_HOST = ''      # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.

PERSISTENT_SESSION_KEY = 'sessionpersistent'
SESSION_COOKIE_AGE = 120960

GMAP_SECRET_KEY =  "ABQIAAAAiehfuX-3OQswVoGEWkc9zxQCULP4XOMyhPd8d_NrQQEO8sT8XBRpvrdNmehejY7_aw8JHlSLZh9DIA"

ACCOUNT_ACTIVATION_DAYS = 7 # One-week activation window; you may, of course, use a different value.
EMAIL_HOST = 'jacob.iptime.org:2030'
DEFAULT_FROM_EMAIL = 'ygpark2@gmail.com'
LOGIN_REDIRECT_URL = '/'

EMAIL_HOST='smtp.gmail.com'
EMAIL_USE_TLS=1
EMAIL_PORT=587
EMAIL_HOST_USER='gmail_id'
EMAIL_HOST_PASSWORD='gmail_password'

AUTH_PROFILE_MODULE = 'accounts.UserProfile'

USE_CAPTCHA = True
CAPTCHA_FONT_PATH = 'fonts/etl24-unicode.pil'
CAPTCHA_FONT_SIZE = 22
CAPTCHA_LETTER_ROTATION = (-35,35)
CAPTCHA_FOREGROUND_COLOR = '#001100'
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.random_char_challenge'
CAPTCHA_NOISE_FUNCTIONS = ('captcha.helpers.noise_arcs','captcha.helpers.noise_dots',)
CAPTCHA_FILTER_FUNCTIONS = ('captcha.helpers.post_smooth',)
CAPTCHA_WORDS_DICTIONARY = '/usr/share/dict/words'
CAPTCHA_FLITE_PATH = None
CAPTCHA_TIMEOUT = 5
CAPTCHA_LENGTH = 4
CAPTCHA_DICTIONARY_MIN_LENGTH = 0
CAPTCHA_DICTIONARY_MAX_LENGTH = 99

STATIC_URL = '/site_media/'

HANDYPIAMAP_SETTINGS = {
    'MAP_BASE': '/handypiamap',
    'MULTISHOP': False,
    'PRODUCT_SLUG': 'items',
    'SSL':  True,
}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.