summaryrefslogtreecommitdiff
path: root/django/contrib/sites
AgeCommit message (Collapse)Author
2026-04-19Fixed #37024 -- Made SITE_ID system check validation use Site._meta.pk.Tim Graham
2025-09-18Updated translations from Transifex.Natalia
Forwardport of 2a2936c3e6444a0f37156773ca405cedaf28dea7 from stable/5.2.x.
2024-10-07Updated translations from Transifex.nessita
Forwardport of e245f62d0052d7b15fa2a60926d59eeeefee9be1 from stable/5.1.x.
2024-08-07Updated translations from Transifex.Natalia
Forwardport of 380c6e6ddd7890fbe65826873579ef6e3af0c07d from stable/5.1.x.
2024-01-29Updated translations from Transifex.Claude Paroz
Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x.
2023-12-04Updated translations from Transifex.Natalia
Forwardport of 8e1b820fa10d16664beb5d1ca2f5671891da1704 from stable/5.0.x.
2023-04-03Updated translations from Transifex.Mariusz Felisiak
Forwardport of fa687719321329f4e5017b7fc1b8cadae3c63c32 from stable/4.2.x.
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
2023-01-18Refs #34233 -- Used types.NoneType.Nick Pope
Available since Python 3.10 where it was reintroduced.
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-12-06Updated translations from Transifex.Mariusz Felisiak
This also fixes related i18n tests. Forwardport of 4c5215ab036aa8fda9cd0148fd034f4d8f7d69d1 from stable/4.0.x Co-authored-by: Claude Paroz <claude@2xlibre.net>
2021-11-12Moved RequestSite import to the toplevel.Claude Paroz
2021-07-15Fixed #32910 -- Unified different plural equations for the same language in ↵Mariusz Felisiak
contrib apps. Thanks Martin Svoboda for the report and initial patch.
2020-12-15Fixed #31007 -- Allowed specifying type of auto-created primary keys.Tom Forbes
This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField.
2020-08-01Updated translations from TransifexClaude Paroz
2020-07-24Fixed #31802 -- Added system check for non-integer SITE_ID.Parth Verma
2020-07-21Fixed #31180 -- Configured applications automatically.Aymeric Augustin
2020-01-31Updated translations from Transifex.Claude Paroz
Forwardport of ca4f87027e2ed32cb272a1823c9ce4104b02d830 from stable/3.0.x
2019-12-02Updated contrib translations from Transifex.Carlton Gibson
Forward port of 4afa0e5d2a7c723a11d06434706810224651c50b from stable/3.0.x
2019-11-05Fixed #30947 -- Changed tuples to lists in model Meta options in ↵Jon Dufresne
django.contrib modules. The Django "Model Meta options" docs provide examples and generally point the reader to use lists for the unique_together and ordering options. Follow our own advice for contrib models. More generally, lists should be used for homogeneous sequences of arbitrary lengths of which both unique_together and ordering are.
2019-06-29Updated translations from TransifexClaude Paroz
Forward port of b3f7262e6e5d9e68e37fb21af89ed6656291faa3 from stable/2.2.x
2019-04-01Updated contrib translations from Transifex.Claude Paroz
Forwardport of 7090cbf54202c21978a93bdb76ba006780e1865c from 2.2.x.
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-10-09Fixed #29829 -- Remove unused code in ↵Hasan Ramezani
contrib.sites.models._simple_domain_name_validator().
2018-08-01Updated contrib translations from TransifexClaude Paroz
Forwardport of cbf7e7dc52db2834e95817bbbfb56a693c83b84f from stable/2.1.x.
2018-02-28Updated translations from TransifexClaude Paroz
Forward port of 2126e9317e80a7d4c42e033dd33d7e3378fdfcf8 from stable/2.0.x.
2017-12-01Updated contrib translations from TransifexClaude Paroz
Forward port of 765e6de92493aa638555408172597e054e813ce3 from stable/2.0.x
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-04-04Updated contrib translations from TransifexClaude Paroz
Forward port of 290b2849f7ded5d21aa54c16171d806f7c14dfc9 from stable/1.11.x
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-29Fixed #27181 -- Allowed contrib.sites to match domains with trailing ".".Anton Samarchyan
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-09-30Updated translations from TransifexClaude Paroz
Forward port of bfc9c727256ded75dd9438167d6549b195361a0d from stable/1.10.x.
2016-08-01Pulled contrib translations from TransifexClaude Paroz
Forward port f19cadd39170637a96cc0abea9e7f3b2ee9ce924 from stable/1.10.x
2016-06-29Added Upper/Lower Sorbian translationsClaude Paroz
2016-06-07Fixed #26716 -- Made CurrentSiteMiddleware compatible with new-style middleware.Brett Haydon
2016-05-15Fixed #24075 -- Used post-migration models in contrib apps receivers.Simon Charette
Thanks Markus and Tim for the review.
2016-04-30Pulled translations from TransifexClaude Paroz
2016-04-30Removed deprecated Chinese language codes for contrib appsClaude Paroz
Refs #18149.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-03-19Refs #24227 -- Replaced M2M isinstance checks by field.many_to_manyClaude Paroz
Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2015-12-31Updated translations from TransifexClaude Paroz
Forward port of 59f3590ca7 from stable/1.9.x.