| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-29 | Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor ↵ | Paveł Tyślacki | |
| of Meta.constraints. | |||
| 2018-11-15 | Used auto-numbered lists in documentation. | François Freitag | |
| 2018-11-13 | Generalized check constraint docs for other constraints. | Simon Charette | |
| 2018-10-02 | Refs #11964 -- Changed CheckConstraint() signature to use keyword-only ↵ | Simon Charette | |
| arguments. Also renamed the `constraint` argument to `check` to better represent which part of the constraint the provided `Q` object represents. | |||
| 2018-09-13 | Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries. | Ramiro Morales | |
| Thanks Ramiro Morales for contributing to the patch. | |||
| 2018-07-10 | Fixed #11964 -- Added support for database check constraints. | Ian Foote | |
| 2018-05-17 | Removed versionadded/changed annotations for 2.0. | Tim Graham | |
| 2018-05-16 | Fixed #8936 -- Added a view permission and a read-only admin. | olivierdalang | |
| Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com> | |||
| 2017-09-22 | Removed versionadded/changed annotations for 1.11. | Tim Graham | |
| 2017-09-05 | Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and ↵ | François Freitag | |
| QuerySet.earliest()/latest(). | |||
| 2017-09-05 | Fixed #28335 -- Allowed query expressions in Meta.ordering. | Dima Kudosh | |
| 2017-08-08 | Fixed #28471 -- Clarified that Meta.indexes is preferred to index_together. | Tim Graham | |
| 2017-03-20 | Removed extra characters in docs header underlines. | Mariusz Felisiak | |
| 2017-01-17 | Removed versionadded/changed annotations for 1.10. | Tim Graham | |
| 2017-01-17 | Refs #26230 -- Removed support for model name query lookups when using ↵ | Tim Graham | |
| Meta.default_related_name. Per deprecation timeline. | |||
| 2016-08-05 | Fixed #26808 -- Added Meta.indexes for class-based indexes. | Akshesh | |
| * Added the index name to its deconstruction. * Added indexes to sqlite3.schema._remake_table() so that indexes aren't dropped when _remake_table() is called. Thanks timgraham & MarkusH for review and advice. | |||
| 2016-07-25 | Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs. | Tim Graham | |
| 2016-07-15 | Fixed inconsistent indentation in docs/ref/models/options.txt | Tim Graham | |
| 2016-05-20 | Removed versionadded/changed annotations for 1.9. | Tim Graham | |
| 2016-05-17 | Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify ↵ | Loïc Bistuer | |
| models' default and base managers. This deprecates use_for_related_fields. Old API: class CustomManager(models.Model): use_for_related_fields = True class Model(models.Model): custom_manager = CustomManager() New API: class Model(models.Model): custom_manager = CustomManager() class Meta: base_manager_name = 'custom_manager' Refs #20932, #25897. Thanks Carl Meyer for the guidance throughout this work. Thanks Tim Graham for writing the docs. | |||
| 2016-03-31 | Fixed #26438 -- Fixed multiple .objects typos in the docs. | Simon Charette | |
| Thanks Pablo Oubiña for the report. | |||
| 2016-03-03 | Fixed #26310 -- Documented that a queryset ordering must be specified to ↵ | Tim Graham | |
| ensure ordered results. Thanks Simon Charette for review. | |||
| 2016-02-27 | Fixed #26230 -- Made default_related_name affect related_query_name. | chenesan | |
| 2015-09-23 | Removed versionadded/changed annotations for 1.8. | Tim Graham | |
| 2015-09-03 | Documented a limitation of Options.required_db_features. | Tim Graham | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-06-19 | Fixed #24881 -- Clarified Meta.order_with_respect_to documentation | johannes.linke | |
| 2015-05-02 | Fixed #24693 -- Added label and label_lower property to Model._meta | Luis Del Giudice | |
| 2015-04-18 | Fixed #23879 -- Allowed model migration skip based on feature/vendor | Claude Paroz | |
| Thanks Carl Meyer for the report and review, and Tim Graham for the review. | |||
| 2015-02-10 | Disallowed importing concrete models without an application. | Aymeric Augustin | |
| Removed fragile algorithm to find which application a model belongs to. Fixed #21680, #21719. Refs #21794. | |||
| 2015-02-01 | Removed versionadded/changed notes for 1.7. | Tim Graham | |
| 2014-12-29 | Fixed a vesionadded directive. | Florian Apolloner | |
| 2014-11-03 | Fixed versionchanged indentation in docs/. | Berker Peksag | |
| 2014-06-18 | Fixed #22778 -- Added a model Meta option to define default_related_name. | Renaud Parent | |
| Thanks jorgecarleitao and mmardini for reviews. | |||
| 2014-03-24 | Removed versionadded/changed annotations for 1.6. | Tim Graham | |
| 2014-03-01 | Fixed #22172 -- Allowed index_together to be a single list (rather than list ↵ | Anubhav Joshi | |
| of lists).. Thanks EmilStenstrom for the suggestion. | |||
| 2014-02-09 | Removed double word in model docs | Claude Paroz | |
| 2014-02-08 | Fixed #16192 -- Made unique error messages in ModelForm customizable. | Loic Bistuer | |
| Overriding the error messages now works for both unique fields, unique_together and unique_for_date. This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS since previously only fields' errors were customizable. Refs #20199. Thanks leahculver for the suggestion. | |||
| 2014-01-01 | Updated release notes on app_label. | Aymeric Augustin | |
| Django determines automatically which application models belong to, provided the application can be imported without importing models. | |||
| 2013-11-21 | Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs. | Loic Bistuer | |
| 2013-10-23 | Fixed #13245: Explained Oracle's behavior w.r.t db_table | Shai Berger | |
| and how to prevent table-name truncation Thanks russellm & timo for discussion, and timo for review. | |||
| 2013-09-09 | Fixed spelling; refs #16895. | Tim Graham | |
| Thanks Panagiotis Issaris for the report. | |||
| 2013-09-09 | Fixed #16895 -- Warned about cost of QuerySet ordering | e0ne | |
| Thanks outofculture at gmail.com for the suggestion. | |||
| 2013-08-30 | Fixed typo in docs/ref/models/options.txt | Tim Graham | |
| 2013-08-30 | Fixed #20988 -- Added model meta option select_on_save | Anssi Kääriäinen | |
| The option can be used to force pre 1.6 style SELECT on save behaviour. This is needed in case the database returns zero updated rows even if there is a matching row in the DB. One such case is PostgreSQL update trigger that returns NULL. Reviewed by Tim Graham. Refs #16649 | |||
| 2013-08-19 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: docs/ref/django-admin.txt | |||
| 2013-08-19 | Removed versionadded/changed annotations for 1.5 | Tim Graham | |
| 2013-08-09 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/db/models/options.py | |||
| 2013-08-09 | Fixed #9057 -- Added default_permissions model meta option. | Tim Graham | |
| Thanks hvendelbo for the suggestion and koenb for the draft patch. | |||
| 2013-08-09 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/core/management/commands/flush.py django/core/management/commands/syncdb.py django/db/models/loading.py docs/internals/deprecation.txt docs/ref/django-admin.txt docs/releases/1.7.txt | |||
