mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 05:24:01 +03:00
4e39a9f8f0
This removes periods from the auto-generated project_slug (and also runs trim for good measure). Otherwise if you have a "." in your project name (e.g., you used a website domain name as your project name), you will encounter an error about it failing for a `project_slug.isidentifier()` check. Update: changed "." to be replace with "_" instead of "", per request from @webyneter
47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
{
|
|
"project_name": "My Awesome Project",
|
|
"project_slug": "{{ cookiecutter.project_name.lower()|replace(' ', '_')|replace('-', '_')|replace('.', '_')|trim() }}",
|
|
"description": "Behold My Awesome Project!",
|
|
"author_name": "Daniel Roy Greenfeld",
|
|
"domain_name": "example.com",
|
|
"email": "{{ cookiecutter.author_name.lower()|replace(' ', '-') }}@example.com",
|
|
"version": "0.1.0",
|
|
"open_source_license": [
|
|
"MIT",
|
|
"BSD",
|
|
"GPLv3",
|
|
"Apache Software License 2.0",
|
|
"Not open source"
|
|
],
|
|
"timezone": "UTC",
|
|
"windows": "n",
|
|
"use_pycharm": "n",
|
|
"use_docker": "n",
|
|
"postgresql_version": [
|
|
"10.5",
|
|
"10.4",
|
|
"10.3",
|
|
"10.2",
|
|
"10.1",
|
|
"9.6",
|
|
"9.5",
|
|
"9.4",
|
|
"9.3"
|
|
],
|
|
"js_task_runner": [
|
|
"None",
|
|
"Gulp"
|
|
],
|
|
"custom_bootstrap_compilation": "n",
|
|
"use_compressor": "n",
|
|
"use_celery": "n",
|
|
"use_mailhog": "n",
|
|
"use_sentry": "n",
|
|
"use_whitenoise": "n",
|
|
"use_heroku": "n",
|
|
"use_travisci": "n",
|
|
"keep_local_envs_in_vcs": "y",
|
|
|
|
"debug": "n"
|
|
}
|