Commit Graph

319 Commits

Author SHA1 Message Date
Matthew Foster Walsh
b756d904d7
You probably don't need get_user_model (#4879)
* You probably don't need `get_user_model`
Fixes #4872

* Fix Flake8 (add space after import)

* (try to) fix ruff

* Fix import format
2024-02-21 10:01:56 +00:00
browniebroke
80147bd340 Update Contributors 2024-02-16 09:55:59 +00:00
dependabot[bot]
f4086f83a7
Bump peter-evans/create-pull-request from 5 to 6
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 05:18:48 +00:00
dependabot[bot]
b556cef533
Bump tiangolo/issue-manager from 0.4.1 to 0.5.0 (#4825)
Bumps [tiangolo/issue-manager](https://github.com/tiangolo/issue-manager) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/tiangolo/issue-manager/releases)
- [Commits](https://github.com/tiangolo/issue-manager/compare/0.4.1...0.5.0)

---
updated-dependencies:
- dependency-name: tiangolo/issue-manager
  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>
2024-01-31 10:20:08 +00:00
browniebroke
a11f02de8d Update Contributors 2024-01-29 13:10:31 +00:00
browniebroke
956469849a Update Contributors 2024-01-25 09:02:05 +00:00
Bruno Alla
e354622bb7
Auto-close issue marked as "wontfix" 2024-01-24 10:25:58 +00:00
browniebroke
f07aa6010b Update Contributors 2024-01-15 09:51:56 +00:00
browniebroke
eb58c83bf7 Update Contributors 2024-01-09 18:56:47 +00:00
Bruno Alla
1e596589c5
Update dependabot config 2024-01-09 18:33:20 +00:00
dependabot[bot]
6194b1cc78
Bump tiangolo/issue-manager from 0.4.0 to 0.4.1 (#4780)
Bumps [tiangolo/issue-manager](https://github.com/tiangolo/issue-manager) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/tiangolo/issue-manager/releases)
- [Commits](https://github.com/tiangolo/issue-manager/compare/0.4.0...0.4.1)

---
updated-dependencies:
- dependency-name: tiangolo/issue-manager
  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>
2024-01-09 18:31:45 +00:00
browniebroke
9cffb083d2 Update Contributors 2023-12-19 10:43:53 +00:00
luzfcb
9f259210ed Update Contributors 2023-12-09 13:36:48 +00:00
dependabot[bot]
7d5a14d9f6
Bump actions/setup-python from 4 to 5 (#4723)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  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-12-07 09:20:42 +00:00
dependabot[bot]
957bc66d11
Bump node from 18 to 20 (#4283) 2023-12-04 09:58:02 +00:00
browniebroke
05460575a7 Update Contributors 2023-12-02 12:25:34 +00:00
browniebroke
e86e332dac Update Contributors 2023-11-30 14:09:37 +00:00
Bruno Alla
527b13d954
Add delay to issue manager 2023-11-29 16:10:28 +00:00
browniebroke
a405d2bbcf Update Contributors 2023-11-20 12:45:57 +00:00
dependabot[bot]
eb0de87de4
Bump actions/setup-node from 3 to 4 (#4643)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  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-10-24 10:43:57 +01:00
dependabot[bot]
266c4e4790
Bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4.16.0 to 5.0.0.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.16.0...v5.0.0)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 05:21:55 +00:00
browniebroke
e700ec1138 Update Contributors 2023-09-27 19:47:26 +00:00
browniebroke
243250f8c7 Update Contributors 2023-09-06 19:41:51 +00:00
dependabot[bot]
b2c2eedb6d
Bump actions/checkout from 3 to 4 (#4565)
* Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump actions/checkout from 3 to 4

---------

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-09-06 20:40:35 +01:00
browniebroke
b0b0f33f40 Update Contributors 2023-08-28 18:03:02 +00:00
browniebroke
27f221daff Update Contributors 2023-08-28 10:10:05 +00: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
browniebroke
211b0571f3 Update Contributors 2023-08-14 10:23:06 +00:00
browniebroke
f89ff79aee Update Contributors 2023-08-14 09:58:32 +00:00
browniebroke
d2b81ac39a Update Contributors 2023-08-14 09:51:28 +00:00
browniebroke
7b27d791fa Update Contributors 2023-07-30 11:15:43 +00:00
browniebroke
6354f7f64f Update Contributors 2023-07-28 12:04:23 +00:00
browniebroke
7a81a561c9 Update Contributors 2023-07-27 11:29:24 +00:00
browniebroke
842fa01af0 Update Contributors 2023-07-24 09:43:43 +00: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
browniebroke
0958e88874 Update Contributors 2023-07-10 17:36:36 +00:00
browniebroke
d21bb5929e Update Contributors 2023-07-09 07:07:57 +00:00
browniebroke
7adb91cc15 Update Contributors 2023-07-04 20:15:05 +00:00
browniebroke
4519de8aaa Update Contributors 2023-07-03 09:56:14 +00:00
Bruno Alla
2b9c56cf39
Add open-collective to funding file 2023-06-23 10:21:53 +01:00
foarsitter
dc61beecba Update Contributors 2023-06-13 20:06:25 +00:00
Jelmer Draaijer
fa096673e4 Add @foarsitter as core contributor 2023-06-13 21:13:32 +02:00
browniebroke
fbc2373bcc Update Contributors 2023-06-07 08:51:12 +00: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
browniebroke
dd14749891 Update Contributors 2023-04-18 19:42:53 +00:00
Bruno Alla
32474ab367
Run template tests in parallel in pytest-xdist (#4275) 2023-04-15 15:53:31 +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
dependabot[bot]
82b5137a93
Bump peter-evans/create-pull-request from 4 to 5 (#4257)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  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-05 10:32:38 +01:00
browniebroke
6fdc2623e9 Update Contributors 2023-04-04 09:31:36 +00:00
Bruno Alla
d90f16b647
Pin base Python Docker images to bugfix (#4194)
* Pin base Python Docker images to bugfix

Fix #1810

* Skip major & minor versions of Docker images in Dependabot

* Remove argument for docs Docker image

* Update Dependabot config of generated project
2023-03-16 16:05:02 +00:00
browniebroke
7aba8c4e95 Update Contributors 2023-03-09 10:44:26 +00:00
browniebroke
b5a043551d Update Contributors 2023-03-04 18:36:44 +00:00
browniebroke
52bdda5bc0 Update Contributors 2023-02-25 12:10:26 +00:00
luzfcb
414122e524 Update Contributors 2023-02-17 13:42:38 +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
Bruno Alla
c1ed81a8cf
Replace linting job by pre-commit.ci (#4143) 2023-02-08 17:51:29 +00:00
Bruno Alla
d41d2a3606
Update template docker images using Dependabot (#4124) 2023-02-06 20:41:47 +00:00
browniebroke
170cd6fe18 Update Contributors 2023-02-05 10:01:04 +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
browniebroke
56f6ba922d Update Contributors 2023-01-25 23:40:00 +00:00
luzfcb
cb99f0d211 Update Contributors 2023-01-25 12:51:16 +00:00
browniebroke
b9933f54af Update Contributors 2023-01-06 18:06:14 +00:00
browniebroke
d5631b7d2a Update Contributors 2023-01-06 17:49:08 +00:00
luzfcb
abf9405a59 Update Contributors 2023-01-04 15:33:47 +00:00
browniebroke
ebec4dc44d Update Contributors 2022-12-21 09:48:24 +00:00
browniebroke
7af6f69b28 Update Contributors 2022-12-13 21:35:58 +00:00
Bruno Alla
bf9346eda5
Fix update contributors workflow 2022-12-13 21:35:25 +00:00
dependabot[bot]
b2deb65c0d
Bump stefanzweifel/git-auto-commit-action from 4.15.4 to 4.16.0 (#3978)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 09:41:28 +00:00
browniebroke
9f8e25ebbc Update Contributors 2022-11-30 18:27:34 +00:00
browniebroke
fd45bb18ea Update Contributors 2022-11-26 11:09:10 +00:00
dependabot[bot]
c35a074d72
Bump stefanzweifel/git-auto-commit-action from 4.15.3 to 4.15.4 (#3940)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-23 14:51:51 +00:00
browniebroke
a78b052bcc Update Contributors 2022-11-22 19:59:59 +00:00
luzfcb
65ac3d8a3f Update Contributors 2022-11-22 19:20:22 +00:00
luzfcb
ca422e9916 Update Contributors 2022-11-02 01:14:12 +00:00
dependabot[bot]
f98d50194e
Bump stefanzweifel/git-auto-commit-action from 4.15.2 to 4.15.3 (#3921)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4.15.2 to 4.15.3.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.15.2...v4.15.3)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-28 09:50:30 +02:00
dependabot[bot]
2321c8a47c
Bump stefanzweifel/git-auto-commit-action from 4.15.1 to 4.15.2 (#3914)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 21:45:46 +01:00
Jelmer
4ea0e98f3f
Upgrade Python version from 3.9 to 3.10 (#3913) 2022-10-24 21:41:00 +01:00
dependabot[bot]
790cf7e379
Bump stefanzweifel/git-auto-commit-action from 4.15.0 to 4.15.1 (#3903)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-11 13:11:05 +01:00
browniebroke
71d4a52d11 Update Contributors 2022-09-29 22:08:27 +00:00
dependabot[bot]
a8c7900b48
Bump stefanzweifel/git-auto-commit-action from 4.14.1 to 4.15.0 (#3880)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 14:11:57 +01:00
browniebroke
96dcbae247 Update Contributors 2022-09-23 19:51:49 +00:00
browniebroke
5552ddf091 Update Contributors 2022-08-26 14:01:28 +00:00
browniebroke
cc6a0e770a Update Contributors 2022-07-26 23:12:47 +00:00
browniebroke
c19f600858 Update Contributors 2022-07-26 22:18:18 +00:00
browniebroke
9ed9909866 Update Contributors 2022-07-21 23:07:01 +00:00
browniebroke
8f0d301099 Update Contributors 2022-07-21 22:47:16 +00:00
dependabot[bot]
2963fd8b09
Bump actions/setup-python from 3 to 4 (#3746)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 11:58:10 +01:00
dependabot[bot]
a965a1c1d4
Bump pre-commit/action from 2.0.3 to 3.0.0 (#3739)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 11:37:55 +01:00
browniebroke
66d1d010e8 Update Contributors 2022-05-07 12:49:50 +00:00
Naveen
e0c04fa0d3
Set permissions for GitHub actions (#3698)
* chore: Set permissions for GitHub actions

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>

* Leave comment close to code

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-05-07 13:49:24 +01:00
dependabot[bot]
4a55787920
Bump stefanzweifel/git-auto-commit-action from 4.14.0 to 4.14.1 (#3677)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.14.0...v4.14.1)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  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>
2022-04-13 10:03:22 +01:00
dependabot[bot]
39adcd5115
Bump stefanzweifel/git-auto-commit-action from 4.13.1 to 4.14.0 (#3641)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 14:32:36 +01:00
dependabot[bot]
59b01a3462
Bump peter-evans/create-pull-request from 3.14.0 to 4 (#3645)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.14.0 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3.14.0...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  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>
2022-03-23 19:55:45 +00:00
Bruno Alla
ab4a32d558
Unify compressor, gulp and custom bootstrap options (#3535) 2022-03-20 15:00:40 +00:00
browniebroke
e7db2cd6b0 Update Contributors 2022-03-14 17:17:00 +00:00
browniebroke
d4e8896315 Update Contributors 2022-03-09 16:25:45 +00:00
dependabot[bot]
3eaeb83760
Bump actions/checkout from 2 to 3 (#3619)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2022-03-02 09:17:47 +00:00
dependabot[bot]
318c018276
Bump actions/setup-python from 2 to 3 (#3617)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 15:25:18 +00:00