Commit Graph

1141 Commits

Author SHA1 Message Date
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
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
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
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