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