| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-01-16 | Fixed #24092 -- Widened base field support for ArrayField. | Marc Tamlyn | |
| Several issues resolved here, following from a report that a base_field of GenericIpAddressField was failing. We were using get_prep_value instead of get_db_prep_value in ArrayField which was bypassing any extra modifications to the value being made in the base field's get_db_prep_value. Changing this broke datetime support, so the postgres backend has gained the relevant operation methods to send dates/times/datetimes directly to the db backend instead of casting them to strings. Similarly, a new database feature has been added allowing the uuid to be passed directly to the backend, as we do with timedeltas. On the other side, psycopg2 expects an Inet() instance for IP address fields, so we add a value_to_db_ipaddress method to wrap the strings on postgres. We also have to manually add a database adapter to psycopg2, as we do not wish to use the built in adapter which would turn everything into Inet() instances. Thanks to smclenithan for the report. | |||
| 2015-01-11 | Removed supports_binary_field flag as all backends support them | Claude Paroz | |
| It was mainly for MySQL on Python 3, but now the current recommended MySQL driver for Python 3 (mysqlclient) does support binary fields, it is unneeded. Refs #20377. | |||
| 2015-01-07 | Refs #2443 -- Allowed creation of objects with NULL DurationFields | Michał Modzelewski | |
| 2015-01-07 | Fixed #24078 -- Removed empty strings from GenericIPAddressField | Josh Smeaton | |
| 2015-01-06 | Fixed #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! | |||
| 2015-01-06 | Removed warning handling that should have been removed in refs #23891. | Tim Graham | |
| 2015-01-01 | Fixed #23891 -- Moved deprecation of IPAddressField to system check framework. | Tim Graham | |
| Thanks Markus Holtermann for review. | |||
| 2014-12-30 | Applied ignore_warnings to Django tests | Claude Paroz | |
| 2014-12-20 | Fixed #2443 -- Added DurationField. | Marc Tamlyn | |
| A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews. | |||
| 2014-12-12 | Fixed #23455 -- Accept either bytes or text for related_name, convert to text. | Carl Meyer | |
| 2014-11-27 | Fixed #23338 -- Added warning when unique=True on ForeigKey | Diego Guimarães | |
| Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions. | |||
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-09-16 | Fixed #19463 -- Added UUIDField | Marc Tamlyn | |
| Uses native support in postgres, and char(32) on other backends. | |||
| 2014-08-05 | Removed code that assumed BooleanField could be null. | Tim Graham | |
| Such a field will no longer pass model validation. | |||
| 2014-07-31 | Fixed flake8 warnings. | Tim Graham | |
| 2014-07-30 | Fixed the previous commit for Python3. | Florian Apolloner | |
| 2014-07-30 | Fixed #23112 -- Field.get_choices tries to index an iterable | areski | |
| 2014-07-30 | Fixed flake8 errors. | Tim Graham | |
| 2014-07-27 | Fixed #23098 -- Checked that lazy choices are not evaluated too soon | Florian Apolloner | |
| Thanks Matthieu Agopian for the report. | |||
| 2014-06-23 | Created import-time test temp dirs in known location | Claude Paroz | |
| Refs #17215. In the same spirit as 5de31cb8cb. | |||
| 2014-05-26 | Fixed a few ResourceWarning in the test suite. Refs #22680. | Loic Bistuer | |
| 2014-05-16 | Fixed #18389 -- Fixed the way contribute_to_class is called | Vlad Starostin | |
| Now this method is only called only if the object is an instance. This allows to have field classes as model class attributes. | |||
| 2014-05-08 | Replaced vendor checks by three feature flags. | Aymeric Augustin | |
| 2014-04-26 | Fix many many typos in comments throughout the codebase | Alex Gaynor | |
| 2014-04-21 | Fixed queries that may return unexpected results on MySQL due to typecasting. | Erik Romijn | |
| This is a security fix; disclosure to follow shortly. | |||
| 2014-04-09 | Used more specific test assertions. | Aymeric Augustin | |
| 2014-03-25 | Fixed #12030 -- Validate integer field range at the model level. | Simon Charette | |
| Thanks to @timgraham for the review. | |||
| 2014-03-21 | Removed PIL compatability layer per deprecation timeline. | Tim Graham | |
| refs #19934. | |||
| 2014-03-13 | Skip test for saving microseconds on backends which do not support it. | Shai Berger | |
| 2014-03-12 | Fixed #20292: Pass datetime objects (not formatted dates) as params to Oracle | Shai Berger | |
| 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. | |||
| 2014-03-12 | Flake8 corrections | Shai Berger | |
| 2014-03-12 | Fixed test failure on Oracle: model_fields.tests.test_float_validates_object | Shai Berger | |
| Failing test introduced in fix for refs #22210. | |||
| 2014-03-10 | Fixed #22210 -- Saving model instances to non-related fields. | Daniel Pyrathon | |
| 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. | |||
| 2014-03-05 | Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlength | Chris Wilson | |
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2014-02-15 | Fixed #19299 -- Fixed Nullification of Foreign Keys To CharFields | Albert Wang | |
| Thanks tunixman for the report and Baptiste Mispelon and Shai Berger for reviews. | |||
| 2014-01-20 | Fixed #16905 -- Added extensible checks (nee validation) framework | Russell Keith-Magee | |
| 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. | |||
| 2013-11-26 | Fixed #21512 -- Added more complete information about Pillow and PIL in ↵ | Vajrasky Kok | |
| model_fields and model_forms tests. | |||
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
| 2013-10-19 | Removed unused local variables in tests. | Tim Graham | |
| 2013-10-18 | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | |
| 2013-10-04 | Fixed #21217 -- Avoid connecting `(pre|post)_init` signals to abstract senders. | Simon Charette | |
| 2013-09-28 | Fixed #20439 -- Started deprecation of IPAddressField | Erik Romijn | |
| 2013-09-03 | Removed references to django.utils.unittest which is PendingDeprecation | Tim Graham | |
| 2013-08-30 | Fixed #20999 - Allow overriding formfield class with choices, without ↵ | Carl Meyer | |
| subclass restrictions. Refs #18162. Thanks claudep and mjtamlyn for review. | |||
| 2013-08-29 | Altered test introduced in f19a3669b8 for the sake of readability. refs #14786 | Simon Charette | |
| 2013-08-29 | Fixed #14786 -- Fixed get_db_prep_lookup calling get_prep_value twice if ↵ | Tim Graham | |
| prepared is False. Thanks homm for the report and Aramgutang and lrekucki for work on the patch. | |||
| 2013-08-15 | Fixed #20895 -- Made check management command warn if a BooleanField does ↵ | Alasdair Nicol | |
| not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. | |||
| 2013-07-31 | Fixed #20649 -- Allowed blank field display to be defined in the initial ↵ | Alex Couper | |
| list of choices. | |||
