summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code
AgeCommit message (Collapse)Author
2021-12-07[4.0.x] Updated asgiref dependency for 4.0 release series.Mariusz Felisiak
Backport of 513441240f874dd0b6187c0c6aaa3e8eccd8ddbe from main
2021-11-22[4.0.x] Corrected isort example in coding style docs.Mariusz Felisiak
Follow up to e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85. Backport of 8b020f2e64f1cbf2b06205a389a13af6623f90ce from main
2021-11-22[4.0.x] Corrected "pip install" call in coding style docs.Paolo Melchiorre
Backport of dd528cb2cefc0db8b91a7ff0a2bc87305b976597 from main
2021-10-15[4.0.x] Refs #32074 -- Removed usage of deprecated asyncore and smtpd modules.Mariusz Felisiak
asyncore and smtpd modules were deprecated in Python 3.10. Backport of 569a33579c3cca5f801c544d9b52a34e3c779424 from main
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-06-03Refs #31356 -- Changed IRC links to the Libera.Chat webchat.Mariusz Felisiak
Follow up to 66491f08fe86629fa25977bb3dddda06959f65e7.
2021-06-03Fixed typos in docs.Jacob Walls
2021-06-02Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.Jacob Walls
2021-05-20Changed IRC references to Libera.Chat.Mariusz Felisiak
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-03-03Refs #32412 -- Adjusted Contributing Guide start page.GabbyPrecious
* 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>
2021-02-10Fixed #32355 -- Dropped support for Python 3.6 and 3.7Mariusz Felisiak
2021-01-09Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.hashlash
2020-12-23Refs #30367 -- Changed remaining "pip install" to "python -m pip install" in ↵Jon Dufresne
docs.
2020-12-23Fixed #32165 -- Added pre-commit hooksDavid Smith
* Added pre-commit hooks for isort, flake8 and eslint * Added documentation on how to install and use the tool
2020-12-20Updated isort URL to new location.Jon Dufresne
2020-11-13Changed docs and a code comment to use gender-neutral pronouns.Nick Pope
Follow up to e1b77238171cc96f4451a06fb4682e2378896238.
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-10-15Fixed #29988 -- Updated coding style to allow f-strings.Carlton Gibson
Thanks to Nick Pope for review.
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-24Refs #31493 -- Replaced var with const/let in documentation JS.Adam Johnson
2020-06-17Refs #30472 -- Simplified Argon2PasswordHasher with argon2-cffi 19.1+ API.Florian Apolloner
2020-05-14Fixed #31524 -- Removed minified static assets from the admin.Jon Dufresne
2020-05-13Used :envvar: role and .. envvar:: directive in various docs.Nick Pope
2020-05-04Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵Adam Johnson
comments.
2020-04-22Made compress.py script use the official google-closure-compiler release.Jon Dufresne
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-20Refs #22463 -- Replaced JSHint with ESLint in contributing docs.Jignesh Kotadiya
2020-04-14Fixed term warning on Sphinx 3.0.1+.Mariusz Felisiak
"term" role became case sensitive in Sphinx 3.0.1.
2020-04-01Prevented (and corrected) single backtick usage in docs.Adam Johnson
2020-02-03Fixed #31226 -- Fixed typo in ↵Vibhu Agarwal
docs/internals/contributing/writing-code/submitting-patches.txt.
2019-12-30Added guidelines for assertIs() usage.Mads Jensen
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-30Fixed #30927 -- Simplified an example of test for the deprecation warning ↵André Ericson
with assertWarnsMessage().
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