summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code/coding-style.txt
AgeCommit message (Collapse)Author
2023-03-30[4.2.x] Fixed #34446 -- Removed unneeded and incorrect example in coding ↵JiriKr
style docs. Backport of cfe563ffaf01d22343717176d96bfca0d05f60fb from main
2023-03-01[4.2.x] Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-28[4.2.x] Refs #34140 -- Corrected rst code-block and various formatting ↵Joseph Victor Zammit
issues in docs. Backport of ba755ca13123d2691a0926ddb64e5d0a2906a880 from main
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-05-17Removed versionadded/changed annotations for 4.0.Carlton Gibson
2022-02-21Refs #33476 -- Mentioned black in docs about pre-commit checks.Vaarun Sinha
2022-02-07Refs #33476 -- Adjusted docs and config files for Black.Carlton Gibson
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-11-22Corrected isort example in coding style docs.Mariusz Felisiak
Follow up to e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85.
2021-11-22Corrected "pip install" call in coding style docs.Paolo Melchiorre
2021-06-03Fixed typos in docs.Jacob Walls
2021-06-02Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.Jacob Walls
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-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-05-13Used :envvar: role and .. envvar:: directive in various docs.Nick Pope
2019-12-30Added guidelines for assertIs() usage.Mads Jensen
2019-05-15Changed tuple choices to list in docs.Jon Dufresne
2019-04-18Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, ↵Ramiro Morales
comments and hints.
2018-11-02Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.Mice Pápai
2018-09-26Refs #29784 -- Switched to https:// links where available.Jon Dufresne
2018-09-25Normalized spelling of "lowercase" and "lowercased".Jon Dufresne
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-07-18Removed duplicate words in docs.Maxime Lorant
.
2018-05-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-01-20Fixed #28343 -- Add an OS chooser for docs command line examples.Ramiro Morales
2017-06-26Refs #23919 -- Stopped inheriting from object to define new style classes.Mariusz Felisiak
Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f.
2017-06-12Fixed #27655 -- Added some guidelines to the coding style docs.Tim Graham
2017-03-21Fixed #27963 -- Removed unneeded docstring example in contributing docs.Mikkel Munch Mortensen
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-07-20Fixed #22446 -- Added tox.ini to automate pull request checks.Tobias McNulty
2016-07-13Fixed typo in docs/internals/contributing/writing-code/coding-style.txtJiang Haiyun
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
2016-01-11Fixed #25385 -- Allowed importing views.generic.View from views.View.Varun Sharma
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-23Fixed #25948 -- Added guidelines for SimpleTestCase.assertRaisesMessage() usage.Tim Graham
2015-08-22Recommend relative imports within Django components.Aymeric Augustin
django-developers thread: https://groups.google.com/d/msg/django-developers/11XvmVdx58w/sFrF0pL8LTgJ
2015-06-27Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig ↵Trey Hunner
and ESLint)
2015-02-22Fixed #24358 -- Corrected code-block directives for console sessions.Sean Wang
2015-02-06Fixed #23860 -- Documented import order convention.wrwrwr
2015-01-29Fixed #24175 -- Updated docstring convention.Tim Graham
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-04-23Various documentation typo/spelling fixesMarti Raudsepp
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand.
2014-02-22Fixed #22007 -- Fixed cbv docs - make imports consistentMartin Matusiak
Thanks to trac user kinjal.dixit for the report.