summaryrefslogtreecommitdiff
path: root/tests/model_options
AgeCommit message (Collapse)Author
2017-06-21Refs #25530 -- Tracked references of deferred SQL statements.Simon Charette
2017-06-01Sorted imports per isort 4.2.9.Tim Graham
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26230 -- Removed support for model name query lookups when using ↵Tim Graham
Meta.default_related_name. Per deprecation timeline.
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-02-27Fixed #26230 -- Made default_related_name affect related_query_name.chenesan
2016-02-25Removed try/fail antipattern from model_options tests.Tim Graham
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
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-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-23Replaced DatabaseCreation sql methods by schema editor equivalentsClaude Paroz
Also used schema editor in migrate to sync unmigrated apps (sync_apps). Refs #22340. Thanks Tim Graham for the review.
2014-06-18Fixed #22778 -- Added a model Meta option to define default_related_name.Renaud Parent
Thanks jorgecarleitao and mmardini for reviews.
2014-06-11Created a new tests folder (`model_options`).Moayad Mardini
And moved `tablespaces` option tests to it. The new folder can be used to test models/options, like the new option added in refs #22778.