summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code/unit-tests.txt
AgeCommit message (Collapse)Author
2023-03-01[4.2.x] Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-03-01[4.2.x] Refs #34140 -- Added configurations to run blacken-docs linter and ↵Mariusz Felisiak
adjusted docs. This adds: - GitHub actions, - tox configuration, - pre-commit hook, and - makefile rules to run blacken-docs linter. Co-authored-by: David Smith <smithdc@gmail.com> Backport of 6015bab80e28aef2669f6fac53423aa65f70cb08 from main
2023-02-10[4.2.x] Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews. Backport of 534ac4829764f317cf2fbc4a18354fcc998c1425 from main.
2023-01-05Refs #32355 -- Bumped minimum supported versions of 3rd-party packages.Mariusz Felisiak
This bumps minimum supported versions of 3rd-party packages to the first releases to support Python 3.8.
2022-12-20Refs #34118 -- Adopted asgiref coroutine detection shims.Carlton Gibson
Thanks to Mariusz Felisiak for review.
2022-10-24Fixed #34111 -- Made test runner with --debug-sql format SQL queries.Giebisch
2022-08-09Fixed #33842 -- Used :source: role for links to repo files on GitHub.Ramil Yanbulatov
2022-06-27Fixed #33422 -- Improved docs about isolating apps.Christopher Adams
2022-06-16Updated asgiref dependency for 4.1 release series.Carlton Gibson
2022-05-31Fixed docs build with sphinxcontrib-spelling 7.5.0+.Mariusz Felisiak
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked.
2022-03-29Updated various links to HTTPS and new locations.Mariusz Felisiak
2022-03-10Changed some words to use inline markup.David Smith
2022-02-07Refs #33476 -- Adjusted docs and config files for Black.Carlton Gibson
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-12-07Updated asgiref dependency for 4.0 release series.Mariusz Felisiak
2021-10-15Refs #32074 -- Removed usage of deprecated asyncore and smtpd modules.Mariusz Felisiak
asyncore and smtpd modules were deprecated in Python 3.10.
2021-09-14Fixed #33012 -- Added Redis cache backend.Daniyal
Thanks Carlton Gibson, Chris Jerdonek, David Smith, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews and mentoring this Google Summer of Code 2021 project.
2021-08-17Fixed #32964 -- Corrected 'setup'/'set up' usage in docs.Andrew Northall
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2021-07-08Fixed #24522 -- Added a --shuffle option to DiscoverRunner.Chris Jerdonek
2021-05-17Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.Nick Pope
2021-04-29Refs #32178 -- Doc'd ↵Hasan Ramezani
DatabaseFeatures.django_test_skips/django_test_expected_failures in contributing guide.
2021-04-06Updated asgiref dependency for 3.2 release series.Carlton Gibson
2021-03-09Updated link to Selenium webdrivers.Mariusz Felisiak
2021-03-09Updated Git branch "master" to "main".Markus Holtermann
This change follows a long discussion on django-develops: https://groups.google.com/g/django-developers/c/tctDuKUGosc/
2021-02-10Fixed #32355 -- Dropped support for Python 3.6 and 3.7Mariusz Felisiak
2020-11-11Fixed #31216 -- Added support for colorama terminal colors on Windows.MinchinWeb
Modern setups on Windows support terminal colors. The colorama library may also be used, as an alternative to the ANSICON library.
2020-07-30Bumped minimum isort version to 5.1.0.David Smith
Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable.
2020-07-17Bumped asgiref requirement to >= 3.2.10.Mariusz Felisiak
Forwardported 3.1 release notes from 474f65406fe2e568482d83db2ea94c0409afa039.
2020-06-17Refs #30472 -- Simplified Argon2PasswordHasher with argon2-cffi 19.1+ API.Florian Apolloner
2020-05-13Used :envvar: role and .. envvar:: directive in various docs.Nick Pope
2020-04-01Prevented (and corrected) single backtick usage in docs.Adam Johnson
2019-11-20Pinned asgiref version.Carlton Gibson
2019-11-06Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.Stephen Rauch
Support for sqlparse < 0.2.2 was broken in 782d85b6dfa191e67c0f1d572641d8236c79174c because is_whitespace property was added in sqlparse 0.2.2.
2019-10-23Added tblib to the list of test suite dependencies in documentation.Mariusz Felisiak
2019-10-23Bumped minimum Pillow version to 6.2.0 in test requirements.Mariusz Felisiak
Pillow < 6.2.0 is vulnerable to CVE-2019-16865.
2019-10-09Fixed #27086 -- Doc'd fix for test suite hang on macOS.Kees Hink
2019-10-09Added note to check Python version in unit tests troubleshooting section.Carlton Gibson
At DjangoCon US 2019 sprints, a number of contributors hit problems with an outdated Python.
2019-10-09Corrected section indentation in unit tests contributor docs.Carlton Gibson
2019-10-02Refs #30010 -- Doc'd running tests with django-docker-box.Katherine Michel
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-09-04Changed example git clone URLs to use HTTPS.Min ho Kim
2019-06-20Fixed #30451 -- Added ASGI handler and coroutine-safety.Andrew Godwin
This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django.
2019-05-31Fixed #28520 -- Added --start-at/--start-after options to runtests.py.Hasan Ramezani
2019-05-17Fixed #30220 -- Added support for headless mode in selenium tests.Johannes Hoppe
2019-04-23Fixed #30387 -- Enhanced docs CLI examples in Unit tests and Install Django ↵Ramiro Morales
on Windows. Follow up to 37c17846ad6b02c6dca72e8087a279cca04a0c27.
2019-04-18Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, ↵Ramiro Morales
comments and hints.
2019-01-30Fixed #30116 -- Dropped support for Python 3.5.Tim Graham
2019-01-13Fixed #27685 -- Added watchman support to the autoreloader.Tom Forbes
Removed support for pyinotify (refs #9722).
2018-11-09Fixed #29934 -- Added sqlparse as a require dependency.Tim Graham
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney