app.config

Attributes

appTimezoneStr

appTimezone

s3

Classes

Config

Configuration class for the Flask application.

Module Contents

app.config.appTimezoneStr[source]
app.config.appTimezone[source]
app.config.s3[source]
class app.config.Config[source]

Configuration class for the Flask application.

This class contains the configuration for the Flask application, including database connection, email settings. Most of these are read from environment variables using the decouple library.

BASEDIR = b'.'[source]
CSRF_ENABLED = True[source]
APP_NAME[source]
APP_ROOT_URL[source]
TIMEZONE[source]
FLASK_DEBUG[source]
FLASK_RUN_CERT[source]
SQLALCHEMY_DATABASE_URI[source]
SECRET_KEY[source]
SQLALCHEMY_ENGINE_OPTIONS[source]
SQLALCHEMY_TRACK_MODIFICATIONS = False[source]
S3_BUCKET_NAME[source]
S3_ENDPOINT[source]
S3_KEY[source]
S3_SECRET[source]
MAIL_FROM[source]
MAIL_SERVER[source]
MAIL_PORT[source]
MAIL_USE_TLS[source]
MAIL_USE_SSL[source]
MAIL_USERNAME[source]
MAIL_PASSWORD[source]
MAIL_DEBUG[source]
GOOGLE_CLIENT_ID[source]
GOOGLE_CLIENT_SECRET[source]
RECAPTCHA_SITE_KEY[source]
RECAPTCHA_SECRET_KEY[source]
STRIPE_PUBLISHABLE_KEY[source]
STRIPE_SECRET_KEY[source]
STRIPE_WEBHOOK_SECRET[source]
STRIPE_PRODUCT_ID_FOR_CREDITS[source]
STRIPE_CREDIT_UNIT_COST[source]