summaryrefslogtreecommitdiff
path: root/tests/model_fields/test_field_flags.py
AgeCommit message (Collapse)Author
2025-09-22Fixed #35453 -- Made ManyToManyField.concrete False.Ryan P Kilby
ManyToManyField was already excluded from fields, concrete_fields, and local_concrete_fields in Options.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2016-04-13Refs #16508 -- Renamed the current "virtual" fields to "private".Michal Petrucha
The only reason why GenericForeignKey and GenericRelation are stored separately inside _meta is that they need to be cloned for every model subclass, but that's not true for any other virtual field. Actually, it's only true for GenericRelation.
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2015-09-01Fixed #25320 -- Reverted ManyToManyField.null to False for backwards ↵Tim Graham
compatibility. Thanks Tom Christie for the report and review.
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-04-20Fixed #24667 --- Repaired model_fields cardinality testYoong Kang Lim
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
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.
2015-02-14Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.Loic Bistuer
Thanks Carl Meyer and Tim Graham for the reviews and to all involved in the discussion.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
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!