mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00

It can be used to protect specific endpoints with ADMIN_PASSWORD (a password that is stored unencrypted in the settings) The decorator has no effect if ADMIN_PASSWORD is an empty string (default value)
14 lines
355 B
Python
14 lines
355 B
Python
DEBUG = False
|
|
SQLALCHEMY_DATABASE_URI = 'sqlite:///budget.db'
|
|
SQLACHEMY_ECHO = DEBUG
|
|
# Will likely become the default value in flask-sqlalchemy >=3 ; could be removed
|
|
# then:
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
|
|
|
SECRET_KEY = "tralala"
|
|
|
|
MAIL_DEFAULT_SENDER = ("Budget manager", "budget@notmyidea.org")
|
|
|
|
ACTIVATE_DEMO_PROJECT = True
|
|
|
|
ADMIN_PASSWORD = ""
|