mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-09-22 19:56:41 +03:00
Merge branch 'cookiecutter-master'
This commit is contained in:
commit
c814d192c2
5
.github/contributors.json
vendored
5
.github/contributors.json
vendored
|
@ -1297,5 +1297,10 @@
|
||||||
"name": "krati yadav",
|
"name": "krati yadav",
|
||||||
"github_login": "krati5",
|
"github_login": "krati5",
|
||||||
"twitter_username": ""
|
"twitter_username": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Abe Hanoka",
|
||||||
|
"github_login": "abe-101",
|
||||||
|
"twitter_username": "abe__101"
|
||||||
}
|
}
|
||||||
]
|
]
|
2
.github/workflows/update-contributors.yml
vendored
2
.github/workflows/update-contributors.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
run: python scripts/update_contributors.py
|
run: python scripts/update_contributors.py
|
||||||
|
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4.15.2
|
uses: stefanzweifel/git-auto-commit-action@v4.15.3
|
||||||
with:
|
with:
|
||||||
commit_message: Update Contributors
|
commit_message: Update Contributors
|
||||||
file_pattern: CONTRIBUTORS.md .github/contributors.json
|
file_pattern: CONTRIBUTORS.md .github/contributors.json
|
||||||
|
|
|
@ -9,7 +9,7 @@ repos:
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
|
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.1.0
|
rev: v3.2.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py310-plus]
|
args: [--py310-plus]
|
||||||
|
|
41
CHANGELOG.md
41
CHANGELOG.md
|
@ -3,6 +3,47 @@ All enhancements and patches to Cookiecutter Django will be documented in this f
|
||||||
|
|
||||||
<!-- GENERATOR_PLACEHOLDER -->
|
<!-- GENERATOR_PLACEHOLDER -->
|
||||||
|
|
||||||
|
## 2022.11.11
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
- Auto-update pre-commit hooks ([#3942](https://github.com/cookiecutter/cookiecutter-django/pull/3942))
|
||||||
|
|
||||||
|
## 2022.11.07
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
- Update watchfiles to 0.18.1 ([#3938](https://github.com/cookiecutter/cookiecutter-django/pull/3938))
|
||||||
|
|
||||||
|
## 2022.11.06
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Store extended Celery task attributes in backend ([#3855](https://github.com/cookiecutter/cookiecutter-django/pull/3855))
|
||||||
|
- add os requirements for Ubuntu 22.04 (Jammy) ([#3930](https://github.com/cookiecutter/cookiecutter-django/pull/3930))
|
||||||
|
### Updated
|
||||||
|
- Update pytest-sugar to 0.9.6 ([#3937](https://github.com/cookiecutter/cookiecutter-django/pull/3937))
|
||||||
|
- Update pygithub to 1.57 ([#3936](https://github.com/cookiecutter/cookiecutter-django/pull/3936))
|
||||||
|
- Update sphinx-rtd-theme to 1.1.1 ([#3935](https://github.com/cookiecutter/cookiecutter-django/pull/3935))
|
||||||
|
|
||||||
|
## 2022.11.02
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- fix typo in CONTRIBUTING.md ([#3932](https://github.com/cookiecutter/cookiecutter-django/pull/3932))
|
||||||
|
### Updated
|
||||||
|
- Update crispy-bootstrap5 to 0.7 ([#3886](https://github.com/cookiecutter/cookiecutter-django/pull/3886))
|
||||||
|
- Update django-coverage-plugin to 2.0.4 ([#3927](https://github.com/cookiecutter/cookiecutter-django/pull/3927))
|
||||||
|
- Update pytz to 2022.6 ([#3928](https://github.com/cookiecutter/cookiecutter-django/pull/3928))
|
||||||
|
- Update sphinx-rtd-theme to 1.1.0 ([#3929](https://github.com/cookiecutter/cookiecutter-django/pull/3929))
|
||||||
|
- Update pillow to 9.3.0 ([#3922](https://github.com/cookiecutter/cookiecutter-django/pull/3922))
|
||||||
|
|
||||||
|
## 2022.10.30
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
- Auto-update pre-commit hooks ([#3924](https://github.com/cookiecutter/cookiecutter-django/pull/3924))
|
||||||
|
|
||||||
|
## 2022.10.28
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
- Bump stefanzweifel/git-auto-commit-action from 4.15.2 to 4.15.3 ([#3921](https://github.com/cookiecutter/cookiecutter-django/pull/3921))
|
||||||
|
|
||||||
## 2022.10.26
|
## 2022.10.26
|
||||||
|
|
||||||
### Updated
|
### Updated
|
||||||
|
|
|
@ -35,7 +35,7 @@ is:
|
||||||
|
|
||||||
$ tox -e py310
|
$ tox -e py310
|
||||||
|
|
||||||
This will run pytest with the python3.9 interpreter, for example.
|
This will run pytest with the python3.10 interpreter, for example.
|
||||||
|
|
||||||
To run a particular test with tox for against your current Python version:
|
To run a particular test with tox for against your current Python version:
|
||||||
|
|
||||||
|
|
|
@ -138,6 +138,13 @@ Listed in alphabetical order.
|
||||||
</td>
|
</td>
|
||||||
<td>abdadeel_</td>
|
<td>abdadeel_</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Abe Hanoka</td>
|
||||||
|
<td>
|
||||||
|
<a href="https://github.com/abe-101">abe-101</a>
|
||||||
|
</td>
|
||||||
|
<td>abe__101</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Adam Bogdał</td>
|
<td>Adam Bogdał</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
sphinx==5.3.0
|
sphinx==5.3.0
|
||||||
sphinx-rtd-theme==1.0.0
|
sphinx-rtd-theme==1.1.1
|
||||||
|
|
|
@ -20,7 +20,7 @@ pyyaml==6.0
|
||||||
|
|
||||||
# Scripting
|
# Scripting
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
PyGithub==1.56
|
PyGithub==1.57
|
||||||
gitpython==3.1.29
|
gitpython==3.1.29
|
||||||
jinja2==3.1.2
|
jinja2==3.1.2
|
||||||
requests==2.28.1
|
requests==2.28.1
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ except ImportError:
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
# We use calendar versioning
|
# We use calendar versioning
|
||||||
version = "2022.10.26"
|
version = "2022.11.11"
|
||||||
|
|
||||||
with open("README.rst") as readme_file:
|
with open("README.rst") as readme_file:
|
||||||
long_description = readme_file.read()
|
long_description = readme_file.read()
|
||||||
|
|
|
@ -10,7 +10,7 @@ repos:
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
|
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.1.0
|
rev: v3.2.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py310-plus]
|
args: [--py310-plus]
|
||||||
|
|
|
@ -285,6 +285,8 @@ if USE_TZ:
|
||||||
CELERY_BROKER_URL = env("CELERY_BROKER_URL")
|
CELERY_BROKER_URL = env("CELERY_BROKER_URL")
|
||||||
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#std:setting-result_backend
|
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#std:setting-result_backend
|
||||||
CELERY_RESULT_BACKEND = CELERY_BROKER_URL
|
CELERY_RESULT_BACKEND = CELERY_BROKER_URL
|
||||||
|
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#result-extended
|
||||||
|
CELERY_RESULT_EXTENDED = True
|
||||||
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#std:setting-accept_content
|
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#std:setting-accept_content
|
||||||
CELERY_ACCEPT_CONTENT = ["json"]
|
CELERY_ACCEPT_CONTENT = ["json"]
|
||||||
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#std:setting-task_serializer
|
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#std:setting-task_serializer
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
pytz==2022.5 # https://github.com/stub42/pytz
|
pytz==2022.6 # https://github.com/stub42/pytz
|
||||||
python-slugify==6.1.2 # https://github.com/un33k/python-slugify
|
python-slugify==6.1.2 # https://github.com/un33k/python-slugify
|
||||||
Pillow==9.2.0 # https://github.com/python-pillow/Pillow
|
Pillow==9.3.0 # https://github.com/python-pillow/Pillow
|
||||||
{%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
|
{%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
|
||||||
{%- if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' %}
|
{%- if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' %}
|
||||||
rcssmin==1.1.0 --install-option="--without-c-extensions" # https://github.com/ndparker/rcssmin
|
rcssmin==1.1.0 --install-option="--without-c-extensions" # https://github.com/ndparker/rcssmin
|
||||||
|
@ -34,7 +34,7 @@ django-environ==0.9.0 # https://github.com/joke2k/django-environ
|
||||||
django-model-utils==4.2.0 # https://github.com/jazzband/django-model-utils
|
django-model-utils==4.2.0 # https://github.com/jazzband/django-model-utils
|
||||||
django-allauth==0.51.0 # https://github.com/pennersr/django-allauth
|
django-allauth==0.51.0 # https://github.com/pennersr/django-allauth
|
||||||
django-crispy-forms==1.14.0 # https://github.com/django-crispy-forms/django-crispy-forms
|
django-crispy-forms==1.14.0 # https://github.com/django-crispy-forms/django-crispy-forms
|
||||||
crispy-bootstrap5==0.6 # https://github.com/django-crispy-forms/crispy-bootstrap5
|
crispy-bootstrap5==0.7 # https://github.com/django-crispy-forms/crispy-bootstrap5
|
||||||
{%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
|
{%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
|
||||||
django-compressor==4.1 # https://github.com/django-compressor/django-compressor
|
django-compressor==4.1 # https://github.com/django-compressor/django-compressor
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
|
@ -8,7 +8,7 @@ psycopg2==2.9.5 # https://github.com/psycopg/psycopg2
|
||||||
psycopg2-binary==2.9.5 # https://github.com/psycopg/psycopg2
|
psycopg2-binary==2.9.5 # https://github.com/psycopg/psycopg2
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' %}
|
{%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' %}
|
||||||
watchfiles==0.18.0 # https://github.com/samuelcolvin/watchfiles
|
watchfiles==0.18.1 # https://github.com/samuelcolvin/watchfiles
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
|
@ -16,7 +16,7 @@ watchfiles==0.18.0 # https://github.com/samuelcolvin/watchfiles
|
||||||
mypy==0.982 # https://github.com/python/mypy
|
mypy==0.982 # https://github.com/python/mypy
|
||||||
django-stubs==1.12.0 # https://github.com/typeddjango/django-stubs
|
django-stubs==1.12.0 # https://github.com/typeddjango/django-stubs
|
||||||
pytest==7.2.0 # https://github.com/pytest-dev/pytest
|
pytest==7.2.0 # https://github.com/pytest-dev/pytest
|
||||||
pytest-sugar==0.9.5 # https://github.com/Frozenball/pytest-sugar
|
pytest-sugar==0.9.6 # https://github.com/Frozenball/pytest-sugar
|
||||||
{%- if cookiecutter.use_drf == "y" %}
|
{%- if cookiecutter.use_drf == "y" %}
|
||||||
djangorestframework-stubs==1.7.0 # https://github.com/typeddjango/djangorestframework-stubs
|
djangorestframework-stubs==1.7.0 # https://github.com/typeddjango/djangorestframework-stubs
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -45,5 +45,5 @@ factory-boy==3.2.1 # https://github.com/FactoryBoy/factory_boy
|
||||||
|
|
||||||
django-debug-toolbar==3.7.0 # https://github.com/jazzband/django-debug-toolbar
|
django-debug-toolbar==3.7.0 # https://github.com/jazzband/django-debug-toolbar
|
||||||
django-extensions==3.2.1 # https://github.com/django-extensions/django-extensions
|
django-extensions==3.2.1 # https://github.com/django-extensions/django-extensions
|
||||||
django-coverage-plugin==2.0.3 # https://github.com/nedbat/django_coverage_plugin
|
django-coverage-plugin==2.0.4 # https://github.com/nedbat/django_coverage_plugin
|
||||||
pytest-django==4.5.2 # https://github.com/pytest-dev/pytest-django
|
pytest-django==4.5.2 # https://github.com/pytest-dev/pytest-django
|
||||||
|
|
23
{{cookiecutter.project_slug}}/utility/requirements-jammy.apt
Normal file
23
{{cookiecutter.project_slug}}/utility/requirements-jammy.apt
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
##basic build dependencies of various Django apps for Ubuntu Jammy 22.04
|
||||||
|
#build-essential metapackage install: make, gcc, g++,
|
||||||
|
build-essential
|
||||||
|
#required to translate
|
||||||
|
gettext
|
||||||
|
python3-dev
|
||||||
|
|
||||||
|
##shared dependencies of:
|
||||||
|
##Pillow, pylibmc
|
||||||
|
zlib1g-dev
|
||||||
|
|
||||||
|
##Postgresql and psycopg2 dependencies
|
||||||
|
libpq-dev
|
||||||
|
|
||||||
|
##Pillow dependencies
|
||||||
|
libtiff5-dev
|
||||||
|
libjpeg8-dev
|
||||||
|
libfreetype6-dev
|
||||||
|
liblcms2-dev
|
||||||
|
libwebp-dev
|
||||||
|
|
||||||
|
##django-extensions
|
||||||
|
graphviz-dev
|
Loading…
Reference in New Issue
Block a user