Skip to content

Commit 418402b

Browse files
Merge pull request #55 from cookiecutter/master
update to upstream v`2022.07.22`
2 parents 8963d75 + 119a282 commit 418402b

File tree

12 files changed

+77
-22
lines changed

12 files changed

+77
-22
lines changed

.github/contributors.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,5 +1262,15 @@
12621262
"name": "Naveen",
12631263
"github_login": "naveensrinivasan",
12641264
"twitter_username": "snaveen"
1265+
},
1266+
{
1267+
"name": "Nikita Sobolev",
1268+
"github_login": "sobolevn",
1269+
"twitter_username": ""
1270+
},
1271+
{
1272+
"name": "Sebastian Reyes Espinosa",
1273+
"github_login": "sebastian-code",
1274+
"twitter_username": "sebastianreyese"
12651275
}
12661276
]

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,32 @@ All enhancements and patches to Cookiecutter Django will be documented in this f
33

44
<!-- GENERATOR_PLACEHOLDER -->
55

6+
## 2022.07.22
7+
8+
### Updated
9+
- Update pytest-sugar to 0.9.5 ([#3800](https://github.com/cookiecutter/cookiecutter-django/pull/3800))
10+
- Update sphinx to 5.0.2 ([#3801](https://github.com/cookiecutter/cookiecutter-django/pull/3801))
11+
- Update pillow to 9.2.0 ([#3799](https://github.com/cookiecutter/cookiecutter-django/pull/3799))
12+
- Update werkzeug to 2.1.2 ([#3797](https://github.com/cookiecutter/cookiecutter-django/pull/3797))
13+
14+
## 2022.07.21
15+
16+
### Changed
17+
- Set user to form instance in update user view test ([#3776](https://github.com/cookiecutter/cookiecutter-django/pull/3776))
18+
- Fix warning from django-coverage-plugin in tests ([#3790](https://github.com/cookiecutter/cookiecutter-django/pull/3790))
19+
- Always use `const` instead of `var` in `gulpfile.js` ([#3786](https://github.com/cookiecutter/cookiecutter-django/pull/3786))
20+
### Updated
21+
- Update flower to 1.1.0 ([#3796](https://github.com/cookiecutter/cookiecutter-django/pull/3796))
22+
- Update coverage to 6.4.2 ([#3783](https://github.com/cookiecutter/cookiecutter-django/pull/3783))
23+
- Update mypy to 0.971 ([#3788](https://github.com/cookiecutter/cookiecutter-django/pull/3788))
24+
- Update sentry-sdk to 1.8.0 ([#3792](https://github.com/cookiecutter/cookiecutter-django/pull/3792))
25+
- Update pre-commit to 2.20.0 ([#3779](https://github.com/cookiecutter/cookiecutter-django/pull/3779))
26+
- Update django-extensions to 3.2.0 ([#3774](https://github.com/cookiecutter/cookiecutter-django/pull/3774))
27+
- Update tox to 3.25.1 ([#3767](https://github.com/cookiecutter/cookiecutter-django/pull/3767))
28+
- Update uvicorn to 0.18.2 ([#3762](https://github.com/cookiecutter/cookiecutter-django/pull/3762))
29+
- Update redis to 4.3.4 ([#3763](https://github.com/cookiecutter/cookiecutter-django/pull/3763))
30+
- Update requests to 2.28.1 ([#3766](https://github.com/cookiecutter/cookiecutter-django/pull/3766))
31+
632
## 2022.07.10
733

834
### Changed

CONTRIBUTORS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,13 @@ Listed in alphabetical order.
13631363
</td>
13641364
<td>moby_dick91</td>
13651365
</tr>
1366+
<tr>
1367+
<td>Nikita Sobolev</td>
1368+
<td>
1369+
<a href="https://github.com/sobolevn">sobolevn</a>
1370+
</td>
1371+
<td></td>
1372+
</tr>
13661373
<tr>
13671374
<td>Noah H</td>
13681375
<td>
@@ -1524,6 +1531,13 @@ Listed in alphabetical order.
15241531
</td>
15251532
<td>saschalalala</td>
15261533
</tr>
1534+
<tr>
1535+
<td>Sebastian Reyes Espinosa</td>
1536+
<td>
1537+
<a href="https://github.com/sebastian-code">sebastian-code</a>
1538+
</td>
1539+
<td>sebastianreyese</td>
1540+
</tr>
15271541
<tr>
15281542
<td>Simon Rey</td>
15291543
<td>

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sphinx==5.0.1
1+
sphinx==5.0.2
22
sphinx-rtd-theme==1.0.0

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ black==22.6.0
88
isort==5.10.1
99
flake8==4.0.1
1010
flake8-isort==4.1.1
11-
pre-commit==2.19.0
11+
pre-commit==2.20.0
1212

1313
# Testing
1414
# ------------------------------------------------------------------------------
15-
tox==3.25.0
15+
tox==3.25.1
1616
pytest==7.1.2
1717
pytest-cookies==0.6.1
1818
pytest-instafail==0.4.2
@@ -23,4 +23,4 @@ pyyaml==6.0
2323
PyGithub==1.55
2424
gitpython==3.1.27
2525
jinja2==3.1.2
26-
requests==2.28.0
26+
requests==2.28.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from distutils.core import setup
66

77
# We use calendar versioning
8-
version = "2022.07.10"
8+
version = "2022.07.22"
99

1010
with open("README.rst") as readme_file:
1111
long_description = readme_file.read()

{{cookiecutter.project_slug}}/config/settings/test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,9 @@
2525
# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
2626
EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend"
2727

28+
# DEBUGING FOR TEMPLATES
29+
# ------------------------------------------------------------------------------
30+
TEMPLATES[0]["OPTIONS"]["debug"] = True # type: ignore # noqa F405
31+
2832
# Your stuff...
2933
# ------------------------------------------------------------------------------

{{cookiecutter.project_slug}}/gulpfile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@ function pathsConfig(appName) {
4242
}
4343
}
4444

45-
var paths = pathsConfig()
45+
const paths = pathsConfig()
4646

4747
////////////////////////////////
4848
// Tasks
4949
////////////////////////////////
5050

5151
// Styles autoprefixing and minification
5252
function styles() {
53-
var processCss = [
53+
const processCss = [
5454
autoprefixer(), // adds vendor prefixes
5555
pixrem(), // add fallbacks for rem units
5656
]
5757

58-
var minifyCss = [
58+
const minifyCss = [
5959
cssnano({ preset: 'default' }) // minify result
6060
]
6161

@@ -104,7 +104,7 @@ function imgCompression() {
104104
{%- if cookiecutter.use_async == 'y' -%}
105105
// Run django server
106106
function asyncRunServer() {
107-
var cmd = spawn('gunicorn', [
107+
const cmd = spawn('gunicorn', [
108108
'config.asgi', '-k', 'uvicorn.workers.UvicornWorker', '--reload'
109109
], {stdio: 'inherit'}
110110
)
@@ -115,7 +115,7 @@ function asyncRunServer() {
115115
{%- else %}
116116
// Run django server
117117
function runServer(cb) {
118-
var cmd = spawn('python', ['manage.py', 'runserver'], {stdio: 'inherit'})
118+
const cmd = spawn('python', ['manage.py', 'runserver'], {stdio: 'inherit'})
119119
cmd.on('close', function(code) {
120120
console.log('runServer exited with code ' + code)
121121
cb(code)

{{cookiecutter.project_slug}}/requirements/base.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pytz==2022.1 # https://github.com/stub42/pytz
22
python-slugify==6.1.2 # https://github.com/un33k/python-slugify
3-
Pillow==9.1.1 # https://github.com/python-pillow/Pillow
3+
Pillow==9.2.0 # https://github.com/python-pillow/Pillow
44
{%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
55
{%- if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' %}
66
rcssmin==1.1.0 --install-option="--without-c-extensions" # https://github.com/ndparker/rcssmin
@@ -12,19 +12,19 @@ argon2-cffi==21.3.0 # https://github.com/hynek/argon2_cffi
1212
{%- if cookiecutter.use_whitenoise == 'y' %}
1313
whitenoise==6.2.0 # https://github.com/evansd/whitenoise
1414
{%- endif %}
15-
redis==4.3.3 # https://github.com/redis/redis-py
15+
redis==4.3.4 # https://github.com/redis/redis-py
1616
{%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "n" %}
1717
hiredis==2.0.0 # https://github.com/redis/hiredis-py
1818
{%- endif %}
1919
{%- if cookiecutter.use_celery == "y" %}
2020
celery==5.2.7 # pyup: < 6.0 # https://github.com/celery/celery
2121
django-celery-beat==2.3.0 # https://github.com/celery/django-celery-beat
2222
{%- if cookiecutter.use_docker == 'y' %}
23-
flower==1.0.0 # https://github.com/mher/flower
23+
flower==1.1.0 # https://github.com/mher/flower
2424
{%- endif %}
2525
{%- endif %}
2626
{%- if cookiecutter.use_async == 'y' %}
27-
uvicorn[standard]==0.17.6 # https://github.com/encode/uvicorn
27+
uvicorn[standard]==0.18.2 # https://github.com/encode/uvicorn
2828
{%- endif %}
2929

3030
# Django

{{cookiecutter.project_slug}}/requirements/local.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-r base.txt
22

3-
Werkzeug[watchdog]==2.0.3 # https://github.com/pallets/werkzeug
3+
Werkzeug[watchdog]==2.1.2 # https://github.com/pallets/werkzeug
44
ipdb==0.13.9 # https://github.com/gotcha/ipdb
55
{%- if cookiecutter.database_engine == "postgresql" %}
66
{%- if cookiecutter.use_docker == 'y' %}
@@ -18,36 +18,36 @@ watchgod==0.8.2 # https://github.com/samuelcolvin/watchgod
1818

1919
# Testing
2020
# ------------------------------------------------------------------------------
21-
mypy==0.950 # https://github.com/python/mypy
21+
mypy==0.971 # https://github.com/python/mypy
2222
django-stubs==1.12.0 # https://github.com/typeddjango/django-stubs
2323
pytest==7.1.2 # https://github.com/pytest-dev/pytest
24-
pytest-sugar==0.9.4 # https://github.com/Frozenball/pytest-sugar
24+
pytest-sugar==0.9.5 # https://github.com/Frozenball/pytest-sugar
2525
{%- if cookiecutter.use_drf == "y" %}
2626
djangorestframework-stubs==1.7.0 # https://github.com/typeddjango/djangorestframework-stubs
2727
{%- endif %}
2828

2929
# Documentation
3030
# ------------------------------------------------------------------------------
31-
sphinx==5.0.1 # https://github.com/sphinx-doc/sphinx
31+
sphinx==5.0.2 # https://github.com/sphinx-doc/sphinx
3232
sphinx-autobuild==2021.3.14 # https://github.com/GaretJax/sphinx-autobuild
3333

3434
# Code quality
3535
# ------------------------------------------------------------------------------
3636
flake8==4.0.1 # https://github.com/PyCQA/flake8
3737
flake8-isort==4.1.1 # https://github.com/gforcada/flake8-isort
38-
coverage==6.4.1 # https://github.com/nedbat/coveragepy
38+
coverage==6.4.2 # https://github.com/nedbat/coveragepy
3939
black==22.6.0 # https://github.com/psf/black
4040
pylint-django==2.5.3 # https://github.com/PyCQA/pylint-django
4141
{%- if cookiecutter.use_celery == 'y' %}
4242
pylint-celery==0.3 # https://github.com/PyCQA/pylint-celery
4343
{%- endif %}
44-
pre-commit==2.19.0 # https://github.com/pre-commit/pre-commit
44+
pre-commit==2.20.0 # https://github.com/pre-commit/pre-commit
4545

4646
# Django
4747
# ------------------------------------------------------------------------------
4848
factory-boy==3.2.1 # https://github.com/FactoryBoy/factory_boy
4949

5050
django-debug-toolbar==3.5.0 # https://github.com/jazzband/django-debug-toolbar
51-
django-extensions==3.1.5 # https://github.com/django-extensions/django-extensions
51+
django-extensions==3.2.0 # https://github.com/django-extensions/django-extensions
5252
django-coverage-plugin==2.0.3 # https://github.com/nedbat/django_coverage_plugin
5353
pytest-django==4.5.2 # https://github.com/pytest-dev/pytest-django

0 commit comments

Comments
 (0)