Commit Graph

2172 Commits

Author SHA1 Message Date
Bruno Alla
36e4fd7361
Merge pull request #2616 from pydanny/pyup-update-collectfast-2.1.0-to-2.2.0
Update collectfast to 2.2.0
2020-06-21 14:08:18 +01:00
Gil
88f9a6c289 Replace User by get_user_model 2020-06-21 16:13:42 +09:00
pyup-bot
d979c342d6 Update mypy from 0.780 to 0.781 2020-06-20 08:51:49 -07:00
pyup-bot
d3a000d76d Update sentry-sdk from 0.14.4 to 0.15.1 2020-06-18 04:45:15 -07:00
Bruno Alla
27b905e7bc
Merge pull request #2618 from pydanny/pyup-update-flake8-3.8.2-to-3.8.3 2020-06-17 23:11:00 +01:00
Bruno Alla
91b58f033a
Merge pull request #2612 from pydanny/pyup-update-mypy-0.770-to-0.780
Update mypy to 0.780
2020-06-17 23:09:46 +01:00
Andrew Chen Wang
89b81452a9
Update Django to 3.0.7 due to CVEs
There were several CVE's that arose between 3.0.3 to 3.0.7. Updating quickly will resolve the vulnerabilities and fix several PRs.
2020-06-16 20:21:51 -04:00
pyup-bot
1b6e4994ca Update sphinx from 3.0.4 to 3.1.1 2020-06-14 03:13:04 -07:00
pyup-bot
54f8e3d672 Update pre-commit from 2.4.0 to 2.5.1 2020-06-09 16:02:00 -07:00
pyup-bot
6038a654ab Update flake8 from 3.8.2 to 3.8.3 2020-06-08 17:02:43 -07:00
pyup-bot
24e8a17d74 Update collectfast from 2.1.0 to 2.2.0 2020-06-05 17:08:27 -07:00
pyup-bot
9d0b570c51 Update mypy from 0.770 to 0.780 2020-06-03 05:12:36 -07:00
pyup-bot
9e87d4b189 Update pytest from 5.4.2 to 5.4.3 2020-06-03 00:26:13 -07:00
Andrew Chen Wang
d7f22a1158
Changed service to Docker dind 2020-05-29 18:05:44 -04:00
Andrew Chen Wang
7c3558fa62
Fix Docker configuration for Gitlab CI #2549
* Just missing the services I believe according to @rocode?
* I'm hoping to just completely eradicate the need for this setup with a follow-up PR for completely non-Docker approach on CI that supports celery, too.
2020-05-29 17:23:15 -04:00
pyup-bot
090c62e862 Update sphinx from 3.0.3 to 3.0.4 2020-05-27 02:27:13 -07:00
pyup.io bot
a8672e08cb
Update flake8 to 3.8.2 (#2607) 2020-05-24 09:02:08 +08:00
Hannah Lazarus
401ef31c6c Remove latex from sphinx docker build
Include as helper comment only
2020-05-18 10:33:57 -04:00
Tano Abeleyra
70f6471c75 Allow to use a CDN with S3 2020-05-17 12:37:35 -03:00
pyup-bot
ce66080f85 Update sentry-sdk from 0.14.3 to 0.14.4 2020-05-13 12:42:53 -07:00
Bruno Alla
1c630c3a77
Merge pull request #2596 from pydanny/pyup-update-flake8-3.7.9-to-3.8.1 2020-05-12 11:16:43 +01:00
Bruno Alla
09790ee8fb Resolve new flake8 error 2020-05-12 10:18:15 +01:00
Bruno Alla
cd740c2619 Update flake8 from 3.7.9 to 3.8.1 in pre-commit config 2020-05-12 10:12:48 +01:00
pyup-bot
b1c6ad25d2 Update flake8 from 3.7.9 to 3.8.1 2020-05-12 01:06:20 -07:00
pyup-bot
a5cb77399e Update pre-commit from 2.3.0 to 2.4.0 2020-05-11 14:13:47 -07:00
pyup-bot
580ef4117d Update pytest from 5.4.1 to 5.4.2 2020-05-09 00:17:30 -07:00
Bruno Alla
9075bdb39b
Merge pull request #2577 from Andrew-Chen-Wang/hiredis 2020-05-05 20:06:32 +01:00
Bruno Alla
e37627c4b1 Fix pre-commit config & add Black to the pre-commmit hooks
Fixes #2502
2020-05-01 19:10:42 +01:00
Bruno Alla
bcfcd384f8 Test user detail view 2020-05-01 17:55:32 +01:00
Andrew-Chen-Wang
b70b6ebd7e Fixed production.txt typo when docker and windows combine 2020-05-01 10:39:30 -04:00
Andrew-Chen-Wang
836ea3a140 Merge branch 'hiredis' of https://github.com/Andrew-Chen-Wang/cookiecutter-django into hiredis 2020-05-01 10:37:44 -04:00
Andrew-Chen-Wang
bf5f557d2b Added docker parameter to hiredis requirement 2020-05-01 10:35:20 -04:00
Bruno Alla
a63278fb4e
Merge pull request #2575 from Andrew-Chen-Wang/watchgod 2020-04-30 22:34:25 +01:00
Bruno Alla
99a15f1def
Merge branch 'master' into hiredis 2020-04-30 22:04:41 +01:00
Hannah Lazarus
3152bdaeb3 Add sphinx defaults for cookiecutter'd project
-serve, watch + live reload for docs + code file changes
-update project makefile + make.bat
-separate _source and _build
-add packages and paths to use autodoc
-edit/add documentation with examples (both at django-cookiecutter and inside generated project)
-add formatted comments in User model for pickup by Sphinx apidoc
-serve docs from a separate docs container for docker build
2020-04-30 13:23:24 -04:00
Bruno Alla
ff0e1a21e1
Merge pull request #2579 from pydanny/pyup-update-redis-3.4.1-to-3.5.0 2020-04-30 15:49:51 +01:00
Fabio C. Barrionuevo da Luz
1247f06395 Make sure to resolve symbolic links, uses an absolute path in ROOT_DIR
and raise an error if the path does not exist by using the "resolve" method.

Use "parent.parent.parent" instead of "parents[2]"
2020-04-30 11:33:46 -03:00
browniebroke
f2a7c719e2 Update redis from 3.4.1 to 3.5.0 2020-04-30 12:00:30 +01:00
Andrew-Chen-Wang
4d54dcaa32 Put hiredis in production only if using Win 2020-04-29 16:42:24 -04:00
Andrew-Chen-Wang
dfd1ee8bb2 Use hiredis 2020-04-29 16:31:19 -04:00
Andrew-Chen-Wang
d16d0aa5c4 Add watchgod for uvicorn 2020-04-29 15:56:09 -04:00
browniebroke
47e82bd084 Update uvicorn from 0.11.3 to 0.11.5 2020-04-29 12:00:30 +01:00
Bruno Alla
3694f3dcaa Merge branch 'extended-drf-tests' 2020-04-29 09:44:58 +01:00
Bruno Alla
01b8412805 Fix expected value 2020-04-29 09:23:27 +01:00
Pilhwan Kim
29fea6efa3 remove import UserSerializer in tesf_drf_views.py 2020-04-29 08:54:32 +09:00
Leon Kim
5a9648fa90
Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_drf_views.py
OK. I agree with your idea. Even to me, this code is more explicit to check result.

Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2020-04-29 08:41:33 +09:00
Bruno Alla
672be773a3
Fix formatting 2020-04-28 23:18:52 +01:00
Andrew Chen Wang
c54c4f5ef7
Fix reloading when using async 2020-04-28 16:26:34 -04:00
Bruno Alla
2f805ba1b7
Merge pull request #2487 from pydanny/pyup-update-pytest-5.3.5-to-5.4.1 2020-04-28 12:57:46 +01:00
Bruno Alla
d86bd3280a
Merge pull request #2545 from hanhanhan/name_containers 2020-04-28 12:47:45 +01:00
browniebroke
4eb718c683 Update pytest from 5.3.5 to 5.4.1 2020-04-28 12:41:36 +01:00
Bruno Alla
6aaee8dabe
Merge pull request #2563 from pydanny/pyup-update-sphinx-3.0.2-to-3.0.3 2020-04-28 12:40:45 +01:00
Bruno Alla
eb3cf4e6dd
Merge pull request #2568 from pydanny/pyup-update-pytz-2019.3-to-2020.1 2020-04-28 12:40:25 +01:00
browniebroke
0c2af32b8d Update pytz from 2019.3 to 2020.1 2020-04-28 12:00:34 +01:00
Pilhwan Kim
f13f3dc2bf add use drf tests 2020-04-28 12:41:51 +09:00
browniebroke
3d8c4627f4 Update pytest-sugar from 0.9.2 to 0.9.3 2020-04-27 12:00:36 +01:00
browniebroke
04d8b06035 Update sphinx from 3.0.2 to 3.0.3 2020-04-27 12:00:31 +01:00
browniebroke
b8a1805a9f Update pillow from 7.1.1 to 7.1.2 2020-04-26 12:00:30 +01:00
Tano Abeleyra
95ca7ca291 Update django-redis links 2020-04-24 21:29:59 -03:00
Hannah Lazarus
f9c20af456 Add container_names for docker commands
container_names make it possible to run docker commands
without looking up container hash
use in dev.yml
2020-04-24 16:31:20 -04:00
Sudarshan Wadkar
4021286be0
Add condition to include .co.XX TLDs
This is best effort checking of domain names and creating the traefik
rules. These two checks should cover most of the use cases.
2020-04-24 19:43:38 +05:30
Sudarshan Wadkar
9cf47898f4
Only consider TLDs while adding www route
Instead of checking for `.co.XX` on best effort basis, we only check for
the single dot in the domain_name indicating no subdomain usage.
2020-04-24 19:43:38 +05:30
Sudarshan Wadkar
cafc0ac1f3
Conditionally add www host to traefik router
If the domain_name entered contains subdomains, e.g. `api.example.com`
then do *not* add an additional `www.api.example.com` route to traefik

If the user enters only the domain `example.com` then add the optional
`www.example.com` Host to the traefik routers.
2020-04-24 19:43:37 +05:30
browniebroke
433aa667f5 Update pre-commit from 2.2.0 to 2.3.0 2020-04-23 12:00:33 +01:00
Yotam Tal
42101feef1 Add hot-reload support to celery worker 2020-04-21 13:45:30 +03:00
browniebroke
8eeef9a86c Update sphinx from 3.0.1 to 3.0.2 2020-04-20 12:00:32 +01:00
Bruno Alla
ca27ddd14d
Merge pull request #2524 from sorasful/master 2020-04-17 12:58:02 +01:00
Bruno Alla
4f6427899b
Merge pull request #2544 from pydanny/pyup-update-flake8-isort-2.9.1-to-3.0.0 2020-04-17 11:35:25 +01:00
Bruno Alla
f01ff95c51
Merge pull request #2539 from Andrew-Chen-Wang/ci 2020-04-17 11:34:50 +01:00
Andrew-Chen-Wang
d249158444 Fix .travis.yml indent alignment 2020-04-16 14:15:35 -04:00
Andrew-Chen-Wang
d2285d9e2d pytest.parametrized test for generating CI
* Removed celerybeat start's postgres_ready() for new PR for closer inspection and further review. Travis and GitLab CI reflect changes
2020-04-16 13:34:12 -04:00
browniebroke
3d9f7b91d0 Update flake8-isort from 2.9.1 to 3.0.0 2020-04-16 12:00:30 +01:00
Bruno Alla
c4e4bea31b Merge branch 'master' into async 2020-04-16 09:43:38 +01:00
Bruno Alla
835cd8c9b5 Remove unused parameter in Gulp task 2020-04-16 09:43:28 +01:00
Bruno Alla
c639541d50 Default DJANGO_SETTINGS_MODULE to local settings in asgi.py
This is to be consistent with `manage.py` behaviour and required to run locally.
2020-04-16 09:11:15 +01:00
Andrew-Chen-Wang
25cd8ea72b Update beat start files with better? SQL statement 2020-04-14 15:05:53 -04:00
Andrew-Chen-Wang
dd0e7c0c80 Remove unnecssary import in celerybeat start files 2020-04-14 12:04:41 -04:00
Andrew Chen Wang
9e007699c9
Merge branch 'master' into ci 2020-04-14 11:55:01 -04:00
Andrew-Chen-Wang
3c63b3e46e Add Docker support to Travis and GitLab CI
* Celerybeat start files wait for table migration so that errors don't occur if a migration does not happen post-build
2020-04-14 11:52:14 -04:00
Andrew Chen Wang
e2b5dba3f7
Remove Apache LICENSE Appendix 2020-04-14 11:50:44 -04:00
Andrew Chen Wang
264466904e
Add Apache Software License 2.0 to LICENSE 2020-04-14 11:36:11 -04:00
Bruno Alla
53b6692b33
Merge pull request #2537 from pydanny/pyup-update-pylint-django-2.0.14-to-2.0.15
Update pylint-django to 2.0.15
2020-04-14 13:38:47 +01:00
browniebroke
0c32fac51e Update pylint-django from 2.0.14 to 2.0.15 2020-04-14 12:00:42 +01:00
browniebroke
82cde2eacc Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:39 +01:00
browniebroke
508ca6f4e8 Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:37 +01:00
browniebroke
5040eb9ba4 Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:37 +01:00
browniebroke
8bbcc6aa01 Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:36 +01:00
browniebroke
81363cc0f8 Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:35 +01:00
browniebroke
d816a62e43 Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:33 +01:00
browniebroke
7cc6fc0b30 Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:32 +01:00
browniebroke
cbaf953ed2 Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:31 +01:00
browniebroke
efd53908af Update django-anymail from 7.0.0 to 7.1.0 2020-04-14 12:00:30 +01:00
Andrew-Chen-Wang
cc099ae941 Edited docs for local running async 2020-04-13 11:26:09 -04:00
Andrew-Chen-Wang
f0813a24b2 Added Heroku and Gulp support
* Deleted some unnecessary info inside asgi.py
2020-04-13 10:57:42 -04:00
Bruno Alla
2993bbf78f
Merge pull request #2514 from codnee/python_3.8
Upgrade to Python 3.8
2020-04-13 15:13:32 +01:00
Bruno Alla
712f60874d
Merge pull request #2534 from pydanny/pyup-update-coverage-5.0.4-to-5.1
Update coverage to 5.1
2020-04-13 12:57:45 +01:00
Bruno Alla
9b6d29d491
Merge pull request #2533 from danihodovic/store-coveragerc-in-setup.cfg
Store coverage config in setup.cfg
2020-04-13 12:57:26 +01:00
browniebroke
6510ab1555 Update coverage from 5.0.4 to 5.1 2020-04-13 12:00:29 +01:00
Dani Hodovic
83934f3d86
Store coverage config in setup.cfg
Less is more. Unify tooling configuration in one file.
2020-04-12 21:40:02 +03:00
Tano Abeleyra
0f388a6d96
Fix minor typo 2020-04-11 14:49:04 -03:00
browniebroke
e474ed3f1a Update sphinx from 3.0.0 to 3.0.1 2020-04-11 12:00:29 +01:00
Duda Nogueira
819e9ff273
Adding some spaces to pass build :P 2020-04-07 19:29:46 -03:00
Duda Nogueira
1d2d881aba
Fix INTERNAL_IPS for DOCKER when ip higher than 9
previously, for IP ex: 172.19.0.13 becomes: 172.19.0.11
now, it becomes 172.19.0.1
2020-04-07 18:53:09 -03:00
Andrew Chen Wang
041751a359
Fixed linter for asgi.py 2020-04-07 00:23:31 -04:00
Andrew Chen Wang
2ecbf7ac34
Merge branch 'master' into async 2020-04-06 23:02:36 -04:00
Bruno Alla
94d7bd11ad Update psycopg2 from 2.8.4 to 2.8.5 2020-04-06 13:36:42 +01:00
browniebroke
75f4d304f4 Update psycopg2-binary from 2.8.4 to 2.8.5 2020-04-06 13:36:42 +01:00
browniebroke
bd104afb3d Update sphinx from 2.4.4 to 3.0.0 2020-04-06 12:00:30 +01:00
Tevak
0df3087d3d Traefik - Also redirect wwww. to service. 2020-04-04 17:26:24 +02:00
browniebroke
d16760bf8b Update pillow from 7.1.0 to 7.1.1 2020-04-03 12:00:30 +01:00
browniebroke
8eb14e6c84 Update pillow from 7.0.0 to 7.1.0 2020-04-02 12:00:31 +01:00
Bruno Alla
5659996b7e
Merge pull request #2518 from pydanny/pyup-update-werkzeug-1.0.0-to-1.0.1
Update werkzeug to 1.0.1
2020-04-01 16:03:45 +01:00
browniebroke
80fdb5c7cc Update werkzeug from 1.0.0 to 1.0.1 2020-04-01 12:00:35 +01:00
browniebroke
bbd940363f Update django from 3.0.4 to 3.0.5 2020-04-01 12:00:31 +01:00
browniebroke
94a1fef0af Update pytest-django from 3.8.0 to 3.9.0 2020-03-31 12:00:31 +01:00
Ernesto Cedeno
0cdf60ceac Change Python version to 3.8 2020-03-29 19:55:27 +02:00
Bruno Alla
018938dd0e
Merge pull request #2513 from pydanny/pyup-update-flake8-isort-2.9.0-to-2.9.1
Update flake8-isort to 2.9.1
2020-03-29 16:45:22 +01:00
browniebroke
53b240af9a Update flake8-isort from 2.9.0 to 2.9.1 2020-03-29 12:00:34 +01:00
browniebroke
e49afda665 Update flower from 0.9.3 to 0.9.4 2020-03-29 12:00:30 +01:00
Andrew Chen Wang
efbb04da91
Update so apps load first when using asgi.py 2020-03-27 21:32:17 -04:00
Bruno Alla
48bad8379d
Merge pull request #2508 from pydanny/pyup-update-django-extensions-2.2.8-to-2.2.9
Update django-extensions to 2.2.9
2020-03-27 18:09:05 +00:00
Tim Gates
62236dd908
docs: Fix simple typo, interpteter -> interpreter
There is a small typo in {{cookiecutter.project_slug}}/docs/pycharm/configuration.rst.

Should read `interpreter` rather than `interpteter`.
2020-03-27 22:15:56 +11:00
browniebroke
820f574bf5 Update django-extensions from 2.2.8 to 2.2.9 2020-03-27 11:00:30 +00:00
Bruno Alla
1e612c4cfb Remove request_factory fixture, use the rf one from pytest-django 2020-03-26 18:21:11 +00:00
Andrew-Chen-Wang
c9744497c9 Added gunicorn to base.txt requirements for async work 2020-03-24 21:53:53 -04:00
Andrew-Chen-Wang
367225e4e8 Removed the 4 workers from the production start of uvicorn 2020-03-24 21:46:40 -04:00
Andrew-Chen-Wang
7cd390854b Fixed linter checks 2020-03-24 21:42:28 -04:00
Andrew-Chen-Wang
e6b800d985 Added static files URL for runserver-level/best performance
* The reason there was a degraded performance was because we're using Gunicorn itself as a local tester. So we needed to add the staticfiles urls
2020-03-24 20:59:28 -04:00
Andrew-Chen-Wang
125ffec243 Changed starting commands for running server
* Performance is very low
2020-03-24 20:51:43 -04:00
Andrew-Chen-Wang
910ed86d11 Fixed linter check for #2506 2020-03-24 16:12:47 -04:00
Andrew-Chen-Wang
aee2de347b Add uvicorn and web sockets for Django 3
* Add use_async option to cookiecutter.json
* Add websocket configuration
2020-03-24 15:40:14 -04:00
Bruno Alla
7e1cb599af Remove flake noqa exception 2020-03-23 21:46:14 +00:00
Bruno Alla
56d5e271aa Remove isort exception in production config & fix issue 2020-03-23 21:46:14 +00:00
Bruno Alla
c4b1666707 Move storages classes into their own module 2020-03-23 21:46:14 +00:00
Gabriel Mejia
2e1a922577
Add CELERY_BROKER_URL for gitlab #2504 (#2505)
* Solved issue #2504

* Added new contributor

Co-authored-by: Gabriel Mejia <gmejia@veritran.com>
2020-03-23 21:43:59 +00:00
Bruno Alla
ea5db6c4f4
Django 3.0 support (#2469)
* Bump Django version to 3.0.x to see what breaks

* Update places where Django 2.2 is mentioned to 3.0

* Update to latest Django 3.0 version

* Bump version in setup.py
2020-03-23 21:41:51 +00:00
browniebroke
12a4bd27e8 Update sentry-sdk from 0.14.2 to 0.14.3 2020-03-21 11:00:31 +00:00
Demetris Stavrou
5b9161e16e
Fixed pre-commit files selector regex 2020-03-17 22:11:16 +02:00
Bruno Alla
92bbddc290 Change style for pytest marker
Update pytest.mark.django_db to be more consistent with rest of the project
2020-03-17 18:41:27 +00:00
Bruno Alla
984b5bcfbe Nicer syntax to join paths 2020-03-17 15:46:55 +00:00
Bruno Alla
5498716c74 Fix isort 2020-03-17 15:35:42 +00:00
Bruno Alla
d2988040d5 Merge branch 'master' into pathlib-migration-updated 2020-03-17 14:16:35 +00:00
Bruno Alla
d15ea8b9b4
Merge branch 'master' into pyup-update-coverage-5.0.3-to-5.0.4 2020-03-17 11:57:37 +00:00
Bruno Alla
9ab2a0f2a8
Merge pull request #2494 from pydanny/pyup-update-flake8-isort-2.8.0-to-2.9.0
Update flake8-isort to 2.9.0
2020-03-17 11:56:55 +00:00
browniebroke
06a880164a Update coverage from 5.0.3 to 5.0.4 2020-03-17 11:00:39 +00:00
browniebroke
61476eaca1 Update flake8-isort from 2.8.0 to 2.9.0 2020-03-17 11:00:35 +00:00
browniebroke
e3486dc782 Update celery from 4.4.1 to 4.4.2 2020-03-17 11:00:31 +00:00
Bruno Alla
e97573dfda
Merge pull request #2435 from Andrew-Chen-Wang/master
Add all supported Anymail Providers
2020-03-16 19:59:25 +00:00
Bruno Alla
ca7fcb8f62
Merge pull request #2442 from jameswilliams1/fix-django-compressor-settings
Fix broken Django Compressor setup and enable static files minification
2020-03-16 19:53:02 +00:00
James Williams
090b93c01e
remove setting compress_enabled to null in .django 2020-03-15 22:16:40 +00:00
Bruno Alla
530868d072 Move "rest_framework" in THIRD_PARTY_APPS 2020-03-15 19:20:44 +00:00
Bruno Alla
729cd2adab Merge branch 'master' into drf-auth-token 2020-03-15 19:19:36 +00:00
Bruno Alla
fa841e6d97
Merge pull request #2483 from scaramagus/master
Add PYTHONDONTWRITEBYTECODE flag to local development Dockerfile
2020-03-15 19:10:49 +00:00
Bruno Alla
76dfa29932
Merge pull request #2490 from guilherme1guy/master
Updates default Gitlab CI configuration to fix broken builds on new projects
2020-03-15 19:05:20 +00:00
Guilherme Guy
fa8311405d Fixes gitlabCI failing due to postgres config 2020-03-15 09:23:21 -03:00
browniebroke
95057c4769 Update django-stubs from 1.4.0 to 1.5.0 2020-03-15 11:00:30 +00:00
Andrew-Chen-Wang
5e1d1dd1c3 Fixed tests for mail providers 2020-03-14 15:09:05 -04:00
Andrew-Chen-Wang
3978890502 Adjusted readability
* Changed Vanilla/Plain Django-Anymail to Other SMTP
* Made Mailgun default again
* config/production.py adjusted if conditions according to @browniebroke
2020-03-14 13:43:37 -04:00
Andrew-Chen-Wang
9cf72849e6 Merged parent repo and configured refurbished tests 2020-03-14 13:29:08 -04:00
browniebroke
324e307402 Update pre-commit from 2.1.1 to 2.2.0 2020-03-13 11:00:34 +00:00
Agustin Scaramuzza
7e345d5fb3 Add PYTHONDONTWRITEBYTECODE flag to local development Dockerfile 2020-03-11 14:41:37 -03:00
browniebroke
427c69562e Update mypy from 0.761 to 0.770 2020-03-11 11:00:31 +00:00
jeromecaisip
3a3550cd3f
Update base.txt 2020-03-08 17:55:19 +01:00
browniebroke
09fd30b6a8 Update sphinx from 2.4.3 to 2.4.4 2020-03-06 11:00:31 +00:00
Bruno Alla
d17c2ec015
Merge pull request #2477 from pydanny/pyup-update-ipdb-0.13.1-to-0.13.2
Update ipdb to 0.13.2
2020-03-04 15:56:38 +00:00
browniebroke
2fd0cf0e35 Update ipdb from 0.13.1 to 0.13.2 2020-03-04 11:00:36 +00:00
browniebroke
effb548b5d Update django from 2.2.10 to 2.2.11 2020-03-04 11:00:32 +00:00
Bruno Alla
fab6b8724a Test isort flake8-isort & fix issues
fixes #2123
2020-03-03 20:04:31 +00:00
Bruno Alla
a24a6f337b Add Heroku dyno for celery beat 2020-03-03 18:56:18 +00:00
jeromecaisip
4825b932c7
Optionally remove/add restframework according to choice 2020-03-03 14:45:20 +01:00
Bruno Alla
5e16589d8e
Merge pull request #2472 from pydanny/pyup-update-collectfast-2.0.1-to-2.1.0
Update collectfast to 2.1.0
2020-03-03 13:09:47 +00:00
browniebroke
ff43635bb7 Update celery from 4.4.0 to 4.4.1 2020-03-03 11:00:36 +00:00
browniebroke
4fd15474b1 Update collectfast from 2.0.1 to 2.1.0 2020-03-03 11:00:31 +00:00
jeromecaisip
bfe463fa7c
Update base.py 2020-03-02 19:27:07 +01:00
jeromecaisip
fa6ca7b1c8
Add rest_framework.authtoken on installed apps.
Add rest_framework.authtoken on installed apps when the option to use DRF is selected,  because the endpoint
'/auth-token/" depends on the said app.
2020-03-02 19:16:33 +01:00
Bruno Alla
a0174840cb
Merge pull request #2468 from pydanny/pyup-update-ipdb-0.12.3-to-0.13.1
Update ipdb to 0.13.1
2020-02-29 12:12:04 +00:00
Bruno Alla
96b98c08f3
Merge pull request #2467 from pydanny/pyup-update-django-crispy-forms-1.8.1-to-1.9.0
Update django-crispy-forms to 1.9.0
2020-02-29 11:48:16 +00:00
browniebroke
3765271015 Update ipdb from 0.12.3 to 0.13.1 2020-02-29 11:00:36 +00:00
browniebroke
ccfe97972a Update django-crispy-forms from 1.8.1 to 1.9.0 2020-02-29 11:00:33 +00:00
browniebroke
7e0f86b4ba Update django-celery-beat from 1.6.0 to 2.0.0 2020-02-29 11:00:30 +00:00
James Williams
d3db7a867f
fix compresss offline never runs using environ 2020-02-28 17:04:15 +00:00
James Williams
89f85f1255
- configure compressor when not using s3
- update django start script to compress if using whitenoise and compress enabled

- add to contributors.rst
2020-02-28 15:59:14 +00:00
browniebroke
fe7a70be66 Update sentry-sdk from 0.14.1 to 0.14.2 2020-02-27 11:00:32 +00:00
Bruno Alla
f9b0c4846b
Update pre-commit from 2.1.0 to 2.1.1 (#2463) 2020-02-25 20:58:45 +08:00
Bruno Alla
089d270356
Merge pull request #2461 from pydanny/pyup-update-collectfast-1.3.2-to-2.0.1
Update collectfast to 2.0.1
2020-02-25 12:22:27 +00:00
browniebroke
a36f6a7495 Update pylint-django from 2.0.13 to 2.0.14 2020-02-25 11:00:36 +00:00
browniebroke
487ed35bc5 Update collectfast from 1.3.2 to 2.0.1 2020-02-25 11:00:32 +00:00
Pawan Chaurasia
7df671611a fixed pre-commit not loading the flake8 config. added path of setup.cfg in .pre-commit-config.yaml 2020-02-24 18:46:01 +05:30
Bruno Alla
452f3ec18e
Merge pull request #2458 from pydanny/pyup-update-sphinx-2.4.2-to-2.4.3
Update sphinx to 2.4.3
2020-02-23 11:33:28 +00:00
Bruno Alla
48f7a4a7d2
Merge pull request #2433 from demestav/master
Flower now served by Traefik
2020-02-23 11:32:47 +00:00
browniebroke
405d33d99e Update sphinx from 2.4.2 to 2.4.3 2020-02-23 11:00:30 +00:00
Demetris Stavrou
e3d7ea0e10 Added condition for Flower port mapping 2020-02-22 21:29:40 +02:00
Demetris Stavrou
f6a63a5f0c Added 5555 port mapping to traefik service 2020-02-21 10:08:10 +02:00
Cole Maclean
e8b36af72f Remove coreapi requirement 2020-02-19 13:13:10 -08:00
Bruno Alla
9903eb3c3d
Merge pull request #2452 from pydanny/pyup-update-pre-commit-2.0.1-to-2.1.0
Update pre-commit to 2.1.0
2020-02-19 13:12:45 +00:00
browniebroke
d5edf1fa4d Update pre-commit from 2.0.1 to 2.1.0 2020-02-19 11:00:39 +00:00
browniebroke
15e8e667e5 Update sphinx from 2.4.1 to 2.4.2 2020-02-19 11:00:36 +00:00
Demetris Stavrou
1a7bcccd94 Added celery cookiecutter condition in Traefik configuration 2020-02-18 11:01:56 +02:00
browniebroke
10be405c89 Update collectfast from 1.3.1 to 1.3.2 2020-02-17 11:00:34 +00:00
browniebroke
a8e668d659 Update sphinx from 2.4.0 to 2.4.1 2020-02-12 11:00:32 +00:00
Bruno Alla
03ce9ebf01
Merge pull request #2437 from pydanny/pyup-update-werkzeug-0.16.1-to-1.0.0
Update werkzeug to 1.0.0
2020-02-11 12:10:47 +00:00
Bruno Alla
8843d95485
Merge pull request #2441 from pydanny/pyup-update-django-extensions-2.2.6-to-2.2.8
Update django-extensions to 2.2.8
2020-02-11 11:54:06 +00:00
browniebroke
311e0dfc24 Update django-extensions from 2.2.6 to 2.2.8 2020-02-11 11:00:30 +00:00
browniebroke
be019ea54a Update sphinx from 2.3.1 to 2.4.0 2020-02-09 11:00:30 +00:00
browniebroke
816fb1c44b Update werkzeug from 0.16.1 to 1.0.0 2020-02-07 11:00:30 +00:00
Andrew-Chen-Wang
ac884f3f75 Updated mail service docs
* Trying to appease the Black-linter god...
2020-02-06 20:18:49 -05:00
Andrew-Chen-Wang
0621929cd2 Removed None option for mail service
* This is necessary in order to be compatible with Django-allauth
2020-02-06 18:41:30 -05:00
Andrew-Chen-Wang
c8eb5462eb Configurations and Packages added
* Production settings updated for all
* Added env vars from production settings
* Added packages requirements.txt
2020-02-06 16:58:15 -05:00
Demetris Stavrou
86c9b3cb28 Flower now served by Traefik 2020-02-04 15:04:47 +02:00
browniebroke
c7a6dbdd10 Update django-storages from 1.9 to 1.9.1 2020-02-04 11:00:31 +00:00
browniebroke
e9c6b3d9e9 Update django-storages from 1.9 to 1.9.1 2020-02-04 11:00:30 +00:00
Bruno Alla
8fd0d42de0 Don't include POSTGRES_... environment in the PyCharm start script when not using Docker 2020-02-03 14:29:20 +00:00
Bruno Alla
30f3f05a76
Merge pull request #2430 from pydanny/pyup-update-django-storages-1.8-to-1.9
Update django-storages to 1.9
2020-02-03 13:10:56 +00:00
Bruno Alla
37ec5a45bb Remove pyup filter 2020-02-03 12:56:37 +00:00
Bruno Alla
9e3327d7e0
Merge pull request #2428 from pydanny/pyup-update-redis-3.3.11-to-3.4.1
Update redis to 3.4.1
2020-02-03 12:55:06 +00:00
browniebroke
e8a946dc7b Update django from 2.2.9 to 2.2.10 2020-02-03 11:00:35 +00:00
browniebroke
f6f78c9da8 Update django-storages from 1.8 to 1.9 2020-02-03 11:00:32 +00:00
browniebroke
b49e0f2e39 Update django-storages from 1.8 to 1.9 2020-02-03 11:00:31 +00:00
browniebroke
2a6ee05782 Update redis from 3.3.11 to 3.4.1 2020-02-02 11:00:30 +00:00
Bruno Alla
a1f296bc4c
Merge pull request #2427 from pydanny/pyup-update-django-debug-toolbar-2.1-to-2.2
Update django-debug-toolbar to 2.2
2020-02-01 12:09:38 +00:00
browniebroke
3c177776d8 Update django-debug-toolbar from 2.1 to 2.2 2020-02-01 11:00:33 +00:00
browniebroke
af7dcd7ab2 Update django-celery-beat from 1.5.0 to 1.6.0 2020-02-01 11:00:29 +00:00
Bruno Alla
1f35086fe5 Downgrade Redis to 3.3.11 as Kombu is incompatible with 3.4.0
Fixes #2425
2020-01-31 17:15:37 +00:00
Bruno Alla
3598b33999
Update redis to 3.4.0 (#2423)
Update redis to 3.4.0
2020-01-31 11:33:54 +00:00
Bruno Alla
27b6a3bd4f
Update pre-commit to 2.0.1 (#2422)
Update pre-commit to 2.0.1
2020-01-31 11:01:11 +00:00
browniebroke
dec1abb3d0 Update redis from 3.3.11 to 3.4.0 2020-01-31 11:00:30 +00:00
browniebroke
d292590ceb Update pre-commit from 2.0.0 to 2.0.1 2020-01-30 11:00:35 +00:00
browniebroke
1305ddaa6a Update pytest from 5.3.4 to 5.3.5 2020-01-30 11:00:31 +00:00
browniebroke
abdbe387a0 Update pre-commit from 1.21.0 to 2.0.0 2020-01-29 11:00:34 +00:00
Bruno Alla
2fb40f3f8c
Option for DRF with extra fixes (#2410)
Option for DRF with extra fixes
2020-01-28 10:27:26 +00:00
Dani Hodovic
54a38bfb43 Allow rendering custom widgets from root templates dir (#2356)
* Allow rendering custom widgets from root templates dir

Rendering custom widgets from the projects root template directory
doesn't work out of the box.

See: https://stackoverflow.com/questions/45844032/django-templatedoesnotexist-in-case-of-a-custom-widget/46208414#46-208414

This changes the setting to use the same template finding logic that the
TEMPLATES setting uses.

* update APP_DIRS=True

* fixup! update APP_DIRS=True
2020-01-28 09:55:09 +00:00
browniebroke
9734582a88 Update werkzeug from 0.16.0 to 0.16.1 2020-01-27 11:00:31 +00:00
Bruno Alla
3d58ffd4e7 Merge branch 'master' into drf-option-with-tests 2020-01-24 17:23:07 +00:00
Bruno Alla
ea7186f4ce
Fixed the redis-py project URL (#2412)
Fixed the redis-py project URL
2020-01-24 14:24:54 +00:00
Michael Samoylov
884e80fc52
Fixed the redis-py project URL
Previously it was pointing to the Redis project repository.
2020-01-24 13:59:36 +02:00
browniebroke
2b34e27013 Update django-coverage-plugin from 1.7.0 to 1.8.0 2020-01-24 11:00:30 +00:00
Bruno Alla
00772d7141 Merge remote-tracking branch 'origin/master' into update-doc 2020-01-23 18:38:26 +00:00
Bruno Alla
fa9a8cfe7b Fix code formatting 2020-01-23 18:10:30 +00:00
Bruno Alla
c31586488c
Merge pull request #2406 from BoPeng/master
Honor passed password for UserFactory
2020-01-23 18:09:24 +00:00
Bruno Alla
fd43059e28 Update formatting 2020-01-23 17:52:17 +00:00
Bruno Alla
949d8b684c Merge branch 'master' into drf-option-with-tests
# Conflicts:
#	hooks/post_gen_project.py
2020-01-23 14:41:42 +00:00
browniebroke
9bf6ee16b2 Update sentry-sdk from 0.14.0 to 0.14.1 2020-01-22 11:00:32 +00:00
browniebroke
8ceaa3e1c7 Update pytest from 5.3.3 to 5.3.4 2020-01-21 11:00:34 +00:00
Bo Peng
3f6562c7fe
Honor passed password for UserFactory 2020-01-19 16:21:27 -06:00
Bruno Alla
29bc74e752
Update django-coverage-plugin to 1.7.0 (#2403)
Update django-coverage-plugin to 1.7.0
2020-01-18 16:23:14 +00:00
browniebroke
a69bf2e778 Update pytest from 5.3.1 to 5.3.3 2020-01-18 11:00:34 +00:00
Bruno Alla
75d8bdbcae
Merge branch 'master' into pyup-update-django-coverage-plugin-1.6.0-to-1.7.0 2020-01-17 12:19:24 +00:00
browniebroke
70f43c7716 Update django-coverage-plugin from 1.6.0 to 1.7.0 2020-01-17 11:00:40 +00:00
browniebroke
c02587300e Update django-extensions from 2.2.5 to 2.2.6 2020-01-17 11:00:36 +00:00
howiezhao
2f9d693980
style: formatting code 2020-01-16 11:31:37 +08:00
Bo
1609d4410e
Fix loaders option in test environment as well 2020-01-14 21:19:44 -06:00
Bo
15fc92ace1
Assuming DTL to be the last instead of first template engine 2020-01-14 08:50:38 -06:00
Bruno Alla
ca90ac1c93
Update pytest-django to 3.8.0 (#2399)
Update pytest-django to 3.8.0
2020-01-14 12:30:54 +00:00
browniebroke
82c483bad5 Update pytest-django from 3.7.0 to 3.8.0 2020-01-14 11:00:37 +00:00
browniebroke
6d4128b487 Update django-stubs from 1.3.1 to 1.4.0 2020-01-14 11:00:32 +00:00
Bruno Alla
320e770bb8
Add option to choose CI tool (#2350)
Add option to choose CI tool
2020-01-13 17:50:34 +00:00
Bruno Alla
5cfed14b47
Fix failing mypy tests in users app with django-stubs (#2395) (#2396)
Fix failing mypy tests in users app with django-stubs (#2395)
2020-01-13 12:38:50 +00:00
browniebroke
9d1d5e47ff Update coverage from 5.0.2 to 5.0.3 2020-01-13 11:00:33 +00:00
Daniel Hillier
0872982245 Fix failing mypy tests in users app with django-stubs (#2395)
Adds django-stubs as a requirement for local virtualenv. This is
required now that the User Model type is being resolved properly.
2020-01-13 01:57:20 +11:00
Bruno Alla
a0ad9b82b4
Replaced Docker python:3.7-alpine image with python:3.7-slim-bu… (#2391)
Replaced Docker python:3.7-alpine image with python:3.7-slim-buster
2020-01-11 16:46:09 +00:00
Bruno Alla
e4cd386487 Merge branch 'align-psycopg2-versions' 2020-01-11 16:22:38 +00:00
Bruno Alla
9bd9891541 Align psycopg2 versions 2020-01-11 16:10:14 +00:00
Bruno Alla
1858bf4353
Add django.middleware.common.BrokenLinkEmailsMiddleware (#2355)
Add django.middleware.common.BrokenLinkEmailsMiddleware
2020-01-11 15:48:12 +00:00
Bruno Alla
5d0b0a7fe3
Upgrade to Traefik v2 (#2338)
Upgrade to Traefik v2
2020-01-11 14:18:30 +00:00
Bruno Alla
8f966e86df
Add Debian 10 (buster) OS dependencies (#2378)
Add Debian 10 (buster) OS dependencies
2020-01-11 13:48:06 +00:00
Bruno Alla
ba283853d1
Update sentry-sdk to 0.14.0 (#2392)
Update sentry-sdk to 0.14.0
2020-01-11 13:47:37 +00:00
Bruno Alla
22645cfa75
Update pre-commit to 1.21.0 (#2387)
Update pre-commit to 1.21.0
2020-01-11 13:47:23 +00:00
Bruno Alla
8d4b2bbe87
Update sphinx to 2.3.1 (#2380)
Update sphinx to 2.3.1
2020-01-11 13:46:54 +00:00
Bruno Alla
10a10a9c2f
Bumped runtime for heroku. (#2389)
Bumped runtime for heroku.
2020-01-11 13:42:41 +00:00
Bruno Alla
291c6cfb13
Update coverage to 5.0.2 (#2388)
Update coverage to 5.0.2
2020-01-11 13:41:24 +00:00
Bruno Alla
4a2f538e48
Update pillow to 7.0.0 (#2386)
Update pillow to 7.0.0
2020-01-11 13:41:10 +00:00
Bruno Alla
7ae616370b
Update django-compressor to 2.4 (#2385)
Update django-compressor to 2.4
2020-01-11 13:40:51 +00:00
Bruno Alla
9fa80f80c9
Speed up django image build process, and reduce its size (#2353)
Speed up django image build process, and reduce its size
2020-01-11 13:40:06 +00:00
browniebroke
c94c6acfc4 Update sentry-sdk from 0.13.5 to 0.14.0 2020-01-08 11:00:33 +00:00
Trung Dong Huynh
4a71b0b936 Using the python:3.7-slim-buster image for later Python version - 3.7.6
(instead of debian:buster-slim, shipped with Python 3.7.3)
2020-01-07 13:54:15 +00:00
Trung Dong Huynh
c13f5bce27 Merge branch 'master' into debian-buster-slim 2020-01-07 11:11:57 +00:00
Trung Dong Huynh
b22045bcd4 Replaced base Docker image with debian:buster-slim (#2373)
Using system Python 3 distribution (3.7.3) in order to allow the use of Debian packages for numpy, scipy, etc. without the need of building them or installing build dependencies.

Changed `#!/bin/sh` in shell scripts to `#!/bin/bash` to make `set -o pipefail` work.
2020-01-07 11:06:31 +00:00
Hunterx7
a0359d9d6a Bumped runtime for heroku. 2020-01-06 13:57:19 +01:00
browniebroke
bfe0949635 Update coverage from 5.0 to 5.0.2 2020-01-06 11:00:33 +00:00
browniebroke
41d514e6cf Update pre-commit from 1.20.0 to 1.21.0 2020-01-03 08:00:31 -03:00
browniebroke
e33e90fb69 Update pillow from 6.2.1 to 7.0.0 2020-01-02 08:00:30 -03:00
browniebroke
aa48a03c1f Update django-compressor from 2.3 to 2.4 2019-12-31 08:00:30 -03:00
howiezhao
16b219034a Update docs files 2019-12-28 17:26:43 +08:00
browniebroke
66991d9e95 Update sphinx from 2.3.0 to 2.3.1 2019-12-23 08:00:31 -03:00
David D
c7027526a3 Add Debian 10 (buster) OS dependencies 2019-12-22 12:52:22 +01:00
Bruno Alla
f3eadb0e04
Update mypy to 0.761 (#2377)
Update mypy to 0.761
2019-12-20 09:32:23 -03:00
browniebroke
b75cb6e6da Update mypy from 0.760 to 0.761 2019-12-20 08:00:35 -03:00
browniebroke
2b0027de71 Update django-allauth from 0.40.0 to 0.41.0 2019-12-19 08:00:30 -03:00
Bruno Alla
cba14881fc
Remove mypy defaults and set django-stubs setting (#2359)
Remove mypy defaults and set django-stubs setting
2019-12-18 09:50:38 -03:00
Bruno Alla
82a185d77d
Update mypy to 0.760 (#2371)
Update mypy to 0.760
2019-12-18 09:49:34 -03:00
browniebroke
29d2ff0ccf Update mypy from 0.750 to 0.760 2019-12-18 08:00:35 -03:00
browniebroke
2229a09fac Update django from 2.2.8 to 2.2.9 2019-12-18 08:00:31 -03:00
Bruno Alla
494beaa4c1
Update sphinx to 2.3.0 (#2369)
Update sphinx to 2.3.0
2019-12-16 09:17:14 -03:00
browniebroke
acd63b14b8 Update sphinx from 2.2.2 to 2.3.0 2019-12-16 08:00:34 -03:00
browniebroke
8211a83f3a Update celery from 4.3.0 to 4.4.0 2019-12-16 08:00:30 -03:00
browniebroke
b6a524c346 Update coverage from 4.5.4 to 5.0 2019-12-15 08:00:29 -03:00
browniebroke
d085a9c432 Update django-redis from 4.10.0 to 4.11.0 2019-12-14 08:00:29 -03:00
Bruno Alla
2861e6c60c
Update whitenoise to 5.0.1 (#2363)
Update whitenoise to 5.0.1
2019-12-13 09:50:54 -03:00
Bruno Alla
96667bbc8f
Update django-model-utils to 4.0.0 (#2362)
Update django-model-utils to 4.0.0
2019-12-13 09:50:21 -03:00
browniebroke
6ce4b13d83 Update djangorestframework from 3.10.3 to 3.11.0 2019-12-13 08:00:36 -03:00
browniebroke
d418909714 Update whitenoise from 4.1.4 to 5.0.1 2019-12-13 08:00:31 -03:00
browniebroke
c59062a496 Update django-model-utils from 3.2.0 to 4.0.0 2019-12-12 08:00:35 -03:00
Dani Hodovic
0f515974cb
Remove mypy defaults and set django-stubs setting
https://mypy.readthedocs.io/en/latest/config_file.html

ignore_errors = False
strict_optional = True

Are both set to these values by default. No need to set them in the
config.

```toml
[mypy.plugins.django-stubs]
django_settings_module = config.settings.local
```
mypy.plugins.django-stubs requires django_settings_module to be set.
https://github.com/typeddjango/django-stubs#configuration
2019-12-11 14:58:21 +01:00
Dani Hodovic
1dd8608142
Add django.middleware.common.BrokenLinkEmailsMiddleware
https://docs.djangoproject.com/en/2.2/howto/error-reporting/#errors

> If those conditions are met, Django will email the users listed in the
> MANAGERS setting whenever your code raises a 404 and the request has a
> referer. It doesn’t bother to email for 404s that don’t have a referer –
> those are usually just people typing in broken URLs or broken Web bots.
> It also ignores 404s when the referer is equal to the requested URL,
> since this behavior is from broken Web bots too.
2019-12-10 12:46:52 +01:00
Yuchen Xie
a88b6b04b6 Speed up django image build process, and reduce its size 2019-12-09 09:55:37 +08:00
browniebroke
97880e5046 Update sentry-sdk from 0.13.4 to 0.13.5 2019-12-06 11:00:30 +00:00
Ivan Khomutov
113ce88d9c Add option to choose CI tool 2019-12-06 10:55:00 +03:00
Bruno Alla
efbf164e84
Update ipdb to 0.12.3 (#2346)
Update ipdb to 0.12.3
2019-12-04 13:25:33 +00:00
browniebroke
e7923c6c5c Update flake8 from 3.7.8 to 3.7.9 2019-12-04 11:00:35 +00:00
browniebroke
112972d881 Update ipdb from 0.12.2 to 0.12.3 2019-12-04 11:00:32 +00:00
Bruno Alla
828f9c5cf8
updated werkzeug from 0.14.1 to 0.16.0 (#2341)
updated werkzeug from 0.14.1 to 0.16.0
2019-12-03 14:12:08 +00:00
Bruno Alla
676c9fb336
Update sphinx to 2.2.2 (#2344)
Update sphinx to 2.2.2
2019-12-03 14:11:25 +00:00
browniebroke
3140fe74ca Update sphinx from 2.2.1 to 2.2.2 2019-12-03 11:00:42 +00:00
Jelmert
2214951bbe updated werkzeug from 0.14.1 to 0.16.0 2019-12-03 11:19:01 +01:00
Fábio C. Barrionuevo da Luz
faa6cdafd4
Merge branch 'master' into pyup-update-mypy-0.740-to-0.750 2019-12-02 13:49:20 -03:00
Fábio C. Barrionuevo da Luz
9fade08a69
Merge pull request #2335 from pydanny/pyup-update-pytest-5.3.0-to-5.3.1
Update pytest to 5.3.1
2019-12-02 13:47:48 -03:00
browniebroke
b638ce0a1b Update django from 2.2.7 to 2.2.8 2019-12-02 11:00:31 +00:00
browniebroke
1453b32891 Update mypy from 0.740 to 0.750 2019-11-30 11:00:31 +00:00
Denis Savran
c76b3066d6 Upgrade to Traefik v2 2019-11-29 21:35:40 +03:00
browniebroke
9ec808e7f4 Update pytest from 5.3.0 to 5.3.1 2019-11-28 11:00:32 +00:00
Bruno Alla
595b0c8d52
Update sentry-sdk to 0.13.4 (#2334)
Update sentry-sdk to 0.13.4
2019-11-27 12:26:01 +00:00
browniebroke
4283ca76a4 Update sentry-sdk from 0.13.3 to 0.13.4 2019-11-27 11:00:38 +00:00
browniebroke
6a302ec703 Update gunicorn from 20.0.3 to 20.0.4 2019-11-27 11:00:34 +00:00
Fábio C. Barrionuevo da Luz
7d563e873c
Merge pull request #2329 from morenoh149/patch-1
Make update form button look like a button
2019-11-26 17:09:08 -03:00
browniebroke
832275a792 Update gunicorn from 20.0.2 to 20.0.3 2019-11-26 11:00:32 +00:00
Fábio C. Barrionuevo da Luz
500504d4c5
Merge pull request #2323 from pydanny/pyup-update-gunicorn-20.0.0-to-20.0.2
Update gunicorn to 20.0.2
2019-11-25 19:24:15 -03:00
Fábio C. Barrionuevo da Luz
cb7c99b12f
Merge pull request #2324 from pydanny/pyup-update-django-crispy-forms-1.8.0-to-1.8.1
Update django-crispy-forms to 1.8.1
2019-11-25 19:24:04 -03:00
Fábio C. Barrionuevo da Luz
4355243848
Merge pull request #2325 from pydanny/pyup-update-pylint-django-2.0.12-to-2.0.13
Update pylint-django to 2.0.13
2019-11-25 19:23:40 -03:00
Harry Moreno
82c8b51272
Make update form button look like a button
without `ban-primary` the button looks like some floating text.
2019-11-25 16:43:30 -05:00
browniebroke
fbd0fcbb61 Update sentry-sdk from 0.13.2 to 0.13.3 2019-11-25 11:00:33 +00:00
browniebroke
dce02bae70 Update pylint-django from 2.0.12 to 2.0.13 2019-11-24 11:00:31 +00:00
browniebroke
09d95d8ab4 Update django-crispy-forms from 1.8.0 to 1.8.1 2019-11-23 11:00:37 +00:00
browniebroke
b014121810 Update gunicorn from 20.0.0 to 20.0.2 2019-11-23 11:00:33 +00:00
browniebroke
9481a5a390 Update django-storages from 1.7.2 to 1.8 2019-11-21 11:00:34 +00:00
browniebroke
4daf3b9769 Update django-storages from 1.7.2 to 1.8 2019-11-21 11:00:33 +00:00
Bruno Alla
117c7d025b
Using WhiteNoise in development (#2304)
Using WhiteNoise in development
2019-11-20 18:57:02 +00:00
browniebroke
cdd9205075 Update pytest from 5.2.4 to 5.3.0 2019-11-20 11:00:35 +00:00
browniebroke
526f135e85 Update pytest from 5.2.3 to 5.2.4 2019-11-16 11:00:32 +00:00
browniebroke
0bd04dd5b3 Update pytest from 5.2.2 to 5.2.3 2019-11-15 11:00:33 +00:00
Dani Hodovic
ff0122acd6
Use pytest-django --reuse-db for faster tests
Pytest-django allows you to re-use database setups between tests for
quicker test runs. This is especially useful for large projects with many
migrations.

For example, here's a project of mine with 40+ migrations:

with --reuse-db
```
pytest --reuse-db  2.54s user 0.35s system 108% cpu 2.669 total
```

without --reuse-db
```
pytest 7.40s user 0.34s system 50% cpu 15.240 total
```

Caveat: if your model happens to change you need to manually --create-db
to ensure migrations are applied.

https://pytest-django.readthedocs.io/en/latest/database.html#reuse-db-reuse-the-testing-database-between-test-runs
2019-11-13 23:28:38 +01:00
browniebroke
a38c61369e Update django-debug-toolbar from 2.0 to 2.1 2019-11-12 11:00:32 +00:00
Bruno Alla
c2daa58fc4
Update pytest-django to 3.7.0 (#2308)
Update pytest-django to 3.7.0
2019-11-10 22:16:32 +00:00
Bruno Alla
ea37ed5ffd
Merge pull request #2307 from pydanny/pyup-update-sentry-sdk-0.13.1-to-0.13.2
Update sentry-sdk to 0.13.2
2019-11-10 22:16:16 +00:00
browniebroke
fd5e9be58b Update pytest-django from 3.6.0 to 3.7.0 2019-11-09 11:00:37 +00:00
browniebroke
eeda7dfe33 Update sentry-sdk from 0.13.1 to 0.13.2 2019-11-09 11:00:33 +00:00
browniebroke
8a1ec53a74 Update gunicorn from 19.9.0 to 20.0.0 2019-11-09 11:00:30 +00:00
Yuchen Xie
0374f11d09 Using WhiteNoise in development 2019-11-07 21:03:33 +08:00
browniebroke
9e58bb4e80 Update pylint-django from 2.0.11 to 2.0.12 2019-11-05 12:00:32 +01:00
Bruno Alla
d68db825e2
Add pre-commit for the generated project. (#2171) (#2295)
Add pre-commit for the generated project. (#2171)
2019-11-04 13:38:02 +01:00
Bruno Alla
8eaf55408a
Update black to 19.10b0 (#2294)
Update black to 19.10b0
2019-11-04 13:36:20 +01:00
Bruno Alla
84c4589e87
Update django to 2.2.7 (#2299)
Update django to 2.2.7
2019-11-04 13:35:08 +01:00
browniebroke
8f74fdb942 Update django from 2.2.6 to 2.2.7 2019-11-04 12:00:33 +01:00
Bruce Olivier
04f3ae75dc Added more settings to .editorconfig to run isort and have black compatibility. 2019-11-02 16:55:18 -05:00
leollon
4a194c6966 Add pre-commit for the generated project. (#2171) 2019-10-29 22:48:39 +08:00
browniebroke
10e395f65c Update black from 19.3b0 to 19.10b0 2019-10-29 11:00:32 +00:00
Bruno Alla
976303115f
Merge branch 'master' into pyup-update-python-slugify-3.0.6-to-4.0.0 2019-10-28 12:43:34 +00:00
Bruno Alla
e806222978
Update sphinx to 2.2.1 (#2288)
Update sphinx to 2.2.1
2019-10-28 12:42:30 +00:00
Bruno Alla
5398e4b0fc
Merge pull request #2290 from pydanny/pyup-update-argon2-cffi-19.1.0-to-19.2.0
Update argon2-cffi to 19.2.0
2019-10-28 12:41:35 +00:00
browniebroke
9b61317682 Update argon2-cffi from 19.1.0 to 19.2.0 2019-10-28 11:00:33 +00:00
browniebroke
d006bc610c Update collectfast from 1.3.0 to 1.3.1 2019-10-28 11:00:30 +00:00
browniebroke
caa8b5a303 Update sphinx from 2.2.0 to 2.2.1 2019-10-26 12:00:30 +01:00
Bruno Alla
04a04da355
Update sentry-sdk to 0.13.1 (#2287)
Update sentry-sdk to 0.13.1
2019-10-25 15:32:17 +01:00
browniebroke
b7976b9c36 Update sentry-sdk from 0.13.0 to 0.13.1 2019-10-25 12:00:40 +01:00
browniebroke
c2aa615fdc Update pytest from 5.2.1 to 5.2.2 2019-10-25 12:00:37 +01:00
browniebroke
3f0134a64b Update collectfast from 1.2.0 to 1.3.0 2019-10-23 12:00:31 +01:00
browniebroke
998733411c Update pillow from 6.2.0 to 6.2.1 2019-10-22 12:00:35 +01:00
Bruno Alla
6b65cb15e1
Merge pull request #2262 from pydanny/pin-traefik-v1
Pin Traefik Docker image to v1
2019-10-22 08:50:58 +01:00
Bruno Alla
808078c6ba
Merge pull request #2276 from foarsitter/remove_awscli_definition_2193
fix: remove the aws Dockerfile and remove the awscli definition from …
2019-10-22 08:50:29 +01:00
Yuchen Xie
400fcc4030 Prevent collectfast from guessing a wrong strategy
If `COLLECTFAST_STRATEGY` is not provided in `settings`, `collectfast` has to guess a "strategy". For the case with AWS, it guesses `BotoStrategy` in stead of `S3Boto3Storage`, which is a wrong decision as we `pip install django-storages[boto3]` (`boto3` in favor of `boto`).

Setting `COLLECTFAST_STRATEGY` is also encouraged as `collectfast` is not going to guess the strategy in the future.

Ref:
* f37dd1faa2/collectfast/management/commands/collectstatic.py (L33)
* f37dd1faa2/collectfast/strategies/base.py (L170)
2019-10-22 10:42:32 +08:00
Fábio C. Barrionuevo da Luz
35a00c7484
Merge pull request #2278 from pydanny/pyup-update-django-extensions-2.2.3-to-2.2.5
Update django-extensions to 2.2.5
2019-10-21 12:12:13 -03:00
browniebroke
8cce6df70a Update django-extensions from 2.2.3 to 2.2.5 2019-10-21 12:00:32 +01:00
browniebroke
39c33c550c Update python-slugify from 3.0.6 to 4.0.0 2019-10-21 12:00:29 +01:00
Jelmert
58f41fc97f fix: remove the aws Dockerfile and remove the awscli definition from production.yml when not selected 2019-10-21 10:07:17 +02:00
browniebroke
96ade99c66 Update psycopg2-binary from 2.8.3 to 2.8.4 2019-10-20 12:00:29 +01:00
Bruno Alla
3b4d6857f0
Merge pull request #2273 from pydanny/pyup-update-django-crispy-forms-1.7.2-to-1.8.0
Update django-crispy-forms to 1.8.0
2019-10-18 17:09:44 +01:00
browniebroke
42e5581198 Update django-crispy-forms from 1.7.2 to 1.8.0 2019-10-18 12:00:32 +01:00
browniebroke
c8ebb633cf Update sentry-sdk from 0.12.3 to 0.13.0 2019-10-18 12:00:29 +01:00
Bruno Alla
488b1a5587
Update mypy to 0.740 (#2270)
Update mypy to 0.740
2019-10-17 13:24:26 +01:00
browniebroke
f87757f4ab Update pytest-django from 3.5.1 to 3.6.0 2019-10-17 12:00:31 +01:00
browniebroke
f8cbea93aa Update mypy from 0.730 to 0.740 2019-10-17 12:00:29 +01:00
browniebroke
be8afa27b3 Update redis from 3.3.10 to 3.3.11 2019-10-14 12:00:29 +01:00
Bruno Alla
a89f381633
Update redis to 3.3.10 (#2265)
Update redis to 3.3.10
2019-10-11 12:53:08 +01:00
browniebroke
f26cad1faa Update redis from 3.3.8 to 3.3.10 2019-10-11 12:00:32 +01:00
browniebroke
93473cb39a Update python-slugify from 3.0.4 to 3.0.6 2019-10-11 12:00:29 +01:00
Bruno Alla
5e196b45e9
Pin Traefik Docker image to v1
Until we do the required changes to update to v2.

Fixes #2258
2019-10-10 11:36:48 +01:00
Fábio C. Barrionuevo da Luz
2459392a98
Merge pull request #2260 from pydanny/pyup-update-collectfast-1.1.0-to-1.2.0
Update collectfast to 1.2.0
2019-10-07 09:22:15 -03:00
Fábio C. Barrionuevo da Luz
8c92e5f787
Merge pull request #2261 from pydanny/pyup-update-pytz-2019.2-to-2019.3
Update pytz to 2019.3
2019-10-07 09:19:14 -03:00
browniebroke
ca9addbbef Update pytz from 2019.2 to 2019.3 2019-10-07 12:00:36 +01:00
browniebroke
b338a7490a Update collectfast from 1.1.0 to 1.2.0 2019-10-07 12:00:34 +01:00
browniebroke
86fd35bba6 Update pytest from 5.2.0 to 5.2.1 2019-10-07 12:00:31 +01:00
Bruno Alla
98a443626b
Update to latest Python 3.7 runtime on Heroku 2019-10-06 13:07:20 +01:00
Bruno Alla
6a9feea2fe
Support python 3.7 (#2240)
Support python 3.7
2019-10-06 11:06:03 +01:00
Bruno Alla
13a5767503
Fix #2250 -- No staticfile storage with GCP without Whitenoise (#2251)
Fix #2250 -- No staticfile storage with GCP without Whitenoise
2019-10-04 14:46:35 +01:00
Caio Ariede
ff8a9de24e Updates 2019-10-04 09:32:25 -03:00
browniebroke
b8248f4758 Update collectfast from 1.0.0 to 1.1.0 2019-10-04 12:00:29 +01:00
Bruno Alla
8431f2684f
Merge pull request #2254 from pydanny/pyup-update-django-extensions-2.2.2-to-2.2.3
Update django-extensions to 2.2.3
2019-10-03 15:30:57 +01:00
browniebroke
9f1821cadf Update django-extensions from 2.2.2 to 2.2.3 2019-10-03 12:00:34 +01:00
browniebroke
6e27a8beac Update sentry-sdk from 0.12.2 to 0.12.3 2019-10-03 12:00:31 +01:00
Caio Ariede
39e745dddf Fix #2250 -- No staticfile storage with GCP without Whitenoise 2019-10-02 10:10:32 -03:00
Bruno Alla
4cd784ed10
Merge pull request #2248 from pydanny/pyup-update-django-extensions-2.2.1-to-2.2.2
Update django-extensions to 2.2.2
2019-10-02 13:03:36 +01:00
browniebroke
8a471c97e8 Update django-extensions from 2.2.1 to 2.2.2 2019-10-02 12:00:33 +01:00
browniebroke
daa0265a39 Update pillow from 6.1.0 to 6.2.0 2019-10-02 12:00:29 +01:00
Bruno Alla
a7aeb75d02
Update django-anymail to 7.0.0 (#2220)
Update django-anymail to 7.0.0
2019-10-01 21:05:52 +01:00
Fábio C. Barrionuevo da Luz
fc0b9548df
Merge pull request #2241 from pydanny/pyup-update-django-2.2.5-to-2.2.6
Update django to 2.2.6
2019-10-01 12:29:35 -03:00
browniebroke
7b73c2eb92 Update pytest from 5.1.3 to 5.2.0 2019-10-01 12:00:33 +01:00
browniebroke
4aed40d74d Update django from 2.2.5 to 2.2.6 2019-10-01 12:00:29 +01:00
Nicolas Stefani
1f68e370ee Updated python version to 3.7 2019-09-29 21:07:59 -03:00
Nicolas Stefani
7d0f8606ed Update python image to 3.7 2019-09-29 09:41:13 -03:00
browniebroke
9e5343dd31 Update mypy from 0.720 to 0.730 2019-09-27 12:00:30 +01:00
Bruno Alla
164e2aa69c
Update pytest to 5.1.3 (#2233)
Update pytest to 5.1.3
2019-09-25 17:43:31 +01:00
browniebroke
e924a55d78 Update whitenoise from 4.1.3 to 4.1.4 2019-09-25 12:00:29 +01:00
browniebroke
aa57342794 Update pytest from 5.1.2 to 5.1.3 2019-09-23 12:00:28 +01:00
Bruno Alla
f280df0246
Merge pull request #2231 from pydanny/pyup-update-python-slugify-3.0.3-to-3.0.4
Update python-slugify to 3.0.4
2019-09-21 13:07:12 +01:00
browniebroke
02689f67e7 Update python-slugify from 3.0.3 to 3.0.4 2019-09-21 12:00:33 +01:00
browniebroke
ce3547e890 Update sentry-sdk from 0.12.0 to 0.12.2 2019-09-21 12:00:30 +01:00
browniebroke
f8963e0dd3 Update sentry-sdk from 0.11.2 to 0.12.0 2019-09-19 12:00:30 +01:00
Jerome Caisip
548417612f Additonal option to setup DRF. 2019-09-17 23:24:09 +08:00
Bruno Alla
bb6320efc8
Add context processor for settings variables (#2203)
Add context processor for settings variables
2019-09-11 22:50:53 +01:00
browniebroke
fab5bf8a04 Update django-storages from 1.7.1 to 1.7.2 2019-09-10 13:00:30 +02:00
browniebroke
db777571c4 Update django-storages from 1.7.1 to 1.7.2 2019-09-10 13:00:29 +02:00
browniebroke
e5f9dd2c78 Update django-anymail from 6.1.0 to 7.0.0 2019-09-08 13:00:29 +02:00
Bruno Alla
1df888b2b6
Merge branch 'master' into pyup-update-pytest-5.1.1-to-5.1.2 2019-09-05 18:53:46 +02:00
Dani Hodovic
69566f5456
Add context processor for settings variables
This allows for usage of settings variables in templates, e.g

```
{% if settings.USE_ANALYTICS %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ settings.GOOGLE_TAG_MANAGER_ID }}" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
```
2019-09-05 13:24:47 +02:00
browniebroke
c29795b1dc Update djangorestframework from 3.10.2 to 3.10.3 2019-09-05 13:00:31 +02:00
Bruno Alla
baab918874
Remove AWS_PRELOAD_METADATA (#2204)
Remove AWS_PRELOAD_METADATA
2019-09-04 20:34:23 +02:00
Bruno Alla
391feb393b
Add default tests.py file pattern to pytest (#2213)
Add default tests.py file pattern to pytest
2019-09-04 20:31:45 +02:00
Bruno Alla
8c131fe603
Merge pull request #2206 from danihodovic/remove-duplicate-debug
Remove redundant DEBUG = False in test.py
2019-09-04 20:30:10 +02:00
Bruno Alla
15c09e4495
Remove EMAIL_HOST, EMAIL_PORT for console backend (#2202)
Remove EMAIL_HOST, EMAIL_PORT for console backend
2019-09-04 20:15:18 +02:00
Bruno Alla
f1a04205e7 Update pytest from 5.1.1 to 5.1.2 2019-09-04 19:08:56 +01:00
Bruno Alla
f9cb185397
Merge pull request #2211 from pydanny/pyup-update-django-2.2.4-to-2.2.5
Update django to 2.2.5
2019-09-04 20:07:24 +02:00
Bruno Alla
c8b3577232
Update sentry-sdk to 0.11.2 (#2210)
Update sentry-sdk to 0.11.2
2019-09-04 20:05:12 +02:00
Dani Hodovic
c6bd37adcc
Add default tests.py file pattern to pytest
`./manage.py startapp` generates a tests.py file by default. This is
ignored by pytest unless specified.
2019-09-04 15:59:31 +02:00
browniebroke
df36bf1f55 Update django from 2.2.4 to 2.2.5 2019-09-02 12:00:29 +01:00
browniebroke
c0554db343 Update sentry-sdk from 0.11.1 to 0.11.2 2019-08-31 13:00:33 +02:00
browniebroke
58a2262190 Update django-allauth from 0.39.1 to 0.40.0 2019-08-30 13:00:28 +02:00
Dani Hodovic
180ab9bbb1
Remove redundant DEBUG = False in test.py
This is already set to False by default in base.py
2019-08-26 16:25:36 +02:00
Dani Hodovic
d4d8f1b5be
Remove AWS_PRELOAD_METADATA
https://github.com/antonagestam/collectfast/pull/140
2019-08-25 14:08:28 +02:00
Dani Hodovic
7ad8791937
Remove EMAIL_HOST, EMAIL_PORT for console backend
django.core.mail.backends.console.EmailBackend is an in memory backend
so EMAIL_HOST and EMAIL_PORT does not need to be specified in this case.
2019-08-21 17:31:18 +02:00
browniebroke
72b222d52d Update pytest from 5.1.0 to 5.1.1 2019-08-21 13:00:30 +02:00
Bruno Alla
6bee7cf925
Update redis to 3.3.8 (#2200)
Update redis to 3.3.8
2019-08-20 14:06:08 +02:00
browniebroke
ac294b8515 Update redis from 3.3.7 to 3.3.8 2019-08-20 13:00:32 +02:00
browniebroke
5ddadc0afa Update sentry-sdk from 0.11.0 to 0.11.1 2019-08-20 13:00:29 +02:00
Fábio C. Barrionuevo da Luz
ec44c9faac
Merge pull request #2197 from pydanny/pyup-update-sentry-sdk-0.10.2-to-0.11.0
Update sentry-sdk to 0.11.0
2019-08-19 12:52:35 -03:00
browniebroke
b42d000b56 Update sphinx from 2.1.2 to 2.2.0 2019-08-19 13:00:34 +02:00
browniebroke
c1fb6e078b Update sentry-sdk from 0.10.2 to 0.11.0 2019-08-17 13:00:31 +02:00
Bruno Alla
702d96bd8a
Merge pull request #2196 from pydanny/pyup-update-pytest-5.0.1-to-5.1.0
Update pytest to 5.1.0
2019-08-16 13:56:37 +02:00
Bruno Alla
bc13e981c5
Merge pull request #2194 from pydanny/pyup-update-redis-3.3.6-to-3.3.7
Update redis to 3.3.7
2019-08-16 12:10:00 +01:00
browniebroke
cc0ff897b2 Update pytest from 5.0.1 to 5.1.0 2019-08-16 12:00:29 +01:00
browniebroke
081accfafb Update redis from 3.3.6 to 3.3.7 2019-08-14 12:00:29 +01:00
browniebroke
5a8c6c28c6 Update collectfast from 0.6.2 to 1.0.0 2019-08-13 12:00:28 +01:00
browniebroke
406f51ac17 Update redis from 3.3.5 to 3.3.6 2019-08-07 12:00:29 +01:00
browniebroke
0d3fb0509e Update redis from 3.3.4 to 3.3.5 2019-08-03 12:00:29 +01:00
Fábio C. Barrionuevo da Luz
c30e5e7bf9
Merge pull request #2180 from pydanny/pyup-update-djangorestframework-3.10.1-to-3.10.2
Update djangorestframework to 3.10.2
2019-08-01 10:33:02 -03:00
Fábio C. Barrionuevo da Luz
3e88bad6a9
Merge pull request #2186 from pydanny/pyup-update-pytz-2019.1-to-2019.2
Update pytz to 2019.2
2019-08-01 10:32:45 -03:00
Fábio C. Barrionuevo da Luz
ad1635ac05
Merge pull request #2181 from pydanny/pyup-update-coverage-4.5.3-to-4.5.4
Update coverage to 4.5.4
2019-08-01 10:32:17 -03:00
Fábio C. Barrionuevo da Luz
4aabec4c73
Merge pull request #2183 from pydanny/pyup-update-ipdb-0.12.1-to-0.12.2
Update ipdb to 0.12.2
2019-08-01 10:31:36 -03:00
Fábio C. Barrionuevo da Luz
9befa958ec
Merge branch 'master' into pyup-update-redis-3.3.0-to-3.3.4 2019-08-01 10:31:09 -03:00
Fábio C. Barrionuevo da Luz
440aded5e6
Merge pull request #2179 from pydanny/pyup-update-redis-3.3.0-to-3.3.2
Update redis to 3.3.2
2019-08-01 10:30:14 -03:00
browniebroke
b562008a6c Update django from 2.2.3 to 2.2.4 2019-08-01 12:00:33 +01:00
browniebroke
ffbc44a330 Update pytz from 2019.1 to 2019.2 2019-08-01 12:00:30 +01:00
browniebroke
ba05c40cfb Update ipdb from 0.12.1 to 0.12.2 2019-07-31 12:00:32 +01:00
browniebroke
2a373ebeff Update redis from 3.3.0 to 3.3.4 2019-07-31 12:00:29 +01:00
browniebroke
f540784c35 Update coverage from 4.5.3 to 4.5.4 2019-07-30 12:00:36 +01:00
browniebroke
57ba93c69c Update djangorestframework from 3.10.1 to 3.10.2 2019-07-30 12:00:32 +01:00
browniebroke
ff182ce997 Update redis from 3.3.0 to 3.3.2 2019-07-30 12:00:29 +01:00
Bruno Alla
8cdc025966
Update python-slugify to 3.0.3 (#2177)
Update python-slugify to 3.0.3
2019-07-29 14:01:21 +02:00
Bruno Alla
c3d7c148d2
Update djangorestframework to 3.10.1 (#2168)
Update djangorestframework to 3.10.1
2019-07-29 14:00:52 +02:00
Bruno Alla
26bc32b0c4
Update ipdb to 0.12.1 (#2175)
Update ipdb to 0.12.1
2019-07-29 14:00:39 +02:00
Bruno Alla
796c0f3abb
Update django-extensions to 2.2.1 (#2172)
Update django-extensions to 2.2.1
2019-07-29 14:00:24 +02:00
browniebroke
3bf19e93f2 Update redis from 3.2.1 to 3.3.0 2019-07-29 13:00:28 +02:00
browniebroke
541374e27b Update python-slugify from 3.0.2 to 3.0.3 2019-07-28 13:00:29 +02:00
browniebroke
f0546612a2 Update ipdb from 0.12 to 0.12.1 2019-07-27 13:00:29 +02:00
browniebroke
cc47ee39e9 Update django-extensions from 2.1.9 to 2.2.1 2019-07-20 12:00:29 +01:00
browniebroke
fbacfa95e0 Update djangorestframework from 3.10.0 to 3.10.1 2019-07-18 12:00:29 +01:00
Bruno Alla
6efb18bcea
Merge pull request #2160 from 2O4/message_on_user_update
Message when user update his info
2019-07-17 21:11:43 +01:00
2O4
566cc3f3e4
Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/views.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2019-07-17 19:31:53 +02:00
step21
c085345253
Rename 403_csrf.html to 403.html
403.html is the name that django expects, unless it is overriden. 403_csrf is a separate case, which according to django docs and mailing list should get a separate view/template. Fixes #2163 
Docs: https://docs.djangoproject.com/en/2.1/ref/csrf/#rejected-requests
Mailing list: https://groups.google.com/forum/#!msg/django-developers/O2raF0RVGA0/44-3Jz0jCwAJ
Stackoverflow: https://stackoverflow.com/questions/31981239/django-custom-403-template
2019-07-17 15:14:16 +02:00
Fábio C. Barrionuevo da Luz
8fa182c4f0
Merge pull request #2166 from pydanny/pyup-update-djangorestframework-3.9.4-to-3.10.0
Update djangorestframework to 3.10.0
2019-07-16 16:58:24 -03:00
browniebroke
b0cd6e4072 Update djangorestframework from 3.9.4 to 3.10.0 2019-07-16 12:00:32 +01:00
browniebroke
f8b4f32c7a Update sentry-sdk from 0.10.1 to 0.10.2 2019-07-16 12:00:29 +01:00
2O4
a41c841613
Update views.py 2019-07-15 18:19:07 +02:00
2O4
9da2a19367
Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/views.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2019-07-15 18:10:33 +02:00
2O4
e99d27c127
Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/views.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2019-07-15 18:10:27 +02:00
Bruno Alla
2e32f1ff67
Added a button to close the message pop-up (#2162)
Added a button to close the message pop-up
2019-07-15 10:13:01 +01:00
2O4
5312d9b914
Added a button to close the message 2019-07-14 16:37:37 +02:00
2O4
3aa7181a46
Delete user_list.html
Following on Remove user list view #2062
2019-07-14 15:55:50 +02:00
2O4
c49acc64f9 Update views.py
added message wich will be shown when a user update his infos
2019-07-14 15:22:36 +02:00
browniebroke
e15965bd19 Update whitenoise from 4.1.2 to 4.1.3 2019-07-14 12:00:29 +01:00
browniebroke
80e7df010c Update mypy from 0.711 to 0.720 2019-07-13 12:00:29 +01:00
Bruno Alla
bc5396bee1
Added bootstrap style to account buttons (#2157)
Added bootstrap style to account buttons
2019-07-12 11:49:13 +01:00
2O4
3abf0fec3a fixed buttons 2019-07-11 13:44:38 +02:00
browniebroke
2ab85f4303 Update pylint-django from 2.0.10 to 2.0.11 2019-07-11 12:00:28 +01:00
Jules Chéron
ec80a05671
Handle path with pathlib
- Update config/settings/base.py
- Update merge_production_dotenvs_in_dotenv.py
- Update wsgi.py
- Update manage.py
2019-07-10 20:35:38 +02:00
browniebroke
c8b5577536 Update sentry-sdk from 0.10.0 to 0.10.1 2019-07-10 12:00:28 +01:00
Fábio C. Barrionuevo da Luz
614f408a77
Merge pull request #2154 from pydanny/pyup-update-flake8-3.7.7-to-3.7.8
Update flake8 to 3.7.8
2019-07-09 11:19:42 -03:00
Bruno Alla
6ca6d50ed8
Add EMAIL_TIMEOUT (#2153)
Add EMAIL_TIMEOUT
2019-07-09 12:08:15 +01:00
browniebroke
e0aacb328e Update flake8 from 3.7.7 to 3.7.8 2019-07-09 12:00:29 +01:00
Bruno Alla
34c045ef60
Remove EMAIL_HOST & EMAIL_PORT with locmem backend (#2152)
Remove EMAIL_HOST & EMAIL_PORT with locmem backend
2019-07-09 11:24:48 +01:00
Bruno Alla
2b58db59b3
Remove gunicorn from installed apps (#2151)
Remove gunicorn from installed apps
2019-07-09 11:23:48 +01:00
Bruno Alla
4e45937900
Always use test settings in pytest (#2147)
Always use test settings in pytest
2019-07-09 08:19:53 +01:00
Dani Hodovic
35b201a2b3
Add EMAIL_TIMEOUT
Adds EMAIL_TIMEOUT to prevent a blocking send on the tcp socket from
halting the thread handling the request.
2019-07-09 09:11:50 +08:00
Dani Hodovic
1469739109
Remove EMAIL_HOST & EMAIL_PORT with locmem backend
These settings should not be required since Django never connects to an
external component when sending email. Instead it's stored in memory.

https://docs.djangoproject.com/en/2.2/topics/email/#in-memory-backend
2019-07-09 09:07:38 +08:00
Dani Hodovic
a25c406975
Remove gunicorn from installed apps
I can't find the requirement of adding it to INSTALLED_APPS on the
Django or the Gunicorn docs.

https://docs.gunicorn.org/en/latest/run.html?highlight=django#django
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/gunicorn/
2019-07-09 09:00:31 +08:00
Dani Hodovic
f02aa463a7
Always use test settings in pytest
You can alternatively use DJANGO_SETTINGS_MODULE, but this is overridden
by the environment variable of the same name. In order to always run it
with test settings, regardless of the environment variable use --ds.

https://pytest-django.readthedocs.io/en/latest/configuring_django.html
2019-07-09 08:54:31 +08:00
Fábio C. Barrionuevo da Luz
77e8cf55c4
Merge pull request #2148 from pydanny/pyup-update-django-anymail-6.0.1-to-6.1.0
Update django-anymail to 6.1.0
2019-07-08 09:41:13 -03:00
browniebroke
f00c1f6f70 Update pylint-django from 2.0.9 to 2.0.10 2019-07-08 12:00:32 +01:00
browniebroke
0026e98c14 Update django-anymail from 6.0.1 to 6.1.0 2019-07-08 12:00:29 +01:00
Bruno Alla
b1318845e5
Merge pull request #2146 from pydanny/pyup-update-sentry-sdk-0.9.5-to-0.10.0
Update sentry-sdk to 0.10.0
2019-07-06 13:51:11 +01:00
browniebroke
8f31052d7e Update sentry-sdk from 0.9.5 to 0.10.0 2019-07-06 12:00:33 +01:00
browniebroke
bd071be43e Update pytest from 5.0.0 to 5.0.1 2019-07-06 12:00:30 +01:00
browniebroke
9393091398 Update pillow from 6.0.0 to 6.1.0 2019-07-03 12:00:28 +01:00
Bruno Alla
f6343694fd
Merge pull request #2138 from pydanny/pyup-update-django-2.2.2-to-2.2.3
Update django to 2.2.3
2019-07-01 15:40:34 +02:00
browniebroke
5c83f2416f Update pytest from 4.6.3 to 5.0.0 2019-07-01 13:00:32 +02:00
browniebroke
cbd3a59d4b Update django from 2.2.2 to 2.2.3 2019-07-01 13:00:29 +02:00
browniebroke
7be0c231b7 Update pytest-django from 3.5.0 to 3.5.1 2019-06-30 13:00:29 +02:00
browniebroke
46f4567b95 Update sentry-sdk from 0.9.2 to 0.9.5 2019-06-29 12:00:32 +01:00
Bruno Alla
45fca09458
Update mypy to 0.711 (#2129)
Update mypy to 0.711
2019-06-25 15:08:24 +01:00
browniebroke
2f95bedc13 Update mypy from 0.710 to 0.711 2019-06-25 12:00:34 +01:00
browniebroke
e1c9f57624 Update django-model-utils from 3.1.2 to 3.2.0 2019-06-25 12:00:31 +01:00
browniebroke
6b45fd08e6 Update sentry-sdk from 0.9.1 to 0.9.2 2019-06-24 12:00:28 +01:00
Bruno Alla
64ef6e835c
Update sentry-sdk to 0.9.1 (#2124)
Update sentry-sdk to 0.9.1
2019-06-22 12:28:26 +01:00
Bruno Alla
2fc4e81a0c
Remove redundant template debug setting (#2122)
Remove redundant template debug setting
2019-06-22 12:27:56 +01:00
browniebroke
7b9ed36fac Update sentry-sdk from 0.9.0 to 0.9.1 2019-06-22 12:00:28 +01:00
Bruno Alla
4a106f02a0
Update django-debug-toolbar to 2.0 (#2121)
Update django-debug-toolbar to 2.0
2019-06-20 17:10:55 +01:00
Dani Hodovic
87a8acbae2
Remove redundant template debug setting
> 'debug': a boolean that turns on/off template debug mode. If it is
> True, the fancy error page will display a detailed report for any
> exception raised during template rendering. This report contains the
> relevant snippet of the template with the appropriate line highlighted.

> It defaults to the value of the DEBUG setting.

https://docs.djangoproject.com/en/2.2/topics/templates/#module-django.template.backends.django

I could be wrong about this, but it seems like setting the template
DEBUG setting is redundant, since it should follow whatever the DEBUG
variable is set to.
2019-06-20 23:41:31 +08:00
Bruno Alla
46247faa18
Update mypy to 0.710 (#2120)
Update mypy to 0.710
2019-06-20 15:30:17 +01:00
browniebroke
81fd240b6c Update django-debug-toolbar from 1.11 to 2.0 2019-06-20 12:00:37 +01:00
browniebroke
cba392bf95 Update mypy from 0.701 to 0.710 2019-06-20 12:00:34 +01:00
browniebroke
b3e7e5045a Update sphinx from 2.1.1 to 2.1.2 2019-06-20 12:00:29 +01:00
Tim Claessens
9b48f922ed Remove all end-of-line carriage returns and not just the first occurrence 2019-06-19 09:46:10 +02:00
Bruno Alla
d2f3891fe1 Rename py.test to pytest in PyCharm config 2019-06-15 11:48:50 +01:00
Bruno Alla
a321a5833d Cleanup trailing spaces 2019-06-15 11:48:26 +01:00
Bruno Alla
8c71ba0c86
Added DATABASE_URL & CELERY_BROKER_URL (when selected) to the django … (#2098)
Added DATABASE_URL & CELERY_BROKER_URL (when selected) to the django …
2019-06-15 11:23:28 +01:00
Bruno Alla
e409187a83
Merge pull request #2108 from pydanny/pyup-update-psycopg2-binary-2.8.2-to-2.8.3
Update psycopg2-binary to 2.8.3
2019-06-14 23:19:16 +01:00
Min ho Kim
62df724c8c Fix typo 2019-06-15 06:37:58 +10:00
Bruno Alla
12b527ff5d
Update psycopg2 with --no-binary to 2.8.3 in prod requirements 2019-06-14 12:49:39 +01:00
Bruno Alla
36bccb0e28
Update psycopg2 with --no-binary to 2.8.3 2019-06-14 12:49:02 +01:00
browniebroke
de91817704 Update psycopg2-binary from 2.8.2 to 2.8.3 2019-06-14 12:00:33 +01:00
Jelmert
9e10eb7ae5 Added DATABASE_URL & CELERY_BROKER_URL (when selected) to the django console startup script of pycharm. Fixes #1766. 2019-06-14 11:49:29 +02:00
browniebroke
0b5f8b4891 Update pytest from 4.6.2 to 4.6.3 2019-06-12 12:00:30 +01:00
Bruno Alla
d9b06cd61f
Update django-extensions to 2.1.9 (#2104)
Update django-extensions to 2.1.9
2019-06-11 12:48:15 +01:00
browniebroke
06a9cadf0c Update django-extensions from 2.1.7 to 2.1.9 2019-06-11 12:00:34 +01:00
browniebroke
d55a3f09aa Update sphinx from 2.1.0 to 2.1.1 2019-06-11 12:00:31 +01:00
Bruno Alla
6f9e57618d
Add Postgres service to Travis config 2019-06-06 17:23:37 +01:00
Xaver Y.R. Chen
611373cac2 Update Travis config, remove the deprecated sudo keyword 2019-06-06 14:48:48 +08:00
Xaver Y.R. Chen
ef59ffad94 Update Travis config, using new xenial distribution to support the newer version of SQLite to satisfy the requirement of Django 2.2 2019-06-05 20:21:37 +08:00
Fábio C. Barrionuevo da Luz
72c92187a9
Merge pull request #2093 from pydanny/pyup-update-pytest-4.6.0-to-4.6.2
Update pytest to 4.6.2
2019-06-04 08:04:45 -03:00
browniebroke
28ba260e03 Update pytest-django from 3.4.8 to 3.5.0 2019-06-04 12:00:40 +01:00
browniebroke
987e958c9b Update pytest from 4.6.0 to 4.6.2 2019-06-04 12:00:33 +01:00
Bruno Alla
c3c0b441f2
Use django-celery-beat for scheduled tasks (#2084)
Use django-celery-beat for scheduled tasks
2019-06-03 21:45:14 +01:00
Bruno Alla
416edce1f9
Merge pull request #2091 from pydanny/pyup-update-sphinx-2.0.1-to-2.1.0
Update sphinx to 2.1.0
2019-06-03 16:30:38 +01:00
Bruno Alla
03c9b158c0
Merge pull request #2089 from pydanny/pyup-update-sentry-sdk-0.8.1-to-0.9.0
Update sentry-sdk to 0.9.0
2019-06-03 13:17:03 +01:00
browniebroke
53f6e07dd5 Update sphinx from 2.0.1 to 2.1.0 2019-06-03 12:01:48 +01:00
browniebroke
78ec608f14 Update django from 2.2.1 to 2.2.2 2019-06-03 12:01:44 +01:00
browniebroke
d769931577 Update sentry-sdk from 0.8.1 to 0.9.0 2019-06-03 12:01:41 +01:00
Bruno Alla
5ad4a080d3
Update sentry-sdk to 0.8.1 (#2088)
Update sentry-sdk to 0.8.1
2019-06-02 15:45:31 +01:00
browniebroke
8e007111da Update sentry-sdk from 0.8.0 to 0.8.1 2019-06-02 12:00:33 +01:00
browniebroke
cd7bf6af04 Update pytest from 4.5.0 to 4.6.0 2019-06-02 12:00:30 +01:00
browniebroke
3e7b60c893 Update django-compressor from 2.2 to 2.3 2019-05-31 12:00:33 +01:00
Keyvan Mosharraf
e9e79428d3 Better way to include django_celery_beat in INSTALLED_APPS 2019-05-31 03:45:59 -07:00
Keyvan Mosharraf
aee9f3ecfa Install django_celery_beat in the proper way 2019-05-30 17:00:07 -07:00
Keyvan Mosharraf
631bddc811 Set celery beat scheduler using settings + install django_celery_beat if use_celery 2019-05-30 16:42:57 -07:00
Keyvan Mosharraf
87b6180142 Use DatabaseScheduler for celery beat 2019-05-30 03:28:57 -07:00
Bruno Alla
7e47e9c2aa
Mailgun api url (#2014)
Mailgun api url
2019-05-28 11:27:54 +01:00
Tano Abeleyra
9a3a796a89 Use GCP acronym for Google Cloud Platform 2019-05-27 17:39:45 -03:00
Bruno Alla
15f283bb74
Merge branch 'master' into upgrade/django-2.2 2019-05-27 17:17:43 +01:00
Bruno Alla
b56071f516 Fix comments and empty lines in prod settings 2019-05-27 16:33:07 +01:00
Bruno Alla
881a6fd681 Change GCP settings to f-strings 2019-05-27 15:58:56 +01:00
Bruno Alla
b4cea81f26 Fix some comment and empty lines in settings 2019-05-27 15:55:41 +01:00
Bruno Alla
92e4bdf171
Make cloud_provider optional (#2067)
Make cloud_provider optional
2019-05-27 15:50:18 +01:00
Bruno Alla
c96c932111 Correct name for Celery worker-related settings - fix #2080
The settings which are normally prefixed `CELERYD_` are for worker-related config, but since we instantiate the Celery app with a namespace, the prefix for these config should actually be `CELERY_`.
2019-05-27 14:46:07 +01:00
Bruno Alla
fe0d05f207
Update Redis version to 5.0 (#2065)
Update Redis version to 5.0
2019-05-27 11:46:06 +01:00
Bruno Alla
729dddcab6
Bring psycopg2 versions in line 2019-05-25 16:53:34 +02:00
Bruno Alla
a67587bb24
Bring psycopg2 versions in line 2019-05-25 16:53:08 +02:00
Bruno Alla
0ca1af1e9c
Revert Werkzeug back to 0.14 (#2076)
Revert Werkzeug back to 0.14
2019-05-22 15:25:08 +01:00
shireenrao
9e27e853f2
update Werkzeug to 0.14.1 and add pyup filter 2019-05-22 09:44:36 -04:00
Demetris Stavrou
a636d454f6
Update {{cookiecutter.project_slug}}/config/settings/production.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2019-05-22 09:46:20 +03:00
shireenrao
a37046d1ef
Revert Werkzeug back to 0.14
reverting back Werkzeug to version 0.14 based on discussion on #2070
I did the change locally on my windows laptop and can confirm that this is now working.
2019-05-21 18:17:19 -04:00
Demetris Stavrou
38b2c2dfcd Errors are now sent to Sentry 2019-05-21 22:04:03 +03:00
browniebroke
2116f997bc Update django-anymail from 6.0 to 6.0.1 2019-05-20 12:00:32 +01:00
Tano Abeleyra
de7be3652a Make cloud_provider optional
Some projects may not need AWS or GCS
2019-05-19 12:45:28 -03:00
Bruno Alla
a1e711ee50
Merge pull request #2068 from shireenrao/patch-5
If using whitenoise disable AWS and GCE for static
2019-05-19 14:18:19 +01:00
shireenrao
8c69a1203f
Update {{cookiecutter.project_slug}}/config/settings/production.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2019-05-19 08:27:28 -04:00
shireenrao
adcc5d0b28
Update {{cookiecutter.project_slug}}/config/settings/production.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2019-05-19 08:27:14 -04:00
Bruno Alla
87f7e1a327
Merge pull request #2066 from mknapper1/master
traefik toml config - storageFile is deprecated, use storage instead
2019-05-19 12:24:44 +01:00
browniebroke
0b732298e5 Update django-extensions from 2.1.6 to 2.1.7 2019-05-19 12:00:27 +01:00
shireenrao
570930ef13
If using whitenoise disable AWS and GCE for static
If using whitenoise disable AWS and GCE for static setting.
2019-05-18 22:49:10 -04:00
Matt Knapper
98012829f3 storageFile is deprecated, use storage instead 2019-05-18 10:10:45 -04:00
Bruno Alla
d90406c3c3 Make the static storage use public ACL 2019-05-18 14:06:05 +01:00
Bruno Alla
642c28792c Update Redis version to 5.0 2019-05-18 13:54:25 +01:00
Bruno Alla
d1ea1b029e
Merge pull request #2064 from pydanny/pyup-update-flake8-3.7.5-to-3.7.7
Update flake8 to 3.7.7
2019-05-18 13:06:12 +01:00
Bruno Alla
81a1bbcb8f
Merge pull request #2063 from pydanny/pyup-update-sentry-sdk-0.7.14-to-0.8.0
Update sentry-sdk to 0.8.0
2019-05-18 13:05:15 +01:00
browniebroke
093455a120 Update flake8 from 3.7.5 to 3.7.7 2019-05-18 12:00:31 +01:00
browniebroke
99df05d8b0 Update sentry-sdk from 0.7.14 to 0.8.0 2019-05-18 12:00:28 +01:00
Bruno Alla
872204527f Remove user list view 2019-05-17 22:33:30 +01:00
Bruno Alla
219062cb2b Update to Django 2.2.1 2019-05-17 22:02:50 +01:00
Bruno Alla
b039e24130
Refactor Celery integration according to current best practices (#2016)
Refactor Celery integration according to current best practices
2019-05-17 21:38:00 +01:00
Tano Abeleyra
63a184f072 Set LOCALE_PATHS 2019-05-17 12:34:32 -03:00
Tano Abeleyra
ecc5a73aff
Add LocaleMiddleware 2019-05-17 11:57:13 -03:00
Bruno Alla
4a1894d5d6
Logging improvements (#2040)
Logging improvements
2019-05-16 13:25:38 +01:00