b·bro-sba-py MODEL BUILDER
Runs in your browserDocumentation ↗
Visual model builder

Build your model.
Get the Python file.

Create Peewee model definitions and the bro-sba-py configuration methods with form controls. Watch the Python output update as you configure fields, APIs, admin behavior, and actions.

01 · MODEL

Project and model

◇

The generated model uses the existing db object from your project. Change this import if yours lives elsewhere.

Need a starting point?
02 · DATA

Fields

Define each Peewee field, then choose how bro-sba-py should use it when generating forms, search, and admin tables.

03 · ADMINAdmin dashboard and permissions⌄
Admin operations

Optional role lists protect API operations when authentication is enabled. Leave blank to use the project’s default access rules.

04 · AUTHAuthentication configuration⌄

Enable this on the model you want to use for project authentication. Also select the matching fields below.

05 · WORKFLOW

Custom actions

Add an API action, generate a supported operation, or create a stub for your own business logic.

06 · ADVANCEDCustom Python methods⌄

Optional Python code added inside the model class. The generator’s built-in settings are created above; this area is for methods specific to your app.