Commit Graph

3205 Commits

Author SHA1 Message Date
pyup.io bot
e9b3b22156
Update django-environ from 0.11.0 to 0.11.2 (#4558) 2023-09-02 06:00:55 +01:00
github-actions[bot]
a46c0e1f69
Auto-update pre-commit hooks (#4550)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-08-31 19:02:24 +01:00
pyup.io bot
4169c06e5d
Update django-allauth from 0.55.0 to 0.55.2 (#4549) 2023-08-31 19:02:02 +01:00
pyup.io bot
0f67641655
Update celery from 5.3.1 to 5.3.3 (#4553) 2023-08-31 16:02:12 +01:00
pyup.io bot
682c3ce34b
Update django-environ from 0.10.0 to 0.11.0 (#4548) 2023-08-30 19:19:51 +01:00
pyup.io bot
944399c2ef
Update sentry-sdk to 1.30.0 (#4546) 2023-08-29 17:37:57 +01:00
Bruno Alla
c67f5ee27c
Add French translations (#4454) 2023-08-28 19:09:54 +01:00
itisnotyourenv
b117f003fb
Change MEDIA_URL to an absolute URL in tests (#4460)
* fixture for changing media url

* Customise MEDIA_URL setting instead of using fixture

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-08-28 19:02:09 +01:00
pyup.io bot
c021908c43
Update django-allauth to 0.55.0 (#4535) 2023-08-28 13:29:23 +01:00
pyup.io bot
b0c0bb2305
Update watchfiles to 0.20.0 (#4537) 2023-08-28 13:28:49 +01:00
MinWoo Sung
4cdfea3977
add compatibility options for black and flake8 (#4541)
* add compatibility options for black and flake8

* remove flake8 args option

---------

Co-authored-by: 성민우 <minwoo@seongmin-uui-MacBookPro.local>
2023-08-28 11:09:15 +01:00
dependabot[bot]
3802572a88
Update Python version from 3.11.4 to 3.11.5 (#4542)
* Bump python in /{{cookiecutter.project_slug}}/compose/production/django

Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye in /{{cookiecutter.project_slug}}/compose/local/django (#4544)

Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye in /{{cookiecutter.project_slug}}/compose/local/docs (#4545)

Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Heroku runtime to Python 3.11.5

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-08-28 11:06:30 +01:00
John
13b97de9d7
Override _after_postgeneration to force save in User factory (#4534)
* Override _after_postgeneration to force save

Saving in _after_postgeneration was automatic in Factory Boy versions below 4.0, but must be done explicitly in newer versions.

* Clean up formatting
2023-08-19 20:31:53 +01:00
pyup.io bot
0336c1ab96
Update argon2-cffi from 21.3.0 to 23.1.0 (#4527) 2023-08-17 09:06:43 +01:00
github-actions[bot]
eaebee84f1
Auto-update pre-commit hooks (#4530)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-08-17 09:05:13 +01:00
pyup.io bot
e79a909653
Update redis to 5.0.0 (#4526) 2023-08-15 15:40:33 +01:00
Bruno Alla
b9550a1dab
Prevent error in data migration caused by long project name (#4525)
* Test very long project names on CI

* Fix migration
2023-08-14 23:00:26 +01:00
pyup.io bot
41d81b6286
Update werkzeug to 2.3.7 (#4521) 2023-08-14 12:00:40 +01:00
Bruno Alla
4e9f9afd3d
Install Django and DRF stubs with compatible-mypy extra (as per offical recommendation) (#4361) 2023-08-14 11:59:28 +01:00
zhaoruibing
bf44d152ea
Exclude env files from container image (add .envs/ to .dockerignore) (#4476)
Currently, environment files are copied to container image during build.

Environment files contains secrets and should not be in container images.
Per [discussion 4474](https://github.com/cookiecutter/cookiecutter-django/discussions/4474), this is likely a bug.

This change excludes all environment files from being copied to container image.

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-08-14 11:22:25 +01:00
pyup.io bot
7f59f85814
Update coverage to 7.3.0 (#4516) 2023-08-14 10:53:37 +01:00
pyup.io bot
b5b12b8f96
Update django-debug-toolbar to 4.2.0 (#4511) 2023-08-14 10:53:14 +01:00
pyup.io bot
a76f43dba9
Update flower to 2.0.1 (#4518) 2023-08-14 10:52:57 +01:00
Tharushan
3415586cf7
Fix overrideCommand value in devcontainer so that the django container can run (#4517) 2023-08-14 10:50:47 +01:00
mpsantos
6a15b4831e
Corrected 'or' translation to pt-br (#4507) 2023-08-10 13:57:47 +01:00
github-actions[bot]
ca99449e4a
Auto-update pre-commit hooks (#4503)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-08-04 08:22:14 +01:00
github-actions[bot]
64f660b170
Auto-update pre-commit hooks (#4499)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-08-01 23:02:31 +01:00
pyup.io bot
9d33aca169
Update django-anymail to 10.1 (#4497)
* Update django-anymail from 10.0 to 10.1

* Update django-anymail from 10.0 to 10.1

* Update django-anymail from 10.0 to 10.1

* Update django-anymail from 10.0 to 10.1

* Update django-anymail from 10.0 to 10.1

* Update django-anymail from 10.0 to 10.1

* Update django-anymail from 10.0 to 10.1

* Update django-anymail from 10.0 to 10.1

* Update django-anymail from 10.0 to 10.1
2023-08-01 23:02:09 +01:00
pyup.io bot
bbfdbc8b0e
Update sentry-sdk from 1.29.1 to 1.29.2 (#4496) 2023-08-01 23:01:24 +01:00
pyup.io bot
072372619d
Update django from 4.2.3 to 4.2.4 (#4495) 2023-08-01 23:01:10 +01:00
Bruno Alla
bc56102f13
Change how we remove prettier pre-commit hook from the config (#4450) 2023-08-01 20:56:51 +01:00
pyup.io bot
d54f29fd4f
Update flake8 to 6.1.0 (#4489)
* Update flake8 from 6.0.0 to 6.1.0

* Update flake8 from 6.0.0 to 6.1.0
2023-08-01 14:44:02 +01:00
pyup.io bot
093b346b3d
Update uvicorn to 0.23.2 (#4490) 2023-08-01 14:43:51 +01:00
pyup.io bot
82a944bc67
Update sentry-sdk to 1.29.1 (#4494) 2023-08-01 14:43:38 +01:00
Shayan Karimi
40ddc4b6af
Add support for Drone (#4382)
* Add overall config for drone.io support

* Update docs

* Configure basic CI setup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix python image version for tests step

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-28 13:03:47 +01:00
dependabot[bot]
72e91da973
Bump traefik (#4483)
Bumps traefik from 2.10.3 to 2.10.4.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 10:21:53 -03:00
pyup.io bot
89ecc2e576
Update drf-spectacular to 0.26.4 (#4481) 2023-07-24 16:36:15 +01:00
Imran Rahman
a50f2bee94
Display custom 403_csrf.html while getting a csrf error in prod (#4464)
Co-authored-by: Imran Rahman <imranrahman.ix@gmail.com>
2023-07-24 12:41:10 +01:00
Imran Rahman
f567b5f685
update docs docker-compose -> docker compose (#4463)
Co-authored-by: Imran Rahman <imranrahman.ix@gmail.com>
2023-07-24 10:42:51 +01:00
pyup.io bot
e7f0b960b7
Update djlint to 1.32.1 (#4475)
* Update djlint from 1.32.0 to 1.32.1

* Update djlint from 1.32.0 to 1.32.1
2023-07-20 18:38:35 +01:00
pyup.io bot
394a9c4bd8
Update factory-boy to 3.3.0 (#4472) 2023-07-19 16:52:30 +01:00
pyup.io bot
6b4f8852a3
Update gunicorn to 21.2.0 (#4473) 2023-07-19 16:52:09 +01:00
pyup.io bot
7ef435d0c6
Update djlint to 1.32.0 (#4471)
* Update djlint from 1.31.1 to 1.32.0

* Update djlint from 1.31.1 to 1.32.0
2023-07-19 11:06:13 +01:00
pyup.io bot
826c48c80e
Update gunicorn to 21.1.0 (#4470) 2023-07-18 17:56:19 +01:00
pyup.io bot
75a33485a3
Update uvicorn to 0.23.1 (#4468) 2023-07-18 12:40:58 +01:00
pyup.io bot
daa4398071
Update gunicorn to 21.0.1 (#4466) 2023-07-18 12:40:06 +01:00
pyup.io bot
1cfa07be3b
Update sentry-sdk from 1.28.0 to 1.28.1 (#4458) 2023-07-13 09:26:56 -03:00
Bruno Alla
de2f108ec2
Fix code style 2023-07-12 11:03:05 +01:00
masavini
f10253a3b3
fix /tmp bind mount (#4455) 2023-07-11 17:32:02 +01:00
Bruno Alla
67a7194d06
Improve type hints for UserSerializer (#4429)
* Improve type hints for UserSerializer

* Fix NameError for UserType
2023-07-11 14:11:24 +01:00
pyup.io bot
cf2bc57a0d
Update black to 23.7.0 (#4452)
* Update black from 23.3.0 to 23.7.0

* Update black from 23.3.0 to 23.7.0
2023-07-11 09:43:53 +02:00
Andrew Chen Wang
a82622b592
Name shown twice in user_details.html if username set to email (#4436)
* Update user_detail.html

* Wrap long conditions over multiple lines

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-07-10 17:46:42 +01:00
tildebox
5610d854f5
Add missing trailing space in EMAIL_SUBJECT_PREFIX (#4434) 2023-07-10 17:20:36 +01:00
pyup.io bot
558d5282a5
Update django-coverage-plugin to 3.1.0 (#4446) 2023-07-10 15:24:25 +01:00
pyup.io bot
d794b151a2
Update pillow to 10.0.0 (#4432) 2023-07-10 15:23:57 +01:00
pyup.io bot
ece50bacad
Update django-cors-headers to 4.2.0 (#4445) 2023-07-10 15:02:14 +01:00
pyup.io bot
dff6178b73
Update sentry-sdk to 1.28.0 (#4444) 2023-07-10 15:01:51 +01:00
pyup.io bot
b9acaad5e6
Update sentry-sdk from 1.27.0 to 1.27.1 (#4440) 2023-07-08 12:10:46 +02:00
pyup.io bot
9085ff8ad7
Update sentry-sdk from 1.26.0 to 1.27.0 (#4439) 2023-07-04 23:05:33 +02:00
dependabot[bot]
de8759fdbd
Bump postcss-preset-env in /{{cookiecutter.project_slug}} (#4437)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 8.5.1 to 9.0.0.
- [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-07-04 09:33:31 +02:00
pyup.io bot
bef0b0d29a
Update django-stubs from 4.2.2 to 4.2.3 (#4430) 2023-07-03 12:33:41 +02:00
pyup.io bot
a050ea83c1
Update django from 4.2.2 to 4.2.3 (#4435) 2023-07-03 12:30:43 +02:00
masavini
1ed6d6e03b
VS Code Dev Container (#4198)
* decontainer setup

* update

* fix typo

* keep .envs

* add info

* typo

* minor fixes

* keep compose/production

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add isort and lint

* choose editor and configure devcontainer

* choose editor and configure devcontainer

* add ssh client

* Remove isort arguments duplicated with base config

* End of file

* Only keep black as code formatter

* Add note about black not being accepted as formatter in devcontainer

* Avoid empty lines in devcontainer.json

* Move bash_history into .devcontainer folder

* Remove .prettierignore file

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-07-03 11:55:33 +02:00
Will Gordon
397100dcab
Allow django-admin to optionally use django-allauth login workflow (#1921)
* Allow django-admin to optionally use django-allauth login workflow

* Fix mypy and add a comment to allauth documentation

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-06-30 10:50:20 +01:00
Jelmer
4ef180edb1
Merge pull request #4421 from Andrew-Chen-Wang/patch-7
Change psycopg2 to psycopg3
2023-06-29 08:58:29 +02:00
Andrew Chen Wang
c5940219c7
Fix PostgreSQL version in GitHub workflow (#4423) 2023-06-28 23:35:50 +01:00
pyup.io bot
5b85233d30
Update werkzeug to 2.3.6 (#4427) 2023-06-28 15:31:08 +01:00
Andrew Chen Wang
9a74e459e4
Fix entrypoint 2023-06-28 09:19:56 -04:00
Jelmer
6f34e19260
Merge pull request #4393 from foarsitter/django-4.2
Upgrade to django 4.2
2023-06-28 08:58:24 +02:00
Jelmer Draaijer
ef36732569 Set target-version for django upgrade to 4.2 2023-06-28 08:38:04 +02:00
pyup-bot
e9eb72b0b9 Update django-compressor from 4.3.1 to 4.4 2023-06-27 23:52:40 +01:00
Andrew Chen Wang
5a7de40b83
Populate user name field in social auth (#3968)
* Populate user name field in social auth

* Add docstring for populate_user

* Fix missing def

* Fix missing def

* Add some type hints to the SocialAccountAdapter class

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-06-27 23:36:01 +01:00
Andrew Chen Wang
d13e4270c2
Remove prettier unless in pre-commit (#4418)
* Remove prettier webpack in pre-commit

* Update {{cookiecutter.project_slug}}/.pre-commit-config.yaml

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

* Tweak vertical spacing

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-06-27 23:18:19 +01:00
pyup.io bot
0225a7c83f
Update djangorestframework-stubs to 3.14.2 (#4420) 2023-06-27 23:08:18 +01:00
pyup.io bot
d0e36d7d28
Update django-stubs to 4.2.2 (#4419) 2023-06-27 22:52:58 +01:00
monosans
30e8506872
Add djLint for HTML formatting and linting (#4389)
* Add djLint for HTML formatting and linting

* Remove djLint pre-commit hook

* Bump djLint from 1.31.0 to 1.31.1
2023-06-27 22:52:36 +01:00
Andrew Chen Wang
dda67d449b
Update local.txt 2023-06-27 16:40:43 -04:00
Andrew Chen Wang
b03cde1221
Update production.txt 2023-06-27 16:40:03 -04:00
Andrew Chen Wang
be6d71644b
Change psycopg2 to psycopg3 2023-06-27 16:38:42 -04:00
Jelmer
b2f5eb8f74
Merge pull request #4412 from cookiecutter/pyup-update-pytest-7.3.2-to-7.4.0
Update pytest to 7.4.0
2023-06-26 14:29:50 +02:00
Jelmer
653d6c6c63
Merge pull request #4415 from cookiecutter/pyup-update-redis-4.5.5-to-4.6.0
Update redis to 4.6.0
2023-06-26 14:29:32 +02:00
pyup-bot
da6fadd99e Update mypy from 1.3.0 to 1.4.1 2023-06-26 02:35:34 +01:00
pyup-bot
f0357e2ad0 Update redis from 4.5.5 to 4.6.0 2023-06-25 16:38:42 +01:00
pyup-bot
b2642ac37d Update pytest from 7.3.2 to 7.4.0 2023-06-23 18:48:31 +01:00
pyup.io bot
a99e287024
Update drf-spectacular from 0.26.2 to 0.26.3 (#4411) 2023-06-22 16:24:23 -03:00
pyup.io bot
9f9a886708
Update sentry-sdk from 1.25.1 to 1.26.0 (#4409) 2023-06-22 16:28:21 +01:00
dependabot[bot]
b4c705f16e
Upgrade traefik to 2.10.3 (#4408)
Bumps traefik from 2.10.1 to 2.10.3.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 10:36:44 +01:00
github-actions[bot]
5de0e05490
Auto-update pre-commit hooks (#4405)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-06-19 10:11:35 +01:00
pyup.io bot
2bff4b8a83
Update celery to 5.3.1 (#4404) 2023-06-19 10:11:17 +01:00
pyup.io bot
224f31e7f3
Update flower from 1.2.0 to 2.0.0 (#4402) 2023-06-18 13:32:36 +01:00
Bruno Alla
7ad2e1fdae
Fix missing celery env variable when running compilemessages (#4403) 2023-06-18 13:03:36 +01:00
pyup.io bot
9c8913ef47
Update whitenoise from 6.4.0 to 6.5.0 (#4400) 2023-06-16 21:10:09 +01:00
pyup-bot
9b3c4e7a94 Update django-redis from 5.2.0 to 5.3.0 2023-06-16 14:55:01 +01:00
github-actions[bot]
8c93ad4dd0
Auto-update pre-commit hooks (#4395)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-06-16 07:41:56 +01:00
pyup.io bot
61ee4c3e30
Update django-cors-headers from 4.0.0 to 4.1.0 (#4391) 2023-06-14 20:49:07 +01:00
Jelmer Draaijer
c15eb6d97a Upgrade to django 4.2 2023-06-14 15:26:44 +02:00
pyup-bot
1c399167ad Update django-webpack-loader from 2.0.0 to 2.0.1 2023-06-14 13:54:22 +01:00
pyup.io bot
0d308fa2ee
Update pre-commit to 3.3.3 (#4390)
* Update pre-commit from 3.3.2 to 3.3.3

* Update pre-commit from 3.3.2 to 3.3.3
2023-06-14 06:54:36 +01:00
pyup.io bot
733f5b9544
Update pytest to 7.3.2 (#4384)
* Update pytest from 7.3.1 to 7.3.2

* Update pytest from 7.3.1 to 7.3.2
2023-06-11 09:16:04 +01:00
github-actions[bot]
9bb27586d5
Auto-update pre-commit hooks (#4385)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-06-11 09:15:29 +01:00
Bruno Alla
2e561ed6c4
Fix missing compilemessages step before deploying to prod (#4363)
* Update readme on internationalization

* Run compilemessages when building production image

* Run compilemessages when deploying to Heroku

* Always keep Heroku post-compile hooks

* Add empty po file for en-US language

* Update instructions for Docker

* Update default po file

* Convert locale readme to markdown and expand a bit the instructions

* Don't compile translations for 3rd party packages

* Use simplified settings & set env variables for compiling translations

* Update README for translations

* Improve metadata for Brazilian Portuguese translations

* Fix condition for django compressor on Heroku

* Fix condition for Django Compressor
2023-06-09 11:12:44 +01:00
Bruno Alla
61ebd31e5d
Update Heroku runtime to Python 3.11.4 2023-06-08 16:49:59 +01:00
dependabot[bot]
ca780d5665
Update to Python 3.11.4 in production Docker compose (#4378)
Bumps python from 3.11.3-slim-bullseye to 3.11.4-slim-bullseye.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 16:47:50 +01:00
dependabot[bot]
4e4ca84519
Update to Python 3.11.4 in docs Docker compose (#4379)
Bumps python from 3.11.3-slim-bullseye to 3.11.4-slim-bullseye.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 16:47:43 +01:00
dependabot[bot]
b2dfd26834
Update to Python 3.11.4 in local Docker compose (#4380)
Bumps python from 3.11.3-slim-bullseye to 3.11.4-slim-bullseye.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 16:47:37 +01:00
pyup.io bot
74b98844c2
Update celery to 5.3.0 (#4369) 2023-06-08 16:43:28 +01:00
mpsantos
1025d73083
Translate fixed message in test (#4374) 2023-06-08 16:41:35 +01:00
pyup.io bot
135ea503e4
Update werkzeug from 2.3.4 to 2.3.5 (#4377) 2023-06-08 11:15:42 +01:00
pyup.io bot
d6c8c760e7
Update sentry-sdk from 1.25.0 to 1.25.1 (#4376) 2023-06-07 13:55:10 -03:00
Bruno Alla
5bf90a43a9
Replace runserver with runserver_plus (#4373)
This reverts commit f93a9f78d9

In #4255, `runserver_plus` was replaced by `runserver` due to some bugs in django-extensions, preventing us to upgrade Django.

In #4372, django-extensions was upgraded to a version with a fix, so we can go back to using `runserver_plus`.
2023-06-07 17:12:01 +01:00
pyup.io bot
36b5606823
Update django-extensions to 3.2.3 (#4372) 2023-06-07 10:17:09 +01:00
Bruno Alla
cb9b681c2d
Merge remote-tracking branch 'upstream/pyup-update-djangorestframework-stubs-3.14.0-to-3.14.1' into pyup-update-mypy-1.2.0-to-1.3.0 2023-06-07 09:56:37 +01:00
Bruno Alla
6a436cefd2
Merge remote-tracking branch 'upstream/pyup-update-django-stubs-4.2.0-to-4.2.1' into pyup-update-mypy-1.2.0-to-1.3.0
# Conflicts:
#	{{cookiecutter.project_slug}}/requirements/local.txt
2023-06-07 09:56:23 +01:00
pyup-bot
45c407d47a Update mypy from 1.2.0 to 1.3.0 2023-06-07 09:55:19 +01:00
Matheus Jardim Bernardes
72887ed673
add pt_BR .po file (#4367)
* add pt_BR .po file

* add ptBR strings

* update docs

* add README.rst info for i18n

* Update {{cookiecutter.project_slug}}/locale/pt_BR/LC_MESSAGES/django.po

Co-authored-by: Fábio C. Barrionuevo da Luz <bnafta@gmail.com>

---------

Co-authored-by: Matheus Jardim <matheus.jardim@conceptu.ind.br>
Co-authored-by: Fábio C. Barrionuevo da Luz <bnafta@gmail.com>
2023-06-07 09:50:30 +01:00
pyup-bot
0f7485f7c4 Update djangorestframework-stubs from 3.14.0 to 3.14.1 2023-06-02 18:18:40 +02:00
pyup-bot
c56451e268 Update django-stubs from 4.2.0 to 4.2.1 2023-06-02 18:18:37 +02:00
pyup.io bot
752dbffdce
Update sentry-sdk to 1.25.0 (#4364) 2023-06-02 14:55:43 +01:00
pyup.io bot
0e89b70e94
Update hiredis to 2.2.3 (#4360)
* Update hiredis from 2.2.2 to 2.2.3

* Update hiredis from 2.2.2 to 2.2.3
2023-05-30 16:05:37 +01:00
pyup.io bot
8d0ad800e7
Update django-debug-toolbar to 4.1.0 (#4359) 2023-05-30 16:05:20 +01:00
pyup.io bot
062c942ab6
Update redis to 4.5.5 (#4358) 2023-05-30 16:04:46 +01:00
pyup.io bot
332fa9afa2
Update django-anymail to 10.0 (#4357)
* Update django-anymail from 9.2 to 10.0

* Update django-anymail from 9.2 to 10.0

* Update django-anymail from 9.2 to 10.0

* Update django-anymail from 9.2 to 10.0

* Update django-anymail from 9.2 to 10.0

* Update django-anymail from 9.2 to 10.0

* Update django-anymail from 9.2 to 10.0

* Update django-anymail from 9.2 to 10.0

* Update django-anymail from 9.2 to 10.0

* Update the 'extra' for Amazon SES

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-05-30 16:04:26 +01:00
pyup.io bot
cb290a6d43
Update coverage to 7.2.7 (#4356) 2023-05-30 15:47:46 +01:00
Bruno Alla
8d64f17494
Prevent Celery restarts on media file changes (#4352)
Fix #4318
2023-05-24 15:51:38 +01:00
pyup.io bot
02d2d24b69
Update coverage from 7.2.5 to 7.2.6 (#4351) 2023-05-24 08:10:13 +01:00
pyup.io bot
ff0bedc0d4
Update sentry-sdk from 1.23.1 to 1.24.0 (#4349) 2023-05-23 13:07:05 -03:00
Fábio C. Barrionuevo da Luz
65abf6165a
Fix compatibility webpack-bundle-tracker>=2.0.0 js library (#4350)
required after upgrade django-webpack-loader to >=2.0.0
2023-05-23 12:57:52 -03:00
dependabot[bot]
60a3ee78b8
Bump webpack-bundle-tracker in /{{cookiecutter.project_slug}} (#4347)
Bumps [webpack-bundle-tracker](https://github.com/django-webpack/webpack-bundle-tracker) from 1.8.1 to 2.0.0.
- [Release notes](https://github.com/django-webpack/webpack-bundle-tracker/releases)
- [Commits](https://github.com/django-webpack/webpack-bundle-tracker/compare/1.8.1...2.0.0)

---
updated-dependencies:
- dependency-name: webpack-bundle-tracker
  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-05-23 12:32:48 -03:00
pyup.io bot
2dab4630df
Update django-webpack-loader from 1.8.1 to 2.0.0 (#4345) 2023-05-23 09:42:30 -03:00
pyup.io bot
6f308d4e50
Update pre-commit to 3.3.2 (#4342)
* Update pre-commit from 3.3.1 to 3.3.2

* Update pre-commit from 3.3.1 to 3.3.2
2023-05-18 17:29:05 +01:00
pyup.io bot
3bd669a80d
Update sentry-sdk from 1.23.0 to 1.23.1 (#4341) 2023-05-17 20:03:03 +01:00
pyup.io bot
8ec0f36587
Update django-cors-headers from 3.14.0 to 4.0.0 (#4329) 2023-05-15 21:21:25 +01:00
pyup.io bot
36b92f4f0d
Update sentry-sdk from 1.22.2 to 1.23.0 (#4337) 2023-05-15 20:36:17 +01:00
Bruno Alla
54d78f733e
Use single quotes in pre-commit config 2023-05-14 21:56:17 +01:00
pyup.io bot
a062981213
Update werkzeug from 2.3.3 to 2.3.4 (#4325) 2023-05-09 17:31:35 +01:00
github-actions[bot]
43efe9a7ef
Auto-update pre-commit hooks (#4320)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-05-08 15:52:45 +01:00
pyup.io bot
cd2e3b7783
Update sentry-sdk to 1.22.2 (#4321)
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-05-08 15:47:13 +01:00
pyup.io bot
86fc36ec7e
Update django-anymail to 9.2 (#4316)
* Update django-anymail from 9.1 to 9.2

* Update django-anymail from 9.1 to 9.2

* Update django-anymail from 9.1 to 9.2

* Update django-anymail from 9.1 to 9.2

* Update django-anymail from 9.1 to 9.2

* Update django-anymail from 9.1 to 9.2

* Update django-anymail from 9.1 to 9.2

* Update django-anymail from 9.1 to 9.2

* Update django-anymail from 9.1 to 9.2
2023-05-04 15:42:37 +01:00
pyup.io bot
d0578306f4
Update pre-commit to 3.3.1 (#4315)
* Update pre-commit from 3.2.2 to 3.3.1

* Update pre-commit from 3.2.2 to 3.3.1
2023-05-04 10:14:34 +01:00
pyup.io bot
56863a960b
Update coverage from 7.2.3 to 7.2.5 (#4314) 2023-05-04 09:12:44 +01:00
pyup.io bot
2778552879
Update django from 4.1.8 to 4.1.9 (#4313) 2023-05-04 09:12:00 +01:00
pyup.io bot
6af3444476
Update sentry-sdk from 1.21.0 to 1.21.1 (#4312) 2023-05-04 09:04:03 +01:00
Bruno Alla
18a8ec3a0b
Remove pytz from dependencies (#4309) 2023-05-04 09:02:02 +01:00
dependabot[bot]
ffe666f2dd
Upgrade traefik to 2.10.1 (#4304)
Bumps traefik from 2.10.0 to 2.10.1.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 16:28:54 +01:00
pyup.io bot
964c27a8ae
Update uvicorn from 0.21.1 to 0.22.0 (#4305) 2023-05-02 08:31:47 +01:00
pyup.io bot
3240a0709b
Update werkzeug from 2.3.1 to 2.3.3 (#4307) 2023-05-02 08:30:51 +01:00
Bruno Alla
c88f8ef37a
Add django-upgrade to pre-commit hooks (#4298) 2023-04-28 08:56:22 +01:00
pyup.io bot
d0d679bb97
Update djangorestframework-stubs from 1.10.0 to 3.14.0 (#4303) 2023-04-27 18:55:44 +01:00
pyup.io bot
a8f5c55455
Update werkzeug to 2.3.1 (#4302) 2023-04-27 15:56:51 +01:00
pyup.io bot
fe49a2cbe5
Update django-stubs to 4.2.0 (#4301) 2023-04-27 15:39:01 +01:00
Bruno Alla
66660f41e6
Update cdn js URLs to latest Bootstrap 2023-04-26 10:29:07 +02:00
dependabot[bot]
3a9882e92c
Upgrade cssnano to v6.0.0 (#4233)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.1.15 to 6.0.0.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.1.15...cssnano@6.0.0)

---
updated-dependencies:
- dependency-name: cssnano
  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-04-26 09:22:00 +01:00
dependabot[bot]
3198750b38
Upgrade concurrently to 8.0.1 (#4237)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 7.6.0 to 8.0.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v7.6.0...v8.0.1)

---
updated-dependencies:
- dependency-name: concurrently
  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-04-26 08:47:17 +01:00
dependabot[bot]
5bc3df7650
Upgrade to node v18 (#4294)
* Bump node in /{{cookiecutter.project_slug}}/compose/local/node

Bumps node from 16-bullseye-slim to 18-bullseye-slim.

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

Signed-off-by: dependabot[bot] <support@github.com>

* Update to node 18 in prod Dockerfile

* Update to node 18 in package.json

* Update node version in CI

* Update node version in documentation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-04-26 08:06:56 +01:00
pyup.io bot
16c203fde1
Update coverage to 7.2.3 (#4297) 2023-04-26 07:57:20 +01:00
pyup.io bot
3b68594197
Update mypy to 1.2.0 (#4295) 2023-04-26 07:55:56 +01:00
pyup.io bot
956d851039
Update werkzeug to 2.3.0 (#4296) 2023-04-26 07:54:46 +01:00
pyup.io bot
0444b6d5de
Update sentry-sdk from 1.20.0 to 1.21.0 (#4293) 2023-04-25 18:49:32 +01:00
pyup.io bot
50364f9d10
Update sphinx to 6.2.1 (#4292)
* Update sphinx from 6.2.0 to 6.2.1

* Update sphinx from 6.2.0 to 6.2.1
2023-04-25 18:49:21 +01:00
Bruno Alla
15c933c206
Fix comment typos in Dockerfiles 2023-04-25 10:44:02 +02:00
dependabot[bot]
ebbb4b3673
Bump traefik from 2.9.10 to 2.10.0 (#4290)
Bumps traefik from 2.9.10 to 2.10.0.

---
updated-dependencies:
- dependency-name: traefik
  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-04-25 09:13:42 +01:00
github-actions[bot]
9af5be6c61
Auto-update pre-commit hooks (#4288)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-04-25 09:11:50 +01:00
github-actions[bot]
db0d78be8a
Auto-update pre-commit hooks (#4286)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-04-24 07:29:28 +01:00
pyup.io bot
7d4dd98534
Update sphinx to 6.2.0 (#4285)
* Update sphinx from 6.1.3 to 6.2.0

* Update sphinx from 6.1.3 to 6.2.0
2023-04-24 07:28:46 +01:00
pyup.io bot
b63d53b16d
Update sentry-sdk to 1.20.0 (#4282) 2023-04-19 16:50:42 +01:00
Bruno Alla
61314f2f9a
Tweak spacing for nginx container 2023-04-16 20:45:52 +01:00
Bruno Alla
0a23b52b54
Fix syntax in pre-commit config 2023-04-16 12:59:01 +01:00
pyup.io bot
a1f2a670d9
Update drf-spectacular to 0.26.2 (#4277) 2023-04-15 15:48:41 +01:00
Bruno Alla
17fa459dc3
Fix inconsistent line length and move configs to pyproject.toml (#4276)
* Fix inconsistent line length and move config to pyproject.toml

Fix #2720

* Fix running tox with AUTOFIXABLE_STYLES

* Adjust some styles

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Adjust more styles

* Split isort and flake8 tests

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-15 15:43:04 +01:00
Bruno Alla
0dcc4c4b4c
Add more pre-commit hooks (#4266)
* Add more hooks from pre-commit-hooks repo

* Add pre-commit hook for prettier

* Format with prettier

* Remove check-docstring-first hook

* Run prettier in the template

* Tweak formatting of dependabot file

* Fix formatting of GitHub files for prettier

* More format fixes of ci.yml
2023-04-15 12:15:15 +01:00
Andrew Chen Wang
1783257ed3
Add username_type option (#3958)
* Add username_type option

* Update docs

Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>

* Fix errors and lint

Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>

* Try linting again

* Try linting again

* Handle signup

* Fix url reverse in template

* Fix migration file

* Remove extra line in factories

* E2E tests for email username

* Fix style in users api views and serializers

* Fix style in users api views and serializers

* Add conditions for fields in UserAdminCreationForm

* Consistent Jinja tag conditions

* Fix more empty lines issues

* Tweak options order

* Test username email

* Fix code style

* Fix kwargs to reverse user details view

* Remove comment in template

* Fix error messages dict in user form

* Fix line wrapping

* Move custom manager into a separate module and add tests

---------

Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-15 11:53:15 +01:00
Jelmer
42c30dafcb
Upgrade Python to version 3.11 (Faster CPython) (#4256)
* Upgrade Python to version 3.11 (Faster CPython)

* Update pyupgrade config for Python 3.11

* Update tox env to Python 3.11

* Update to latest Python 3.11.3

* Add a note about lack of support in PythonAnywhere

* Rephrase note

* Fix casing

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-15 11:42:33 +01:00
pyup.io bot
2ad3858e26
Update pytest to 7.3.1 (#4272)
* Update pytest from 7.3.0 to 7.3.1

* Update pytest from 7.3.0 to 7.3.1
2023-04-15 10:02:54 +01:00
pyup.io bot
436233e8ba
Update pytest-sugar from 0.9.6 to 0.9.7 (#4269) 2023-04-10 11:36:59 -03:00
pyup.io bot
ea1b686131
Update pytest to 7.3.0 (#4268)
* Update pytest from 7.2.2 to 7.3.0

* Update pytest from 7.2.2 to 7.3.0
2023-04-10 11:09:01 +01:00
dependabot[bot]
73b16539d4
Upgrade traefik to 2.9.10 (#4267)
---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 08:33:13 +01:00
Bruno Alla
a607284e1f
Update indent for nginx config file (#4260) 2023-04-05 21:32:05 +01:00
pyup.io bot
782cee3756
Update django to 4.1.8 (#4258) 2023-04-05 14:57:59 +01:00
pyup.io bot
ddd8f1c45d
Update pre-commit to 3.2.2 (#4259)
* Update pre-commit from 3.2.1 to 3.2.2

* Update pre-commit from 3.2.1 to 3.2.2
2023-04-05 14:57:17 +01:00
Jelmer
a07b4b3112
Upgrade to Django 4.1 (#4028)
* Upgrade to Django 4.1

* Bump django-environ back to 0.10.0

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-04-04 22:10:17 +01:00
Jelmer
f93a9f78d9
Replace runserver_plus with runserver (#4255)
* Replace runserver_plus with runserver since it is not compatible with django >= 4.1

* Replace runserver_plus with runserver in post_gen_hooks

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-04-04 21:42:53 +01:00
pyup.io bot
e05122e4b3
Update sentry-sdk to 1.19.0 (#4254) 2023-04-04 21:31:01 +01:00
pyup.io bot
d7783f5c55
Update django-debug-toolbar from 3.8.1 to 4.0.0 (#4251) 2023-04-04 13:42:17 +01:00
Morten Kaae
f55b30bb29
Remove deprecated security setting (#4247)
* Remove deprecated setting

* Update documentation
2023-04-04 10:31:08 +01:00
Arkadiusz Michał Ryś
e13f7afcb8
Fix traefik rule priority for media router (#4244)
* 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>

* Change Traefik media router rule generation to force priority

The web-secure-router could end up having priority over the web-media-router when the www subdomain was used.
This fix adds the www subdomain to the web-media-router if it's also present in the web-secure-router rule.
Traefik looks at the length of rules to determine priority when no explicit priority is set.
The web-media-router needs to always have priority over the web-secure-router in order for the media files to be served.

* Add space to Traefik rule

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-04 10:25:06 +01:00
pyup.io bot
4641830430
Update psycopg2-binary from 2.9.5 to 2.9.6 (#4249) 2023-04-03 10:48:04 -03:00
pyup.io bot
1c74c8724e
Update psycopg2 to 2.9.6 (#4248)
* Update psycopg2 from 2.9.5 to 2.9.6

* Update psycopg2 from 2.9.5 to 2.9.6
2023-04-03 10:47:54 -03:00
Adin Hodovic
3db64512c8
fix: Syntax for ignoring specific errors (#4250)
Noticed when started using pygrep-hooks. Syntax is noqa: code with a colon.
2023-04-03 10:34:45 -03:00
pyup.io bot
28f05920cf
Update pillow from 9.4.0 to 9.5.0 (#4242) 2023-04-01 12:32:20 +01:00
pyup.io bot
58de1db4a0
Update django-allauth from 0.53.1 to 0.54.0 (#4241) 2023-04-01 12:32:09 +01:00
pyup.io bot
694a29794d
Update redis to 4.5.4 (#4239) 2023-03-29 18:30:37 +01:00
pyup.io bot
4ed32dde32
Update pytz to 2023.3 (#4238) 2023-03-29 16:54:44 +01:00
github-actions[bot]
fffc2a2fa6
Auto-update pre-commit hooks (#4235)
Co-authored-by: browniebroke <browniebroke@users.noreply.github.com>
2023-03-29 16:53:39 +01:00
pyup.io bot
43c32961e5
Update black to 23.3.0 (#4236)
* Update black from 23.1.0 to 23.3.0

* Update black from 23.1.0 to 23.3.0
2023-03-29 16:53:29 +01:00
pyup.io bot
6475dffbd8
Update watchfiles from 0.18.1 to 0.19.0 (#4232) 2023-03-27 20:00:22 -03:00
pyup.io bot
8156efd583
Update pre-commit to 3.2.1 (#4229)
* Update pre-commit from 3.2.0 to 3.2.1

* Update pre-commit from 3.2.0 to 3.2.1
2023-03-26 18:44:19 +01:00
pyup.io bot
ad9ea88232
Update pytz from 2022.7.1 to 2023.2 (#4228) 2023-03-25 14:58:44 +00:00
dependabot[bot]
68133e8354
Bump traefik from 2.9.8 to 2.9.9 (#4225)
Bumps traefik from 2.9.8 to 2.9.9.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 17:15:43 +00:00
pyup.io bot
3533b4dd93
Update redis from 4.5.2 to 4.5.3 (#4227) 2023-03-22 20:34:03 +00:00
pyup.io bot
95ec685983
Update django-allauth to 0.53.1 (#4223) 2023-03-20 12:11:18 +00:00