summaryrefslogtreecommitdiff
path: root/tests/model_meta
AgeCommit message (Collapse)Author
2015-02-20[1.8.x] Fixed #24328 -- cleaned up Options._get_fields() implementationAnssi Kääriäinen
Backport of bad5f262bf4a17f157808ec1aa225ba9c94c1eee from master
2015-02-10[1.8.x] Fixed #24146 -- Allowed model._meta.get_field() to be used after ↵Daniel Pyrathon
apps.models_ready Backport of 19188826b4aa989475418f1ea9bf8631b04da1e8 from master
2015-02-09[1.8.x] Sorted imports with isort; refs #23860.Tim Graham
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
2015-02-03[1.8.x] Fixed #24266 -- Changed get_parent_list to return a list ordered by MRO.Simon Charette
Thanks to Aron Podrigal for the initial patch and Tim for the review. Backport of 65e005f8cd9c656e558e53e6c8b890cd0fcc9e74 from master
2015-02-03[1.8.x] Reverted "Fixed #24146 -- Fixed a missing fields regression in admin ↵Tim Graham
checks." This reverts commit e8171daf0cd7f0e070395cb4c850c17fea32f11d. A new solution is forthcoming. Backport of 0e489c19f1554ecfd9825daacfbac73be8ce723e from master
2015-01-16Fixed #24146 -- Fixed a missing fields regression in admin checks.Collin Anderson
This allows using get_field() early in the app loading process. Thanks to PirosB3 and Tim Graham.
2015-01-14Fixed incorrect error message in Options.get_fields()Collin Anderson
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2015-01-02Fixed #9104 -- Moved FieldDoesNotExist to core.exceptionsDaniel Pyrathon
2014-12-23Fixed #21414 -- Removed RelatedObject and deprecated Field.related.Anssi Kääriäinen
2014-12-08Fixed #23968 -- Replaced list comprehension with generators and dict ↵Jon Dufresne
comprehension
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-07-14Fixed #22994 -- regression with generic FK + admin list_viewAnssi Kääriäinen
The reason for the regression was that the GenericForeignKey field isn't something meta.get_field_by_name() should return. The reason is that a couple of places in Django expects get_field_by_name() to work this way. It could make sense to return GFKs from get_field_by_name(), but that should likely be done as part of meta refactoring or virtual fields refactoring patches. Thanks to glicerinu@gmail.com for the report and to Tim for working on the issue.
2014-06-19Refs #12663 -- Added tests for methods in db.models.options.Daniel Pyrathon
Thanks Russell Keith-Magee and Tim Graham for reviews.