Mariusz Felisiak
304d256674
Used :pypi: role in docs where appropriate.
2024-08-05 10:35:50 -03:00
Maryam Yusuf
7e00fee3bd
Fixed #35546 -- Emphasised accepted ticket requirement in contributing docs.
2024-07-29 15:12:43 +02:00
Maryam Yusuf
9d10c7ab33
Referenced joining the triage and review team as motivation to do PR reviews.
2024-07-29 14:46:10 +02:00
Sarah Boyce
2c024c9ac0
Added contributor guidelines for performance optimizations.
2024-07-25 09:25:25 +02:00
Mariusz Felisiak
df35cf578f
Updated asgiref dependency for 5.1 release series.
2024-07-24 08:21:07 +02:00
Andreu Vallbona
55a2e3136b
Replaced usage of "patch" with more precise terms in contributing docs.
2024-07-04 17:52:19 -03:00
Mariusz Felisiak
8719a6181e
Refs #22712 -- Corrected deprecation of "all" argument in django.contrib.staticfiles.finders.find().
...
Features deprecated in Django 5.2 should be removed in Django 6.1.
2024-06-28 08:39:55 -03:00
Claude Paroz
4686541691
Migrated setuptools configuration to pyproject.toml.
...
This branch migrates setuptools configuration from setup.py/setup.cfg to
pyproject.toml. In order to ensure that the generated binary files have
consistent casing (both the tarball and the wheel), setuptools version
is limited to ">=61.0.0,<69.3.0".
Configuration for flake8 was moved to a dedicated .flake8 file since
it cannot be configured via pyproject.toml.
Also, __pycache__ exclusion was removed from MANIFEST and the
extras/Makefile was replaced with a simpler build command.
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-06-24 15:34:43 -03:00
Natalia
3a748cd0f5
Advanced deprecation warnings for Django 5.2.
2024-05-22 15:44:07 -03:00
Adam Johnson
b9838c65ec
Fixed #35405 -- Converted get_cache_name into a cached property in FieldCacheMixin.
...
FieldCacheMixin is used by related fields to track their cached values.
This work migrates get_cache_name() to be a cached property to optimize
performance by reducing unnecessary function calls when working with
related fields, given that its value remains constant.
Co-authored-by: Simon Charette <charette.s@gmail.com>
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-05-21 16:19:29 -03:00
Ben Cail
0b33a3abc2
Fixed #35326 -- Added allow_overwrite parameter to FileSystemStorage.
2024-05-21 07:28:12 +02:00
nessita
1a36dce9c5
Updated docs for the Django release process.
2024-05-10 19:45:19 -03:00
Sarah Boyce
39828fa778
Added a high contrast mode to screenshot cases.
...
Thank you to Sarah Abderemane and Nick Pope for the reviews.
2024-05-02 13:18:58 +02:00
nessita
e359f05b49
Updated docs for updating translations in docs/internals/howto-release-django.txt.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-04-10 18:13:59 -03:00
Ryan Cheley
f2c3524959
Fixed #14831 -- Extended template style guide in docs.
2024-03-11 11:05:54 +01:00
Mariusz Felisiak
177e649396
Fixed broken links and redirects in docs.
2024-03-06 08:50:21 +01:00
Simon Charette
daf7d482db
Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.
...
Once the deprecation period ends CheckConstraint.check() can become the
documented method that performs system checks for BaseConstraint
subclasses.
2024-03-01 07:15:32 +01:00
Salvo Polizzi
6e1ece7ed5
Fixed #35090 -- Deprecated registering URL converters with the same name.
2024-02-23 15:54:49 +01:00
Koo
aaffbabd58
Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
2024-02-08 05:57:59 +01:00
shivaramkumar
a47de0d6cd
Changed severity levels to list in security policy docs.
2024-02-05 05:36:32 +01:00
Mariusz Felisiak
305757aec1
Applied Black's 2024 stable style.
...
https://github.com/psf/black/releases/tag/24.1.0
2024-01-26 12:45:07 +01:00
David Smith
f4c5973464
Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.
...
Reflecting a change in the underlying GDAL library (since GDAL 2.1)
using coord_dim to set a geometries dimensions is deprecated in favor
of set_3d().
2024-01-23 05:37:59 +01:00
Mark Walker
4eb4ab4122
Reorganized the Contributing to Django docs.
...
This work follows a comprehensive review conducted during the DjangoCon US 2023
sprints. Changes include:
- Updated the title of the main page for better alignment with the content.
- Removed emojis to enhance accessibility and avoid cultural specificity.
- Improved the layout and navigation of contributing documentation.
- Unified sections for communication channels and community links.
- Grouped resources according to the Diátaxis systematic approach.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Daniele Procida <daniele@vurt.org>
2024-01-11 22:25:27 -03:00
Salvo Polizzi
3915d4c70d
Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave().
2024-01-02 08:42:33 +01:00
Nick Pope
07f9f9960c
Deprecated django.contrib.gis.geoip2.GeoIP2.open().
2023-12-05 08:21:19 +01:00
Nick Pope
b925fefd7d
Deprecated django.contrib.gis.geoip2.GeoIP2.coords().
...
The `ordering` argument is undocumented and of limited use, so this is
effectively the same as `GeoIP2.lon_lat()`.
2023-12-01 08:38:42 +01:00
Mark Walker
6ab0f8ae52
Improved structure of Contributing Guide start page.
2023-11-30 08:33:29 +01:00
Mariusz Felisiak
a4931cd75a
Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting.
...
This allows early adoption of the new default "https".
2023-11-28 20:04:21 +01:00
Nick Pope
5e28cd3f2c
Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable().
2023-11-24 12:06:29 +01:00
Akash Kumar Sen
40b3975e7d
Fixed #34462 -- Made admin log actions in bulk.
...
This also deprecates ModelAdmin.log_deletion() and
LogEntryManager.log_action().
2023-10-31 18:06:44 +01:00
Lance Goyke
a680ac7d77
Restructured writing documentation contributing guide.
...
This trims and clearly delineates the how to guide from the subsequent
explanation with additional subheadings.
These changes have been discussed with Daniele Procida
at the DjangoCon US 2023 sprints.
2023-10-21 09:44:36 +02:00
David Smith
1611577102
Corrected note about using accents in writing documentation contributing guide.
2023-10-21 09:39:16 +02:00
Sarah Boyce
be56c982c0
Refs #34043 -- Added --screenshots option to runtests.py and selenium tests.
2023-10-18 06:14:40 +02:00
sarahboyce
e083f3082c
Refs #34043 -- Clarified how to test UI changes.
2023-10-09 10:45:29 +02:00
Mariusz Felisiak
7c1cf585e8
Added updating the Django release process on Trac to release steps.
2023-09-19 08:21:22 -03:00
Mariusz Felisiak
caf87b4d42
Advanced deprecation warnings for Django 5.1.
2023-09-18 22:12:40 +02:00
Mariusz Felisiak
295467c04a
Removed versionadded/changed annotations for 4.2.
...
This also removes remaining versionadded/changed annotations for older
versions.
2023-09-18 22:12:40 +02:00
Clément Escolano
cac94dd8aa
Fixed #33651 -- Added support for prefetching GenericForeignKey.
...
Co-authored-by: revanthgss <revanthgss@almabase.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-09-18 13:23:21 +02:00
Nick Pope
e15174983a
Renamed ChoicesMeta to ChoicesType.
...
This also uses enum.EnumType for Python 3.11+ as Python 3.11 renamed
EnumMeta to EnumType. While the former is still available as an alias
of the latter for now, let's prefer the canonical name for this.
Check out https://docs.python.org/3/library/enum.html#enum.EnumType
2023-09-12 11:51:01 +02:00
Jacob Walls
6c6606aa01
Refs #34233 -- Bumped minimum supported version of docutils to 0.19.
2023-09-04 22:30:45 +02:00
Sulabh Katila
9a9620dda6
Fixed #34768 -- Avoided initializing colorama on non-Windows platforms.
2023-09-01 11:26:29 +02:00
David Smith
27b399d235
Fixed #34547 -- Deprecated DatabaseOperations.field_cast_sql().
2023-08-31 06:18:07 +02:00
Nick Pope
500e01073a
Fixed #31262 -- Added support for mappings on model fields and ChoiceField's choices.
2023-08-30 22:57:40 -03:00
Jingbei Li
9946f0b0d9
Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle.
2023-08-10 10:11:53 +02:00
Mariusz Felisiak
370a021780
Refs #34233 -- Bumped minimum supported version of Selenium to 4.8.0.
...
This bumps minimum supported versions of selenium to the first release
to support Python 3.10.
2023-06-26 14:22:54 +02:00
Mariusz Felisiak
650ce96782
Refs #34391 -- Updated asgiref dependency for 5.0 release series.
2023-06-23 21:52:04 +02:00
nessita
26aedbbc08
Updated PyPI setup access in prerequisites checklist of release how-to.
2023-06-13 21:02:56 -03:00
Mariusz Felisiak
06881341d4
Refs #30220 -- Bumped required version of Selenium to 3.8.0.
...
Follow up to 8d010f3986
.
2023-06-13 10:12:52 +02:00
devilsautumn
094b0bea2c
Fixed #34609 -- Deprecated calling format_html() without arguments.
2023-06-06 14:14:57 +02:00
Mohit Singh Sinsniwal
89f10a80d7
Fixed #34579 -- Added Django Forum to contributing guides.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-05-22 20:21:18 +02:00