Commit Graph

17 Commits (23511d04b2ba42bfb23fb813ae9a70d4b4ea9d04)

Author SHA1 Message Date
Vasanth 23511d04b2
Fix #208 - do not assume active DB when not specified (#210).
* Do not assume active DB when not specified

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add db routing test case

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* one more test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use assertRaises instead of expectedFailure

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Catch a general exception for  django < 2.0

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use `with` instead of callable

* skip test for django < 2.0

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove repeated test

Co-authored-by: vaz <vmohan@lenbox.io>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-26 09:53:33 +01:00
Vasanth 946b9c98e0
Respect 'using' in signals (#200) 2022-11-18 13:07:59 +01:00
Fabio Caccamo 03e5cbdf9e Fix `pt-BR` language code. 2022-10-17 14:42:07 +02:00
Fabio Caccamo d48c8cc182 Fix `pt_br` language code. 2022-10-17 14:37:08 +02:00
Fabio Caccamo ead930d3b4 Replace `update-translations.sh` script with `makemessages --all`. 2022-10-17 14:24:35 +02:00
Fabio Caccamo f4617ac126 Update `tests.settings.LANGUAGES` list. 2022-10-17 14:21:44 +02:00
Fabio Caccamo 5e58c35b08 Run `pre-commit`. 2022-10-14 17:31:57 +02:00
Fabio Caccamo e64614274c Reformatted code with Black. 2022-02-08 18:58:59 +01:00
Fabio Caccamo cc4c379465 Fixed missing comma in tests settings `MIDDLEWARE_CLASSES`. #145 2022-01-04 18:16:53 +01:00
Fabio Caccamo 70ed000f08 Replaced travis with GitHub action workflow. #142 2021-12-07 10:43:46 +01:00
Fabio Caccamo 11f7440273 Improved tests coverage. 2020-10-21 12:27:14 +02:00
Fabio Caccamo 28dfc70474 Fixed tests warning (admin.W411). 2020-09-15 09:47:01 +02:00
Fabio Caccamo 8bffc8f82a Added postgres to tox and travis and included django 2.2. 2019-02-06 16:23:22 +01:00
Fabio Caccamo ab0afff087 Added automatic check of 3rd party installed apps according to django version. 2018-10-11 12:11:32 +02:00
Fabio Caccamo 6a1897b95c Updated tests, tox and travis to support django 2.1 and python 3.7. 2018-10-10 15:48:43 +02:00
Fabio Caccamo d1c912e875 Added django 1.11 support 2017-04-14 13:13:12 +02:00
Fabio Caccamo aa18e19625 Added tests 2017-03-29 16:21:41 +02:00