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