From 3062e9b027adcdd6b521f858a3363c5f9ab3c43e Mon Sep 17 00:00:00 2001 From: Nick Gatti Date: Fri, 17 May 2024 13:48:55 -0700 Subject: [PATCH 1/2] Fix version string to follow variable --- .../{{cookiecutter.underscored}}/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.hyphenated}}/{{cookiecutter.underscored}}/__init__.py b/{{cookiecutter.hyphenated}}/{{cookiecutter.underscored}}/__init__.py index 0b28614..6798bac 100644 --- a/{{cookiecutter.hyphenated}}/{{cookiecutter.underscored}}/__init__.py +++ b/{{cookiecutter.hyphenated}}/{{cookiecutter.underscored}}/__init__.py @@ -12,7 +12,7 @@ class {{ cookiecutter.__model_name }}Config(PluginConfig): name = "{{ cookiecutter.underscored }}" verbose_name = "{{ cookiecutter.project_name }}" description = "{{ cookiecutter.project_short_description }}" - version = "version" + version = __version__ base_url = "{{ cookiecutter.underscored }}" From 8b71811536f4cc8eb63e36e9087314d5d24a8ea3 Mon Sep 17 00:00:00 2001 From: Nick Gatti Date: Fri, 17 May 2024 16:43:34 -0700 Subject: [PATCH 2/2] Added author and author email to init --- .../{{cookiecutter.underscored}}/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/{{cookiecutter.hyphenated}}/{{cookiecutter.underscored}}/__init__.py b/{{cookiecutter.hyphenated}}/{{cookiecutter.underscored}}/__init__.py index 6798bac..43f5572 100644 --- a/{{cookiecutter.hyphenated}}/{{cookiecutter.underscored}}/__init__.py +++ b/{{cookiecutter.hyphenated}}/{{cookiecutter.underscored}}/__init__.py @@ -12,6 +12,8 @@ class {{ cookiecutter.__model_name }}Config(PluginConfig): name = "{{ cookiecutter.underscored }}" verbose_name = "{{ cookiecutter.project_name }}" description = "{{ cookiecutter.project_short_description }}" + author= "{{ cookiecutter.full_name }}" + author_email = "{{ cookiecutter.email }}" version = __version__ base_url = "{{ cookiecutter.underscored }}"