Commit Graph

2886 Commits

Author SHA1 Message Date
pyup.io bot
305364f5ad
Update django-environ to 0.10.0 (#4195) 2023-03-07 20:39:49 +00:00
Arkadiusz Michał Ryś
06369bfd4c
Add option to serve media files locally using nginx (#2457)
* Add option to serve media files locally using nginx

* Fix nginx media location and storage issue

* Fix traefik django-media typo

* Add certresolver property to web-media-router

* Add trailing slash in nginx configuration to avoid path traversal exploits

* Remove autoindexing from nginx configuration so nginx uses its default off setting

* Use nginx to serve media files if cloud provider is None

* Add back warning about lack of media files without Docker or Cloud providers

* Update documentation

* Fix typos and rephrase

Co-authored-by: Arkadiusz Ryś <arkadiusz.michal.rys@gmail.com>

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-03-04 18:36:11 +00:00
pyup.io bot
46868bed26
Update pytest to 7.2.2 (#4191)
* Update pytest from 7.2.1 to 7.2.2

* Update pytest from 7.2.1 to 7.2.2
2023-03-04 18:21:53 +00:00
pyup.io bot
c4b8bbb0c7
Update drf-spectacular to 0.26.0 (#4192) 2023-03-04 18:21:32 +00:00
pyup.io bot
6706128924
Update pre-commit to 3.1.1 (#4188)
* Update pre-commit from 3.1.0 to 3.1.1

* Update pre-commit from 3.1.0 to 3.1.1
2023-02-28 09:28:12 +00:00
pyup.io bot
af2e4cb26a
Update sentry-sdk to 1.16.0 (#4187) 2023-02-27 14:09:51 +00:00
dependabot[bot]
6a1aa159b6
Bump traefik from v2.2.11 to 2.9.8 (#4164)
Bumps traefik from v2.2.11 to 2.9.8.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 20:47:54 +00:00
Delphine LEMIRE
2bbec96f31
Fix readthedocs config file for generated project (#4172)
* FIX: Uptade Template ci.yml linter requirements

* IMPROVMENT_FIX: Template CI actions up to date

* FIX: template readthedocs instructions

* Update ci.yml

* Update readthedocs config file

* Update {{cookiecutter.project_slug}}/.readthedocs.yml

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-02-26 20:33:45 +00:00
pyup.io bot
9665b067d7
Update coverage to 7.2.1 (#4186) 2023-02-26 20:07:25 +00:00
dependabot[bot]
757c9f45e2
Bump garland/aws-cli-docker from 1.15.47 to 1.16.140 (#4136)
Bumps garland/aws-cli-docker from 1.15.47 to 1.16.140.

---
updated-dependencies:
- dependency-name: garland/aws-cli-docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 12:44:24 +00:00
Bruno Alla
eeb02c2198
Run linting with pre-commit on GitLab (#4150)
* Run linting with pre-commit on GitLab

* Update tests
2023-02-25 12:33:30 +00:00
Hoai-Thu Vuong
b74af5b1d1
Add instuction to run celery beat (#4162)
* add instuction to run celery beat

* Extend explanations for celery beat

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-02-25 12:09:52 +00:00
pyup.io bot
ad1edba711
Update djangorestframework-stubs to 1.9.1 (#4184) 2023-02-25 12:02:35 +00:00
pyup.io bot
961ec7df6b
Update whitenoise to 6.4.0 (#4180) 2023-02-25 11:53:35 +00:00
pyup.io bot
c2059693d8
Update django-stubs to 1.15.0 (#4183) 2023-02-25 11:53:08 +00:00
pyup.io bot
972b927a2c
Update django-crispy-forms to 2.0 (#4158) 2023-02-25 11:51:16 +00:00
pyup.io bot
bee85e4454
Update django-cors-headers to 3.14.0 (#4181) 2023-02-25 11:48:00 +00:00
pyup.io bot
7739f41f77
Update python-slugify to 8.0.1 (#4178) 2023-02-25 11:47:48 +00:00
pyup.io bot
64a66c332a
Update pre-commit to 3.1.0 (#4176)
* Update pre-commit from 3.0.4 to 3.1.0

* Update pre-commit from 3.0.4 to 3.1.0
2023-02-25 11:47:29 +00:00
pyup.io bot
8bd7667f19
Update mypy to 1.0.1 (#4168) 2023-02-25 11:46:34 +00:00
Delphine LEMIRE
4e649af5f0
Disable caching for linter job on GitHub actions (#4166)
* FIX: Uptade Template ci.yml linter requirements

* Disable unused cache for lint job

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-02-25 11:31:07 +00:00
pyup.io bot
aa6d0bc2ad
Update werkzeug to 2.2.3 (#4160) 2023-02-25 11:18:38 +00:00
pyup.io bot
ab149684b1
Update coverage to 7.2.0 (#4177) 2023-02-25 11:18:16 +00:00
pyup.io bot
1767190a1a
Update django to 4.0.10 (#4159) 2023-02-25 11:17:46 +00:00
pyup.io bot
2d9dceb0fb
Update hiredis to 2.2.2 (#4156)
* Update hiredis from 2.2.1 to 2.2.2

* Update hiredis from 2.2.1 to 2.2.2
2023-02-25 11:16:20 +00:00
Delphine LEMIRE
95e7300604
Update version of github actions on the template project (#4167) 2023-02-17 10:42:02 -03:00
Bruno Alla
0fe1fb9ca1
Remove unused pip cache paths in GHA & add a note for pre-commit.ci (#4151)
* Remove unused pip caching paths in GHA

* Add note about pre-commit.ci for open source
2023-02-09 21:56:57 +00:00
pyup.io bot
3c71b54e4c
Update mypy to 0.991 (#4106)
* Update mypy from 0.982 to 0.991

* Ignore type error in test

* Don't build on non-master branch pushes by default

* Ignore type error in DRF view test

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-02-09 09:35:41 +00:00
pyup.io bot
9eb480f60f
Update sphinx to 6.1.3 (#4148)
* Update sphinx from 5.3.0 to 6.1.3

* Update sphinx from 5.3.0 to 6.1.3
2023-02-08 23:31:25 +00:00
pyup.io bot
379522507a
Update redis to 4.5.1 (#4147) 2023-02-08 17:50:04 +00:00
dependabot[bot]
e81b483944
Bump postcss-preset-env from 7.8.3 to 8.0.1 (#4115)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 7.8.3 to 8.0.1.
- [Release notes](https://github.com/csstools/postcss-plugins/releases)
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:57:51 +00:00
dependabot[bot]
ff9da7ec1b
Bump sass-loader from 12.6.0 to 13.2.0 (#4116)
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 12.6.0 to 13.2.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v12.6.0...v13.2.0)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:47:49 +00:00
dependabot[bot]
a3cfb0f0e8
Bump babel-loader from 8.3.0 to 9.1.2 (#4117)
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.3.0 to 9.1.2.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.3.0...v9.1.2)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:38:45 +00:00
dependabot[bot]
3d4fa2fcae
Bump postcss-loader from 6.2.1 to 7.0.2 (#4114)
Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 6.2.1 to 7.0.2.
- [Release notes](https://github.com/webpack-contrib/postcss-loader/releases)
- [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v6.2.1...v7.0.2)

---
updated-dependencies:
- dependency-name: postcss-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:36:36 +00:00
dependabot[bot]
2db71965ca
Bump webpack-cli from 4.10.0 to 5.0.1 in /{{cookiecutter.project_slug}} (#4118)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.10.0 to 5.0.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.10.0...webpack-cli@5.0.1)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 20:35:46 +00:00
pyup.io bot
fade9bd0ac
Update redis to 4.5.0 (#4142) 2023-02-07 17:43:11 +00:00
pyup.io bot
dc68912c07
Update sentry-sdk to 1.15.0 (#4141) 2023-02-07 14:20:32 +00:00
pyup.io bot
9be5544464
Update hiredis to 2.2.1 (#4123)
* Update hiredis from 2.1.1 to 2.2.1

* Update hiredis from 2.1.1 to 2.2.1
2023-02-06 19:13:12 +00:00
Bruno Alla
5bc4bed952
Change RequestFactory to APIRequestFactory in tests for API views (#4110) 2023-02-06 18:33:08 +00:00
Bruno Alla
4080e9a86d
Fix django-webpack-loader setup when running tests (#4128)
* Add an integration test

This should cover the problem raised for webpack loader issues

* Add a DummyWebpackLoader for running tests

* Replace DummyWebpackLoader by the one from webpack_loader package

* Fix post-gen hook

* Remove integration test
2023-02-06 16:16:48 +00:00
pyup.io bot
d76c3de4e6
Update django to 4.0.9 (#4134) 2023-02-06 15:09:22 +00:00
pyup.io bot
c24fa1f6c4
Update django-webpack-loader to 1.8.1 (#4132) 2023-02-06 14:46:39 +00:00
pyup.io bot
3f05da0ee7
Update pre-commit to 3.0.4 (#4127)
* Update pre-commit from 3.0.3 to 3.0.4

* Update pre-commit from 3.0.3 to 3.0.4
2023-02-03 15:54:51 -03:00
pyup.io bot
ac3e5da6c1
Update python-slugify to 8.0.0 (#4111) 2023-02-02 11:30:25 +00:00
pyup.io bot
3150813bdb
Update pre-commit to 3.0.3 (#4121)
* Update pre-commit from 3.0.1 to 3.0.3

* Update pre-commit from 3.0.1 to 3.0.3
2023-02-02 11:28:16 +00:00
pyup.io bot
119df8c61b
Update black to 23.1.0 (#4120)
* Update black from 22.12.0 to 23.1.0

* Update black from 22.12.0 to 23.1.0

* Update code style according to newer version of black

* Update black pre-commit hook (#4122)

Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-02-02 11:25:41 +00:00
Bruno Alla
cbb0e19de7
Add Webpack support (#3623)
* Add support for Webpack as frontend pipeline

* Rename CI jobs

* Fix a couple of issues with Webpack + Docker

* Don't include Boostrap CSS from CDN with Webpack

* Rename variable

* Set publicPath in prod webpack config

* Fix removal of SASS files in post-gen hooks

* Add Webpack to readme usage section

* Run Django + Webpack dev server concurrently without Docker

* Fix async runserver command with Gulp/Webpack

* Upgrade django-webpack-loader to 1.5.0

* Pass variables required by Webpack at build time

* Upgrade django-webpack-loader to 1.7.0

* Add missing condition

* Add support for Azure Storage + Webpack

* Whitespaces

* Rename ROOT_DIR -> BASE_DIR

* Rename jobs

* Bump django-webpack-loader to latest

* Document limitation of Docker + Webpack + no Whitenoise

* Update section on custom Bootstrap compilation in generated readme
2023-01-29 12:12:12 +00:00
Bruno Alla
977ffd91a3
Remove BrokenLinkEmailsMiddleware (#4112) 2023-01-29 11:45:13 +00:00
github-actions[bot]
c09fa55b36
Auto-update pre-commit hooks (#4108)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-01-28 17:47:29 +00:00
Bruno Alla
c0e83b104c
Refactor merge_production_dotenvs_in_dotenv.py (#4105) 2023-01-28 15:10:45 +00:00
pyup.io bot
900473777d
Update django-stubs to 1.14.0 (#4103) 2023-01-27 20:34:29 +00:00
pyup.io bot
80405234c8
Update pre-commit to 3.0.1 (#4104) 2023-01-26 20:21:47 +00:00
tildebox
7fcdeeae88
Rename BASE_DIR_PATH to BASE_DIR (#4102)
Co-authored-by: example <example@example.com>
2023-01-26 08:50:33 +00:00
tildebox
70014c2b45
Rename ROOT_DIR to BASE_DIR (#4086)
Co-authored-by: example <example@example.com>
Fix https://github.com/cookiecutter/cookiecutter-django/issues/4075
2023-01-25 22:55:08 +00:00
pyup.io bot
2dc964a8e3
Update coverage from 7.0.5 to 7.1.0 (#4100) 2023-01-25 08:50:58 +00:00
pyup.io bot
3361c75fbc
Update pre-commit to 3.0.0 (#4098)
* Update pre-commit from 2.21.0 to 3.0.0

* Update pre-commit from 2.21.0 to 3.0.0
2023-01-24 10:43:45 +00:00
pyup.io bot
e2a7647d3c
Update sentry-sdk to 1.14.0 (#4096) 2023-01-23 17:21:21 +00:00
pyup.io bot
6a601208ea
Update django-compressor from 4.3 to 4.3.1 (#4094) 2023-01-22 14:54:59 +00:00
pyup.io bot
403298fcdc
Update django-stubs from 1.13.1 to 1.13.2 (#4093) 2023-01-21 16:55:33 +00:00
pyup.io bot
c5b0db3c63
Update coverage from 7.0.4 to 7.0.5 (#4092) 2023-01-19 23:56:01 +00:00
pyup.io bot
4576c70a5d
Update redis from 4.4.1 to 4.4.2 (#4091) 2023-01-19 23:55:31 +00:00
Pamela Fox
be8aa5c73d
Add sourcemaps support to Gulp (#4089)
fixes https://github.com/cookiecutter/cookiecutter-django/issues/4045
2023-01-19 22:45:56 +00:00
pyup.io bot
5d07f3bb7e
Update pytest to 7.2.1 (#4077)
* Update pytest from 7.2.0 to 7.2.1

* Update pytest from 7.2.0 to 7.2.1
2023-01-15 11:33:58 +00:00
pyup.io bot
54df65c777
Update pytz from 2022.7 to 2022.7.1 (#4078) 2023-01-15 11:32:56 +00:00
pyup.io bot
fe6e6e85cb
Update sentry-sdk to 1.13.0 (#4074) 2023-01-12 18:28:26 +00:00
Pamela Fox
c4291e7522
Add dump.rdb to gitignore (#4062) 2023-01-10 23:11:53 +00:00
pyup.io bot
98ca314904
Update hiredis to 2.1.1 (#4070) 2023-01-10 13:21:58 +00:00
Pamela Fox
629785e1d4
Add .venv to exclude (#4069) 2023-01-10 08:57:05 +00:00
pyup.io bot
ce25e18a24
Update redis from 4.4.0 to 4.4.1 (#4068) 2023-01-08 11:10:19 +00:00
pyup.io bot
3e050c0f5b
Update coverage from 7.0.3 to 7.0.4 (#4067) 2023-01-08 11:10:04 +00:00
pyup.io bot
f294c276ad
Update django-storages to 1.13.2 (#4057) 2023-01-07 13:29:18 +00:00
Bruno Alla
e8071dcb34
Merge remote-tracking branch 'upstream/pyup-update-rcssmin-1.1.0-to-1.1.1' into pyup-update-django-compressor-4.1-to-4.3 2023-01-07 13:18:57 +00:00
pyup-bot
9c23a17987 Update django-compressor from 4.1 to 4.3 2023-01-06 14:11:14 -08:00
pyup-bot
d91c2141ea Update rcssmin from 1.1.0 to 1.1.1 2023-01-06 10:50:05 -08:00
Robin
62df4f4460
Add .git to .dockerignore (#4054) 2023-01-06 17:56:41 +00:00
Thomas Booij
ebcee95c8b
Fix typo on the test settings (#4049) 2023-01-04 12:33:02 -03:00
pyup.io bot
2da98ab87c
Update coverage from 7.0.2 to 7.0.3 (#4047) 2023-01-04 09:22:18 -03:00
pyup.io bot
f7b628092d
Update flake8-isort to 6.0.0 (#4022)
* Update flake8-isort from 5.0.3 to 6.0.0

Co-authored-by: Fábio C. Barrionuevo da Luz <bnafta@gmail.com>
2023-01-03 15:31:12 -03:00
Fábio C. Barrionuevo da Luz
2d453b5948
Merge pull request #4040 from cookiecutter/pyup-update-pillow-9.3.0-to-9.4.0
Update pillow to 9.4.0
2023-01-03 09:49:09 -03:00
Fábio C. Barrionuevo da Luz
8bad680091
Merge pull request #4042 from cookiecutter/pyup-update-coverage-7.0.1-to-7.0.2
Update coverage to 7.0.2
2023-01-03 09:47:58 -03:00
pyup-bot
3bb3712074 Update whitenoise from 6.2.0 to 6.3.0 2023-01-03 04:30:22 -08:00
pyup-bot
af62563523 Update coverage from 7.0.1 to 7.0.2 2023-01-02 16:43:37 -08:00
pyup-bot
a7f195680f Update pillow from 9.3.0 to 9.4.0 2023-01-01 21:15:53 -08:00
pyup-bot
5530eebfec Update django-allauth from 0.51.0 to 0.52.0 2022-12-29 02:21:49 -08:00
pyup.io bot
019efba2e1
Update pre-commit to 2.21.0 (#4026)
* Update pre-commit from 2.20.0 to 2.21.0

* Update pre-commit from 2.20.0 to 2.21.0
2022-12-26 10:03:43 +00:00
github-actions[bot]
5c30b67df1
Auto-update pre-commit hooks (#4021)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2022-12-25 09:33:59 +00:00
pyup.io bot
bd2d3edd31
Update coverage from 7.0.0 to 7.0.1 (#4024) 2022-12-24 11:25:53 +00:00
Dani Hodovic
93c0769516
Retry when trying to store a Celery result in backend (#3996)
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2022-12-21 14:39:54 +00:00
pyup.io bot
7fc0b1d167
Update pytz to 2022.7 (#4020) 2022-12-21 14:24:02 +00:00
pyup.io bot
e869ab7cc4
Update ipdb to 0.13.11 (#4019) 2022-12-21 14:22:37 +00:00
pyup.io bot
31a1de9bfb
Update sentry-sdk to 1.12.1 (#4014) 2022-12-21 13:58:04 +00:00
pyup.io bot
dd1f3a6d12
Update coverage to 7.0.0 (#4013)
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-12-21 13:57:20 +00:00
pyup.io bot
81309a610f
Update django-anymail to 9.0 (#4012) 2022-12-21 11:20:42 +00:00
github-actions[bot]
e101fbc521
Auto-update pre-commit hooks (#4005)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2022-12-21 11:20:19 +00:00
pyup.io bot
256a967087
Update drf-spectacular to 0.25.1 (#4009) 2022-12-21 11:02:04 +00:00
pyup.io bot
7a6435695b
Update hiredis to 2.1.0 (#4006) 2022-12-21 09:52:05 +00:00
github-actions[bot]
2cadf20adf
Auto-update pre-commit hooks (#3998)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2022-12-13 09:06:12 +00:00
github-actions[bot]
8b9c719a31
Auto-update pre-commit hooks (#3991)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2022-12-10 15:13:10 +00:00
pyup.io bot
20b7ca105b
Update djangorestframework-stubs to 1.8.0 (#3990) 2022-12-09 22:18:10 +00:00
pyup.io bot
a9c3b56e5f
Update black to 22.12.0 (#3988)
* Update black from 22.10.0 to 22.12.0

* Update black from 22.10.0 to 22.12.0
2022-12-09 22:04:36 +00:00