Files
kontor/kontor-blacksheep/piccolo_conf.py
T
Thomas Peetz 37e094e390
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
add kontor-blacksheep and kontor-piccolo as blueprints for new app
2026-06-03 15:59:59 +02:00

18 lines
409 B
Python

from piccolo.conf.apps import AppRegistry
from piccolo.engine.postgres import PostgresEngine
DB = PostgresEngine(
config={
"database": "api_project",
"user": "api_project",
"password": "api_project",
"host": "localhost",
"port": 5432,
}
)
# A list of paths to piccolo apps
# e.g. ['blog.piccolo_app']
APP_REGISTRY = AppRegistry(apps=["sql_app.piccolo_app"])