| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fixed #30581 -- Added support for Meta.constraints validation. | Gagaro | 2022-05-10 | 3 | -4/+151 |
| | | | | | Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. | ||||
| * | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -10/+18 |
| | | |||||
| * | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 7 | -191/+327 |
| | | |||||
| * | Fixed #33335 -- Made model validation ignore functional unique constraints. | Hannes Ljungberg | 2021-12-06 | 2 | -1/+24 |
| | | | | | | | Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa. Thanks Hervé Le Roy for the report. | ||||
| * | Refs #32508 -- Raised Type/ValueError instead of using "assert" in ↵ | Daniyal | 2021-07-15 | 1 | -15/+0 |
| | | | | | | | django.db.models. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
| * | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | 2021-01-14 | 1 | -2/+2 |
| | | |||||
| * | Fixed #31596 -- Changed ForeignKey.validate() to use the base manager. | Jon Dufresne | 2020-06-25 | 2 | -0/+16 |
| | | |||||
| * | Removed unused __str__() methods in tests models. | Author: Mads Jensen | 2020-04-15 | 1 | -3/+0 |
| | | | | | | Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com> | ||||
| * | Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin ↵ | Nick Pope | 2019-08-20 | 1 | -1/+4 |
| | | | | | | | | | | | | and refactored AutoFields. This reduces duplication by allowing AutoField, BigAutoField and SmallAutoField to inherit from IntegerField, BigIntegerField and SmallIntegerField respectively. Doing so also allows for enabling the max_length warning check and minimum/maximum value validation for auto fields, as well as providing a mixin that can be used for other possible future auto field types such as a theoretical UUIDAutoField. | ||||
| * | Fixed #30400 -- Improved typography of user facing strings. | Jon Dufresne | 2019-06-28 | 1 | -17/+17 |
| | | | | | Thanks Claude Paroz for assistance with translations. | ||||
| * | Switched setUp() to setUpTestData() where possible in Django's tests. | Simon Charette | 2018-11-27 | 1 | -2/+3 |
| | | |||||
| * | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | 2018-11-27 | 4 | -9/+12 |
| | | |||||
| * | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | 2018-03-20 | 1 | -0/+4 |
| | | | | | Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | ||||
| * | Added model name to AutoField error message. | Almad | 2018-03-03 | 1 | -1/+1 |
| | | |||||
| * | Removed unnecessary trailing commas and spaces in various code. | Mariusz Felisiak | 2017-12-28 | 1 | -1/+1 |
| | | |||||
| * | Fixed #28893 -- Removed unnecessary dict.items() calls. | Tim Graham | 2017-12-06 | 1 | -1/+1 |
| | | |||||
| * | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | | |||||
| * | Refs #23919 -- Removed str() conversion of type and method __name__. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| | | |||||
| * | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | | |||||
| * | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 5 | -11/+0 |
| | | |||||
| * | Replaced use of TestCase.fail() with assertRaises(). | Tim Graham | 2016-06-28 | 1 | -12/+7 |
| | | | | Also removed try/except/fail antipattern that hides exceptions. | ||||
| * | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | 2016-06-16 | 1 | -1/+1 |
| | | |||||
| * | Fixed #26528 -- Allowed any iterable (e.g. tuple) as validators kwarg for ↵ | Loïc Bistuer | 2016-04-22 | 2 | -2/+16 |
| | | | | | form/model fields. | ||||
| * | Fixed E128 flake8 warnings in tests/. | Tim Graham | 2016-04-08 | 4 | -64/+64 |
| | | |||||
| * | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -3/+13 |
| | | | | | ForeignKey/OneToOneField | ||||
| * | Fixed #24708 -- Handled non-string values in GenericIPAddressField.to_python() | Pradeek | 2015-05-06 | 1 | -0/+9 |
| | | |||||
| * | Fixed #24714 -- Used more specific assertions than assertEqual in tests. | Alasdair Nicol | 2015-04-28 | 2 | -4/+4 |
| | | |||||
| * | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 2 | -5/+8 |
| | | |||||
| * | Fixed typos using https://github.com/vlajos/misspell_fixer | Veres Lajos | 2014-11-03 | 1 | -1/+1 |
| | | |||||
| * | Fixed #22935 -- Changed ForeignKey.default_error_messages['invalid'] to ↵ | Anubhav Joshi | 2014-07-02 | 2 | -1/+7 |
| | | | | | | | refer to correct field. Thanks Tim Graham for suggestion and review. | ||||
| * | Fixed #22539 -- Copied exclude argument in Model.full_clean() to prevent ↵ | Yehonatan Daniv | 2014-05-01 | 2 | -2/+9 |
| | | | | | side effects. | ||||
| * | Fixed #16905 -- Added extensible checks (nee validation) framework | Russell Keith-Magee | 2014-01-20 | 1 | -5/+0 |
| | | | | | | | | | | This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844. | ||||
| * | Renamed AppCache to Apps. | Aymeric Augustin | 2013-12-24 | 1 | -2/+2 |
| | | | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). | ||||
| * | Moved apps back in the toplevel django namespace. | Aymeric Augustin | 2013-12-22 | 1 | -1/+1 |
| | | | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | ||||
| * | Deborgified the app cache. | Aymeric Augustin | 2013-12-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Improved Andrew's hack to create temporary app caches to handle migrations. Now the main app cache has a "master" flag set to True (which is a non-default keyword argument, thus unlikely to be used by mistake). Other app cache instances have "master" set to False. The only sanctioned way to access the app cache is by importing django.core.apps.app_cache. If you were instanciating an app cache and relying on the Borg pattern, you'll have to refactor your code. | ||||
| * | Moved the new app cache inside core. | Aymeric Augustin | 2013-12-17 | 1 | -1/+1 |
| | | |||||
| * | Moved django.db.models.loading to django.apps.cache. | Aymeric Augustin | 2013-12-17 | 1 | -1/+1 |
| | | | | | This commit doesn't contain any code changes; it's purely a refactoring. | ||||
| * | Fixed #21555 -- Made ValidationError pickable. | Loic Bistuer | 2013-12-07 | 1 | -0/+41 |
| | | | | | Thanks trac username zanuxzan for the report and original patch. | ||||
| * | Fixed #21469 -- Allow set objects in Meta.unique_together. | Baptiste Mispelon | 2013-11-20 | 1 | -1/+35 |
| | | | | | Thanks to Tim for the review. | ||||
| * | Fixing E302 Errors | Jason Myers | 2013-11-02 | 3 | -1/+16 |
| | | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
| * | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 2 | -4/+4 |
| | | |||||
| * | Start attacking E231 violations | Alex Gaynor | 2013-10-24 | 1 | -5/+5 |
| | | |||||
| * | Fixed E225 pep8 warnings. | Tim Graham | 2013-10-23 | 1 | -1/+1 |
| | | |||||
| * | Fixed E221 pep8 warnings. | Tim Graham | 2013-10-22 | 1 | -1/+1 |
| | | |||||
| * | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -3/+3 |
| | | |||||
| * | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -2/+2 |
| | | |||||
| * | Whitespace cleanup. | Tim Graham | 2013-10-10 | 3 | -3/+0 |
| | | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
| * | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 4 | -5/+3 |
| | | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
| * | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | 2013-07-01 | 2 | -2/+3 |
| | | | | | Refs #20680. | ||||
| * | Fixed #20594 -- Add validation to models.SlugField. | Baptiste Mispelon | 2013-06-13 | 2 | -1/+6 |
| | | | | | Thanks carbonXT for the report. | ||||
