Mariusz Felisiak
99532fdadf
[3.2.x] Corrected isort example in coding style docs.
...
Follow up to e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85.
Backport of 8b020f2e64f1cbf2b06205a389a13af6623f90ce from main
2021-11-22 12:35:12 +01:00
Paolo Melchiorre
31539a63f2
[3.2.x] Corrected "pip install" call in coding style docs.
...
Backport of dd528cb2cefc0db8b91a7ff0a2bc87305b976597 from main
2021-11-22 09:57:44 +01:00
Mariusz Felisiak
dbcd81841f
[3.2.x] Refs #32074 -- Removed usage of deprecated asyncore and smtpd modules.
...
asyncore and smtpd modules were deprecated in Python 3.10.
Backport of 569a33579c3cca5f801c544d9b52a34e3c779424 from main.
2021-10-15 10:04:06 +02:00
Mariusz Felisiak
b6e3290383
[3.2.x] Refs #31356 -- Changed IRC links to the Libera.Chat webchat.
...
Follow up to 66491f08fe86629fa25977bb3dddda06959f65e7.
Backport of f10c52afabac25f2c10aca26d32dbe7e0e46082e from main.
2021-06-03 12:08:56 +02:00
Jacob Walls
f07d686974
[3.2.x] Fixed typos in docs.
...
Backport of f0d0d29f03448ba4f9cfef03f0605cc7e557c2c4 from main
2021-06-03 07:50:31 +02:00
Jacob Walls
bf08609501
[3.2.x] Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
...
Backport of 1443b5e9aca56e249d751d6486c402b3679d3c38 from main
2021-06-02 08:15:41 +02:00
Mariusz Felisiak
143d2a4bbf
[3.2.x] Changed IRC references to Libera.Chat.
...
Backport of 66491f08fe86629fa25977bb3dddda06959f65e7 from main.
2021-05-20 12:25:07 +02:00
Nick Pope
cb91b2d9e3
[3.2.x] Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.
...
Backport of c156e369553c75a30c78b8ed54a57b1101865105 from main
2021-05-17 12:16:09 +02:00
Hasan Ramezani
ce130749d5
[3.2.x] Refs #32178 -- Doc'd DatabaseFeatures.django_test_skips/django_test_expected_failures in contributing guide.
...
Backport of ca34db46504fca1221e27f6ab13734dfdfde6e1c from main
2021-04-29 20:56:08 +02:00
Carlton Gibson
011b92ce98
[3.2.x] Updated asgiref dependency for 3.2 release series.
...
Backport of 5aea50e57f6c1bd725db36a0664e21b2be91b591 from main
2021-04-06 10:43:40 +02:00
Mariusz Felisiak
b129728834
[3.2.x] Updated link to Selenium webdrivers.
...
Backport of 98d3fd61026457a435ef5b7afce6b6e64e9f241d from main
2021-03-09 11:30:56 +01:00
Markus Holtermann
e078747290
[3.2.x] Updated Git branch "master" to "main".
...
This change follows a long discussion on django-develops:
https://groups.google.com/g/django-developers/c/tctDuKUGosc/
Backport of d9a266d657f66b8c4fa068408002a4e3709ee669 from main
2021-03-09 09:33:50 +01:00
GabbyPrecious
cafabd0859
[3.2.x] Refs #32412 -- Adjusted Contributing Guide start page.
...
* Added headers emphasising Work on the framework vs Join the community
sections, to raise the visibility of the community section.
* Added callouts to three main code/docs/translations areas, linking to
respective start pages.
* Moved some Writing code specific content from the start page to the
Writing code index. This clarifies the start page and adds content to the
previously empty Writing code index.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of ead9085f0872d5c1c670502df6dc0f69b422eaad from master
2021-03-03 15:41:10 +01:00
hashlash
4794a0e35f
Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
2021-01-09 20:18:00 +01:00
Jon Dufresne
429d089d0a
Refs #30367 -- Changed remaining "pip install" to "python -m pip install" in docs.
2020-12-23 17:21:25 +01:00
David Smith
3bca95cca2
Fixed #32165 -- Added pre-commit hooks
...
* Added pre-commit hooks for isort, flake8 and eslint
* Added documentation on how to install and use the tool
2020-12-23 11:14:48 +01:00
Jon Dufresne
28d998a41c
Updated isort URL to new location.
2020-12-20 11:00:28 +01:00
Nick Pope
477c800443
Changed docs and a code comment to use gender-neutral pronouns.
...
Follow up to e1b77238171cc96f4451a06fb4682e2378896238.
2020-11-13 22:26:30 +01:00
MinchinWeb
f1585c54d0
Fixed #31216 -- Added support for colorama terminal colors on Windows.
...
Modern setups on Windows support terminal colors.
The colorama library may also be used, as an
alternative to the ANSICON library.
2020-11-11 14:27:10 +01:00
Carlton Gibson
411cc0ae18
Fixed #29988 -- Updated coding style to allow f-strings.
...
Thanks to Nick Pope for review.
2020-10-15 10:09:34 +02:00
David Smith
e74b3d724e
Bumped minimum isort version to 5.1.0.
...
Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
2020-07-30 10:58:59 +02:00
Mariusz Felisiak
3d16496037
Bumped asgiref requirement to >= 3.2.10.
...
Forwardported 3.1 release notes from 474f65406fe2e568482d83db2ea94c0409afa039.
2020-07-17 21:15:21 +02:00
Adam Johnson
2afa61e7d9
Refs #31493 -- Replaced var with const/let in documentation JS.
2020-06-24 12:20:57 +02:00
Florian Apolloner
faad809e09
Refs #30472 -- Simplified Argon2PasswordHasher with argon2-cffi 19.1+ API.
2020-06-17 08:10:41 +02:00
Jon Dufresne
81ffedaacc
Fixed #31524 -- Removed minified static assets from the admin.
2020-05-14 16:07:56 +02:00
Nick Pope
fbdb032de2
Used :envvar: role and .. envvar:: directive in various docs.
2020-05-13 09:14:40 +02:00
Adam Johnson
d17b380653
Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments.
2020-05-04 12:10:47 +02:00
Jon Dufresne
f48a1990fb
Made compress.py script use the official google-closure-compiler release.
...
The script previously used the PyPI package closure, which is slightly
out of date and not maintained by Google.
The JavaScript contribution docs and the compress.py script now runs the
google-closure-compiler package in the recommended way. Google's
documentation on usage and installation can be found at:
https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler#usage
This also makes the usage simpler as the package now runs through npm's
npx utility, which will automatically install google-closure-compiler to
a per-user cache.
2020-04-22 16:19:27 +02:00
Jignesh Kotadiya
7b4bd2a82c
Refs #22463 -- Replaced JSHint with ESLint in contributing docs.
2020-04-20 10:53:00 +02:00
Mariusz Felisiak
cc70a0343e
Fixed term warning on Sphinx 3.0.1+.
...
"term" role became case sensitive in Sphinx 3.0.1.
2020-04-14 09:32:09 +02:00
Adam Johnson
1cdfe8d912
Prevented (and corrected) single backtick usage in docs.
2020-04-01 14:55:11 +02:00
Vibhu Agarwal
6f9ecc23f6
Fixed #31226 -- Fixed typo in docs/internals/contributing/writing-code/submitting-patches.txt.
2020-02-03 20:16:06 +01:00
Mads Jensen
ea44d86ed4
Added guidelines for assertIs() usage.
2019-12-30 11:25:18 +01:00
Carlton Gibson
36453526d3
Pinned asgiref version.
2019-11-20 14:57:08 +01:00
Stephen Rauch
4b6db766ba
Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
...
Support for sqlparse < 0.2.2 was broken in
782d85b6dfa191e67c0f1d572641d8236c79174c because is_whitespace property
was added in sqlparse 0.2.2.
2019-11-06 08:45:43 +01:00
André Ericson
54a7b02112
Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage().
2019-10-30 13:35:36 +01:00
Mariusz Felisiak
2a54ce72f9
Added tblib to the list of test suite dependencies in documentation.
2019-10-23 15:26:04 +02:00
Mariusz Felisiak
e10ebf43e1
Bumped minimum Pillow version to 6.2.0 in test requirements.
...
Pillow < 6.2.0 is vulnerable to CVE-2019-16865.
2019-10-23 15:07:06 +02:00
Kees Hink
5d9cf79baf
Fixed #27086 -- Doc'd fix for test suite hang on macOS.
2019-10-09 15:46:44 +02:00
Carlton Gibson
06e087c3de
Added note to check Python version in unit tests troubleshooting section.
...
At DjangoCon US 2019 sprints, a number of contributors hit problems with an outdated Python.
2019-10-09 15:46:44 +02:00
Carlton Gibson
b39c39e82a
Corrected section indentation in unit tests contributor docs.
2019-10-09 15:46:44 +02:00
Katherine Michel
f7eb9fb676
Refs #30010 -- Doc'd running tests with django-docker-box.
2019-10-02 13:43:47 +02:00
Tobias Kunze
4a954cfd11
Fixed #30573 -- Rephrased documentation to avoid words that minimise the 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-06 13:27:46 +02:00
Min ho Kim
3c6a4fdb6d
Changed example git clone URLs to use HTTPS.
2019-09-04 08:11:22 +02:00
Andrew Godwin
a415ce70be
Fixed #30451 -- Added ASGI handler and coroutine-safety.
...
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-06-20 12:29:43 +02:00
Hasan Ramezani
e2de49ec2e
Fixed #28520 -- Added --start-at/--start-after options to runtests.py.
2019-05-31 07:01:12 +02:00
Johannes Hoppe
8d010f3986
Fixed #30220 -- Added support for headless mode in selenium tests.
2019-05-17 08:14:54 +02:00
Jon Dufresne
97d3321e89
Changed tuple choices to list in docs.
2019-05-15 14:31:42 +02:00
Ramiro Morales
25b5eea8cd
Fixed #30387 -- Enhanced docs CLI examples in Unit tests and Install Django on Windows.
...
Follow up to 37c17846ad6b02c6dca72e8087a279cca04a0c27.
2019-04-23 09:32:55 +02:00
Ramiro Morales
aed89adad5
Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints.
2019-04-18 14:41:15 +02:00