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