17 lines
359 B
Plaintext
17 lines
359 B
Plaintext
from piccolo.conf.apps import AppRegistry
|
|
from piccolo.engine.postgres import PostgresEngine
|
|
|
|
DB = PostgresEngine(
|
|
config={
|
|
"host": "example.com",
|
|
"user": "database",
|
|
"password": "password",
|
|
"database": "database",
|
|
}
|
|
)
|
|
|
|
|
|
# A list of paths to piccolo apps
|
|
# e.g. ['blog.piccolo_app']
|
|
APP_REGISTRY = AppRegistry(apps=[])
|