Commit Graph

3445 Commits

Author SHA1 Message Date
browniebroke
0bd04dd5b3 Update pytest from 5.2.2 to 5.2.3 2019-11-15 11:00:33 +00:00
browniebroke
7a9f133fc3 Update pytest from 5.2.2 to 5.2.3 2019-11-15 11:00:32 +00:00
Bruno Alla
4d46fc316a
Update tox to 3.14.1 (#2313)
Update tox to 3.14.1
2019-11-14 09:53:53 +00:00
pyup-bot
ecb2b25994 Update tox from 3.14.0 to 3.14.1 2019-11-13 15:22:52 -08:00
Bruno Alla
71cd0c1780
Use pytest-django --reuse-db for faster tests (#2312)
Use pytest-django --reuse-db for faster tests
2019-11-13 23:22:43 +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
Bruno Alla
9a3391a6eb
Update image in README
closes #2282
2019-11-12 14:05:30 +00:00
Bruno Alla
e42dcb7166
Update django-debug-toolbar to 2.1 (#2310)
Update django-debug-toolbar to 2.1
2019-11-12 14:00:54 +00: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
Bruno Alla
cf9dc172d6
Update gunicorn to 20.0.0 (#2306)
Update gunicorn to 20.0.0
2019-11-10 22:15:54 +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
Bruno Alla
4a0e41ab98
Merge pull request #2302 from pydanny/pyup-update-pytest_cases-1.11.4-to-1.11.5
Update pytest_cases to 1.11.5
2019-11-06 15:41:59 +01:00
browniebroke
66c4f630a7 Update pytest_cases from 1.11.4 to 1.11.5 2019-11-06 12:00:34 +01:00
Bruno Alla
0715b64d02
Merge pull request #2300 from pydanny/pyup-update-pylint-django-2.0.11-to-2.0.12
Update pylint-django to 2.0.12
2019-11-05 13:33:03 +01: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
Bruno Alla
cbbbf351d0
Update CONTRIBUTORS.rst 2019-11-04 12:34:43 +00:00
Bruno Alla
3b0cf702b8
Merge pull request #2298 from Gilbishkosma/patch-1
Update deployment-with-docker.rst
2019-11-04 13:33:38 +01:00
Bruno Alla
8a7fea1dde
Added more settings to .editorconfig to run isort and have blac… (#2297)
Added more settings to .editorconfig to run isort and have black comp…
2019-11-04 13:33:03 +01:00
browniebroke
8f74fdb942 Update django from 2.2.6 to 2.2.7 2019-11-04 12:00:33 +01:00
Gilbishkosma
91c6f69a57
Update deployment-with-docker.rst 2019-11-03 19:51:56 +05:30
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
e2c291c421
Merge pull request #2292 from pydanny/pyup-update-black-19.3b0-to-19.10b0
Update black to 19.10b0
2019-10-29 08:44:01 +00:00
pyup-bot
bb6188d431 Update black from 19.3b0 to 19.10b0 2019-10-28 21:10:07 -05:00
Bruno Alla
8681a0c3fb
Update python-slugify to 4.0.0 (#2277)
Update python-slugify to 4.0.0
2019-10-28 15:22:11 +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
Bruno Alla
103ad8e0c5
Update collectfast to 1.3.1 (#2289)
Update collectfast to 1.3.1
2019-10-28 12:41:16 +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
fff4699974
Update pytest_cases to 1.11.4 (#2285)
Update pytest_cases to 1.11.4
2019-10-25 15:33:00 +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
Bruno Alla
2bec4bdc7f
Merge branch 'master' into pyup-update-pytest_cases-1.11.3-to-1.11.4 2019-10-25 13:44:58 +01:00
Bruno Alla
811bb88686
Merge pull request #2286 from pydanny/pyup-update-pytest-5.2.1-to-5.2.2
Update pytest to 5.2.2
2019-10-25 13:44:23 +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
bd61b79732 Update pytest from 5.2.1 to 5.2.2 2019-10-25 12:00:36 +01:00
browniebroke
662ca22205 Update pytest_cases from 1.11.3 to 1.11.4 2019-10-24 12:00:29 +01:00
Fábio C. Barrionuevo da Luz
735fd1331f
Merge pull request #2281 from pydanny/pyup-update-collectfast-1.2.0-to-1.3.0
Update collectfast to 1.3.0
2019-10-23 08:45:55 -03:00
browniebroke
3f0134a64b Update collectfast from 1.2.0 to 1.3.0 2019-10-23 12:00:31 +01:00