| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-06-02 | Fixed #9596 -- Added date transform for DateTimeField. | Jon Dufresne | |
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-05-12 | [1.8.x] Refs #24698, #24712 -- Forwardported ForeignKey.get_db_prep_value() ↵ | Abhaya Agarwal | |
| test and release notes. Fixed in master by b68212f539f206679580afbfd008e7d329c9cd31. Forwardport of 290c9d665490d80b0a1b648fb022190d7dc375fc from stable/1.8.x | |||
| 2015-04-28 | Fixed #24714 -- Used more specific assertions than assertEqual in tests. | Alasdair Nicol | |
| 2015-04-27 | Used assertIsInstance in tests. | Alasdair Nicol | |
| 2015-04-20 | Fixed #24667 --- Repaired model_fields cardinality test | Yoong Kang Lim | |
| 2015-04-15 | Fixed model_fields tests to use django TestCase. | Jon Dufresne | |
| 2015-04-13 | Fixed #24611 -- Fixed update() crash with related UUID pk object. | Jay Wineinger | |
| 2015-03-25 | Fixed #24215 -- Refactored lazy model operations | Alex Hill | |
| This adds a new method, Apps.lazy_model_operation(), and a helper function, lazy_related_operation(), which together supersede add_lazy_relation() and make lazy model operations the responsibility of the App registry. This system no longer uses the class_prepared signal. | |||
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi 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-03-24 | Fixed #24483 -- Prevented keepdb from breaking with generator choices. | David Szotten | |
| If Field.choices is provided as an iterator, consume it in __init__ instead of using itertools.tee (which ends up holding everything in memory anyway). Fixes a bug where deconstruct() was consuming the iterator but bypassing the call to `tee`. | |||
| 2015-02-23 | Guaranteed removal of temporary files during tests. | Aymeric Augustin | |
| Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions. | |||
| 2015-02-21 | Fixed #24376 -- added verbose_name arg to UUIDField | Michael Angeletti | |
| 2015-02-20 | Fixed #24343 -- Ensure db converters are used for foreign keys. | Marc Tamlyn | |
| Joint effort between myself, Josh, Anssi and Shai. | |||
| 2015-02-14 | Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many. | Loic Bistuer | |
| Thanks Carl Meyer and Tim Graham for the reviews and to all involved in the discussion. | |||
| 2015-02-13 | Fixed #24319 -- Added validation for UUID model field | Josh Smeaton | |
| 2015-02-12 | Refs #24215 -- Prevented pending lookup pollution by abstract models. | Simon Charette | |
| 2015-02-09 | Fixed #24302 -- Added DurationField.formfield() | Tim Graham | |
| 2015-02-06 | Fixed E265 comment style | Collin Anderson | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-05 | Added UUIDField.deconstruct() | Tim Graham | |
| 2015-02-03 | Fixed #23617 -- Added get_pk_value_on_save() | Anssi Kääriäinen | |
| The method is mainly intended for use with UUIDField. For UUIDField we want to call the field's default even when primary key value is explicitly set to None to match the behavior of AutoField. Thanks to Marc Tamlyn and Tim Graham for review. | |||
| 2015-01-20 | Fixed typos in code comments. | Adam Taylor | |
| 2015-01-19 | Removed IPAddressField per deprecation timeline; refs #20439. | Tim Graham | |
| 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 | |
