Commit Graph

2556 Commits

Author SHA1 Message Date
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
Tano Abeleyra
d00517252c UsersAppConfig improvements
+ Rename to UsersConfig to follow Django naming convention
+ Translate verbose_name
2019-05-15 20:10:55 -03:00
Bruno Alla
0fef828375 Create a logging config in base settings & add a root logger to existing ones 2019-05-15 17:20:14 +01:00
browniebroke
74aaa3022c Update werkzeug from 0.15.2 to 0.15.4 2019-05-15 12:00:38 +01:00
Bruno Alla
ab0ed6d26c
Merge pull request #2052 from pydanny/pyup-update-factory-boy-2.11.1-to-2.12.0
Update factory-boy to 2.12.0
2019-05-12 12:47:06 +01:00
browniebroke
4e20733b6a Update factory-boy from 2.11.1 to 2.12.0 2019-05-12 12:00:33 +01:00
browniebroke
4373e205a8 Update pytest from 4.4.2 to 4.5.0 2019-05-12 12:00:30 +01:00
browniebroke
4bca52c835 Update djangorestframework from 3.9.3 to 3.9.4 2019-05-11 12:00:28 +01:00
Bruno Alla
e900a05e02
Update pytest to 4.4.2 (#2048)
Update pytest to 4.4.2
2019-05-10 17:56:37 +01:00
shireenrao
8933aa17c0
The signal should be imported from project_slug
I am getting an error if I create a signal.py file under users model. Here is the stacktrace
Tracking file by folder pattern:  migrations
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000002663A074048>
Traceback (most recent call last):
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
    autoreload.raise_last_exception()
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\utils\autoreload.py", line 248, in raise_last_exception
    raise _exception[1]
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\core\management\__init__.py", line 337, in execute
    autoreload.check_errors(django.setup)()
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\apps\registry.py", line 120, in populate
    app_config.ready()
  File "C:\Users\srao\projects\kbs\kbs\users\apps.py", line 11, in ready
    import users.signals  # noqa F401
  File "C:\Users\srao\projects\kbs\kbs\users\signals.py", line 3, in <module>
    from .models import User
  File "C:\Users\srao\projects\kbs\kbs\users\models.py", line 8, in <module>
    class User(AbstractUser):
  File "C:\Apps\Anaconda3\envs\registration\lib\site-packages\django\db\models\base.py", line 95, in __new__
    "INSTALLED_APPS." % (module, name)
RuntimeError: Model class users.models.User doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Having the signal be imported from project_slug.users.signal fixes the issue.
2019-05-10 11:42:07 -04:00
browniebroke
42fc45d38a Update pytest from 4.4.1 to 4.4.2 2019-05-09 12:00:33 +01:00
Bruno Alla
dc2cfc9904 Merge branch 'master' into upgrade/django-2.1 2019-05-08 12:23:23 +01:00
Bruno Alla
2bed473954
Edit STATIC and MEDIA urls for GCE production. (#2047)
Edit STATIC and MEDIA urls for GCE production.
2019-05-07 20:06:47 +01:00
Bruno Alla
07f2a25219 Update psycopg2-binary from 2.8 to 2.8.2 (#2034) 2019-05-07 08:52:01 +03:00
Craig Margieson
5ab5285e5f Edit STATIC and MEDIA urls for GCE production. 2019-05-06 15:13:01 +09:30
Bruno Alla
672ad7efe1
Update sentry-sdk to 0.7.14 (#2045)
Update sentry-sdk to 0.7.14
2019-04-30 12:42:58 +01:00
browniebroke
07a685326c Update djangorestframework from 3.9.2 to 3.9.3 2019-04-30 12:00:34 +01:00
browniebroke
bf6f17b1b9 Update sentry-sdk from 0.7.12 to 0.7.14 2019-04-30 12:00:31 +01:00
Bruno Alla
bb9b482e96
Merge pull request #2043 from pydanny/pyup-update-sentry-sdk-0.7.11-to-0.7.12
Update sentry-sdk to 0.7.12
2019-04-26 14:15:59 +01:00
browniebroke
09735eadfd Update pylint-django from 2.0.8 to 2.0.9 2019-04-26 12:00:32 +01:00
browniebroke
2f77d48496 Update sentry-sdk from 0.7.11 to 0.7.12 2019-04-26 12:00:28 +01:00
browniebroke
7358fef56a Update sentry-sdk from 0.7.10 to 0.7.11 2019-04-24 12:00:28 +01:00
browniebroke
113f1ed530 Update pylint-django from 2.0.7 to 2.0.8 2019-04-18 12:00:29 +01:00
Bruno Alla
7da9c6a1f2
Merge pull request #2037 from pydanny/pyup-update-pylint-django-2.0.6-to-2.0.7
Update pylint-django to 2.0.7
2019-04-18 08:11:33 +01:00
browniebroke
5a3d9050a4 Update pylint-django from 2.0.6 to 2.0.7 2019-04-17 12:00:36 +01:00
browniebroke
352be0eec9 Update mypy from 0.700 to 0.701 2019-04-17 12:00:31 +01:00
Bruno Alla
93d5426cb4 Small updates in the READMEs 2019-04-17 08:37:45 +01:00
Bruno Alla
39df72669e Merge branch 'master' into upgrade/django-2.1
# Conflicts:
#	README.rst
2019-04-17 08:33:54 +01:00
browniebroke
026dd6ed57 Update pytest from 4.4.0 to 4.4.1 2019-04-16 12:00:30 +01:00
Bruno Alla
589dfeae41
Merge pull request #2029 from pydanny/pyup-update-pytz-2018.9-to-2019.1
Update pytz to 2019.1
2019-04-10 12:16:07 +01:00
browniebroke
6d906721fc Update pytz from 2018.9 to 2019.1 2019-04-10 13:00:32 +02:00
browniebroke
020933d336 Update sphinx from 2.0.0 to 2.0.1 2019-04-09 13:00:39 +02:00
Bruno Alla
10dc900dbc
Merge pull request #2024 from pydanny/pyup-update-sentry-sdk-0.7.9-to-0.7.10
Update sentry-sdk to 0.7.10
2019-04-08 14:58:35 +02:00
anuj
2b141e6464 Add support for GCE static 2019-04-07 00:54:46 +05:30
anuj
b5e030b784 Corrected quotes, added parameter in tests 2019-04-07 00:34:22 +05:30
browniebroke
c582ac48ec Update sentry-sdk from 0.7.9 to 0.7.10 2019-04-06 13:00:32 +02:00
anuj
cad0b77658 Added support for GCE Media storage 2019-04-05 12:42:39 +05:30
Bruno Alla
e37454522e
Merge pull request #2022 from pydanny/pyup-update-mypy-0.670-to-0.700
Update mypy to 0.700
2019-04-04 14:20:11 +01:00
Bruno Alla
b30b9795d2
Update psycopg2 to 2.8 in production 2019-04-04 15:04:57 +02:00
Bruno Alla
b9c5ca2b86
Also update psycopg2 no-binary 2019-04-04 15:03:49 +02:00
browniebroke
63f5ad0280 Update mypy from 0.670 to 0.700 2019-04-04 12:00:33 +01:00
browniebroke
ea749071c2 Update psycopg2-binary from 2.7.7 to 2.8 2019-04-04 12:00:30 +01:00
Bruno Alla
ed75c5df3a
Merge pull request #1853 from foarsitter/aws_s3_backup_commands
Amazon S3 backup management commands
2019-04-03 18:23:58 +01:00
browniebroke
e7115fcee9 Update werkzeug from 0.15.1 to 0.15.2 2019-04-03 12:00:30 +01:00
Bruno Alla
2dcbaca3ee Update documentation 2019-04-02 19:38:23 +01:00
Bruno Alla
57dd157c4a Remove deprecated password hasher 2019-04-02 19:37:12 +01:00
Bruno Alla
f6e84cb211 Upgrade Django to 2.1.8 2019-04-02 19:11:47 +01:00
Bruno Alla
81851ffb6d Merge branch 'master' into mailgun_api_url 2019-04-02 15:45:37 +01:00
Bruno Alla
eacfd0e447 Merge branch 'master' into aws_s3_backup_commands 2019-04-02 15:43:56 +01:00
Bruno Alla
895298c28f Refactor Celery integration according to current best practices
- Change celery app to not be a Django app, more like a WSGI app
- Define a Celery task in the Django users app
- Write a test to execute the task
- Update scripts to use the new app to start workers
- Update documentation

Fix #865
2019-04-02 15:40:32 +01:00
Jelmert
d1bf4f4815 Added AWS_S3_REGION_NAME to production settings 2019-04-02 15:43:48 +02:00
Jelmert
8851ac13ef Added the awscli container for uploading and downloading backups from and to Amazon S3 2019-04-02 15:36:44 +02:00
Jelmert
17e7d603cf Added the MAILGUN_API_URL variable to the ANYMAIL configuration so we can easily switch to the EU region for mailgun 2019-04-02 15:08:51 +02:00
browniebroke
fbce0c8ba1 Update pillow from 5.4.1 to 6.0.0 2019-04-02 12:00:29 +01:00
Bruno Alla
c645e7bb2e
Merge pull request #2008 from pydanny/pyup-update-celery-4.2.1-to-4.3.0
Update celery to 4.3.0
2019-04-01 13:11:29 +01:00
Bruno Alla
b8f24563ba
Merge pull request #2007 from pydanny/pyup-update-python-slugify-3.0.1-to-3.0.2
Update python-slugify to 3.0.2
2019-04-01 13:01:29 +01:00
Bruno Alla
b3680c8d72
Remove Kombu from direct dependencies 2019-04-01 12:59:05 +01:00
browniebroke
faf0e0bc7e Update pytest from 4.3.1 to 4.4.0 2019-04-01 12:00:43 +01:00
browniebroke
e10aafe802 Update celery from 4.2.1 to 4.3.0 2019-04-01 12:00:35 +01:00
browniebroke
22801fe30e Update python-slugify from 3.0.1 to 3.0.2 2019-04-01 12:00:32 +01:00
Bruno Alla
717bbbdb13
Merge pull request #2005 from pydanny/pyup-update-sentry-sdk-0.7.8-to-0.7.9
Update sentry-sdk to 0.7.9
2019-04-01 08:48:15 +01:00
Bruno Alla
4e70a4b55a
Test all possible template combinations (#1993)
## Description

Fixes #591.

## Rationale

We are currently not testing many combinations, we run Flake8 on the generated project with default options, but that rarely catch any issues.

## Use case(s) / visualization(s)

Catch problems with invalid combinations, for instance, it fails due to Whitenoise breaking flake8 with `django-compressor` because `STATIC_URL` was undefined here:

b91c70d755/%7B%7Bcookiecutter.project_slug%7D%7D/config/settings/production.py (L185)
2019-04-01 08:47:46 +01:00
browniebroke
1bc185d2f7 Update sentry-sdk from 0.7.8 to 0.7.9 2019-03-31 12:00:28 +01:00
browniebroke
3b6f73afb2 Update sphinx from 1.8.5 to 2.0.0 2019-03-29 11:00:31 +00:00
browniebroke
28c60116a6 Update pylint-django from 0.9.4 to 2.0.6 2019-03-27 11:00:31 +00:00
Bruno Alla
55ef75e7a0
Merge pull request #1991 from hanaquadara/issue-1590/add-plugins-to-reqs
Add pylint plugins to requirements.txt
2019-03-26 21:45:51 +00:00
hanasuhail
c2f8569eb3 add sources 2019-03-26 17:16:40 -04:00
Bruno Alla
1842061be0
Merge pull request #1995 from pydanny/pyup-update-python-slugify-3.0.0-to-3.0.1
Update python-slugify to 3.0.1
2019-03-26 11:43:43 +00:00
browniebroke
99d7e1d5ef Update python-slugify from 3.0.0 to 3.0.1 2019-03-26 11:00:35 +00:00
browniebroke
5db400fbcf Update sentry-sdk from 0.7.7 to 0.7.8 2019-03-26 11:00:32 +00:00
hanasuhail
b261ce27c4 update restructured text link; add condition for celery linter 2019-03-25 15:52:49 -04:00
Bruno Alla
b91c70d755
Add a node image to run Gulp when selecting it with Docker (#1687)
## Description

Following up on @webyneter attempt in #1205, which is now getting outdated, I've tried to make Gulp task runner work with Docker. There is no documentation yet, but this seems to work locally with the custom bootstrap compilation...

- [x] Add a node image for local developement
- [x] Proxy the django image rather than localhost in Browser sync, pass header to keep hostname
- [x] Don't call the runserver command from Gulp, let docker-compose handle
- [x] Update package.json & gulpfile.js templates to reduce the number of unwanted empty lines
- [x] Use [multi-stage build](https://docs.docker.com/develop/develop-images/multistage-build/) in production to make sure the static assets are produced
- [x] Update documentation
- [x] Verify that the previous issue with static assets missing from production isn't there 

## Rationale

Currently, the static build isn't working nicely with Docker, extra manual setup is required.

Fixes #1762
2019-03-25 12:10:55 +00:00
Hana Quadara
85aea55fc6 add plugins to req file; remove pylint-common 2019-03-23 00:01:23 -04:00
browniebroke
7f3aa6cebb Update werkzeug from 0.15.0 to 0.15.1 2019-03-22 11:00:31 +00:00
Bruno Alla
9f9e2344b4
Merge branch 'master' into pyup-update-ipdb-0.11-to-0.12 2019-03-21 18:30:13 +00:00
Bruno Alla
cd4d70573b
Merge pull request #1985 from pydanny/pyup-update-black-18.9b0-to-19.3b0
Update black to 19.3b0
2019-03-21 18:29:33 +00:00
Bruno Alla
b9a9726e0f
Merge pull request #1987 from pydanny/pyup-update-pytest-django-3.4.7-to-3.4.8
Update pytest-django to 3.4.8
2019-03-21 17:59:18 +00:00
Bruno Alla
8901e70a2f
Merge pull request #1986 from pydanny/pyup-update-django-extensions-2.1.5-to-2.1.6
Update django-extensions to 2.1.6
2019-03-21 17:58:53 +00:00
Bruno Alla
bd57ab615f
Merge branch 'master' into pyup-update-black-18.9b0-to-19.3b0 2019-03-21 17:38:56 +00:00
Bruno Alla
5e90722341
Merge pull request #1984 from pydanny/pyup-update-coverage-4.5.2-to-4.5.3
Update coverage to 4.5.3
2019-03-21 17:38:13 +00:00
Bruno Alla
0126cebd07
Merge pull request #1983 from pydanny/pyup-update-pytest-4.2.0-to-4.3.1
Update pytest to 4.3.1
2019-03-21 17:37:52 +00:00
Bruno Alla
3afdde4934
Merge pull request #1982 from pydanny/pyup-update-sphinx-1.8.4-to-1.8.5
Update sphinx to 1.8.5
2019-03-21 17:12:52 +00:00
Bruno Alla
78b735bd68
Merge pull request #1979 from pydanny/pyup-update-djangorestframework-3.9.1-to-3.9.2
Update djangorestframework to 3.9.2
2019-03-21 17:12:29 +00:00
Bruno Alla
31d53c75f2
Merge branch 'master' into pyup-update-ipdb-0.11-to-0.12 2019-03-21 17:04:48 +00:00
Bruno Alla
6c6aa7c215
Merge pull request #1980 from pydanny/pyup-update-werkzeug-0.14.1-to-0.15.0
Update werkzeug to 0.15.0
2019-03-21 17:03:53 +00:00
Bruno Alla
85dea50436
Merge pull request #1978 from pydanny/pyup-update-django-allauth-0.38.0-to-0.39.1
Update django-allauth to 0.39.1
2019-03-21 16:45:47 +00:00
Bruno Alla
cfc82a668f
Merge pull request #1976 from pydanny/pyup-update-python-slugify-2.0.1-to-3.0.0
Update python-slugify to 3.0.0
2019-03-21 16:39:37 +00:00
Bruno Alla
6e53dcaa30
Merge pull request #1975 from pydanny/pyup-update-django-anymail-5.0-to-6.0
Update django-anymail to 6.0
2019-03-21 16:26:40 +00:00
browniebroke
65d315ed29 Update pytest-django from 3.4.7 to 3.4.8 2019-03-21 16:01:31 +00:00
browniebroke
a8c52e2d45 Update django-extensions from 2.1.5 to 2.1.6 2019-03-21 16:01:28 +00:00
browniebroke
d92754684f Update black from 18.9b0 to 19.3b0 2019-03-21 16:01:24 +00:00
browniebroke
3995e9e807 Update coverage from 4.5.2 to 4.5.3 2019-03-21 16:01:21 +00:00
browniebroke
a7163b9409 Update pytest from 4.2.0 to 4.3.1 2019-03-21 16:01:18 +00:00
browniebroke
b5ab945ca2 Update sphinx from 1.8.4 to 1.8.5 2019-03-21 16:01:14 +00:00
browniebroke
f67a78903e Update ipdb from 0.11 to 0.12 2019-03-21 16:01:08 +00:00
browniebroke
7b83d47e2b Update werkzeug from 0.14.1 to 0.15.0 2019-03-21 16:01:05 +00:00
browniebroke
f04e96e30f Update djangorestframework from 3.9.1 to 3.9.2 2019-03-21 16:01:00 +00:00
browniebroke
dd85d6df39 Update django-allauth from 0.38.0 to 0.39.1 2019-03-21 16:00:57 +00:00
browniebroke
bb26ed565b Update python-slugify from 2.0.1 to 3.0.0 2019-03-21 16:00:50 +00:00
browniebroke
4cd30e4657 Update django-anymail from 5.0 to 6.0 2019-03-21 16:00:47 +00:00
browniebroke
1ed1e6ac47 Update sentry-sdk from 0.7.6 to 0.7.7 2019-03-21 16:00:43 +00:00
Bruno Alla
91585a0eb2 Add OS requirements for Ubuntu Bionic 18.04
Fixes #1973
2019-03-20 12:54:58 +00:00
Bruno Alla
823ee637d1 Remove dead link in .gitignore
Fixes #1972
2019-03-20 12:16:43 +00:00
Bruno Alla
5bf0a397ac Pin redis version 2019-03-20 12:09:43 +00:00
Bruno Alla
b0cb86f282
Merge pull request #1958 from rolep/kombu-update
Redis and Kombu update
2019-03-20 12:08:41 +00:00
Guilherme Fabrizio
7d1e90bdf5 Migrate to unified Sentry SDK (#1820)
The raven library is deprecated. Replace it by the new sentry-sdk library:

https://docs.sentry.io/error-reporting/quickstart/?platform=python

fixes #1818
2019-03-20 10:04:44 +00:00
Bruno Alla
997b22e4ce Merge branch 'fix/default-acl' 2019-03-19 20:02:41 +00:00
Bruno Alla
b594a15847 Add code style black to the generated README 2019-03-19 20:02:26 +00:00
Bruno Alla
6e9f87fced Set AWS_DEFAULT_ACL to None as per django-storages documentation
fixes #1885
2019-03-19 19:57:31 +00:00
Bruno Alla
e740a54da6
Update Flower version 2019-03-19 12:30:19 +00:00
Demetris
b312d516a4 Replace Caddy with Traefik (#1714)
## Description

Replace Caddy with Traefik

## Rationale

There is some trouble with the Caddy license (https://github.com/pydanny/cookiecutter-django/pull/1282#issuecomment-329617536) 

@drdaeman suggested using Traefik (https://github.com/pydanny/cookiecutter-django/pull/1282#issuecomment-353655273) which supports ACME and also plays very nice with Docker.

## Comments

I am currently using the proposed setup on a live site and it working great so far. If this PR is of interest to the maintainers, then I could commit more changes and take care of the documentation. Of course, any suggestions by the more experienced people around here, are welcome!
2019-03-19 09:32:45 +00:00
Bruno Alla
3bd7aa4e1a Fix build error with windows=y and docker=y combination
Fixes #1917
2019-03-18 20:55:47 +00:00
Bruno Alla
68f7268770
Run Black on Travis (#1957)
* Create a test matrix on Travis CI to help testing multiple options

* Change test_docker.sh to fail if any command in it fails

* Run black on the CI with --check option

* Fix formatting of project files using black

* Install black in the docker container

* Exclude migrations in black checks

* Fix Black formatting violations

* Run black on the whole generated project & fix issues
2019-03-18 17:49:43 +00:00
Bruno Alla
563e0938a8
Merge pull request #1664 from pydanny/clean-up-project-docs
Remove project doc files likely to remain unused
2019-03-13 14:40:18 -03:00
Oleg Russkin
638c93d1df Add kombu to base (celery) dependencies
Using latest version 4.4.0, previous suitable 4.3.0
also had bug: kombu/issues#1006
2019-03-12 16:38:43 +02:00
Oleg Russkin
6213af4b56 Update redis to 3.2.0
Related bug was fixed: celery/kombu#947
Moreover, recent kombu versiones demand
such redis version.
2019-03-12 16:35:03 +02:00
Bruno Alla
eb85627d1a Update to latest bug fix for Python 3.6 to fix Heroku warning when deploying
Python has released a security update! Please consider upgrading to python-3.6.8
Learn More: https://devcenter.heroku.com/articles/python-runtimes
2019-03-11 22:02:11 +00:00
Bruno Alla
9eab0b9365
Merge pull request #1956 from pydanny/conditional-redis-merge
## Description

This is the same as the pull request #1693 with the master branch merged into it to avoid all the extra unrelated commits which are already in master. Looks like Github is getting confused due to a rebase on that branch, which make that PR hard to review...

## Rationale

See #1693 - Locally, Redis is necessary only if Celery is used, while in Production it's also used for Caching.

## Use case(s) / visualization(s)

Fixes #1691
2019-03-11 21:12:58 +00:00
yunti
1c5c4e52c0 Add automatic migrations to heroku deploys (#1951)
heroku now has a new feature for running tasks as part of deployment. Perfect for automatic migrations.
https://devcenter.heroku.com/articles/release-phase#specifying-release-phase-tasks
2019-03-11 21:05:31 +00:00
Bruno Alla
ae27ef3fae Merge branch 'master' into conditional-redis-merge 2019-03-11 20:53:36 +00:00
btknu
6e72169ffe Add missing script key to Travis CI config (#1950)
* Add failing test for travis.yml

I see three options to test travis.yml :

1. Testing that the YAML contains relevant value. Least useful and least
reliable, but simplest to implement.

2. Testing that the YAML is valid TravisCI YAML. Unfortunately this is
difficult / impossible. Doing 'travis lint' would succeed, this command
does not check for 'script' key presence and wouldn't be useful for us.

We could use 'travis-build' to verify that the YAML can be converted to
a worker config, but as of now 'travis-build' doesn't work out of the
box.

There is a new tool for validating travis YAML files 'travis-yml', but
as of now it's a ruby-only library and it's still a work in progress.

3. Running Travis CI task based on the generated YAML. This seems the
best approach, however since cookiecutter-django itself uses Travis CI,
that would require running Travis CI from within Travis CI.

Scheduling Travis CI job without a github push still requires a public
github repo, which is something that we can't generate on demand.

Given that I'm opting to use approach 1.

* Adds missing config to generated .travis.yml

The keys added are as follows:

1. 'script'

Required by Travis, cookiecutter-django used to provide it until it has
been removed together with hitch.

I'm assuming hitch has been replaced with pytest, I'm setting pytest as
the new value for the 'script' key.

2. 'install'

Not required by Travis, but necessary in our case; installs test
libraries, mostly pytest.

As of now this points to 'local.txt' requirements file. There used to be
a separate 'test.txt' requirements file but it has been decided to merge
it with 'local.txt', see discussion in
https://github.com/pydanny/cookiecutter-django/pull/1557 .

* Update CONTRIBUTORS.rst
2019-03-05 22:10:45 -03:00
keithjeb
aea5c807f6 Change eager celery setting in local Docker (#1945)
[//]: # (Thank you for helping us out: your efforts mean great deal to the project and the community as a whole!)

[//]: # (Before you proceed:)

[//]: # (1. Make sure to add yourself to `CONTRIBUTORS.rst` through this PR provided you're contributing here for the first time)
[//]: # (2. Don't forget to update the `docs/` presuming others would benefit from a concise description of whatever that you're proposing)


## Description

[//]: # (What's it you're proposing?)

Added a note around CELERY_TASK_ALWAYS_EAGER = True in docker config for local development. This causes tasks to be executed on the 'main' thread rather than by the workers. I understand why that might be desirable, but thought it worth calling out incase (like me) it makes people think something is broken.


## Rationale

[//]: # (Why does the project need that?)

Ease of use/troubleshooting


## Use case(s) / visualization(s)

[//]: # ("Better to see something once than to hear about it a thousand times.")
2019-03-02 13:51:30 +00:00
Anna Sidwell
b6b7176d02 Make requested changes:
* Reorder meta tasks to the bottom
* Fix JS compilation issue
* Replace strings concatenation with templates
2019-02-27 10:11:20 +11:00
Anna Sidwell
2676401ed7 Update Gulp & other dependencies 2019-02-23 18:47:30 +11:00
pyup.io bot
1c11f0950f Update django from 2.0.10 to 2.0.13 (#1936) 2019-02-16 14:34:11 +03:00
pyup-bot
9e2d335ed3 Update mypy from 0.660 to 0.670 2019-02-08 16:28:37 -08:00
Bruno Alla
7fe87d9c97
Merge pull request #1925 from pydanny/pyup-update-pytest-django-3.4.5-to-3.4.7
Update pytest-django to 3.4.7
2019-02-05 10:26:10 +01:00
Bruno Alla
ca528c482c
Merge pull request #1926 from pydanny/pyup-update-flake8-3.7.4-to-3.7.5
Update flake8 to 3.7.5
2019-02-05 10:25:50 +01:00
pyup-bot
06a96b68dc Update sphinx from 1.8.3 to 1.8.4 2019-02-04 18:46:40 -08:00
pyup-bot
fe81992501 Update flake8 from 3.7.4 to 3.7.5 2019-02-04 18:46:34 -08:00
pyup-bot
6050368df0 Update pytest-django from 3.4.5 to 3.4.7 2019-02-03 13:54:30 -08:00
pyup-bot
8774ede3b0 Update flake8 from 3.7.3 to 3.7.4 2019-02-01 06:53:37 -08:00
Bruno Alla
65d2ce07fb
Merge pull request #1916 from pydanny/pyup-update-django-extensions-2.1.4-to-2.1.5
Update django-extensions to 2.1.5
2019-01-31 16:53:04 +01:00
Bruno Alla
11e7adfbd4
Merge pull request #1920 from pydanny/pyup-update-flake8-3.6.0-to-3.7.3
Update flake8 to 3.7.3
2019-01-31 16:52:30 +01:00
pyup-bot
43bfd66aa0 Update flake8 from 3.6.0 to 3.7.3 2019-01-31 05:23:23 -08:00
pyup-bot
8c7a3613ba Update pytest from 4.1.1 to 4.2.0 2019-01-30 16:40:23 -08:00
Fábio C. Barrionuevo da Luz
156afe675b
Merge pull request #1907 from pydanny/pyup-update-djangorestframework-3.9.0-to-3.9.1
Update djangorestframework to 3.9.1
2019-01-30 17:08:42 -03:00
pyup-bot
0ef965cbfd Update django-extensions from 2.1.4 to 2.1.5 2019-01-30 11:53:28 -08:00
pyup-bot
a7af2d5153 Update psycopg2-binary from 2.7.6.1 to 2.7.7 2019-01-22 11:58:06 -08:00
pyup.io bot
563ca77480 Update mypy from 0.650 to 0.660 (#1908) 2019-01-22 14:30:50 +03:00
pyup.io bot
e2f46e392e Update argon2-cffi from 18.3.0 to 19.1.0 (#1909) 2019-01-22 14:30:37 +03:00
pyup-bot
cf88911c36 Update djangorestframework from 3.9.0 to 3.9.1 2019-01-16 09:20:56 -08:00
pyup.io bot
b0380da4c0 Update pytz from 2018.7 to 2018.9 (#1902) 2019-01-13 16:48:23 +03:00
pyup.io bot
e5f779c9cc Update pytest-django from 3.4.4 to 3.4.5 (#1903) 2019-01-13 16:48:11 +03:00
pyup-bot
33d03e06ab Update pytest from 4.1.0 to 4.1.1 2019-01-12 23:34:49 -08:00
pyup.io bot
34620a1c57 Update pillow from 5.3.0 to 5.4.1 (#1901) 2019-01-07 02:04:50 +03:00
pyup.io bot
2bf8f286e4 Update pytest to 4.1.0 (#1900)
* Update pytest from 4.0.2 to 4.1.0

* Update pytest from 4.0.2 to 4.1.0
2019-01-07 02:04:14 +03:00
pyup-bot
530e94d30e Update django from 2.0.9 to 2.0.10 2019-01-04 13:34:34 -08:00
pyup.io bot
83150e9a55 Update python-slugify from 2.0.0 to 2.0.1 (#1898) 2019-01-04 10:17:12 +08:00
Fábio C. Barrionuevo da Luz
cfe8048929
Merge pull request #1896 from pydanny/pyup-update-sphinx-1.8.2-to-1.8.3
Update sphinx to 1.8.3
2018-12-27 12:00:30 -03:00
pyup-bot
d35bad4f99 Update sphinx from 1.8.2 to 1.8.3 2018-12-25 15:42:12 -08:00
pyup-bot
23f0f6e015 Update python-slugify from 1.2.6 to 2.0.0 2018-12-25 15:42:08 -08:00
pyup-bot
09f4b8225c Update raven from 6.9.0 to 6.10.0 2018-12-19 07:53:59 -08:00
Bruno Alla
c9f6159d62
Merge pull request #1883 from pydanny/pyup-update-django-debug-toolbar-1.10.1-to-1.11
Update django-debug-toolbar to 1.11
2018-12-17 14:25:48 +00:00
Bruno Alla
78a26b2690
Merge branch 'master' into pyup-update-mypy-0.641-to-0.650 2018-12-17 14:17:38 +00:00
pyup-bot
553e752a6b Update pytest from 4.0.1 to 4.0.2 2018-12-14 18:35:57 -08:00
pyup-bot
6fcded1ec9 Update mypy from 0.641 to 0.650 2018-12-07 13:33:34 -08:00
pyup-bot
928bf6fe4e Update django-debug-toolbar from 1.10.1 to 1.11 2018-12-03 11:28:28 -08:00
Tubo Shi
a1508f2600 updated spacing utility class name 2018-11-30 18:12:08 +13:00
pyup-bot
ebaddf6320 Update pytest from 4.0.0 to 4.0.1 2018-11-24 09:32:08 -08:00
pyup.io bot
e97304387d Update django-extensions from 2.1.3 to 2.1.4 (#1875) 2018-11-22 15:56:54 +00:00
Bruno Alla
6e85ee4aa9
Merge pull request #1869 from Egregors/master
Pinning redis version to >=2.10.6, <3
2018-11-20 16:17:38 +00:00
Bruno Alla
5df8a5cf64
Merge pull request #1852 from hpbruna/patch-1
CSRF in header
2018-11-20 09:57:49 +00:00
pyup.io bot
a598a0a67a Update whitenoise from 4.1.1 to 4.1.2 (#1872) 2018-11-20 10:10:30 +08:00
pyup-bot
0d5ce3c032 Update django-redis from 4.9.0 to 4.10.0 2018-11-19 02:19:54 -08:00
Vadim Iskuchekov
e407eb9c13
Clean up, version restriction not only for pyup
Default pip ignored # pyup notation. So now version restriction sets decidedly
2018-11-18 18:49:55 +01:00
Vadim Iskuchekov
ff6d331a20
Pinning redis version to >=2.10.6, <3
Fix #1868
2018-11-18 17:06:07 +01:00
pyup.io bot
f439e935a8 Update pytest to 4.0.0 (#1867)
* Update pytest from 3.10.1 to 4.0.0

* Update pytest from 3.10.1 to 4.0.0
2018-11-17 09:59:09 +00:00
pyup.io bot
c6fd1c1905 Update pytest-django from 3.4.3 to 3.4.4 (#1864) 2018-11-13 15:24:27 +00:00
Bruno Alla
3aa289e79b
Merge pull request #1861 from carlmjohnson/master
Settings: Use security settings in dev as well as prod
2018-11-13 12:46:54 +00:00
Bruno Alla
320c957f4e
Merge pull request #1863 from pydanny/pyup-update-coverage-4.5.1-to-4.5.2
Update coverage to 4.5.2
2018-11-13 08:30:45 +00:00
pyup-bot
7627ce4c30 Update coverage from 4.5.1 to 4.5.2 2018-11-12 16:08:48 -08:00
pyup-bot
7e03b56694 Update whitenoise from 4.1 to 4.1.1 2018-11-12 16:08:45 -08:00
Carl Johnson
1753812136 Settings: Use security settings in dev as well as prod 2018-11-12 15:04:03 -05:00
Leo Zhou
8217ea439b Config celery app immediately after the app being created, otherwise it is too late. 2018-11-12 17:59:26 +08:00
Bruno Alla
a6117de501
Merge pull request #1858 from pydanny/pyup-update-psycopg2-binary-2.7.5-to-2.7.6.1
Update psycopg2-binary to 2.7.6.1
2018-11-11 18:53:11 +00:00
Bruno Alla
90677a4efa
Merge pull request #1857 from pydanny/pyup-update-sphinx-1.8.1-to-1.8.2
Update sphinx to 1.8.2
2018-11-11 18:52:38 +00:00
pyup-bot
821e895323 Update pytest from 3.10.0 to 3.10.1 2018-11-11 10:12:43 -08:00
pyup-bot
ecf9b68129 Update psycopg2-binary from 2.7.5 to 2.7.6.1 2018-11-11 08:44:44 -08:00
pyup-bot
e15a0bac8f Update sphinx from 1.8.1 to 1.8.2 2018-11-11 08:44:40 -08:00
pyup.io bot
ca0265324e Update pytest-sugar from 0.9.1 to 0.9.2 (#1854) 2018-11-09 02:12:21 +03:00
HP Bruna
03e5670c25
CSRF in header
CSRF header is needed for a POST request in the Django REST framework.
2018-11-07 21:54:52 +01:00
pyup.io bot
33eb8fbe25 Update django-anymail from 4.3 to 5.0 (#1851) 2018-11-07 22:04:24 +03:00
pyup.io bot
36075be6dc Update pytest to 3.10.0 (#1848)
* Update pytest from 3.9.3 to 3.10.0

* Update pytest from 3.9.3 to 3.10.0
2018-11-05 10:31:50 +03:00
pyup.io bot
ee67e6019d Update pytz from 2018.6 to 2018.7 (#1845) 2018-10-29 22:15:57 +03:00
pyup.io bot
6c24de9c0f Update pytest to 3.9.3 (#1842)
* Update pytest from 3.9.2 to 3.9.3

* Update pytest from 3.9.2 to 3.9.3
2018-10-28 11:35:57 +03:00
Davit Tovmasyan
6cb59c6ca4 Keep ipython history (#1836) 2018-10-24 13:37:15 +03:00
pyup.io bot
ef2fc781f8 Update flake8 to 3.6.0 (#1839)
* Update flake8 from 3.5.0 to 3.6.0

* Update flake8 from 3.5.0 to 3.6.0
2018-10-24 13:36:48 +03:00
pyup.io bot
25477ac33d Update pytz from 2018.5 to 2018.6 (#1840) 2018-10-24 13:36:29 +03:00
pyup.io bot
649ca872d2 Update pytest to 3.9.2 (#1837)
* Update pytest from 3.9.1 to 3.9.2

* Update pytest from 3.9.1 to 3.9.2
2018-10-23 20:23:23 +03:00
Fábio C. Barrionuevo da Luz
07fa71b3a2
Merge pull request #1833 from pydanny/pyup-update-pytest-3.8.2-to-3.9.1
Update pytest to 3.9.1
2018-10-18 13:12:29 -03:00
pyup-bot
f5df324920 Update djangorestframework from 3.8.2 to 3.9.0 2018-10-18 09:46:59 -05:00
pyup-bot
784f6c9ca7 Update pytest from 3.8.2 to 3.9.1 2018-10-17 07:05:55 -05:00
pyup.io bot
9c9c831541 Update mypy from 0.630 to 0.641 (#1832) 2018-10-16 10:13:36 +08:00
pyup.io bot
c0487b667f Update django-anymail from 4.2 to 4.3 (#1831) 2018-10-12 11:41:15 +08:00
Bruno Alla
1bef404355
Merge pull request #1823 from pydanny/pyup-update-django-allauth-0.37.1-to-0.38.0
Update django-allauth to 0.38.0
2018-10-10 18:15:29 +01:00
Bruno Alla
71ef923885
Merge pull request #1826 from pydanny/pyup-update-gunicorn-19.8.1-to-19.9.0
Update gunicorn to 19.9.0
2018-10-10 16:29:02 +01:00
Bruno Alla
9ccb415dfb
Merge pull request #1822 from pydanny/pyup-update-pytest-3.8.1-to-3.8.2
Update pytest to 3.8.2
2018-10-10 16:27:39 +01:00
pyup-bot
5ef7522436 Update gunicorn from 19.8.1 to 19.9.0 2018-10-09 13:52:46 -07:00
Bruno Alla
f270741f06
Merge pull request #1805 from pydanny/docs-local-dev
Update documentation for local developement on bare metal
2018-10-04 23:24:39 +01:00
pyup-bot
06b80fc871 Update django-allauth from 0.37.1 to 0.38.0 2018-10-03 16:15:29 -05:00
pyup-bot
8ae766b7e5 Update pytest from 3.8.1 to 3.8.2 2018-10-03 07:09:30 -05:00
Bruno Alla
5f8e074903
Merge pull request #1816 from pydanny/pyup-update-pillow-5.2.0-to-5.3.0
Update pillow to 5.3.0
2018-10-01 20:15:46 +01:00
pyup-bot
a265756d48 Update django from 2.0.8 to 2.0.9 2018-10-01 06:50:15 -05:00
pyup-bot
32591ed655 Update pillow from 5.2.0 to 5.3.0 2018-10-01 06:50:11 -05:00
pyup-bot
cc2602661e Update django-extensions from 2.1.2 to 2.1.3 2018-09-29 18:18:21 -05:00
pyup.io bot
b626fac5c6 Update pytest to 3.8.1 (#1813)
* Update pytest from 3.8.0 to 3.8.1

* Update pytest from 3.8.0 to 3.8.1
2018-09-26 06:40:59 +00:00
pyup-bot
f259e0f17a Update sphinx from 1.8.0 to 1.8.1 2018-09-22 13:18:11 -07:00
pyup.io bot
78fb8c1475 Update mypy from 0.620 to 0.630 (#1807) 2018-09-20 13:36:16 +00:00
Bruno Alla
3a611d4767 Fix package.json
- Fix vertical spacing
- Fix jQuery dependency
2018-09-17 22:07:26 +01:00
Bruno Alla
f4cfe6c704
Merge pull request #1801 from ChrisPappalardo/master
fixed production bugs in caddyfile and middleware
2018-09-16 13:40:20 +01:00
pyup.io bot
49a7740850 Update pytest-django from 3.4.2 to 3.4.3 (#1806) 2018-09-16 17:49:45 +08:00
Bruno Alla
6dd64ddd53 Update documentation for bare metal local development
- Mention the need for Redis if Celery is selected
- Link to PostgreSQL & Redis download pages
- Detail better how to set the environment
- Improve internal links using Sphinx' :ref
- Remove unused link
2018-09-15 21:23:06 +01:00
Chris Pappalardo
ea53635a0a fixed production bugs in caddyfile and middleware 2018-09-15 12:45:10 -07:00
pyup.io bot
f60b6d464c Update whitenoise from 4.0 to 4.1 (#1797) 2018-09-12 19:23:28 +00:00
pyup.io bot
4258ba9e2d Update sphinx from 1.7.9 to 1.8.0 (#1798) 2018-09-12 19:16:22 +00:00
Umair Ashraf
bf6c7e8e9c fixed s3 http url for static and media storage 2018-09-12 13:45:30 -04:00
pyup-bot
ae4225e2ea Update django-debug-toolbar from 1.10 to 1.10.1 2018-09-11 02:52:44 -07:00
Bruno Alla
e50b0d333e
Merge pull request #1777 from pydanny/doc/grunt-cleanup
Cleanup outdated references to Grunt & Compass
2018-09-10 22:39:18 +01:00
Wan Liuyang
de5504f414
Rename custom S3Boto3Storage subclasses (#1784)
Closes #1788 

This PR preps for the upcoming `django-storages` 2.X:

1. ~~Explicitly set default ACL to None which was [incorrectly set](3f6ec74942/storages/backends/s3boto3.py (L195)) to `public-read` by `django-storages`~~

2. Renamed `StaticRootS3BotoStorage` to `StaticRootS3Boto3Storage` to avoid confusion. This is to prep for the upcoming `S3Boto` class deprecation.

See also:
https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst
2018-09-09 19:59:04 +08:00
Bruno Alla
8dddd913c2
Merge pull request #1790 from pydanny/pyup-update-pytest-3.7.4-to-3.8.0
Update pytest to 3.8.0
2018-09-09 12:10:51 +01:00
Bruno Alla
e6a773c3d5
Merge pull request #1791 from pydanny/pyup-update-django-coverage-plugin-1.5.0-to-1.6.0
Update django-coverage-plugin to 1.6.0
2018-09-09 12:10:15 +01:00
pyup.io bot
6628fff9a0 Update django-anymail to 4.2 (#1792)
This PR updates [django-anymail[mailgun]](https://pypi.org/project/django-anymail) from **4.1** to **4.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 4.2
   ```
   ----

*2018-09-07*

Features
~~~~~~~~

*  **Postmark:** Support per-recipient template `merge_data` and batch sending. (Batch
   sending can be used with or without a template. See
   `docs &lt;https://anymail.readthedocs.io/en/stable/esps/postmark/postmark-templates&gt;`__.)

Fixes
~~~~~

*  **Postmark:** When using `template_id`, ignore empty subject and body. (Postmark
   issues an error if Django&#39;s default empty strings are used with template sends.)
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/django-anymail
  - Changelog: https://pyup.io/changelogs/django-anymail/
  - Repo: https://github.com/anymail/django-anymail
</details>
2018-09-08 06:11:31 +08:00
pyup-bot
028cf5c5eb Update django-coverage-plugin from 1.5.0 to 1.6.0 2018-09-07 09:34:37 -07:00
pyup.io bot
ffbec778a6 Update django-debug-toolbar from 1.9.1 to 1.10 (#1789) 2018-09-07 08:37:37 +00:00
pyup-bot
bb837784ae Update pytest from 3.7.4 to 3.8.0 2018-09-06 18:39:21 -07:00
pyup.io bot
ff6e58e560 Update sphinx to 1.7.9 (#1787)
This PR updates [Sphinx](https://pypi.org/project/Sphinx) from **1.7.8** to **1.7.9**.



<details>
  <summary>Changelog</summary>
  
  
   ### 1.7.9
   ```
   =====================================

Features added
--------------

* 5359: Make generated texinfo files reproducible by sorting the anchors

Bugs fixed
----------

* 5361: crashed on incremental build if document uses include directive
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/sphinx
  - Changelog: https://pyup.io/changelogs/sphinx/
  - Homepage: http://sphinx-doc.org/
</details>
2018-09-06 10:19:59 +08:00
pyup.io bot
602bb22a2e Update python-slugify to 1.2.6 (#1782)
This PR updates [python-slugify](https://pypi.org/project/python-slugify) from **1.2.5** to **1.2.6**.



<details>
  <summary>Changelog</summary>
  
  
   ### 1.2.6
   ```
   - Add support for case sensitive slugs (s-m-e)
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/python-slugify
  - Changelog: https://pyup.io/changelogs/python-slugify/
  - Repo: https://github.com/un33k/python-slugify
</details>
2018-09-03 08:13:35 +08:00
Irfan
27ae9c36e4 Fix #1771: Use full-fledge S3 Storage class in production settings
sorl-thumbnail serialized and deserializes the storage class and during this
process location parameter is lost if factory is used. Using a full-fledge
storage class fixes this issue.

See: https://stackoverflow.com/a/18046120/104731
2018-09-01 11:49:01 +05:00
Bruno Alla
ebcd5ec098 Cleanup outdated references to Grunt - fixes #1721 2018-08-30 20:34:56 +01:00
pyup-bot
1ffe82dba9 Update pytest from 3.7.3 to 3.7.4 2018-08-30 03:17:44 -07:00
Bruno Alla
b5d782e252
Merge branch 'master' into mypy 2018-08-29 08:21:22 +01:00
pyup.io bot
4a090b8672 Update sphinx to 1.7.8 (#1772)
This PR updates [Sphinx](https://pypi.org/project/Sphinx) from **1.7.7** to **1.7.8**.



<details>
  <summary>Changelog</summary>
  
  
   ### 1.7.8
   ```
   =====================================

Incompatible changes
--------------------

* The type of ``env.included`` has been changed to dict of set

Bugs fixed
----------

* 5320: intersphinx: crashed if invalid url given
* 5326: manpage: crashed when invalid docname is specified as ``man_pages``
* 5322: autodoc: ``Any`` typehint causes formatting error
* 5327: &quot;document isn&#39;t included in any toctree&quot; warning on rebuild with
  generated files
* 5335: quickstart: escape sequence has been displayed with MacPorts&#39; python
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/sphinx
  - Changelog: https://pyup.io/changelogs/sphinx/
  - Homepage: http://sphinx-doc.org/
</details>
2018-08-29 08:53:58 +08:00
pyup.io bot
217976a8da Update django-anymail from 3.0 to 4.1 (#1769) 2018-08-28 11:01:58 +08:00
pyup.io bot
53945865d6 Update django-allauth from 0.36.0 to 0.37.1 (#1768) 2018-08-28 09:24:02 +08:00
pyup.io bot
95f5438787 Update django-extensions to 2.1.2 (#1770)
This PR updates [django-extensions](https://pypi.org/project/django-extensions) from **2.1.0** to **2.1.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.1.2
   ```
   -----

Changes:
  - Fix: AutoSlugField, fix check on list or tuple type
   ```
   
  
  
   ### 2.1.1
   ```
   -----
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/django-extensions
  - Changelog: https://pyup.io/changelogs/django-extensions/
  - Repo: http://github.com/django-extensions/django-extensions
</details>
2018-08-28 09:22:54 +08:00
pyup.io bot
967bdb89c3 Update pytest to 3.7.3 (#1764)
* Update pytest from 3.7.2 to 3.7.3

* Update pytest from 3.7.2 to 3.7.3
2018-08-27 19:56:08 +00:00
pyup.io bot
d95bdc6a37 Update sphinx from 1.7.6 to 1.7.7 (#1759) 2018-08-23 08:30:49 +00:00
pyup.io bot
7485ac28be Update pytest-django from 3.4.1 to 3.4.2 (#1760) 2018-08-20 19:35:24 +00:00
pyup.io bot
e81f7abbd7 Update argon2-cffi from 18.2.0 to 18.3.0 (#1758) 2018-08-19 13:05:42 +00:00
Denis Orehovsky
78efa64f73 Merge branch 'master' into mypy 2018-08-19 13:36:40 +03:00
pyup.io bot
44b924b54f Update argon2-cffi from 18.1.0 to 18.2.0 (#1756) 2018-08-19 10:20:31 +00:00
pyup.io bot
eb8e2a33c8 Update pytest to 3.7.2 (#1755)
This PR updates [pytest](https://pypi.org/project/pytest) from **3.7.1** to **3.7.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.7.2
   ```
   =========================

Bug Fixes
---------

- `3671 &lt;https://github.com/pytest-dev/pytest/issues/3671&gt;`_: Fix ``filterwarnings`` not being registered as a builtin mark.


- `3768 &lt;https://github.com/pytest-dev/pytest/issues/3768&gt;`_, `3789 &lt;https://github.com/pytest-dev/pytest/issues/3789&gt;`_: Fix test collection from packages mixed with normal directories.


- `3771 &lt;https://github.com/pytest-dev/pytest/issues/3771&gt;`_: Fix infinite recursion during collection if a ``pytest_ignore_collect`` hook returns ``False`` instead of ``None``.


- `3774 &lt;https://github.com/pytest-dev/pytest/issues/3774&gt;`_: Fix bug where decorated fixtures would lose functionality (for example ``mock.patch``).


- `3775 &lt;https://github.com/pytest-dev/pytest/issues/3775&gt;`_: Fix bug where importing modules or other objects with prefix ``pytest_`` prefix would raise a ``PluginValidationError``.


- `3788 &lt;https://github.com/pytest-dev/pytest/issues/3788&gt;`_: Fix ``AttributeError`` during teardown of ``TestCase`` subclasses which raise an exception during ``__init__``.


- `3804 &lt;https://github.com/pytest-dev/pytest/issues/3804&gt;`_: Fix traceback reporting for exceptions with ``__cause__`` cycles.



Improved Documentation
----------------------

- `3746 &lt;https://github.com/pytest-dev/pytest/issues/3746&gt;`_: Add documentation for ``metafunc.config`` that had been mistakenly hidden.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest
  - Changelog: https://pyup.io/changelogs/pytest/
  - Homepage: http://pytest.org
</details>
2018-08-19 13:19:11 +08:00
pyup.io bot
b8f6f43a60 Update pytest-django to 3.4.1 (#1753)
This PR updates [pytest-django](https://pypi.org/project/pytest-django) from **3.3.3** to **3.4.1**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.4.0
   ```
   ------------------

Features
^^^^^^^^

* Added new fixture :fixture:`django_assert_max_num_queries` (547).
* Added support for ``connection`` and returning the wrapped context manager
  with :fixture:`django_assert_num_queries` (547).
* Added support for resetting sequences via
  :fixture:`django_db_reset_sequences` (619).

Bugfixes
^^^^^^^^

* Made sure to not call django.setup() multiple times (629, 531).

Compatibility
^^^^^^^^^^^^^

* Removed py dependency, use pathlib instead (631).
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest-django
  - Changelog: https://pyup.io/changelogs/pytest-django/
  - Docs: https://pytest-django.readthedocs.io/
</details>
2018-08-17 09:17:04 +08:00
pyup.io bot
36f3558ccc Update whitenoise from 3.3.1 to 4.0 (#1745) 2018-08-13 16:06:42 +03:00
pyup-bot
d78978abd5 Update pytest from 3.6.4 to 3.7.1 2018-08-03 02:05:01 -07:00
pyup.io bot
dc11195917 Update django to 2.0.8 (#1734)
This PR updates [django](https://pypi.org/project/django) from **2.0.7** to **2.0.8**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.0.8
   ```
   ==========================

*August 1, 2018*

Django 2.0.8 fixes a security issue and several bugs in 2.0.7.

CVE-2018-14574: Open redirect possibility in ``CommonMiddleware``
=================================================================

If the :class:`~django.middleware.common.CommonMiddleware` and the
:setting:`APPEND_SLASH` setting are both enabled, and if the project has a
URL pattern that accepts any path ending in a slash (many content management
systems have such a pattern), then a request to a maliciously crafted URL of
that site could lead to a redirect to another site, enabling phishing and other
attacks.

``CommonMiddleware`` now escapes leading slashes to prevent redirects to other
domains.

Bugfixes
========

* Fixed a regression in Django 2.0.7 that broke the ``regex`` lookup on MariaDB
  (even though MariaDB isn&#39;t officially supported) (🎫`29544`).

* Fixed a regression where ``django.template.Template`` crashed if the
  ``template_string`` argument is lazy (🎫`29617`).


==========================
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/django
  - Changelog: https://pyup.io/changelogs/django/
  - Homepage: https://www.djangoproject.com/
</details>
2018-08-02 08:17:27 +08:00
pyup.io bot
6c2a130e3d Update pytest to 3.6.4 (#1731)
* Update pytest from 3.6.3 to 3.6.4

* Update pytest from 3.6.3 to 3.6.4
2018-07-29 14:12:41 +03:00
pyup.io bot
55debd5b6b Update pytest-django to 3.3.3 (#1728)
This PR updates [pytest-django](https://pypi.org/project/pytest-django) from **3.3.2** to **3.3.3**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.3.3
   ```
   ------------------

Bug fixes
^^^^^^^^^

* Fixed registration of :py:func:`~pytest.mark.ignore_template_errors` marker,
  which is required with ``pytest --strict`` (609).
* Fixed another regression with unittest (624, 625).

Docs
^^^^

* Use sphinx_rtf_theme (621).
* Minor fixes.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest-django
  - Changelog: https://pyup.io/changelogs/pytest-django/
  - Docs: https://pytest-django.readthedocs.io/
</details>
2018-07-27 10:21:45 +08:00
Bruno Alla
6865f5b21f
Merge pull request #1722 from pydanny/pyup-update-celery-4.2.0-to-4.2.1
Update celery to 4.2.1
2018-07-23 10:30:22 +01:00
John Cass
bb01d961ed Use pytest's recommended command as the entry point for running tests. 2018-07-23 08:51:06 +02:00
John Cass
61be16a867 Update test coverage command for usage with py.test. 2018-07-18 17:15:44 +02:00
pyup-bot
72d6be7883 Update celery from 4.2.0 to 4.2.1 2018-07-18 04:03:29 -07:00
Bruno Alla
95ee1f159d
Merge pull request #1717 from hendrikschneider/master
removed default action from project.js #1716
2018-07-17 15:47:22 +01:00
pyup.io bot
e34ab9b875 Update sphinx from 1.7.5 to 1.7.6 (#1719) 2018-07-17 11:26:04 +08:00
pyup.io bot
399cce6eb7 Update django-extensions to 2.1.0 (#1720)
This PR updates [django-extensions](https://pypi.org/project/django-extensions) from **2.0.7** to **2.1.0**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.1.0
   ```
   Changes:
  - Fix: travis
   ```
   
  
  
   ### 2.0.9
   ```
   -----

Changes:
  - Improvement: use README as project description on PyPI
   ```
   
  
  
   ### 2.0.8
   ```
   -----

Please stop using ForeignKeyAutocompleteAdmin edition :-)

Changes:
  - Fix: special markers in runserver_plus.rst
  - Fix: shell_plus, refactor reading pythonrc file outside of exec(compile(...))
  - Fix: reset_db, fix default utf8 support
  - Fix: autoslugfield, Fix autoslug generation when existing model is copied
  - Improvement: Cleanup management commands options after argparse migration 916
  - Improvement: sqldiff, add more tests
  - Improvement: sqldiff, add DurationField and SearchVectorField
  - Improvement: shell_plus, add more tests
  - Improvement: shell_plus, backport macos fix for tab completion
  - Improvement: clear_cache, add --all option
  - Improvement: pipchecker, treat dev versions as unstable
  - Deprecation: ForeignKeyAutocompleteAdmin, Django 2.0 has similar capabilities, which are much better supported.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/django-extensions
  - Changelog: https://pyup.io/changelogs/django-extensions/
  - Repo: http://github.com/django-extensions/django-extensions
</details>
2018-07-17 11:25:36 +08:00
Mateusz Ostaszewski
80f6b1958e Update bootstrap to 4.1.1 (#1697)
* Update Bootstrap to 4.1.1

* Add myself to contributors
2018-07-12 12:35:28 +03:00
Bruno Alla
19b75e4dd1 Upgrade Heroku to the latest Python 3.6.x: 3.6.6 2018-07-11 16:57:43 +01:00
Hendrik Schneider
9932ea3b18
Update project.js 2018-07-11 10:43:19 +00:00
Hendrik Schneider
27bc27e634
Update project.js 2018-07-10 22:22:10 +00:00
pyup.io bot
f92acfacc4 Update pytest to 3.6.3 (#1709)
* Update pytest from 3.6.2 to 3.6.3

* Update pytest from 3.6.2 to 3.6.3
2018-07-05 17:41:25 +03:00
pyup.io bot
ed389e7401 Update django from 2.0.6 to 2.0.7 (#1707) 2018-07-02 22:18:13 +03:00
pyup.io bot
8586cb0cef Update pillow from 5.1.0 to 5.2.0 (#1704) 2018-07-02 22:17:46 +03:00
Denis Orehovsky
d7a05cf69d Add mypy to the local dependencies 2018-07-02 10:22:48 +03:00
pyup.io bot
f13c99f0a5 Update pytz from 2018.4 to 2018.5 (#1699) 2018-06-30 11:59:23 +03:00
Nikita P. Shupeyko
ac61117b59 Prevent AWS S3 bucket from being created automatically
Rationale: most of the time you want to create a bucket yourself in order to assign/tweak polices etc.
2018-06-28 16:35:35 +03:00
Demetris Stavrou
2c56b2e0e3 Added CELERY_BROKER_URL back to entrypoint and surrounded it with a conditional 2018-06-28 00:30:23 +03:00
Demetris Stavrou
7c69704f9f Moved CELERY_BROKER_URL definition to .django env file to resolve error when Celery is not used (PR #1693) 2018-06-28 00:30:23 +03:00
Demetris Stavrou
d79f122bc9 Redis config in local is now conditional on Celery. 2018-06-28 00:27:22 +03:00
Nikita P. Shupeyko
3ac9902670 Rename project template Docker Compose volumes
Rationale: consistent image, volume etc. naming conventions
2018-06-27 19:52:06 +03:00
Nikita P. Shupeyko
0a9c0cb06a Upgrade Docker Compose project template configs to version 3 2018-06-27 19:45:36 +03:00
Nikita Shupeyko
8ad7adb11a
Re-write users app tests in pytest style & perform minor refactoring (#1680) 2018-06-27 19:33:38 +03:00
Nikita Shupeyko
275c13292c
Integrate Flower with Docker Compose setup (#1655)
* Integrate Flower with Docker Compose setup locally

* Remove alien worker celeryd option

* Move Flower COPY section below the worker's

* Remove set -o pipefail command from Flower start script

* Flower client authentication

* Override flower service image name

* Move flower service to the end of local.yml

* Install flower==0.9.2 in all environments

* Introduce production flower service

* Fix local flower start script

* Document Flower integration

* Prettify *.django envs

Rationale: consistency.

* Reference local environment Flower docs from the production's

* 'two more services' -> 'three more services'
2018-06-27 19:33:21 +03:00
Bruno Alla
a183a8181d
Merge pull request #1694 from delneg/patch-2
Make 'duplicate_username' message translatable
2018-06-26 10:20:27 +02:00
pyup.io bot
eb0297aeb3 Update django-environ from 0.4.4 to 0.4.5 (#1695) 2018-06-26 10:53:36 +03:00
Denis
2a7ab8be2f
Try to fix flake8 2018-06-25 21:08:33 +03:00
Denis
0d1cfe548c
Make 'duplicate_username' message translatable
Added ugettext_lazy and used it on the 'duplicate_username' message
2018-06-24 02:34:08 +03:00
pyup.io bot
ee2bb3f2ef Update pytest-django to 3.3.2 (#1692)
This PR updates [pytest-django](https://pypi.org/project/pytest-django) from **3.3.0** to **3.3.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.3.1
   ```
   ------------------

Bug fixes
^^^^^^^^^

* Fixed test for classmethod with Django TestCases again (618,
  introduced in 598 (3.3.0)).

Compatibility
^^^^^^^^^^^^^

* Support Django 2.1 (no changes necessary) (614).
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest-django
  - Changelog: https://pyup.io/changelogs/pytest-django/
  - Docs: https://pytest-django.readthedocs.io/
</details>
2018-06-22 08:50:02 +08:00
Denis Orehovsky
83b5f00ac5 Add celery prefix for configuration (#1676)
* Add celery prefix for configuration

* Update CONTRIBUTORS.rst
2018-06-21 19:39:19 +00:00
Nikita Shupeyko
07060eaecc
Extend & enhance Celery configuration (#1679)
* CELERY_TASK_TIME_LIMIT

* CELERY_TASK_SOFT_TIME_LIMIT

* CELERY_ALWAYS_EAGER -> CELERY_TASK_ALWAYS_EAGER

* CELERY_EAGER_PROPAGATES = CELERY_TASK_ALWAYS_EAGER

Addresses https://github.com/pydanny/cookiecutter-django/pull/1446/files#r167238808

* CELERY_RESULT_BACKEND = CELERY_BROKER_URL always

* CELERY_TIMEZONE = TIME_ZONE

* CELERY_TASK_EAGER_PROPAGATES = True

* Name task limit settings appropriately

CELERY_TASK_TIME_LIMIT -> CELERYD_TASK_TIME_LIMIT, CELERY_TASK_SOFT_TIME_LIMIT -> CELERYD_TASK_SOFT_TIME_LIMIT
2018-06-21 19:38:48 +00:00
Wan Liuyang
5309fbf5e7
Upgrade celery to 4.2 (#1446)
* Update celery to 4.1.0

* Re-add endif closing block

* Update local.py

* Update base.txt

* Update local.py
2018-06-21 14:53:04 +08:00
pyup.io bot
75a0699848 Update pytest to 3.6.2 (#1690)
This PR updates [pytest](https://pypi.org/project/pytest) from **3.6.1** to **3.6.2**.



*The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)*

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest
  - Changelog: https://pyup.io/changelogs/pytest/
  - Repo: https://github.com/pytest-dev/pytest/issues
  - Homepage: http://pytest.org
</details>
2018-06-21 11:00:47 +08:00
pyup.io bot
f3d76a4134 Update celery from 3.1.25 to 3.1.26.post2 (#1683) 2018-06-19 01:07:14 +03:00
pyup-bot
24a7e535c6 Update psycopg2-binary from 2.7.4 to 2.7.5 2018-06-17 12:36:30 -07:00
Bruno Alla
c6c8ca953a Remove entry from other .gitignore causing compose/local to match 2018-06-16 15:07:40 +01:00
Bruno Alla
16c4e31d0e
Merge pull request #1684 from pydanny/pyup-update-django-test-plus-1.0.22-to-1.1.0
Update django-test-plus to 1.1.0
2018-06-15 22:44:30 +01:00
pyup-bot
cec06b2d81 Update pytest-django from 3.2.1 to 3.3.0 2018-06-15 14:20:32 -07:00
pyup-bot
a9db5b0982 Update django-test-plus from 1.0.22 to 1.1.0 2018-06-15 14:20:28 -07:00
Nikita P. Shupeyko
7d7eb78773 Remove duplicate Docker Compose service configuration
Rationale: those sections will always be there thanks to inheritance
2018-06-09 14:59:30 +03:00
Nikita P. Shupeyko
911e822e85 Gitignore .pytest_cache/ in project template 2018-06-06 09:40:24 +03:00
pyup.io bot
0ff3236ce4 Update pytest to 3.6.1 (#1675)
* Update pytest from 3.6.0 to 3.6.1

* Update pytest from 3.6.0 to 3.6.1
2018-06-06 09:38:28 +03:00
Nikita P. Shupeyko
d8526d1b2d Unset -o xtrace in compose start scripts 2018-06-05 12:28:11 +03:00
Nikita P. Shupeyko
c812e01fc5 Rename UsersConfig to UsersAppConfig 2018-06-05 12:18:35 +03:00
Nikita P. Shupeyko
95d218e3e4 Rename CeleryConfig to CeleryAppConfig 2018-06-05 12:18:07 +03:00
Nikita P. Shupeyko
5b5ad0e4fc Fix Py.Test unittests fail on new cookie
Fixes #1674
2018-06-05 12:13:50 +03:00
pyup-bot
77f87c4532 Update django from 2.0.5 to 2.0.6 2018-06-01 15:16:03 -07:00
pyup.io bot
cff7111edb Update django-anymail from 2.2 to 3.0 (#1668) 2018-05-31 16:14:37 +03:00
pyup.io bot
eea6cc94de Update raven to 6.9.0 (#1667)
This PR updates [raven](https://pypi.org/project/raven) from **6.8.0** to **6.9.0**.



<details>
  <summary>Changelog</summary>
  
  
   ### 6.9.0
   ```
   ------------------
* [Core] Switched from culprit to transaction for automatic transaction reporting.
* [CI] Removed py3.3 from build
* [Django] resolved an issue where the log integration would override the user.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/raven
  - Changelog: https://pyup.io/changelogs/raven/
  - Repo: https://github.com/getsentry/raven-python
</details>
2018-05-31 12:55:38 +08:00
pyup-bot
a4240bcf08 Update sphinx from 1.7.4 to 1.7.5 2018-05-28 21:18:55 -07:00
Nikita P. Shupeyko
b8c7ae8b4b Remove set -o pipefail command from celerybeat start script 2018-05-28 12:50:57 +03:00
Nikita P. Shupeyko
e08b6ab6f8 Remove set -o pipefail command from celeryworker start script 2018-05-28 12:50:54 +03:00
Nikita Shupeyko
fe3f45ba7d
Rename DJANGO_SENTRY_DSN env to SENTRY_DSN (#1663)
Rationale: so that Heroku auto-provisioned Sentry addon, with its SENTRY_DSN config var is being connected to out-of-box
2018-05-27 22:36:13 +03:00
Nikita P. Shupeyko
77f61de236 chown django /start-(celerybeat|celeryworker) in production Django 2018-05-25 12:55:27 +03:00
Nikita P. Shupeyko
3a17f9bc27 Remove project doc files likely to remain unused 2018-05-25 12:16:04 +03:00
Nikita P. Shupeyko
ea9a781cc8 Install Mailgun's (and potentially, other ESPs') dependencies with Anymail
Rationale: this is a [generic way](https://github.com/anymail/django-anymail#anymail-1-2-3) of handling Anymail ESP dependencies
2018-05-25 12:08:57 +03:00
pyup.io bot
39d897169c Update pytest to 3.6.0 (#1662)
* Update pytest from 3.5.1 to 3.6.0

* Update pytest from 3.5.1 to 3.6.0
2018-05-25 10:31:33 +03:00
Michel Sassano
c3b9f72f31 Remove openssl to fix unsatisfiable constraints error with libressl (#1661)
Removed the openssl-dev package from the Django Dockerfiles (local and production) to fix the unsatisfiable constraints error.

The error appears because you can't have openssl and libressl installed at the same time. One of the package used by the template/project installs libressl which create an error when trying to install openssl.

Thx to @browniebroke
2018-05-25 14:21:22 +08:00
Nikita P. Shupeyko
39c825a262 Fix latest Caddy version 2018-05-21 22:36:50 +03:00
Nikita P. Shupeyko
6cefe2b9dc Rename gunicorn script to start 2018-05-21 22:28:18 +03:00
Nikita P. Shupeyko
b069f8e40e Fix E303 in production.py 2018-05-21 21:57:52 +03:00
Nikita P. Shupeyko
600be33b85 Fix E402 in production.py 2018-05-21 21:57:31 +03:00
Nikita P. Shupeyko
5b6c8a89d3 Fix flake8 errors in wsgi.py 2018-05-21 21:36:03 +03:00
Nikita P. Shupeyko
8e429d7e3d Update PyCharm configs with respect to the latest IDE version 2018-05-21 16:29:18 +03:00
Nikita P. Shupeyko
4a1ea2fb45 Commit local django start scripts back 2018-05-21 15:39:12 +03:00
Nikita P. Shupeyko
cfff5b9d08 Commit local django celery start scripts back 2018-05-21 15:34:28 +03:00
Nikita P. Shupeyko
849f64e1a5 Remove .sh ext from executable scripts 2018-05-21 15:20:11 +03:00
Nikita P. Shupeyko
90953a83f2 Alter django entrypoint.sh output 2018-05-21 15:03:37 +03:00
Nikita P. Shupeyko
9b938647b4 Refactor exec "$@" in django entrypoint.sh 2018-05-21 14:59:26 +03:00
Nikita Shupeyko
820e3540da
Upgrade Caddy to 0.11 and pin its version to minor rather than patch (#1653) 2018-05-21 12:44:38 +03:00
Nguyễn Hồng Quân
39378e3b32 Replace awesome-slugify with python-slugify
The former drags us from getting update with new libraries (e.g
Unidecode).
2018-05-14 19:01:16 +07:00
Nikita P. Shupeyko
c3baadd8c7 Set DEBUG=True unconditionally in local config 2018-05-14 10:21:33 +03:00
Nikita P. Shupeyko
091a3b6d0f gunicorn --bind instead of gunicorn -b 2018-05-14 10:20:27 +03:00
Nikita P. Shupeyko
4bcd4c3343 Don't migrate during Heroku release phase
Closes #1646.
2018-05-14 10:15:51 +03:00
saschalalala
6d4be405d8 Migrate to Django2 path urls (#1637)
* Change users urls to Django 2 paths

* Change config urls to Django 2 paths

* Change admin url setting to Django 2 path syntax

* Replace more admin urls

* Add myself to contributors.rst
2018-05-14 10:09:24 +03:00
Nikita P. Shupeyko
fd15b20a08 Use string interpolation in production STATIC_URL 2018-05-13 17:03:04 +03:00
Nikita P. Shupeyko
be1024cd06 Drop Grunt support
Closes #1636.
2018-05-13 13:51:01 +03:00
pyup.io bot
dbdedb81c1 Update raven from 6.7.0 to 6.8.0 (#1642) 2018-05-12 22:57:24 +03:00
pyup.io bot
144f4ca3b7 Update django-model-utils from 3.1.1 to 3.1.2 (#1640) 2018-05-10 23:16:42 +02:00
Nikita P. Shupeyko
661fc3e449 Fix E402 2018-05-09 13:42:20 +03:00
Nikita P. Shupeyko
a07327459c Fix logging module imported unconditionally in production.py 2018-05-09 13:24:08 +03:00
Nikita P. Shupeyko
df1ce737d5 Replace os.environ.get with env call in local.py 2018-05-09 13:15:41 +03:00
Nikita P. Shupeyko
17739ff263 Refactor POSTGRES_PORT env 2018-05-09 12:58:37 +03:00
Nikita P. Shupeyko
906299ae39 Refactor POSTGRES_HOST env 2018-05-09 12:58:33 +03:00
pyup.io bot
b4b3c04253 Update django-allauth from 0.35.0 to 0.36.0 (#1638) 2018-05-08 15:28:52 +08:00
Nikita P. Shupeyko
00ff5c8506
Fix a typo in production.py 2018-05-07 20:33:34 +03:00
Nikita P. Shupeyko
35b2aac87a
Use relative -r path in production.txt 2018-05-07 20:30:14 +03:00
Nikita P. Shupeyko
74c838dc0c Link favicon from base.html 2018-05-05 22:25:07 +03:00
pyup.io bot
0d2f8fcfd9 Update factory-boy from 2.11.0 to 2.11.1 (#1635) 2018-05-05 22:18:56 +03:00
Nikita P. Shupeyko
5a3dd8f0c6 Uninstall gevent
Closes #1555.
2018-05-05 15:03:01 +03:00
Nikita P. Shupeyko
2eac9648a1 Install boto3 as extra of django-storages
Closes #1586.
2018-05-05 15:01:03 +03:00
Nikita P. Shupeyko
9f14254e8e Move pytest settings from setup.cfg to pytest.ini 2018-05-05 12:45:49 +03:00
Nikita P. Shupeyko
d8267edd09 Run black reformatting
https://github.com/ambv/black
2018-05-05 12:37:10 +03:00
Nikita P. Shupeyko
8ef1019e01 Use implicit path to manage.py in Procfile 2018-05-05 12:30:20 +03:00
Marlon
ec78d9ce97 Use Heroku's Release Phase for Migrations (#1615)
Automatically run migrations on deployments to Heroku. Advantages include deployments are rolled-back if a migration fails, preventing broken applications due to failed migrations, no time between when application is released and database is migrated, and removes risk of forgetting to manually run migrations.
2018-05-05 12:28:30 +03:00
Nikita Shupeyko
b4d0416530
Fix PostgreSQL backup restore (#1628)
* Export PG* envs when backing up postgres

* Export PG* envs when restoring postgres from backup

* Prevent postgres connection from dropping all at ones

* Alter postgres backups docs  

Include another crucial prerequisite.

* "feel free switching" -> "feel free to switch"

* Address the feedback
2018-05-05 12:27:27 +03:00
pyup.io bot
8203cfe4fc Update factory-boy to 2.11.0 (#1632) 2018-05-05 09:06:41 +08:00
Nikita Shupeyko
4944907fb5
Upgrade redis service to 3.2 (#1631) 2018-05-05 01:30:57 +03:00
Nikita P. Shupeyko
b7172cfeba Conditionally gitignore virtualenv files
Fixes #1321 the right way.
2018-05-05 01:29:47 +03:00
Bruno Alla
f22f8e3716
Merge pull request #1610 from AlekseiAQ/update-runtime-python-version-3.6.4-to-3.6.5
Update runtime python version from 3.6.4 to 3.6.5
2018-05-02 22:24:52 +01:00
pyup-bot
b8a709b191 Update django from 2.0.4 to 2.0.5 2018-05-02 01:08:03 -07:00
pyup.io bot
cf03bf74e7 Update gunicorn from 19.8.0 to 19.8.1 (#1627) 2018-04-30 22:16:09 +03:00
pyup.io bot
3e6caf6692 Update gunicorn from 19.7.1 to 19.8.0 (#1624) 2018-04-29 21:48:53 +03:00
pyup.io bot
34d9bd5d80 Update sphinx to 1.7.4 (#1620) 2018-04-26 09:06:35 +08:00
pyup-bot
f8e3221622 Update pytest from 3.5.0 to 3.5.1 2018-04-25 03:24:51 -07:00
pyup-bot
47cc9f03fe Update sphinx from 1.7.2 to 1.7.3 2018-04-22 21:36:42 -05:00
pyup.io bot
edae0854bf Update raven from 6.6.0 to 6.7.0 (#1614) 2018-04-18 22:56:29 +08:00
pyup.io bot
bbc69b3bf1 Update django-extensions to 2.0.7 (#1613) 2018-04-18 16:30:35 +08:00
pyup.io bot
cbc51bfc5f Update django-anymail to 2.2 (#1612) 2018-04-17 10:02:06 +08:00
Aleksei Kuznetcov
6a0a2e5637 Update runtime python version from 3.6.4 to 3.6.5 2018-04-15 17:14:11 -04:00
pyup.io bot
56b3ac7311 Update pytest-django from 3.1.2 to 3.2.1 (#1608) 2018-04-14 23:27:58 +08:00
pyup.io bot
1c5f1bb62b Update django-anymail from 2.0 to 2.1 (#1607) 2018-04-12 08:32:02 +08:00
pyup.io bot
b6c80ab333 Update pytz from 2018.3 to 2018.4 (#1605) 2018-04-10 20:34:01 +00:00
Bruno Alla
8fa24e9c5e
Merge pull request #1599 from pydanny/pyup-update-djangorestframework-3.7.7-to-3.8.2
Update djangorestframework to 3.8.2
2018-04-10 15:52:51 +01:00
Osaetin Daniel
a4f059196e Removed unnecessary sentry configuration (#1598) 2018-04-10 10:39:44 +08:00
Daniel Roy Greenfeld
3f753e0411
First pass at running black across the project (#1602) 2018-04-08 17:03:29 -05:00
pyup-bot
dffacdc2ed Update djangorestframework from 3.7.7 to 3.8.2 2018-04-06 11:40:11 -05:00
Nikita P. Shupeyko
26ccf9307f Fix REDIS_URL missing
Fixes #1570.
2018-04-04 13:42:01 +03:00
Nikita P. Shupeyko
ae9dc2e782 Distinguish between local and production compose services
Rationale: 
1. building production stack on the same machine with local doesn't lead to conflicts anymore;
2. production and local service images are now clearly distinguished by name.
2018-04-04 13:38:57 +03:00
Nikita P. Shupeyko
2fa5adc2b0 Designate 'postgres' as a variable in entrypoint.sh
Rationale: clarity.
2018-04-04 11:43:39 +03:00
Nikita P. Shupeyko
897d54b690 Alter Dockerfile comment url to point at dev Django 2018-04-04 11:16:11 +03:00
Nikita P. Shupeyko
34673ff686 Merge .celery envs file with .django
Rationale: workflow simplification.
2018-04-04 10:52:16 +03:00
Nikita P. Shupeyko
418b53bf77 Rename use_sentry_for_error_reporting to use_sentry
Rationale: consistency
2018-04-03 12:12:26 +03:00
pyup.io bot
53186d2697 Update django from 2.0.3 to 2.0.4 (#1593) 2018-04-03 10:46:34 +03:00
pyup.io bot
3c3d5914d2 Update pillow to 5.1.0 (#1592) 2018-04-03 09:50:34 +08:00
Nikita P. Shupeyko
bf089fd2b6 Fix celery services exit with status code 2
Fixes #1588.
2018-03-28 18:18:26 +03:00
Nikita Shupeyko
59cd5b4849
Celery code blocks are still generated even though Celery is not opted out for (#1587)
* Celery jinja condition in .gitignore

* Celery jinja conditions in Django Dockerfiles

* Re-phrase Django Dockerfile requirements comments

* Remove celery compose dirs through post_gen_project.py
2018-03-27 18:40:44 +03:00
pyup.io bot
9c09675cb8 Update django-storages from 1.6.5 to 1.6.6 (#1585) 2018-03-27 11:43:29 +08:00
pyup.io bot
60ebda8bf7 Update sphinx from 1.7.1 to 1.7.2 (#1579) 2018-03-25 15:45:00 +03:00
pyup.io bot
3264e77696 Update pytest to 3.5.0 (#1580)
* Update pytest from 3.4.2 to 3.5.0

* Update pytest from 3.4.2 to 3.5.0
2018-03-25 15:30:58 +03:00
Wan Liuyang
d1198f63b1
Drop Opbeat (#1578) 2018-03-21 19:54:27 +08:00
pyup.io bot
f0175aa9be Update collectfast to 0.6.2 (#1575) 2018-03-17 22:29:44 +08:00
Daniel Roy Greenfeld
d6e0b95d81
Adding coreapi and moving DRF to end of base.txt 2018-03-17 06:58:16 -05:00
Bruno Alla
80618f0ace Install psycopg2-binary when not using docker locally (#1569)
- The binary package should be installable on Windows locally
- The binary package is not recommended for Production, compile from
  source
2018-03-16 16:32:43 -05:00
jose Gabriel Guzman Lopez
0601a1b858
Local
add  "127.0.0.1"
2018-03-16 11:35:39 -05:00
pyup-bot
f3d0c6baf0 Update django-extensions from 2.0.5 to 2.0.6 2018-03-15 16:28:44 -05:00
Nikita Shupeyko
bcd0a8c46e
Fix & improve PostgreSQL backup/restore scripts (#1571)
* Fix & imporve postgres backup/restore scripts

* Update PostgreSQL backup/restore docs

* Fix postgres Dockerfile regression

* Extend error messages in PostgreSQL maintenance scipts
2018-03-14 13:44:16 +03:00
Daniel Roy Greenfeld
b32fd78012
Update base.py 2018-03-13 22:21:01 -05:00
Daniel Roy Greenfeld
19501ef26b
Adding DRF 2018-03-13 22:17:46 -05:00
Daniel Roy Greenfeld
c06ce847b3
Added DRF 2018-03-13 22:13:36 -05:00
Nikita P. Shupeyko
edef0167fe Gitignore MailHog in template 2018-03-11 12:21:49 +03:00
pyup.io bot
09af25547b Update django-extensions from 2.0.3 to 2.0.5 (#1568) 2018-03-11 11:33:10 +03:00
pyup.io bot
05e97777e2 Update django-crispy-forms from 1.7.1 to 1.7.2 (#1567) 2018-03-09 19:21:40 +03:00
Nikita P. Shupeyko
3e2bf3f701 Prettify template's pytest.ini 2018-03-09 13:06:45 +03:00
Nikita Shupeyko
b2a6b9a511
Prettify generated project requirements (#1557)
* Prettify base.txt

* Prettify local.txt

* Get rid of test.txt

Rationale: it effectively a duplicate of what's in local.txt

* Prettify production.txt
2018-03-09 12:57:32 +03:00
Nikita P. Shupeyko
e1bce92ad9 apk add postgresql-client with django Dockerfile 2018-03-09 11:41:02 +03:00
pyup.io bot
f3dc7898e9 Update django-anymail from 1.4 to 2.0 (#1564) 2018-03-09 10:54:56 +03:00
Nikita P. Shupeyko
a72383a851 FIx WEB_CONCURRENCY environment variable missing
Fixes #1562.
2018-03-08 22:40:22 +03:00
Nikita P. Shupeyko
03ee6c78d6 Fix CELERY_BROKER_URL overriden in entrypoint.sh
Closes #1235.
2018-03-08 19:04:10 +03:00
Nikita P. Shupeyko
5543359382 Distinguish between POSTGRES_DB and POSTGRES_USER
Closes #1301.
2018-03-08 19:04:10 +03:00
pyup.io bot
dd0a73a985 Update django-extensions from 2.0.2 to 2.0.3 (#1561) 2018-03-08 19:03:18 +03:00
Nikita Shupeyko
3f8aa26d0f
Group environment variables by the corresponding directories (#1295)
* Update generated project's .gitignore

* Post-gen gitignore .env/ and .env

* Fix linesep between gitignored entries

* Persist `.env/**/*` files into cookiecutter-django's VCS

* Rename .env/ to .envs/

* Reference the newly created .envs/**/.* files in local.yml

* Reference the newly created .envs/**/.* files in production.yml

* Delete .env.example

* Refactor post-gen-project.py

Closes #1299.

* Implement production-dotenv-files-to-dotenv-file merge script

* Create shared PyCharm Run Configuration for the automation script

* Randomize POSTGRES_PASSWORD in ./envs/(.local|.production)/.postgres

* Default POSTGRES_PASSWORD and POSTGRES_USER to random values

* Fix jinja linebreaks in local.yml

* Spaces in production.yml

* Fix post-merge leftovers & set DJANGO_ADMIN_URL automatically

* Prettify here and there

* Fix FileNotFoundError

* Leave a TODO in post_gen_hook.py

* Introduce keep_local_envs_in_vcs option

* Remove envs when not opted for

* Inline pre_gen_project.py if-condition

* Get rid of PROJECT_DIR_PATH in post_gen_project.py

* Clean up the docs

* Match copyright notices

* Document envs ins and outs
2018-03-08 15:56:15 +03:00
Malik S
6c8538abfe Add all internal IPs for multiple docker networks (#1520)
* Add all internal IPs for multiple docker networks

When developing with modified docker-compose.yml that contains multiple
network definitions, all networks gateways of the created container
should be added to INTERNAL_IPS, otherwise Django-Debug-Toolbar will not
work.

* Add @flyudvik to contributors
2018-03-08 15:54:24 +03:00
pyup.io bot
0bd019deb0 Update django-extensions from 2.0.0 to 2.0.2 (#1556) 2018-03-07 17:15:15 +03:00
Wan Liuyang
9cb7e50b8e Convert old-styled string formatting to f-string (#1528)
* Convert old-styled string formatting to f-string

* Update flake8 explicit version to 3.5.0

* Make tox.ini in sync with requirements.txt

* Fix annoying flake8 F405
2018-03-06 19:56:27 +03:00
Nikita P. Shupeyko
ee04c5cf09 noqa F401 in users apps.py 2018-03-06 19:54:20 +03:00
Eric Groom
f67f37a463 update grunt-sass to latest version (#1544)
* update grunt-sass

* add to contributors

* update gulp deps

* update grunt deps

* add convenience run script to grunt and gulp configurations
2018-03-06 19:46:21 +03:00
pyup.io bot
218a79e16a Update django from 2.0.2 to 2.0.3 (#1551) 2018-03-06 19:44:43 +03:00
Daniel Roy Greenfeld
7bc5d1408c
Make registration of signals easier for users 2018-03-06 10:52:45 -05:00
Nikita Shupeyko
d2791b019a
Prettify and re-order settings entries (#1550)
* Prettify and re-order settings entries

* Use old-style .format() for the time being

* Remove redundant linebreaks at the settings files' beginning

* Fix E303 too many blank lines

* Remove a redundant linebreak from requirements.txt

* Some linebreake juggling in config.settings.base
2018-03-06 14:28:25 +03:00
Nikita P. Shupeyko
5380117181 Uninstall wheel
Closes #1095.
2018-03-06 14:27:13 +03:00
Bruno Alla
6ef30b1741 Merge branch 'master' into simplify-environment
# Conflicts:
#	docs/deployment-on-heroku.rst
2018-03-06 09:55:28 +00:00
pyup.io bot
93ad8e6125 Update django-crispy-forms from 1.7.0 to 1.7.1 (#1546) 2018-03-06 06:13:20 +00:00
Bruno Alla
82dcd2d30c Simplify Mailgun settings
When creating a Mailgun add-on on Heroku, the app gets some environment
variables by default:

    MAILGUN_API_KEY
    MAILGUN_DOMAIN

However, the cookiecutter names do not match and requires a manual step
from the user deploying. It's used elsewhere but shouldn't harm the
other deployment methods to rename these variables.

While updating the docs I noticed a variable that appear unused
DJANGO_MAILGUN_SERVER_NAME so this removes it from the documentation.
2018-03-05 17:56:45 +00:00
Bruno Alla
baf08b2f5f Document Gunicorn worker concurrency 2018-03-05 17:30:13 +00:00
Nikita P. Shupeyko
5261956356 Refactor gunicorn -w to be set from WEB_CONCURRENCY env
Closes #1480.
2018-03-05 14:26:43 +03:00
Nikita P. Shupeyko
64f2541743 Set ALLOWED_HOSTS in config.settings.local 2018-03-04 17:51:37 +03:00
Nikita P. Shupeyko
f4e217ed21 Simplify production databases section generation 2018-03-04 17:33:54 +03:00
Nikita P. Shupeyko
6c26d39f65 Unconditionally connect to database from DATABASE_URL env when opting for Docker
Closes #1541.
2018-03-04 17:24:06 +03:00
Nikita P. Shupeyko
281dde1d1d Simplify post hook 2018-03-04 14:43:54 +03:00
adammsteele
ed2204ecba Celery config - json serialization by default (#1535)
* Use json serialization in celery by default

* Added myself to CONTRIBUTORS.rst
2018-03-01 14:25:33 +03:00
Andy Woods
1afa2b4487 Update urls.py (#1537)
Elsewise, named url 'detail' matches regex of 'update'
2018-03-01 14:21:09 +03:00
pyup.io bot
fbdc3c930f Update raven from 6.5.0 to 6.6.0 (#1539) 2018-03-01 14:20:25 +03:00
pyup.io bot
3084d9d5c1 Update django-redis from 4.8.0 to 4.9.0 (#1540) 2018-03-01 14:20:08 +03:00
pyup.io bot
a429a050c9 Update boto3 to 1.6.2 (#1538)
* Update boto3 from 1.6.1 to 1.6.2

* Update production.txt
2018-03-01 11:59:59 +01:00
pyup.io bot
496869164f Update boto3 from 1.5.36 to 1.6.1 (#1536) 2018-02-28 12:42:47 +01:00
Daniel Roy Greenfeld
ff92210573
Remove python_2_unicode_compatible
Python 3.6 or go home!
2018-02-27 17:03:02 -05:00
Bruno Alla
56bd2ca9a1
Merge pull request #1533 from browniebroke/bug-500-compressor
Link to unminified CSS if using django-compressor
2018-02-27 18:50:22 +00:00
pyup.io bot
48a6bf56a6 Update boto3 from 1.5.33 to 1.5.36 (#1531) 2018-02-26 16:35:01 +03:00
pyup.io bot
18509cb85b Update sphinx from 1.7.0 to 1.7.1 (#1532) 2018-02-26 16:34:51 +03:00
Bruno Alla
01e598df79 Link to unminified CSS if using django-compressor 2018-02-24 10:14:41 +00:00
Bruno Alla
575fe7e2f0 Merge branch 'master' into psycopg2-no-binary 2018-02-22 17:50:20 +00:00
pyup.io bot
b3a4d0ca14 Update django-extensions from 1.9.9 to 2.0.0 (#1526) 2018-02-22 18:03:06 +03:00
Bruno Alla
0164c330b3 Move to the python:alpine docker image (#1482)
* Move to the python:alpine docker image

- Switch the base images for local and production to alpine
- Install extra dependencies for psycopg2, Pillow and cffi
- Change shebang for shell scripts to use sh instead of bash

* Move to the python:alpine docker image

- Migrate group and user creation to Alpine syntax

* Move to the python:alpine docker image

- Remove `function` keyword, unsupported in shell

* Upgrade various places to the latest Python 3.6

* Test support for translations

* Add gettext library, required for translations support

* Add locale folder for translations support with README documenting it

* Update Changelog

* Tweak command to test translations support
2018-02-22 10:01:05 -05:00
pyup-bot
76334c086e Update boto3 from 1.5.31 to 1.5.33 2018-02-20 18:26:40 -05:00
Wan Liuyang
30dfbbd0ab Remove AWS S3 header bytes workaround 2018-02-20 16:04:16 +08:00
pyup.io bot
1452fe6ecd Update boto3 from 1.5.30 to 1.5.31 (#1517) 2018-02-18 19:20:27 +03:00
pyup.io bot
97f0ca6fa7 Update django from 2.0 to 2.0.2 (#1514) 2018-02-16 22:42:20 +01:00
Bruno Alla
642af90a37
Merge pull request #1421 from epicwhale/update-django-1.11.8-to-2.0
Upgrade Django to 2.0
2018-02-16 21:37:06 +00:00
Bruno Alla
3853094221
Merge pull request #1374 from svleeuwen/patch-1
Remove boto related settings that aren't used
2018-02-16 21:19:35 +00:00
pyup.io bot
68ae00e028 Update ipdb from 0.10.3 to 0.11 (#1511) 2018-02-16 18:16:23 +03:00
pyup.io bot
07d7482dbe Update boto3 from 1.5.27 to 1.5.30 (#1512) 2018-02-16 18:16:09 +03:00
Hashim Muqtadir
e8ca2dd8ea Add atomic requests setting to production.py (#1513)
Since config/production.py sets a new value for `DATABASES['default']`, the `DATABASES['default']['ATOMIC_REQUESTS'] = True` setting from base gets overridden. So it's probably a good idea to add it back.
2018-02-16 18:15:50 +03:00
Sander van Leeuwen
bef1bb856e
Add cache control via AWS_S3_OBJECT_PARAMETERS setting
Previously covered by AWS_HEADERS
2018-02-13 16:04:43 +01:00
Bruno Alla
d783367a86 Prevent pyup to Update Celery automatically 2018-02-13 14:37:40 +00:00
Bruno Alla
faabec8028
Merge pull request #1508 from pydanny/pyup-update-boto3-1.5.25-to-1.5.27
Update boto3 to 1.5.27
2018-02-13 14:35:08 +00:00
Bruno Alla
db42ec24ae
Merge pull request #1501 from pydanny/pyup-update-pytz-2017.3-to-2018.3
Update pytz to 2018.3
2018-02-13 14:34:49 +00:00
Bruno Alla
95f22eab4f
Merge pull request #1507 from pydanny/pyup-update-sphinx-1.6.7-to-1.7.0
Update sphinx to 1.7.0
2018-02-13 14:34:19 +00:00
pyup-bot
26e35a5c79 Update boto3 from 1.5.25 to 1.5.27 2018-02-12 21:26:27 -05:00
pyup-bot
c0bcf3d22e Update sphinx from 1.6.7 to 1.7.0 2018-02-12 11:00:24 -05:00
pyup-bot
7d291e8863 Update coverage from 4.5 to 4.5.1 2018-02-11 02:06:18 -05:00
pyup-bot
e7a47c6f9b Update coverage from 4.5 to 4.5.1 2018-02-11 02:06:17 -05:00
Bruno Alla
5e93bf954d Install psycopg2 with --no-binary option 2018-02-09 13:00:20 +00:00
pyup-bot
8941e4a81d Update pytz from 2017.3 to 2018.3 2018-02-09 02:46:23 -08:00
pyup-bot
dd756e432d Update boto3 from 1.5.24 to 1.5.25 2018-02-08 15:26:11 -08:00
pyup.io bot
7271934268 Update psycopg2 to 2.7.4 (#1497)
* Update psycopg2 from 2.7.3.2 to 2.7.4

* Update psycopg2 from 2.7.3.2 to 2.7.4

* Update psycopg2 from 2.7.3.2 to 2.7.4
2018-02-08 23:46:03 +03:00
pyup.io bot
4a81b8577d Update django-anymail from 1.3 to 1.4 (#1498) 2018-02-08 23:45:45 +03:00
David
fb83d8d8bd Add Debian 9 (Stretch) os dependencies (#1496) 2018-02-07 22:54:55 +03:00
Nikita Shupeyko
86e33e8714
Refactor *_gen_project hooks (#1490)
* Fix ./hooks/pre_gen_project.py asking user to select an option once only

+ prettify output

* Fix pre_gen hook not really exiting when it should

* Refactor & prettify ./hooks/post_gen_project.py

* Ensure same POSTGRES_USER is set across environments

+ get rid of env.example in favor of pre-generated .env.
2018-02-07 22:52:52 +03:00
Bruno Alla
93f11f6691
Merge branch 'master' into update-django-1.11.8-to-2.0 2018-02-07 14:59:20 +00:00
Bruno Alla
090c81731b
Merge pull request #1418 from reggieriser/django_python_upgrade_cleanups
Fixing leftovers from migration to Django 1.11 and Python 3.6.
2018-02-07 14:52:27 +00:00
Reggie Riser
5ffeb2bbdd
Update heroku runtime to 3.6.4 2018-02-07 08:45:56 -05:00
pyup.io bot
1148802655 Update boto3 from 1.5.23 to 1.5.24 (#1492) 2018-02-07 02:52:44 +03:00
pyup.io bot
e9511a1735 Update pytest-sugar from 0.9.0 to 0.9.1 (#1489) 2018-02-06 20:17:39 +03:00
Wan Liuyang
219b6ba817 Update pytest-sugar to 0.9.1 (#1486) 2018-02-06 20:16:24 +03:00
pyup-bot
fe39d9d4e4 Update boto3 from 1.5.22 to 1.5.23 2018-02-05 18:26:06 -08:00
Dayson Pais
d133026968
Update 0001_initial.py
Increase max length of User.last_name to 150 characters.
2018-02-05 23:29:36 +00:00
Bruno Alla
19547ac937 Bootstrap4 workarounds cleanup (#1470)
* Cleanup workaround CSS for Bootstrap 4 + DDT fix

* Cleanup custom Bootstrap 4 + crispy forms workaround
2018-02-05 07:10:49 -08:00
Dayson Pais
8edcb1cbfe
Merge branch 'master' into update-django-1.11.8-to-2.0 2018-02-05 10:24:58 +00:00
Dayson Pais
d4420e3dd6
Update base.txt 2018-02-05 10:23:10 +00:00
pyup-bot
179adb4f30 Update sphinx from 1.6.6 to 1.6.7 2018-02-04 16:35:06 -08:00
pyup-bot
a0abb0cc22 Update coverage from 4.4.2 to 4.5 2018-02-04 00:26:06 -08:00
pyup-bot
4f4c51d2bf Update coverage from 4.4.2 to 4.5 2018-02-04 00:26:04 -08:00
David
b24d0d0bd8 Fixes wsgi.py app_path to avoid deleting all /config occurrences. (#1467) 2018-02-03 00:01:28 +03:00
pyup.io bot
4b7a70d875 Update django-anymail from 1.2 to 1.3 (#1478) 2018-02-02 23:54:07 +03:00
pyup.io bot
b19b1e0f3c Update django-allauth from 0.34.0 to 0.35.0 (#1477) 2018-02-02 23:43:02 +03:00
pyup.io bot
cfbf49f36b Update opbeat from 3.6.0 to 3.6.1 (#1473) 2018-02-02 16:30:20 +03:00
pyup.io bot
fe7c4aa815 Update django from 1.11.9 to 1.11.10 (#1474) 2018-02-02 00:39:04 +03:00
pyup.io bot
8a4f3e036b Update boto3 from 1.5.20 to 1.5.22 (#1468) 2018-01-29 19:07:10 +03:00
pyup.io bot
8e68df4ac4 Update factory-boy to 2.10.0 (#1469)
* Update factory-boy from 2.9.2 to 2.10.0

* Update factory-boy from 2.9.2 to 2.10.0
2018-01-29 19:06:59 +03:00
Dayson Pais
9ca98e02d4
Update base.txt 2018-01-25 10:36:06 +01:00
pyup.io bot
2d041b6c4d Update raven from 6.4.0 to 6.5.0 (#1460) 2018-01-23 18:48:00 +03:00
pyup.io bot
ec6dd4fd02 Update boto3 from 1.5.14 to 1.5.20 (#1464) 2018-01-23 18:47:48 +03:00
Bruno Alla
af12f39996 Improve custom_bootstrap_compilation option (#1429)
* Add Bootstrap to package.json in case of custom_bootstrap_compilation

* Update JS task runners and base HTML to handle custom scss compilation

* Generate a vendors.js with custom bootstrap compilation + Gulp

* Update documentation accordingly

* Add missing if/endif in gulpfile

* Update to Bootstrap v4 final
2018-01-20 17:05:12 -08:00
Daniel Roy Greenfeld
793a46ba45 Removed expiramental elastic beanstalk support and bumped official Django version to 1.11.9 2018-01-15 12:33:51 -08:00
pyup.io bot
789bd97eff Update django-extensions from 1.9.8 to 1.9.9 (#1443) 2018-01-14 18:56:58 +03:00
pyup.io bot
b2025a8f72 Update boto3 from 1.5.12 to 1.5.14 (#1447) 2018-01-14 01:12:13 +03:00
pyup.io bot
a40121afd6 Update django-model-utils from 3.0.0 to 3.1.1 (#1442) 2018-01-10 18:36:17 +03:00
pyup.io bot
f3574df379 Update django-test-plus to 1.0.22 (#1441)
* Update django-test-plus from 1.0.21 to 1.0.22

* Update django-test-plus from 1.0.21 to 1.0.22
2018-01-10 18:31:00 +03:00
pyup.io bot
f5c0c2c759 Update boto3 from 1.5.11 to 1.5.12 (#1440) 2018-01-10 18:30:47 +03:00
pyup.io bot
0e9a8e0420 Update boto3 from 1.5.9 to 1.5.11 (#1439) 2018-01-09 22:16:09 +03:00
pyup.io bot
8bc20c14f0 Update sphinx from 1.6.5 to 1.6.6 (#1436) 2018-01-08 18:38:11 +03:00
pyup.io bot
c476ae6e83 Update boto3 from 1.5.8 to 1.5.9 (#1434) 2018-01-08 18:32:58 +03:00
pyup.io bot
a6baa1741c Update argon2-cffi from 16.3.0 to 18.1.0 (#1435) 2018-01-08 18:32:45 +03:00
pyup.io bot
f141ea655c Update pillow from 4.3.0 to 5.0.0 (#1424) 2018-01-05 19:29:16 +03:00
pyup.io bot
47bf26bd0e Update boto3 from 1.5.6 to 1.5.8 (#1427) 2018-01-05 19:25:01 +03:00
pyup.io bot
14868fad8b Update werkzeug from 0.13 to 0.14.1 (#1423) 2018-01-05 19:10:05 +03:00
Bruno Alla
0bf587c139 Fix duplicated and missing links in README (#1430) 2018-01-04 17:55:20 -08:00
Reggie Riser
f7bd7a5814 Fixing leftovers from migration to Django 1.11 and Python 3.6. 2018-01-03 08:44:54 -05:00
pyup-bot
5510c76147 Update django from 1.11.8 to 1.11.9 2018-01-01 21:57:56 -08:00
Dayson Pais
8bfe18b52a Update django from 1.11.8 to 2.0
- Refactor django.core.urlresolvers module import to django.urls. Resolves: The django.core.urlresolvers module is removed in favor of its new location, django.urls.

- Add an app namespace to urls in user app. Resolves: Support for setting a URL instance namespace without an application namespace is removed.
2017-12-30 12:16:19 +05:30
Reggie Riser
8725809f5e Fixed old Docker service name in PyCharm run configurations. (#1419) 2017-12-29 00:26:48 +03:00
Dan Shultz
35ab85b2a2 Add OS packages for Elastic Beanstalk deployments (#1277)
Fixes #1270
2017-12-28 08:28:08 -08:00
Audrey Roy Greenfeld
5395687f73 Upgraded to Django 1.11 to resolve 2017-12-28 08:19:19 -08:00
pyup.io bot
7797585a12 Update boto3 from 1.5.4 to 1.5.6 (#1414) 2017-12-28 15:36:12 +03:00
pyup.io bot
a48ef41e70 Update boto3 from 1.5.3 to 1.5.4 (#1412) 2017-12-21 04:13:21 +03:00
pyup.io bot
dfcf646ded Update boto3 from 1.5.2 to 1.5.3 (#1411) 2017-12-20 18:24:34 +03:00
pyup.io bot
cb7befdf52 Update boto3 from 1.5.1 to 1.5.2 (#1408) 2017-12-19 15:58:48 +03:00
pyup.io bot
d372ec05f9 Update django-test-plus to 1.0.21 (#1407)
* Update django-test-plus from 1.0.20 to 1.0.21

* Update django-test-plus from 1.0.20 to 1.0.21
2017-12-17 15:52:31 +03:00
pyup.io bot
5ba730bfa3 Update boto3 from 1.5.0 to 1.5.1 (#1406) 2017-12-17 15:44:51 +03:00
pyup.io bot
2fcaf55724 Update opbeat from 3.5.3 to 3.6.0 (#1404) 2017-12-15 16:12:20 +03:00
pyup.io bot
5e39a94621 Update boto3 from 1.4.8 to 1.5.0 (#1405) 2017-12-15 16:12:09 +03:00
Pierre Chiquet
d2dd265a99 Fix MediaRootS3BotoStorage: do not override existing files (#1367)
* Fix MediaRootS3BotoStorage: do not override existing files

see https://github.com/jschneier/django-storages/issues/50

* Update "other contributors"

* alphabetical order
2017-12-13 16:06:48 +03:00
pyup.io bot
0d1ced03ec Update collectfast from 0.5.2 to 0.6.0 (#1401) 2017-12-13 16:06:09 +03:00
pyup.io bot
c410a49ed1 Update werkzeug from 0.12.2 to 0.13 (#1403) 2017-12-13 16:05:54 +03:00
pyup.io bot
a4319f76bd Update boto3 from 1.4.7 to 1.4.8 (#1393) 2017-12-13 15:37:40 +03:00
Ivan Savov
8b1fd8ec44 added norecursedirs to pytest.ini (#1376)
This is to ensure running `pytest` in project root works when using Python 3.6 (otherwise tries to run python tests in `node-gyp` node module and fails with:

```
―――――――――――――――――――――――――――――――――――――――――――― ERROR collecting node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py ――――――――――――――――――――――――――――――――――――――――――――
../venv/lib/python3.6/site-packages/_pytest/python.py:395: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
../venv/lib/python3.6/site-packages/py/_path/local.py:662: in pyimport
    __import__(modname)
E     File "/Users/ivan/Projects/Minireference/ClassroomLinksProject/classroomlinks/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 37
E       print '%s:%s:%d:%s %s' % (mode.upper(), os.path.basename(ctx[0]),
E                            ^
E   SyntaxError: invalid syntax
```
2017-12-13 15:28:14 +03:00
pyup.io bot
480bc8ef25 Update django-extensions from 1.9.7 to 1.9.8 (#1398) 2017-12-13 15:25:55 +03:00
pyup.io bot
356a31806f Update raven from 6.3.0 to 6.4.0 (#1402) 2017-12-13 15:25:05 +03:00
pyup.io bot
baedec6e00 Update django-debug-toolbar from 1.9 to 1.9.1 (#1391) 2017-11-20 13:10:39 +03:00
pyup.io bot
d7ab9a9d33 Update django-debug-toolbar from 1.8 to 1.9 (#1387) 2017-11-13 23:16:42 +03:00
Bruno Alla
4f8cd89bb7 Set CONN_MAX_AGE to 60 seconds -- fixes #710 (#1382)
* Set CONN_MAX_AGE to 60 seconds -- fixes #710

Setting the value in the production config.

* Get CONN_MAX_AGE from the environment, default to 60 in .env

* Add test for CONN_MAX_AGE setting

* Remove duplication in default value & test cleanup

* Remove test for CONN_MAX_AGE value in settings
2017-11-13 23:08:47 +03:00
pyup.io bot
b00b402774 Update coverage to 4.4.2 (#1384)
* Update coverage from 4.4.1 to 4.4.2

* Update coverage from 4.4.1 to 4.4.2
2017-11-12 22:54:42 +03:00
pyup.io bot
006b8d200d Update django-anymail from 1.1 to 1.2 (#1383) 2017-11-03 01:30:40 +03:00
pyup.io bot
b2fbb36b9d Update django-extensions from 1.9.6 to 1.9.7 (#1381) 2017-10-31 20:04:21 +03:00
pyup-bot
0780d15ede Update django-test-plus from 1.0.19 to 1.0.20 2017-10-31 06:53:44 -07:00
pyup-bot
d40c5574a4 Update django-test-plus from 1.0.19 to 1.0.20 2017-10-31 06:53:43 -07:00
pyup.io bot
b718911012 Update raven from 6.2.1 to 6.3.0 (#1378) 2017-10-31 12:26:40 +03:00
pyup-bot
6716bb590d Update pytz from 2017.2 to 2017.3 2017-10-30 10:54:45 -07:00
pyup.io bot
6f16fa4e74 Update django-allauth from 0.33.0 to 0.34.0 (#1377) 2017-10-30 00:21:09 +03:00
pyup.io bot
f26a9fb9fe Update django-anymail from 1.0 to 1.1 (#1375) 2017-10-28 22:53:11 +03:00
Sander van Leeuwen
9661ecaf8f Remove boto related settings that aren't used
Since upgrade to boto3 in commit 12db5176d6 we don't need AWS_HEADERS anymore
2017-10-25 14:11:36 +02:00
Fábio C. Barrionuevo da Luz
c8e9ad46e6 Merge pull request #1372 from pydanny/pyup-update-psycopg2-2.7.3.1-to-2.7.3.2
Update psycopg2 to 2.7.3.2
2017-10-24 18:13:55 -03:00
pyup-bot
e01827c2cb Update django-test-plus from 1.0.18 to 1.0.19 2017-10-24 13:13:25 -07:00
pyup-bot
931e01876c Update django-test-plus from 1.0.18 to 1.0.19 2017-10-24 13:13:22 -07:00
pyup-bot
dc4833af94 Update psycopg2 from 2.7.3.1 to 2.7.3.2 2017-10-24 13:13:12 -07:00
pyup-bot
f71a561119 Update psycopg2 from 2.7.3.1 to 2.7.3.2 2017-10-24 13:13:10 -07:00
pyup-bot
531f19553b Update psycopg2 from 2.7.3.1 to 2.7.3.2 2017-10-24 13:13:08 -07:00
pyup.io bot
26300237c9 Update flake8 to 3.5.0 (#1370)
* Update flake8 from 3.4.1 to 3.5.0

* Update flake8 from 3.4.1 to 3.5.0
2017-10-24 21:13:10 +03:00
pyup.io bot
fc339eac2e Update sphinx from 1.6.4 to 1.6.5 (#1369) 2017-10-24 21:12:37 +03:00
pyup.io bot
e363d7c84a Update django-crispy-forms from 1.6.1 to 1.7.0 (#1366) 2017-10-17 19:21:22 +03:00
pyup.io bot
768f528bb9 Update django-extensions from 1.9.1 to 1.9.6 (#1364) 2017-10-16 19:17:23 +03:00
pyup.io bot
d5d7b33fde Update opbeat from 3.5.2 to 3.5.3 (#1359) 2017-10-16 18:42:13 +03:00
pyup.io bot
ba6756f107 Update pillow from 4.2.1 to 4.3.0 (#1352) 2017-10-16 18:36:56 +03:00
Chris Franklin
d0e5c4b3b6 Fix comments and silence PEP8 lambda warnings in config module. (#1357) 2017-10-12 20:36:44 +03:00
Delio Castillo
a6ec7056ba replaces dev.yml with local.yml in all PyCharm configuration files (#1348) 2017-09-30 15:47:17 +03:00
Charlie Smith
cda6878486 More inline docs for DATABASES variable (#1350)
* More inline docs for DATABASES variable

Use of database url is not part of Django, but comes from django-environ. Was initially confusing where feature came from, as link points to offical django docs.

* Contributors update
2017-09-30 15:18:55 +03:00
Fábio C. Barrionuevo da Luz
daa7613f37 Merge pull request #1345 from pydanny/pyup-update-sphinx-1.6.3-to-1.6.4
Update sphinx to 1.6.4
2017-09-26 08:24:31 -03:00
pyup-bot
f10d03e8a8 Update sphinx from 1.6.3 to 1.6.4 2017-09-26 01:08:44 -07:00
pyup-bot
ee0d52fd97 Update whitenoise from 3.3.0 to 3.3.1 2017-09-23 11:47:41 -07:00
pyup.io bot
4f727fac7c Update raven from 6.2.0 to 6.2.1 (#1341) 2017-09-22 21:47:16 +03:00
pyup.io bot
93c965d020 Update raven from 6.1.0 to 6.2.0 (#1340) 2017-09-22 18:02:08 +03:00
Wan Liuyang
ea5fb0efb6 Update EMAIL_BACKEND to "anymail.backends.espname.EmailBackend" to match anymail 1.0 (#1335) 2017-09-18 16:19:09 +03:00
Reggie Riser
874caee360 Removed references and old CSS specific to Bootstrap alpha. (#1333)
* Removed references and old CSS specific to Bootstrap alpha.

* Fixed Bootstrap alpha reference in README.
2017-09-18 10:44:16 +03:00
pyup.io bot
6537f181a5 Update django-anymail from 0.11.1 to 1.0 (#1334) 2017-09-18 10:42:08 +03:00
pyup.io bot
53699728ec Update django-extensions from 1.9.0 to 1.9.1 (#1330) 2017-09-14 11:18:59 +02:00
pyup.io bot
3b2eca0a38 Update wheel from 0.29.0 to 0.30.0 (#1329) 2017-09-11 09:55:29 +03:00
Nikita P. Shupeyko
d9e280ff5b Require django-coverage-plugin==1.5.0 for testing
Closes #1325.
2017-09-07 13:28:13 +03:00
Nikita P. Shupeyko
e5154f3f01 Prettify production postgres service Dockerfile entries
- group related commands together
- use COPY instead of ADD
2017-09-06 15:05:41 +03:00
Mark Liederbach
7cb8da9df6 Added Whitelist for /compose/local/ (#1322)
Something in the file above ignores the /compose/local directory, which is not an expected pattern. Barring a reasonable explanation or modification of the above rules, this whitelists that folder.
2017-09-06 09:33:35 +03:00
pyup.io bot
a42df4f1b2 Update django from 1.10.7 to 1.10.8 (#1320) 2017-09-05 22:52:58 +03:00
Arcuri Davide
433eef62e4 Update bootstrap to 4.0.0-beta (#1319)
* Update bootstrap to 4.0.0-beta

Update cdn link for js and css.
Fixed class names for navbar -https://medium.com/@lukaszholeczek/how-to-upgrade-bootstrap-4-alpha-6-to-bootstrap-4-beta-d43b4210f2a3

* Updated CONTRIBUTORS.rst

Updated CONTRIBUTORS.rst
2017-09-05 15:21:25 +03:00
Shupeyko Nikita
188ff966f8 Re-organize compose/ into environment-specific file groups (#1317)
* Re-organize compose/ into environment-specific file groups

Closes #1316.

* Commit missing files

That was weird: git failed to commit one specific folder previously
2017-09-05 14:39:20 +03:00
Shupeyko Nikita
ae9f951f45 Use Unix, not Windows environment variable format in Caddyfile (#1314)
Closes #1310.
2017-09-02 20:42:07 +03:00
Shupeyko Nikita
833a79ff3c Remove pycharm service from Docker setup (#1307)
* Remove pycharm service from Docker setup

* Update generated project docs
2017-08-31 19:25:58 +03:00
Reggie Riser
cc3ba8eadf Remove django-braces requirement (equivalent functionality already in Django 1.9+). (#1312) 2017-08-31 19:23:18 +03:00
pyup-bot
b70db90506 Update boto3 from 1.4.6 to 1.4.7 2017-08-29 14:18:03 -07:00
Reggie Riser
5f4e195007 Loading "static" tags instead of "staticfiles" for Django 1.10+ per https://docs.djangoproject.com/en/dev/releases/1.10/#django-contrib-staticfiles . (#1308) 2017-08-29 15:55:15 +03:00
Shupeyko Nikita
8c5c521b29 Revert "Configure pytest to exit after first num failures or errors (#1292)"
This reverts commit dec3305cd5.
2017-08-29 15:45:17 +03:00
Reggie Riser
0e1c00d3b3 Fixed typo in generated comment. (#1306) 2017-08-28 22:30:56 +03:00
Wan Liuyang
c50c6a73be Rename Dockerfile-dev to Dockerfile-local (#1305)
* Rename Dockerfile-dev to Dockerfile-local

* Add @sfdye to CONTRIBUTORS.rst
2017-08-28 11:00:59 +03:00
pyup.io bot
2f12425ea3 Update psycopg2 to 2.7.3.1 (#1303)
* Update psycopg2 from 2.7.3 to 2.7.3.1

* Update psycopg2 from 2.7.3 to 2.7.3.1

* Update psycopg2 from 2.7.3 to 2.7.3.1
2017-08-26 20:26:07 +03:00
Shupeyko Nikita
259534cd2b Update .gitignore's (#1294)
* Update Cookiecutter Django .gitignore

* Update generated project .gitignore
2017-08-24 16:59:08 +03:00
pyup-bot
a226184bf1 Update boto3 from 1.4.5 to 1.4.6 2017-08-23 10:17:14 -07:00
Fábio C. Barrionuevo da Luz
09ecda33b3 Merge pull request #1269 from browniebroke/patch-1
Update django-storages and Boto3 fixes #998 & #1192
2017-08-23 14:17:02 -03:00
Nikita P. Shupeyko
22709576a8 Add missing = to DJANGO_OPBEAT_* variable definitions 2017-08-23 13:12:50 +03:00
Shupeyko Nikita
dec3305cd5 Configure pytest to exit after first num failures or errors (#1292) 2017-08-23 13:58:10 +04:00
pyup.io bot
b40d63fffc Update django-extensions from 1.8.1 to 1.9.0 (#1291) 2017-08-23 13:48:26 +04:00
pyup.io bot
26f5659e56 Update django-environ from 0.4.3 to 0.4.4 (#1289) 2017-08-21 14:59:34 +03:00
pyup.io bot
796247a284 Update django-compressor from 2.1.1 to 2.2 (#1287) 2017-08-20 18:31:41 +03:00
pyup.io bot
c216de7387 Update django-allauth from 0.32.0 to 0.33.0 (#1288) 2017-08-20 11:47:40 +03:00
pyup-bot
19d9cb8afb Update pytest-sugar from 0.8.0 to 0.9.0 2017-08-15 02:07:38 -07:00
pyup-bot
dc4051eded Update pytest-sugar from 0.8.0 to 0.9.0 2017-08-15 02:07:36 -07:00
Jannis Gebauer
8801c50867 switch to caddy (#1282) 2017-08-11 11:16:15 +02:00
Shupeyko Nikita
035dc4d7ab Introduce development-time Celery services (#1257)
* Introduce development-time Celery services

Closes #1225.

* Re-order django and postgres services in production.yml

* Switch local service extension tactics

* Fix celery services inheriting ports from the django's
2017-08-11 09:13:30 +02:00
pyup.io bot
9754f0341f Update factory-boy to 2.9.2 (#1276)
* Update factory-boy from 2.9.1 to 2.9.2

* Update factory-boy from 2.9.1 to 2.9.2
2017-08-04 10:56:11 +03:00
Bruno Alla
4be48b7999 Use django-storages for media files if using WhiteNoise - fixes #1192
As per the discussion in #869, WhiteNoise is for serving static files
not for media files (files uploaded from the app by users).
For such thing, we still need `DEFAULT_FILE_STORAGE` to be set and
we use django-storages for that.
2017-08-02 20:10:49 +01:00
Bruno Alla
12db5176d6 Upgrade to boto3 fixes #998
- Boto3 is the replacement of boto, switch to the latest version
- Switch django-storages class to the one based on Boto3
- AWS_S3_CALLING_FORMAT isn't relevant anymore
2017-08-02 20:00:03 +01:00
pyup.io bot
83081a20b5 Update factory-boy to 2.9.1 (#1272)
* Update factory-boy from 2.9.0 to 2.9.1

* Update factory-boy from 2.9.0 to 2.9.1
2017-08-02 16:07:25 +03:00
Bruno Alla
9017432421 Update django-storages fixes #998
The -redux project is now the official project, update to the latest version
2017-08-01 22:34:09 +01:00
orzarchi
d36ff72c0f Fix gulpfile default task stuck on runServer (#1260) 2017-07-31 16:04:36 +03:00
pyup.io bot
041616db2c Update factory-boy to 2.9.0 (#1259)
* Update factory-boy from 2.8.1 to 2.9.0

* Update factory-boy from 2.8.1 to 2.9.0
2017-07-31 09:45:09 +03:00
pyup.io bot
993aac6b95 Update flake8 to 3.4.1 (#1254)
* Update flake8 from 3.4.0 to 3.4.1

* Update flake8 from 3.4.0 to 3.4.1
2017-07-29 05:57:27 +03:00
pyup.io bot
e7ae16eeb6 Update flake8 to 3.4.0 (#1253)
* Update flake8 from 3.3.0 to 3.4.0

* Update flake8 from 3.3.0 to 3.4.0
2017-07-28 11:16:01 +03:00
pyup.io bot
60e57117d6 Update psycopg2 to 2.7.3 (#1247)
* Update psycopg2 from 2.7.2 to 2.7.3

* Update psycopg2 from 2.7.2 to 2.7.3

* Update psycopg2 from 2.7.2 to 2.7.3
2017-07-26 09:20:21 +02:00
pyup.io bot
30a6151647 Update django-anymail from 0.11 to 0.11.1 (#1248) 2017-07-24 21:59:20 +03:00
pyup.io bot
34c969423f Update psycopg2 to 2.7.2 (#1246)
* Update psycopg2 from 2.7.1 to 2.7.2

* Update psycopg2 from 2.7.1 to 2.7.2

* Update psycopg2 from 2.7.1 to 2.7.2
2017-07-22 21:41:28 +03:00
Fábio C. Barrionuevo da Luz
488855d472 update heroku python runtime to 3.6.2 2017-07-20 09:30:25 -03:00
Shupeyko Nikita
e889316b11 Rename dev.yml to local.yml (#1227)
* Rename dev.yml to local.yml

Closes #1226.

* Rename docker-compose.yml to production.yml
2017-07-14 17:09:41 +03:00
pyup.io bot
38f53b5886 Update django-anymail from 0.10 to 0.11 (#1232) 2017-07-14 10:50:26 +03:00
Hamish Durkin
afb6b79fc3 Updated idea run configurations to work as explained in the docs (#1223) 2017-07-09 16:04:27 +03:00
pyup.io bot
db45132724 Update django-extensions from 1.8.0 to 1.8.1 (#1219) 2017-07-09 15:36:38 +03:00
pyup.io bot
57410882ae Update boto from 2.47.0 to 2.48.0 (#1220) 2017-07-09 15:36:22 +03:00
pyup.io bot
03648d3d01 Update pillow from 4.1.1 to 4.2.1 (#1221) 2017-07-09 15:36:07 +03:00
pyup.io bot
b3bf6f4f67 Update django-extensions from 1.7.9 to 1.8.0 (#1217) 2017-07-03 23:01:17 +03:00
pyup.io bot
ba4869feea Update sphinx from 1.6.2 to 1.6.3 (#1215) 2017-07-03 20:37:08 +03:00
pyup.io bot
44aff93933 Update django-storages-redux from 1.3.2 to 1.3.3 (#1210) 2017-06-27 23:44:33 +03:00
Charles Han
c63ba28e36 Change to process *.scss instead of only project.scss. (#1209) 2017-06-26 22:52:40 +03:00
shireenrao
1871abd7e9 Setting up new project with mailhog without docker breaks use of mailhog (#553)
* add mailhog container for local development

* update local settings to use mailhog container for docker

* remove whitespace

* remove whitespace

* fix whitespace formatting

* another try to fix whitespace

* fix block error due to whitespace

* only use mailhog in docker if docker and mailhog is chosen in setup wizard

* Remove warning at end if using docker and mailhog

* mailhog should work locally without docker

* remove unnecessary check for docker in dev docker-compose file

* Remove section within local development docs referencing docker

As this document is meant as a how to for developing locally, I removed the section which was added for using mailhog in docker. I will add that section to the developing-locally-docker.rst file. Also removed jinja template as it does not work in docs.

* Added a comment on mailhog for local docker development

* fix hyperlink to #smtp-backend

* Added a comment on mailhog for local docker development

* pull docs/developing-locally-docker.rst from upstream

* remove changes from dev.yml and add comment for local.py

* Sync with pydanny:master
2017-06-26 22:21:32 +03:00
pyup-bot
50a4beed7e Update django-test-plus from 1.0.17 to 1.0.18 2017-06-26 10:15:47 -07:00
pyup-bot
854683de3e Update django-test-plus from 1.0.17 to 1.0.18 2017-06-26 10:15:46 -07:00
Shupeyko Nikita
1f7be4eb57 Revert "Node.JS + docker-compose = ♥" (#1206)
* Revert "[Fix] #1173 Nginx SSL redirect loop (#1174)"

This reverts commit cabcc7b106.

* Revert "Fix Getting Up and Running Locally With Docker doc sphinx warnings (#1165)"

This reverts commit 83c8594203.

* Revert "Fix index.rst sphinx warnings (#1166)"

This reverts commit 51dd0b5e73.

* Revert "Pin mailhog Docker image to v1.0.0 (#1201)"

This reverts commit d9f870461b.

* Revert "Node.JS + docker-compose = ♥ (#1128)"

This reverts commit 4b06fe3958.
2017-06-21 23:12:22 +03:00
Ashish Patil
cabcc7b106 [Fix] #1173 Nginx SSL redirect loop (#1174)
Headers not being passed was causing nginx to redirect to SSL again & again.
2017-06-20 23:33:39 +03:00
Shupeyko Nikita
d9f870461b Pin mailhog Docker image to v1.0.0 (#1201) 2017-06-20 23:27:41 +03:00
Shupeyko Nikita
4b06fe3958 Node.JS + docker-compose = ♥ (#1128)
* Introduce static asset build infrastructure

* Enhance gulpfile.js

* Introduce node service

* BrowserSync debug-only support

* Remove newline before  BrowserSync debug-only support section

* FIx node Dockerfile package.json COPY

* Try fiixing node Dockerfile package.json COPY ones again

* Switch to `node:7-slim`

* Try switching to node:6

To account for possible node:7 docker-compose incompatibiltiy

* Revert "Try switching to node:6"

This reverts commit 62cc02df1a.

* Try switcging workdir to /app

* Try utilizing relative package.json path

* Resetting to the last version working locally with docker-compose 1.11.x

* Build upon the latest node:7.9-slim

* Stop dockerignoring package.json

* Fix typo

* Try a different package.json path

* Revert "Try a different package.json path"

This reverts commit f29f8500b8.

* Revert "Fix typo"

This reverts commit 02033729b5.

* Revert "Stop dockerignoring package.json"

This reverts commit 63c5491546.

* Upgrade docker-engine and docker-compose used by Travis CI

* Fix .travis.yml comments

* Inline docker-engine and docker-compose versions

* DEBUG: pwd

* Revert "DEBUG: pwd "

This reverts commit 6c2ed4321a.

* Try copying package.json to the same dir as node Dockerfile's

* Revert "Try copying package.json to the same dir as node Dockerfile's"

This reverts commit 24340a0783.

* Try out node:7.9

* Revert "Try out node:7.9"

This reverts commit 32286d33c2.

* Revert "Upgrade docker-engine and docker-compose used by Travis CI"

* Get rid of npm-check-updates

Reason: Reserved for the upcoming PR

* Get rid of npm-check

Reason: Reserved for the upcoming PR

* Get rid of 'standard' npm package

Reason: Reserved for the upcoming PR

* Clean up package.json

* Preserve package.json uncoditionally

Since we now have *unconditional* node.js integration, `package.json` must be out there whenever `node` service gets built

* Upgrade node service image to 7.10

* Document Node.js-Docker integration

* Fix gulpfile.js images region name

* Get rid of Gulp migrate task

* Document Gulp-Docker integration

* Introduce static asset build infrastructure

* Enhance gulpfile.js

* Introduce node service

* BrowserSync debug-only support

* Remove newline before  BrowserSync debug-only support section

* FIx node Dockerfile package.json COPY

* Try fiixing node Dockerfile package.json COPY ones again

* Switch to `node:7-slim`

* Try switching to node:6

To account for possible node:7 docker-compose incompatibiltiy

* Revert "Try switching to node:6"

This reverts commit 62cc02df1a.

* Try switcging workdir to /app

* Try utilizing relative package.json path

* Resetting to the last version working locally with docker-compose 1.11.x

* Build upon the latest node:7.9-slim

* Stop dockerignoring package.json

* Revert "Stop dockerignoring package.json"

This reverts commit 63c5491546.

* Fix typo

* Revert "Fix typo"

This reverts commit 02033729b5.

* Try a different package.json path

* Revert "Try a different package.json path"

This reverts commit f29f8500b8.

* Upgrade docker-engine and docker-compose used by Travis CI

* Fix .travis.yml comments

* Inline docker-engine and docker-compose versions

* DEBUG: pwd

* Revert "DEBUG: pwd "

This reverts commit 6c2ed4321a.

* Try copying package.json to the same dir as node Dockerfile's

* Revert "Try copying package.json to the same dir as node Dockerfile's"

This reverts commit 24340a0783.

* Try out node:7.9

* Revert "Try out node:7.9"

This reverts commit 32286d33c2.

* Revert "Upgrade docker-engine and docker-compose used by Travis CI"

* Get rid of npm-check-updates

Reason: Reserved for the upcoming PR

* Get rid of npm-check

Reason: Reserved for the upcoming PR

* Get rid of 'standard' npm package

Reason: Reserved for the upcoming PR

* Clean up package.json

* Preserve package.json uncoditionally

Since we now have *unconditional* node.js integration, `package.json` must be out there whenever `node` service gets built

* Upgrade node service image to 7.10

* Document Node.js-Docker integration

* Fix gulpfile.js images region name

* Get rid of Gulp migrate task

* Document Gulp-Docker integration

* Remove Gulp-Docker integraton not supported initialization message
2017-06-20 22:48:17 +03:00
Ben Warren
4aff5971d1 Automatic recompilation of Bootstrap with user-defined variables (#1181)
Allow for dynamic bootstrap compilation

Exclude sublime artifacts

Make custom bootstrap vars file

Add custom bootstrap compilation

Add cookiecutter option

Use the right name for the file

Add explanation to generated README

Add self to contributors

Remove sublime exclusion
2017-06-12 19:38:00 +03:00
John Franey
a286e32e2b Gulpfile child process spawn (#1074)
* Update gulpfile to use child_process.spawn

Use child_process.spawn in place of child_process exec to ensure that
console output is captured by Gulp.

Fixes #939

* Remove extra line
2017-06-07 18:46:20 +03:00
pyup.io bot
46af6b4760 Update gevent from 1.2.1 to 1.2.2 (#1186) 2017-06-07 18:26:25 +03:00