Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #18012 -- Made proxy and concrete model reverse ↵ | Simon Charette | 2015-10-12 | 3 | -3/+99 |
| | | | | | | | fields consistent. Prior to this change proxy models reverse fields didn't include the reverse fields pointing to their concrete model. | ||||
* | Fixed #18012 -- Propagated reverse foreign keys from ↵ | Simon Charette | 2015-10-12 | 2 | -1/+7 |
| | | | | | | proxy to concrete models. Thanks to Anssi for the review. | ||||
* | Refs #12663 -- Removed deprecated Model._meta methods. | Tim Graham | 2015-09-24 | 1 | -166/+0 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -7/+6 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 1 | -14/+17 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -8/+8 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 2 | -5/+5 |
| | |||||
* | Fixed #24156 -- Fixed inherited related name of ↵ | Andriy Sokolovskiy | 2015-05-13 | 2 | -11/+11 |
| | | | | | | | ManyToManyField. Fixed situation when parent abstract model declares related_name='+', and child models had an invalid queryset. | ||||
* | Fixed #24693 -- Added label and label_lower property to ↵ | Luis Del Giudice | 2015-05-02 | 2 | -0/+23 |
| | | | | Model._meta | ||||
* | Fixed #24505 -- Fixed clash with hidden m2m fields. | Marco Fucci | 2015-03-27 | 2 | -11/+11 |
| | | | | | Added support for multiple m2m fields with the same 'to' model and with related_name set to '+'. | ||||
* | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | 2015-03-25 | 1 | -1/+1 |
| | | | | | | | | Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | ||||
* | Fixed #24328 -- cleaned up Options._get_fields() ↵ | Anssi Kääriäinen | 2015-02-20 | 1 | -8/+5 |
| | | | | implementation | ||||
* | Fixed #24146 -- Allowed model._meta.get_field() to be ↵ | Daniel Pyrathon | 2015-02-11 | 1 | -2/+2 |
| | | | | used after apps.models_ready | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 4 | -12/+13 |
| | |||||
* | Fixed #24266 -- Changed get_parent_list to return a list ↵ | Simon Charette | 2015-02-03 | 2 | -1/+29 |
| | | | | | | ordered by MRO. Thanks to Aron Podrigal for the initial patch and Tim for the review. | ||||
* | Reverted "Fixed #24146 -- Fixed a missing fields ↵ | Tim Graham | 2015-02-03 | 1 | -11/+5 |
| | | | | | | | | regression in admin checks." This reverts commit e8171daf0cd7f0e070395cb4c850c17fea32f11d. A new solution is forthcoming. | ||||
* | Fixed #24146 -- Fixed a missing fields regression in ↵ | Collin Anderson | 2015-01-16 | 1 | -5/+11 |
| | | | | | | | | admin checks. This allows using get_field() early in the app loading process. Thanks to PirosB3 and Tim Graham. | ||||
* | Fixed incorrect error message in Options.get_fields() | Collin Anderson | 2015-01-14 | 1 | -3/+3 |
| | |||||
* | Fixed #12663 -- Formalized the Model._meta API for ↵ | Daniel Pyrathon | 2015-01-07 | 4 | -661/+1209 |
| | | | | | | | retrieving fields. Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch! | ||||
* | Fixed #9104 -- Moved FieldDoesNotExist to core.exceptions | Daniel Pyrathon | 2015-01-02 | 1 | -2/+2 |
| | |||||
* | Fixed #21414 -- Removed RelatedObject and deprecated ↵ | Anssi Kääriäinen | 2014-12-23 | 1 | -155/+155 |
| | | | | Field.related. | ||||
* | Fixed #23968 -- Replaced list comprehension with ↵ | Jon Dufresne | 2014-12-08 | 1 | -2/+2 |
| | | | | generators and dict comprehension | ||||
* | Fixed #23620 -- Used more specific assertions in the ↵ | Berker Peksag | 2014-11-03 | 1 | -3/+3 |
| | | | | Django test suite. | ||||
* | Fixed #22994 -- regression with generic FK + admin list_view | Anssi Kääriäinen | 2014-07-14 | 1 | -5/+10 |
| | | | | | | | | | | | | 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. | ||||
* | Refs #12663 -- Added tests for methods in db.models.options. | Daniel Pyrathon | 2014-06-19 | 3 | -0/+776 |
Thanks Russell Keith-Magee and Tim Graham for reviews. |