summaryrefslogtreecommitdiff
path: root/django/db/models/options.py
AgeCommit message (Expand)Author
2025-09-19Fixed #36369 -- Cleared additional cached properties in apps.clear_cache().Senthil Kumar
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-04-01Fixed typo in django/db/models/options.py.Clifford Gama
2025-01-14Refs #36075 -- Adjusted MTI handling of _non_pk_concrete_field_names.Simon Charette
2025-01-13Refs #36075 -- Used field in pk_fields over field.primary_key.Sarah Boyce
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-05-07Fixed #35407 -- Cached model's Options.swapped.Adam Johnson
2024-03-17Fixed #35301 -- Fixed Options._property_names for overriden properties.Adam Johnson
2024-03-09Fixed #35270 -- Optimized model's Options._property_names.Adam Johnson
2024-03-08Refs #30397 -- Optimized interpolation of index and constraint names a bit more.Nick Pope
2024-03-07Refs #30397 -- Optimized interpolation of index and constraint names a bit.Adam Johnson
2024-02-26Fixed #35241 -- Cached model's full parent list.Adam Johnson
2024-02-19Fixed #35232 -- Cached model's Options.verbose_name_raw.Adam Johnson
2023-09-18Refs #27236 -- Removed Meta.index_together per deprecation timeline.Mariusz Felisiak
2023-08-09Fixed #34586 -- Made QuerySet.create() raise ValueError for reverse one-to-ma...Mariana
2023-06-20Refs #34634 -- Fixed creating diamond-shaped MTI objects with ancestors inher...Akash Kumar Sen
2023-05-05Refs #27236 -- Made more cosmetic edits to Meta.index_together deprecation.Mariusz Felisiak
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
2022-09-29Refs #32095 -- Added model's Options._non_pk_concrete_field_names property.sarahboyce
2022-07-21Refs #27236 -- Made cosmetic edits to Meta.index_together deprecation.Mariusz Felisiak
2022-07-12Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.David Wobrock
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-06Fixed #33335 -- Made model validation ignore functional unique constraints.Hannes Ljungberg
2021-11-03Fixed #32996 -- Cached PathInfos on relations.Keryn Knight
2021-10-28Removed unused model's Options.installed.Mariusz Felisiak
2020-12-15Fixed #31007 -- Allowed specifying type of auto-created primary keys.Tom Forbes
2020-04-07Refs #27666 -- Ensured relationship consistency on delayed reloads.Simon Charette
2020-02-19Refs #31187 -- Added total_unique_constraints property to model's Options.Mariusz Felisiak
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2020-01-29Used model's Options.label/label_lower where applicable.Mariusz Felisiak
2020-01-16Fixed #29998 -- Allowed multiple OneToOneFields to the parent model.Mariusz Felisiak
2020-01-07Simplified model's Options.add_field() a bit.Taoup
2019-09-09Refs #29444 -- Allowed returning multiple fields from INSERT statements on Po...Johannes Hoppe
2019-07-08Fixed #30397 -- Added app_label/class interpolation for names of indexes and ...can
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
2019-01-17Refs #28750 -- Removed suppport for model Meta.manager_inheritance_from_future.Tim Graham
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
2018-01-12Fixed #28996 -- Simplified some boolean constructs and removed trivial contin...Дилян Палаузов
2017-10-31Fixed #28750 -- Allowed models to define Meta.manager_inheritance_from_future...Charlie Denton
2017-09-22Refs #27532 -- Removed Model._meta.has_auto_field per deprecation timeline.Tim Graham
2017-09-22Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) s...Nicolas Delaby
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-08-31Simplified model's Options._get_fields() a bit.Sergey Fedoseev
2017-08-23Removed unneeded iter() calls.Sergey Fedoseev
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-05Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has ...Adam Johnson
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne