| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-18 | Refs #33924 -- Removed BaseGeometryWidget.map_height/map_width attributes ↵ | Mariusz Felisiak | |
| per deprecation timeline. | |||
| 2023-09-18 | Refs #33872 -- Removed ↵ | Mariusz Felisiak | |
| django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. Per deprecation timeline. | |||
| 2023-09-18 | Refs #33691 -- Removed insecure password hashers per deprecation timeline. | Mariusz Felisiak | |
| 2023-09-18 | Refs #33864 -- Removed length_is template filter per deprecation timeline. | Mariusz Felisiak | |
| 2023-09-18 | Refs #27236 -- Removed Meta.index_together per deprecation timeline. | Mariusz Felisiak | |
| 2023-09-18 | Refs #33764 -- Removed BaseUserManager.make_random_password() per ↵ | Mariusz Felisiak | |
| deprecation timeline. | |||
| 2023-09-18 | Removed versionadded/changed annotations for 4.2. | Mariusz Felisiak | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2023-09-18 | Added stub release notes for 5.1. | Mariusz Felisiak | |
| 2023-09-18 | Bumped version; main is now 5.1 pre-alpha. | Mariusz Felisiak | |
| 2023-09-18 | Made cosmetic edits to docs/releases/5.0.txt. | Natalia | |
| 2023-09-18 | Removed empty sections from 5.0 release notes. | Natalia | |
| 2023-09-18 | Updated man page for Django 5.0 alpha. | Natalia | |
| 2023-09-18 | Fixed #33651 -- Added support for prefetching GenericForeignKey. | Clément Escolano | |
| Co-authored-by: revanthgss <revanthgss@almabase.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2023-09-18 | Fixed #34560 -- Updated admin's jQuery to 3.7.1. | Mariusz Felisiak | |
| 2023-09-16 | Fixed #31558 -- Added support for boolean attribute on properties in ↵ | Ryanwalker277 | |
| ModelAdmin.list_display. | |||
| 2023-09-16 | Fixed #34842 -- Fixed ModelAdmin.readonly_fields crash with GeneratedFields. | Paolo Melchiorre | |
| 2023-09-16 | Fixed typo in docs/howto/custom-file-storage.txt. | therealrinku | |
| 2023-09-16 | Corrected QuerySet.prefetch_related() note about GenericRelation(). | Mariusz Felisiak | |
| GenericRelation is a reverse generic relationship so it's always homogeneous. Mentioning this as a restriction is confusing. | |||
| 2023-09-15 | Fixed #34832 -- Made admin's header content render in <header> tag. | Sarah Abderemane | |
| Header tag was changed to <header> get the landmark banner for accessibility. | |||
| 2023-09-14 | Fixed #34838 -- Corrected output_field of resolved columns for GeneratedFields. | Paolo Melchiorre | |
| Thanks Simon Charette for the implementation idea. | |||
| 2023-09-14 | Fixed #34834 -- Added role="search" to the admin changelist search form. | Lemuel Sta Ana | |
| 2023-09-14 | Refs #15619 -- Removed deprecated annotation about logging out via GET requests. | Mariusz Felisiak | |
| Follow up to 6c57c08ae52f86df843fccb5a3c1c6c45a10a26f. | |||
| 2023-09-14 | Fixed #24561 -- Added support for callables on model fields' choices. | Natalia | |
| 2023-09-14 | Doc'd HttpResponse.cookies. | Michele Mazzucchi | |
| 2023-09-14 | Fixed #34833 -- Made admin's main content render in <main> tag. | Sarah Abderemane | |
| 2023-09-13 | Fixed #34822 -- Added support for serializing functions decorated with ↵ | Nick Pope | |
| functools.lru_cache in migrations. `@functools.cache` and `@functools.lru_cache` return an object of type `functools._lru_cache_wrapper` which prevented the migrations serializer from working. Simply using the existing `FunctionTypeSerializer` for this additional type works as expected. | |||
| 2023-09-13 | Refs #34822 -- Added tests for serializing decorated functions in migrations. | Nick Pope | |
| Functions decorated with a decorator that is properly wrapped, e.g. by using `@functools.wraps`, are already supported. | |||
| 2023-09-13 | Corrected logger in ↵ | Mariusz Felisiak | |
| CsrfViewMiddlewareTestMixin.test_ensures_csrf_cookie_no_logging(). Logger was changed in 55fec16aafed30a9daa06d6ecdf8ca3ad361279e. | |||
| 2023-09-13 | Refs #31949 -- Made make_middleware_decorator to work with async functions. | Ben Lomax | |
| 2023-09-13 | Added more tests for decorators. | Ben Lomax | |
| 2023-09-13 | Modernized enumeration helpers on Python 3.11+. | Nick Pope | |
| - use @enum.property https://docs.python.org/3/library/enum.html#enum.property - use @enum.nonmember Using @property on an enum class does not yield the expected result. do_not_call_in_templates attribute works because a @property instance is truthy. We can make this a literal True value as expected by using @enum.nonmember in Python 3.11+. https://docs.python.org/3/library/enum.html#enum.nonmember - used enum.IntEnum/StrEnum Python 3.11+ has ReprEnum which uses int.__str__() and str.__str__() for __str__() in the `IntEnum` and `StrEnum` subclasses. We can emulate that for Python < 3.11. https://docs.python.org/3/library/enum.html#enum.ReprEnum https://docs.python.org/3/library/enum.html#enum.IntEnum https://docs.python.org/3/library/enum.html#enum.StrEnum | |||
| 2023-09-13 | Refs #34233 -- Used @staticmethod with TextChoices._generate_next_value_(). | Nick Pope | |
| Now that Python 3.10 is the minimum supported version, we can decorate _generate_next_value_() with @staticmethod. It wasn't possible before as Python < 3.10 does not support calling static methods direct from the class body. https://docs.python.org/3/library/enum.html#enum.Enum._generate_next_value_ | |||
| 2023-09-12 | Renamed ChoicesMeta to ChoicesType. | Nick Pope | |
| 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 | Removed ChoicesMeta.__contains__() for Python 3.12+. | Nick Pope | |
| In Python 3.12 it is possible to check containment using member values, not just the members themselves. https://docs.python.org/3/library/enum.html#enum.EnumType.__contains__ | |||
| 2023-09-11 | Fixed #34752 -- Fixed handling ASGI http.disconnect for streaming responses. | Sam Toyer | |
| 2023-09-11 | Fixed #34821 -- Prevented DEFAULT_FILE_STORAGE/STATICFILES_STORAGE settings ↵ | Mariusz Felisiak | |
| from mutating the main STORAGES. Regression in 6b965c600054f970bdf94017ecf2e0e6e0a4326b. | |||
| 2023-09-11 | Fixed #34824 -- Prevented unnecessary AlterField when ↵ | donghao | |
| ForeignObject.from_fields/to_fields is not a tuple. | |||
| 2023-09-11 | Fixed #34642 -- Added File.open() support for *args and **kwargs. | Yves Weissig | |
| 2023-09-10 | Bumped versions in pre-commit and npm configurations. | Mariusz Felisiak | |
| 2023-09-09 | Fixed #34820 -- Fixed migrations crash when changing a ForeignObject field. | donghao | |
| 2023-09-08 | Fixed #34816 -- Fixed GenericForeignKey crash when checking cache for ↵ | Oguzhan Akan | |
| primary keys with different types. | |||
| 2023-09-07 | Fixed #34810 -- Measured test coverage on django-admin commands. | Jacob Walls | |
| 2023-09-07 | Fixed #34791 -- Fixed incorrect Prefetch()'s cache for singly related objects. | Maxime Toussaint | |
| Changed the cache name used for singly related objects to be the to_attr parameter passed to a Prefetch object. This fixes issues with checking if values have already been fetched in cases where the Field already has some prefetched value, but not for the same model attr. | |||
| 2023-09-07 | Fixed #31300 -- Added GeneratedField model field. | Jeremy Nauta | |
| Thanks Adam Johnson and Paolo Melchiorre for reviews. Co-Authored-By: Lily Foote <code@lilyf.org> Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2023-09-05 | Fixed #34730 -- Added ↵ | François Freitag | |
| django.contrib.messages.test.MessagesTestMixin.assertMessages(). | |||
| 2023-09-05 | Bumped checkout version in Github actions configuration. | Mariusz Felisiak | |
| 2023-09-04 | Refs #34233 -- Bumped minimum supported version of docutils to 0.19. | Jacob Walls | |
| 2023-09-04 | Added tell-k to AUTHORS. | tell-k | |
| 2023-09-04 | Fixed #34814 -- Confirmed support for PostGIS 3.4. | Nick Pope | |
| 2023-09-04 | Refs #31262 -- Renamed ChoiceIterator to BaseChoiceIterator. | Nick Pope | |
| Some third-party applications, e.g. `django-filter`, already define their own `ChoiceIterator`, so renaming this `BaseChoiceIterator` will be a better fit and avoid any potential confusion. See https://github.com/carltongibson/django-filter/pull/1607. | |||
