add possibility to add a custom empty app

This commit is contained in:
Henry Jobst 2023-01-17 21:40:39 +01:00
parent 69d687037d
commit d52762c7f4
2 changed files with 6 additions and 1 deletions

View File

@ -61,5 +61,7 @@
"Github"
],
"keep_local_envs_in_vcs": "y",
"debug": "n"
"debug": "n",
"include_custom_app": "n",
"custom_app_name": "core",
}

View File

@ -91,6 +91,9 @@ THIRD_PARTY_APPS = [
LOCAL_APPS = [
"{{ cookiecutter.project_slug }}.users",
{%- if cookiecutter.include_custom_app == "y" %}
"{{ cookiecutter.custom_app_name }}",
{%- endif %}
# Your stuff: custom apps go here
]
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps