Files
kontor/kontor-piccolo/home/piccolo_app.py
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

22 lines
504 B
Python

"""
Import all of the Tables subclasses in your app here, and register them with
the APP_CONFIG.
"""
import os
from piccolo.conf.apps import AppConfig, table_finder
CURRENT_DIRECTORY = os.path.dirname(os.path.abspath(__file__))
APP_CONFIG = AppConfig(
app_name="home",
migrations_folder_path=os.path.join(
CURRENT_DIRECTORY, "piccolo_migrations"
),
table_classes=table_finder(modules=["home.tables"], exclude_imported=True),
migration_dependencies=[],
commands=[],
)