Skip to content

Commit 87d1a00

Browse files
committed
feat: add cookiecutter template and update dependencies in pyproject.toml
1 parent 3983044 commit 87d1a00

3 files changed

Lines changed: 322 additions & 6 deletions

File tree

cookiecutter.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"project_name": "My Awesome Project",
3+
"project_slug": "{{ cookiecutter.project_name.lower()|replace(' ', '_')|replace('-', '_')|replace('.', '_')|trim() }}",
4+
"customer": "",
5+
"username_type": [
6+
"username",
7+
"email"
8+
],
9+
"postgresql_version": [
10+
"17",
11+
"16",
12+
"15"
13+
],
14+
"mail_smtp": "n",
15+
"_extensions": ["jinja2_time.TimeExtension"]
16+
}

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ name = "cc-django"
33
version = "0.1.0"
44
description = "Cookiecutter for Django projects singularIT"
55
requires-python = ">=3.12"
6-
dependencies = []
6+
dependencies = [
7+
"cookiecutter>=2.6.0",
8+
"pre-commit>=4.2.0",
9+
]
710

811
[dependency-groups]
912
dev = [
10-
"pre-commit>=4.2.0",
1113
]

0 commit comments

Comments
 (0)