mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 09:24:52 +03:00
add possibility to add a custom empty app
This commit is contained in:
parent
69d687037d
commit
d52762c7f4
|
@ -61,5 +61,7 @@
|
||||||
"Github"
|
"Github"
|
||||||
],
|
],
|
||||||
"keep_local_envs_in_vcs": "y",
|
"keep_local_envs_in_vcs": "y",
|
||||||
"debug": "n"
|
"debug": "n",
|
||||||
|
"include_custom_app": "n",
|
||||||
|
"custom_app_name": "core",
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,6 +91,9 @@ THIRD_PARTY_APPS = [
|
||||||
|
|
||||||
LOCAL_APPS = [
|
LOCAL_APPS = [
|
||||||
"{{ cookiecutter.project_slug }}.users",
|
"{{ cookiecutter.project_slug }}.users",
|
||||||
|
{%- if cookiecutter.include_custom_app == "y" %}
|
||||||
|
"{{ cookiecutter.custom_app_name }}",
|
||||||
|
{%- endif %}
|
||||||
# Your stuff: custom apps go here
|
# Your stuff: custom apps go here
|
||||||
]
|
]
|
||||||
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
|
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
|
||||||
|
|
Loading…
Reference in New Issue
Block a user