-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcopier.yml
More file actions
31 lines (26 loc) · 782 Bytes
/
Copy pathcopier.yml
File metadata and controls
31 lines (26 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
_subdirectory: src
# questions
project_name:
type: str
help: What is your Django App name?
default: "{{ _copier_conf.dst_path | basename }}"
module_name:
type: str
help: What is your Python module name?
default: "{{ project_name | lower | replace('-', '_') | replace(' ', '_') }}"
project_description:
type: str
help: Please describe what your app does in a few words
github_username:
type: str
help: What is your GitHub username or organization name?
secret_key:
type: str
default: |-
{% set chars = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)' -%}
{% set key = namespace(value='') -%}
{% for _ in range(50) -%}
{% set key.value = key.value + (chars | random) -%}
{% endfor -%}
{{ key.value }}
when: false