From 3d1ac4a4301f5955b3a8849052db1ed1c5f82a0b Mon Sep 17 00:00:00 2001 From: ftsell Date: Wed, 14 Feb 2024 09:52:19 +0100 Subject: [PATCH] calculate project_slug from project_name --- cookiecutter.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookiecutter.json b/cookiecutter.json index 4ca1ddc..e8d5968 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -1,6 +1,6 @@ { - "project_slug": "", - "project_name": "{{ cookiecutter.project_slug }}", + "project_name": "", + "project_slug": "{{ cookiecutter.project_name | slugify(separator='_') }}", "author": "Fachschaft Informatik der Universität Hamburg (Mafiasi-AG)", "openid_scope": "openid" }