mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-05 20:50:17 +03:00
Merge branch 'master' into fix/redis-TLS-support
This commit is contained in:
commit
ef5fc4e498
5
.github/contributors.json
vendored
5
.github/contributors.json
vendored
|
@ -1663,5 +1663,10 @@
|
||||||
"name": "Christian Jensen",
|
"name": "Christian Jensen",
|
||||||
"github_login": "jensenbox",
|
"github_login": "jensenbox",
|
||||||
"twitter_username": "cjensen"
|
"twitter_username": "cjensen"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Denis Darii",
|
||||||
|
"github_login": "DNX",
|
||||||
|
"twitter_username": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -3,6 +3,17 @@ All enhancements and patches to Cookiecutter Django will be documented in this f
|
||||||
|
|
||||||
<!-- GENERATOR_PLACEHOLDER -->
|
<!-- GENERATOR_PLACEHOLDER -->
|
||||||
|
|
||||||
|
## 2024.11.20
|
||||||
|
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix typos in translation instructions in README ([#5538](https://github.com/cookiecutter/cookiecutter-django/pull/5538))
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
|
||||||
|
- Bump amazon/aws-cli from 2.21.0 to 2.22.1 ([#5537](https://github.com/cookiecutter/cookiecutter-django/pull/5537))
|
||||||
|
|
||||||
## 2024.11.16
|
## 2024.11.16
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -733,6 +733,13 @@ Listed in alphabetical order.
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Denis Darii</td>
|
||||||
|
<td>
|
||||||
|
<a href="https://github.com/DNX">DNX</a>
|
||||||
|
</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Denis Orehovsky</td>
|
<td>Denis Orehovsky</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -13,7 +13,7 @@ Powered by [Cookiecutter](https://github.com/cookiecutter/cookiecutter), Cookiec
|
||||||
production-ready Django projects quickly.
|
production-ready Django projects quickly.
|
||||||
|
|
||||||
- Documentation: <https://cookiecutter-django.readthedocs.io/en/latest/>
|
- Documentation: <https://cookiecutter-django.readthedocs.io/en/latest/>
|
||||||
- See [Troubleshooting](https://cookiecutter-django.readthedocs.io/en/latest/troubleshooting.html) for common errors and obstacles
|
- See [Troubleshooting](https://cookiecutter-django.readthedocs.io/en/latest/5-help/troubleshooting.html) for common errors and obstacles
|
||||||
- If you have problems with Cookiecutter Django, please open [issues](https://github.com/cookiecutter/cookiecutter-django/issues/new) don't send
|
- If you have problems with Cookiecutter Django, please open [issues](https://github.com/cookiecutter/cookiecutter-django/issues/new) don't send
|
||||||
emails to the maintainers.
|
emails to the maintainers.
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ You'll be prompted for some values. Provide them, then a Django project will be
|
||||||
|
|
||||||
**Warning**: After this point, change 'Daniel Greenfeld', 'pydanny', etc to your own information.
|
**Warning**: After this point, change 'Daniel Greenfeld', 'pydanny', etc to your own information.
|
||||||
|
|
||||||
Answer the prompts with your own desired [options](http://cookiecutter-django.readthedocs.io/en/latest/project-generation-options.html). For example:
|
Answer the prompts with your own desired [options](http://cookiecutter-django.readthedocs.io/en/latest/1-getting-started/project-generation-options.html). For example:
|
||||||
|
|
||||||
Cloning into 'cookiecutter-django'...
|
Cloning into 'cookiecutter-django'...
|
||||||
remote: Counting objects: 550, done.
|
remote: Counting objects: 550, done.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "cookiecutter-django"
|
name = "cookiecutter-django"
|
||||||
version = "2024.11.16"
|
version = "2024.11.20"
|
||||||
description = "A Cookiecutter template for creating production-ready Django projects quickly."
|
description = "A Cookiecutter template for creating production-ready Django projects quickly."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
keywords = [
|
keywords = [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM docker.io/amazon/aws-cli:2.21.0
|
FROM docker.io/amazon/aws-cli:2.22.1
|
||||||
|
|
||||||
# Clear entrypoint from the base image, otherwise it's always calling the aws CLI
|
# Clear entrypoint from the base image, otherwise it's always calling the aws CLI
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Translations
|
# Translations
|
||||||
|
|
||||||
Start by configuring the `LANGUAGES` settings in `base.py`, by uncommenting languages you are willing to support. Then, translations strings will be placed in this folder when running:
|
Start by configuring the `LANGUAGES` settings in `base.py`, by uncommenting languages you are willing to support. Then, translation strings will be placed in this folder when running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
{% if cookiecutter.use_docker == 'y' %}docker compose -f docker-compose.local.yml run --rm django {% endif %}python manage.py makemessages --all --no-location
|
{% if cookiecutter.use_docker == 'y' %}docker compose -f docker-compose.local.yml run --rm django {% endif %}python manage.py makemessages --all --no-location
|
||||||
|
@ -19,7 +19,7 @@ Once all translations are done, they need to be compiled into `.mo` files (stand
|
||||||
{% if cookiecutter.use_docker == 'y' %}docker compose -f docker-compose.local.yml run --rm django {% endif %}python manage.py compilemessages
|
{% if cookiecutter.use_docker == 'y' %}docker compose -f docker-compose.local.yml run --rm django {% endif %}python manage.py compilemessages
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the `.po` files are NOT used by the application directly, so if the `.mo` files are out of dates, the content won't appear as translated even if the `.po` files are up-to-date.
|
Note that the `.po` files are NOT used by the application directly, so if the `.mo` files are out of date, the content won't appear as translated even if the `.po` files are up-to-date.
|
||||||
|
|
||||||
## Production
|
## Production
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user