summaryrefslogtreecommitdiff
path: root/django/db/models/fields/__init__.py
AgeCommit message (Expand)Author
2025-01-14Fixed CVE-2024-56374 -- Mitigated potential DoS in IPv6 validation.Michael Manfre
2025-01-10Refs #36064 -- Added Model.has_db_default() to encapsulate NOT_PROVIDED checks.Simon Charette
2024-12-09Fixed #35982 -- Made DecimalField.get_db_prep_value() call DatabaseOperations...Tim Graham
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-11-11Fixed #35815 -- Made system check accept db_default literals when DatabaseFea...Tim Graham
2024-08-05Fixed #35638 -- Updated validate_constraints to consider db_default.David Sanders
2024-02-26Fixed #35246 -- Made Field.unique a cached property.Adam Johnson
2024-02-04Fixed #35149 -- Fixed crashes of db_default with unresolvable output field.Simon Charette
2023-12-30Fixed #29049 -- Added slicing notation to F expressions.Nick Pope
2023-11-24Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable().Nick Pope
2023-11-24Fixed #34818 -- Prevented GenericIPAddressField from mutating error messages.Parth Verma
2023-11-14Refs #34944 -- Propagated system checks for GeneratedField.output_field.Mariusz Felisiak
2023-10-23Fixed #34899 -- Added blank choice to forms' callable choices lazily.Nick Pope
2023-10-23Refs #34899 -- Extracted Field.flatchoices to flatten_choices helper function.Nick Pope
2023-10-22Fixed #34921 -- Fixed crash of warning for unbound naive datetimes.David Sanders
2023-09-14Fixed #24561 -- Added support for callables on model fields' choices.Natalia
2023-09-07Fixed #31300 -- Added GeneratedField model field.Jeremy Nauta
2023-08-30 Fixed #31262 -- Added support for mappings on model fields and ChoiceField's...Nick Pope
2023-05-24Fixed #34590 -- Reverted "Refs #33308 -- Improved adapting DecimalField value...David Sanders
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
2023-05-10Removed obsolete docstring from Field.db_returning.Lily Foote
2023-05-02Refs #31369 -- Improved hint message in NullBooleanField's deprecation warning.Paul Brown
2023-03-21Fixed #34388 -- Allowed using choice enumeration types directly on model and ...T. Franzel
2022-12-28Fixed #14094 -- Added support for unlimited CharField on PostgreSQL.Adrian Torres
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
2022-12-24Used allow_migrate_model() shortcut in Field._check_backend_specific_checks().Mariusz Felisiak
2022-12-15Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo
2022-12-01Refs #33308 -- Deprecated support for passing encoded JSON string literals to...Simon Charette
2022-11-07Refs #33374 -- Adjusted full match condition handling.Simon Charette
2022-11-07Refs #33308 -- Improved adapting DecimalField values to decimal.Florian Apolloner
2022-08-27Fixed #33954 -- Prevented models.DecimalField from accepting NaN, Inf, and -I...Mohamed Karam
2022-07-26Refs #27236 -- Reverted "Refs #27236 -- Refactored out DeprecationForHistoric...Mariusz Felisiak
2022-07-07Refs #27236 -- Refactored out DeprecationForHistoricalMigrationMixin.David Wobrock
2022-05-17Updated source translation catalogs.Mariusz Felisiak
2022-04-29Refs #33413 -- Added collation to CharField/TextField's db_parameters.David Wobrock
2022-04-06Fixed #33471 -- Made AlterField operation a noop when changing "choices".sarahboyce
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
2022-02-16Made Field.error_messages a cached property.Collin Anderson
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
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2022-01-14Fixed #33441 -- Restored immutability of models.Field.__hash__().Adam Johnson
2022-01-04Fixed #33406 -- Avoided creation of MaxLengthValidator(None) when resolving V...Keryn Knight
2021-12-21Fixed #33374 -- Fixed ExpressionWrapper annotations with full queryset.David Wobrock
2021-09-28Fixed #33033 -- Prevented models.DecimalField from accepting NaN values.Chinmoy Chakraborty
2021-09-23Fixed #33133 -- Fixed handling NullBooleanField in historical migrations.Mariusz Felisiak
2021-07-30Refs #32966 -- Refactored out DateTimeCheckMixin._check_if_value_fixed().Chris Jerdonek
2021-07-30Refs #32966 -- Simplified the _check_fix_default_value() implementations.Chris Jerdonek
2021-07-30Refs #32966 -- Added _to_naive() and _get_naive_now() for use in DateTimeChec...Chris Jerdonek
2021-07-30Fixed #32966 -- Fixed TimeField.check() crash for timezone-aware times in def...Chris Jerdonek