mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-21 14:05:14 +03:00
Default to today's date in cookiecutter.json.
This commit is contained in:
parent
87a3a8a60a
commit
7a6e9238fd
|
@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
### [2016-04-20]
|
### [2016-04-20]
|
||||||
### Changed
|
### Changed
|
||||||
|
- Default to today's date in cookiecutter.json. (@audreyr)
|
||||||
- Change repo_name to project_slug for clarity. (@audreyr)
|
- Change repo_name to project_slug for clarity. (@audreyr)
|
||||||
- Transform project name to lowercase for slug. (@audreyr)
|
- Transform project name to lowercase for slug. (@audreyr)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"domain_name": "example.com",
|
"domain_name": "example.com",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"timezone": "UTC",
|
"timezone": "UTC",
|
||||||
"now": "2016/03/05",
|
"now": "{% now 'local' %}",
|
||||||
"year": "{{ cookiecutter.now[:4] }}",
|
"year": "{{ cookiecutter.now[:4] }}",
|
||||||
"use_whitenoise": "y",
|
"use_whitenoise": "y",
|
||||||
"use_celery": "n",
|
"use_celery": "n",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user