Skip to content

Commit 126bd64

Browse files
committed
Revert "Remove requirement that app_name cannot contain curly braces"
This reverts commit cbd48cd.
1 parent cbd48cd commit 126bd64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

copier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ app_name:
55
type: str
66
help: The name of the app
77
validator: >-
8-
{% if not (app_name) %}
9-
The app name can not be empty.
8+
{% if not (app_name | regex_search('^[a-z0-9\-_]+$')) %}
9+
The app name can not be empty and should only contain lower case letters, digits, dashes, and underscores.
1010
{% endif %}
1111
1212
app_local_port:

0 commit comments

Comments
 (0)