Skip to content

Commit

Permalink
Fixed dummy model. (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rius authored Jul 20, 2023
1 parent e650ff7 commit 7bf6e06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fastapi_template/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ def checker(ctx: BuilderContext) -> bool:
code="add_dummy",
cli_name="dummy",
user_view="Add dummy model",
is_hidden=lambda ctx: ctx.orm == "none",
description=(
"This option creates {what} as an example of how to use chosen ORM.\n"
"Also this option will generate you an example of {dao}.".format(
Expand Down

0 comments on commit 7bf6e06

Please sign in to comment.