summaryrefslogtreecommitdiff
path: root/django/db/models/options.py
AgeCommit message (Expand)Author
2023-02-01[4.2.x] Refs #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
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-05-27Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/ge...Alex
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-02-11Fixed #27742 -- Reverted "Fixed #24607 -- Serialized natural keys in multi-ta...Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Removed Manager.use_for_related_fields and Meta.manager_inheritance_from_future.Tim Graham
2017-01-17Refs #26320 -- Removed implicit OneToOnField parent_link per deprecation time...Tim Graham
2017-01-17Refs #16508 -- Removed virtual aliases of "private fields".Tim Graham
2016-12-15Optimized Model instantiation a bit.Adam Chainz
2016-12-07Fixed #17002 -- Allowed using a ManyToManyField through model that inherits a...InvalidInterrupt
2016-11-25Fixed #27532 -- Deprecated Model._meta.has_auto_fieldAdam Chainz
2016-10-12Fixed #24607 -- Serialized natural keys in multi-table inheritance models.João Sampaio