Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed #19463 -- Added UUIDField | Marc Tamlyn | 2014-09-16 | 2 | -0/+102 | |
| | | | | Uses native support in postgres, and char(32) on other backends. | |||||
* | Removed code that assumed BooleanField could be null. | Tim Graham | 2014-08-05 | 1 | -3/+0 | |
| | | | | Such a field will no longer pass model validation. | |||||
* | Fixed flake8 warnings. | Tim Graham | 2014-07-31 | 1 | -1/+1 | |
| | ||||||
* | Fixed the previous commit for Python3. | Florian Apolloner | 2014-07-30 | 1 | -2/+3 | |
| | ||||||
* | Fixed #23112 -- Field.get_choices tries to index an iterable | areski | 2014-07-30 | 2 | -1/+50 | |
| | ||||||
* | Fixed flake8 errors. | Tim Graham | 2014-07-30 | 1 | -1/+1 | |
| | ||||||
* | Fixed #23098 -- Checked that lazy choices are not ↵ | Florian Apolloner | 2014-07-27 | 1 | -0/+7 | |
| | | | | | | evaluated too soon Thanks Matthieu Agopian for the report. | |||||
* | Created import-time test temp dirs in known location | Claude Paroz | 2014-06-23 | 1 | -1/+1 | |
| | | | | Refs #17215. In the same spirit as 5de31cb8cb. | |||||
* | Fixed a few ResourceWarning in the test suite. Refs #22680. | Loic Bistuer | 2014-05-25 | 1 | -0/+2 | |
| | ||||||
* | Fixed #18389 -- Fixed the way contribute_to_class is called | Vlad Starostin | 2014-05-16 | 1 | -1/+11 | |
| | | | | | Now this method is only called only if the object is an instance. This allows to have field classes as model class attributes. | |||||
* | Replaced vendor checks by three feature flags. | Aymeric Augustin | 2014-05-08 | 1 | -4/+1 | |
| | ||||||
* | Fix many many typos in comments throughout the codebase | Alex Gaynor | 2014-04-26 | 1 | -1/+1 | |
| | ||||||
* | Fixed queries that may return unexpected results on ↵ | Erik Romijn | 2014-04-22 | 1 | -1/+33 | |
| | | | | | | MySQL due to typecasting. This is a security fix; disclosure to follow shortly. | |||||
* | Used more specific test assertions. | Aymeric Augustin | 2014-04-09 | 1 | -1/+1 | |
| | ||||||
* | Fixed #12030 -- Validate integer field range at the ↵ | Simon Charette | 2014-03-25 | 2 | -26/+101 | |
| | | | | | | model level. Thanks to @timgraham for the review. | |||||
* | Removed PIL compatability layer per deprecation timeline. | Tim Graham | 2014-03-21 | 2 | -14/+12 | |
| | | | | refs #19934. | |||||
* | Skip test for saving microseconds on backends which do ↵ | Shai Berger | 2014-03-12 | 1 | -0/+1 | |
| | | | | not support it. | |||||
* | Fixed #20292: Pass datetime objects (not formatted ↵ | Shai Berger | 2014-03-12 | 2 | -1/+18 | |
| | | | | | | | | | | | dates) as params to Oracle This seems worthwhile in its own right, but also works around an Oracle bug (in versions 10 -- 11.1) where the use of Unicode would reset the date/time formats, causing ORA-01843 errors. Thanks Trac users CarstenF for the report, jtiai for the initial patch, and everyone who contributed to the discussion on the ticket. | |||||
* | Flake8 corrections | Shai Berger | 2014-03-12 | 1 | -0/+1 | |
| | ||||||
* | Fixed test failure on Oracle: ↵ | Shai Berger | 2014-03-12 | 1 | -3/+15 | |
| | | | | | | model_fields.tests.test_float_validates_object Failing test introduced in fix for refs #22210. | |||||
* | Fixed #22210 -- Saving model instances to non-related ↵ | Daniel Pyrathon | 2014-03-10 | 2 | -1/+14 | |
| | | | | | | | | | | | fields. Previously, saving a model instance to a non-related field (in particular a FloatField) would silently convert the model to an Integer (the pk) and save it. This is undesirable behaviour, and likely to cause confusion so the validatio has been hardened. Thanks to @PirosB3 for the patch and @jarshwah for the review. | |||||
* | Fixed #22206 -- Passed models.TextField.max_length to ↵ | Chris Wilson | 2014-03-05 | 1 | -0/+15 | |
| | | | | forms.CharField.maxlength | |||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -1/+1 | |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | |||||
* | Fixed #19299 -- Fixed Nullification of Foreign Keys To ↵ | Albert Wang | 2014-02-15 | 2 | -2/+22 | |
| | | | | | | | CharFields Thanks tunixman for the report and Baptiste Mispelon and Shai Berger for reviews. | |||||
* | Fixed #16905 -- Added extensible checks (nee validation) ↵ | Russell Keith-Magee | 2014-01-20 | 1 | -0/+5 | |
| | | | | | | | | | | | framework 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. | |||||
* | Fixed #21512 -- Added more complete information about ↵ | Vajrasky Kok | 2013-11-26 | 1 | -8/+8 | |
| | | | | Pillow and PIL in model_fields and model_forms tests. | |||||
* | PEP8 cleanup | Jason Myers | 2013-11-03 | 1 | -0/+8 | |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||||
* | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | 2013-10-21 | 1 | -6/+6 | |
| | ||||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 2 | -2/+2 | |
| | ||||||
* | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -2/+2 | |
| | ||||||
* | Fixed #21217 -- Avoid connecting `(pre|post)_init` ↵ | Simon Charette | 2013-10-04 | 2 | -14/+41 | |
| | | | | signals to abstract senders. | |||||
* | Fixed #20439 -- Started deprecation of IPAddressField | Erik Romijn | 2013-09-28 | 2 | -4/+10 | |
| | ||||||
* | Removed references to django.utils.unittest which is ↵ | Tim Graham | 2013-09-03 | 1 | -2/+1 | |
| | | | | PendingDeprecation | |||||
* | Fixed #20999 - Allow overriding formfield class with ↵ | Carl Meyer | 2013-08-31 | 1 | -7/+5 | |
| | | | | | | choices, without subclass restrictions. Refs #18162. Thanks claudep and mjtamlyn for review. | |||||
* | Altered test introduced in f19a3669b8 for the sake of ↵ | Simon Charette | 2013-08-29 | 1 | -4/+9 | |
| | | | | readability. refs #14786 | |||||
* | Fixed #14786 -- Fixed get_db_prep_lookup calling ↵ | Tim Graham | 2013-08-29 | 1 | -0/+18 | |
| | | | | | | | get_prep_value twice if prepared is False. Thanks homm for the report and Aramgutang and lrekucki for work on the patch. | |||||
* | Fixed #20895 -- Made check management command warn if a ↵ | Alasdair Nicol | 2013-08-16 | 2 | -7/+20 | |
| | | | | | | | BooleanField does not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. | |||||
* | Fixed #20649 -- Allowed blank field display to be ↵ | Alex Couper | 2013-07-31 | 1 | -0/+4 | |
| | | | | defined in the initial list of choices. | |||||
* | Fixed #20348 -- Consistently handle Promise objects in ↵ | Tai Lee | 2013-07-31 | 1 | -13/+178 | |
| | | | | | | | | | | | | | model fields. All Promise objects were passed to force_text() deep in ORM query code. Not only does this make it difficult or impossible for developers to prevent or alter this behaviour, but it is also wrong for non-text fields. This commit changes `Field.get_prep_value()` from a no-op to one that resolved Promise objects. All subclasses now call super() method first to ensure that they have a real value to work with. | |||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 2 | -2/+2 | |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||||
* | Fixed #20740 -- GenericIPAddressField should pass ↵ | Tim Graham | 2013-07-12 | 1 | -0/+13 | |
| | | | | | | protocol to formfield() Thanks Jeff250. | |||||
* | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | 2013-07-01 | 2 | -2/+2 | |
| | | | | Refs #20680. | |||||
* | Fixed #20660 -- Do not try to delete an unset FieldFile | Claude Paroz | 2013-06-29 | 1 | -0/+11 | |
| | | | | | Thanks stanislas.guerra at gmail.com for the report and Baptiste Mispelon for the review. | |||||
* | Use assertIsInstance in tests. | Marc Tamlyn | 2013-05-21 | 1 | -7/+7 | |
| | | | | Gives much nicer errors when it fails. | |||||
* | Fixed #19934 - Use of Pillow is now preferred over PIL. | Daniel Lindsley | 2013-05-15 | 2 | -13/+12 | |
| | | | | This starts the deprecation period for PIL (support to end in 1.8). | |||||
* | Fixed #17365, #17366, #18727 -- Switched to discovery ↵ | Carl Meyer | 2013-05-11 | 1 | -5/+0 | |
| | | | | | | | | | | | test runner. Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670. | |||||
* | Marked tests of BinaryFields as expected failures on ↵ | Aymeric Augustin | 2013-05-08 | 1 | -1/+5 | |
| | | | | | | MySQL and Python 3. Current ports of MySQLdb are very buggy in this area. | |||||
* | Modified model_fields for unittest2 discovery. | Preston Timmons | 2013-04-12 | 2 | -1/+1 | |
| | ||||||
* | Fixed #15124 -- Changed the default for BooleanField. | Aymeric Augustin | 2013-03-24 | 1 | -1/+13 | |
| | | | | | Thanks to the many contributors who updated and improved the patch over the life of this ticket. | |||||
* | Add a BinaryField model field | Claude Paroz | 2013-03-02 | 2 | -2/+28 | |
| | | | | | Thanks Michael Jung, Charl Botha and Florian Apolloner for review and help on the patch. |