<gh_stars>0
# Statement for enabling the development environment
DEBUG = True

# Define the application directory
import os
BASE_DIR = os.path.abspath(os.path.dirname(__file__))

# Application threads. A common general assumption is
# using 2 per available processor cores - to handle
# incoming requests using one and performing background
# operations using the other.
THREADS_PER_PAGE = 2

# Enable protection agains *Cross-site Request Forgery (CSRF)*
CSRF_ENABLED = True

# Use a secure, unique and absolutely secret key for
# signing the data.
CSRF_SESSION_KEY = "secret"

# Suppress warnings
SQLALCHEMY_TRACK_MODIFICATIONS = False

# Set secret key
SECRET_KEY = b'\<KEY>'

# Specify the folder for upload
UPLOAD_FOLDER = './app/static/img/db_img/'
MAX_IMAGE_FILESIZE = 0.5 * 1024 * 1024

# Statement for enabling the development environment
DEBUG = True

# Define the application directory
import os
BASE_DIR = os.path.abspath(os.path.dirname(__file__))

# Application threads. A common general assumption is
# using 2 per available processor cores - to handle
# incoming requests using one and performing background
# operations using the other.
THREADS_PER_PAGE = 2

# Enable protection agains *Cross-site Request Forgery (CSRF)*
CSRF_ENABLED = True

# Use a secure, unique and absolutely secret key for
# signing the data.
CSRF_SESSION_KEY = "secret"

# Suppress warnings
SQLALCHEMY_TRACK_MODIFICATIONS = False

# Set secret key
SECRET_KEY = b'\<KEY>'

# Specify the folder for upload
UPLOAD_FOLDER = './app/static/img/db_img/'
MAX_IMAGE_FILESIZE = 0.5 * 1024 * 1024
# Statement for enabling the development environment # Define the application directory # Application threads. A common general assumption is # using 2 per available processor cores - to handle # incoming requests using one and performing background # operations using the other. # Enable protection agains *Cross-site Request Forgery (CSRF)* # Use a secure, unique and absolutely secret key for # signing the data. # Suppress warnings # Set secret key # Specify the folder for upload