Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -17/+46 |
| | |||||
* | Refs #32508 -- Raised Type/ValueError instead of using "assert" in ↵ | Daniyal | 2021-07-15 | 1 | -2/+4 |
| | | | | | | django.db.models. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #32676 -- Prevented migrations from rendering related field attributes ↵ | David Wobrock | 2021-05-28 | 1 | -1/+6 |
| | | | | | | when not passed during initialization. Thanks Simon Charette for the implementation idea. | ||||
* | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | 2020-02-04 | 1 | -8/+8 |
| | |||||
* | Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵ | Sergey Fedoseev | 2017-09-06 | 1 | -2/+3 |
| | | | | functools.partial()/partialmethod(). | ||||
* | Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. | Vytis Banaitis | 2017-02-01 | 1 | -8/+9 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -2/+2 |
| | |||||
* | Fix import sorting problem. | Aymeric Augustin | 2015-09-21 | 1 | -3/+2 |
| | |||||
* | Renamed descriptor classes for related objects. | Aymeric Augustin | 2015-09-21 | 1 | -2/+2 |
| | | | | | | | | | | | | The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base. | ||||
* | Fixed #24846 -- Added support to MySQL SchemaEditor for all blob/text data types | Adam Chainz | 2015-05-30 | 1 | -0/+9 |
| | |||||
* | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | 2015-03-25 | 1 | -5/+6 |
| | | | | | | | | 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. | ||||
* | Merged ManyRelatedObjectsDescriptor and ReverseManyRelatedObjectsDescriptor | Loic Bistuer | 2015-02-16 | 1 | -3/+3 |
| | | | | | and made all "many" related objects descriptors inherit from ForeignRelatedObjectsDescriptor. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -3/+2 |
| | |||||
* | Cleaned up schema tests | Markus Holtermann | 2015-02-05 | 1 | -0/+4 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #24104 -- Fixed check to look on field.many_to_many instead of class ↵ | Andriy Sokolovskiy | 2015-01-22 | 1 | -0/+54 |
instance |