- 06 Şub, 2015 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 30 Ock, 2015 2 kayıt (commit)
-
-
Tim Graham yazdı
This reverts commit da79ccca. This optimized the unsuccessful case at the expense of the successful one.
-
Loic Bistuer yazdı
Thanks Anssi Kääriäinen, Marc Tamlyn, and Tim Graham for the reviews.
-
- 20 Ock, 2015 1 kayıt (commit)
-
-
Adam Taylor yazdı
-
- 07 Ock, 2015 1 kayıt (commit)
-
-
Daniel Pyrathon yazdı
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
-
- 23 Ara, 2014 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
-
- 28 Kas, 2014 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews.
-
- 12 Kas, 2014 1 kayıt (commit)
-
-
Jozef Knaperek yazdı
Made _do_update behave more strictly according to its docs, including a corner case when specific concurent updates are executed and select_on_save is set.
-
- 03 Kas, 2014 1 kayıt (commit)
-
-
Berker Peksag yazdı
-
- 07 Eki, 2014 1 kayıt (commit)
-
-
Browniebroke yazdı
-
- 28 Eyl, 2014 1 kayıt (commit)
-
-
Thomas Chaumeny yazdı
Thanks Collin Anderson for the review.
-
- 02 Tem, 2014 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 25 Haz, 2014 1 kayıt (commit)
-
-
zsoldosp yazdı
-
- 21 Mar, 2014 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
- 03 Mar, 2014 1 kayıt (commit)
-
-
Rodolfo Carvalho yazdı
Thanks Piotr Kasprzyk for help with the patch.
-
- 03 Kas, 2013 1 kayıt (commit)
-
-
Jason Myers yazdı
Signed-off-by:
Jason Myers <jason@jasonamyers.com>
-
- 23 Eki, 2013 1 kayıt (commit)
-
-
Alasdair Nicol yazdı
-
- 21 Eki, 2013 1 kayıt (commit)
-
-
Alasdair Nicol yazdı
-
- 18 Eki, 2013 1 kayıt (commit)
-
-
Alasdair Nicol yazdı
-
- 10 Eki, 2013 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 08 Eyl, 2013 1 kayıt (commit)
-
-
Alex Gaynor yazdı
-
- 02 Eyl, 2013 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
- 30 Agu, 2013 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
The option can be used to force pre 1.6 style SELECT on save behaviour. This is needed in case the database returns zero updated rows even if there is a matching row in the DB. One such case is PostgreSQL update trigger that returns NULL. Reviewed by Tim Graham. Refs #16649
-
- 22 Agu, 2013 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
The __eq__ method now considers two instances without primary key value equal only when they have same id(). The __hash__ method raises TypeError for no primary key case. Fixed #18864, fixed #18250 Thanks to Tim Graham for docs review.
-
- 19 Agu, 2013 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
Fixed #11892, fixed #16458, fixed #14492.
-
- 31 Tem, 2013 1 kayıt (commit)
-
-
Loic Bistuer yazdı
-
- 29 Tem, 2013 1 kayıt (commit)
-
-
Claude Paroz yazdı
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
-
- 26 Tem, 2013 1 kayıt (commit)
-
-
Loic Bistuer yazdı
Additionally this patch solves the orthogonal problem that specialized `QuerySet` like `ValuesQuerySet` didn't inherit from the current `QuerySet` type. This wasn't an issue until now because we didn't officially support custom `QuerySet` but it became necessary with the introduction of this new feature. Thanks aaugustin, akaariai, carljm, charettes, mjtamlyn, shaib and timgraham for the reviews.
-
- 08 Tem, 2013 1 kayıt (commit)
-
-
Tim Graham yazdı
Thanks Patryk Zawadzki.
-
- 10 Haz, 2013 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
Fixed #20483.
-
- 21 May, 2013 1 kayıt (commit)
-
-
Marc Tamlyn yazdı
Gives much nicer errors when it fails.
-
- 20 May, 2013 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
A regression caused by d5b93d32 made .get() error reporting recurse infinitely on certain rare conditions. Fixed this by not trying to print the given lookup kwargs.
-
- 20 Mar, 2013 1 kayıt (commit)
-
-
Claude Paroz yazdı
This reverts commit 2cd0edaa. This commit was the cause of a memory leak. See ticket for more details. Thanks Anssi Kääriäinen for identifying the source of the bug.
-
- 14 Mar, 2013 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
Model.save() will use UPDATE - if not updated - INSERT instead of SELECT - if found UPDATE else INSERT. This should save a query when updating, but will cost a little when inserting model with PK set. Also fixed #17341 -- made sure .save() commits transactions only after the whole model has been saved. This wasn't the case in model inheritance situations. The save_base implementation was refactored into multiple methods. A typical chain for inherited save is: save_base() _save_parents(self) for each parent: _save_parents(parent) _save_table(parent) _save_table(self)
-
- 26 Şub, 2013 1 kayıt (commit)
-
-
Florian Apolloner yazdı
-
- 23 Şub, 2013 1 kayıt (commit)
-
-
Grzegorz Nosek yazdı
When iteration over a queryset raised an exception, the result cache remained initialized with an empty list, so subsequent iterations returned an empty list instead of raising an exception
-
- 16 Şub, 2013 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
Thanks Carl Meyer for the review. Squashed commit of the following: commit 4f290bdb60b7d8534abf4ca901bd0844612dcbda Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 21:21:30 2013 +0100 Used '0:00' instead of 'UTC' which doesn't always exist in Oracle. Thanks Ian Kelly for the suggestion. commit 01b6366f3ce67d57a58ca8f25e5be77911748638 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 13:38:43 2013 +0100 Made tzname a parameter of datetime_extract/trunc_sql. This is required to work around a bug in Oracle. commit 924a144ef8a80ba4daeeafbe9efaa826566e9d02 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 14:47:44 2013 +0100 Added support for parameters in SELECT clauses. commit b4351d2890cd1090d3ff2d203fe148937324c935 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 22:30:22 2013 +0100 Documented backwards incompatibilities in the two previous commits. commit 91ef84713c81bd455f559dacf790e586d08cacb9 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 09:42:31 2013 +0100 Used QuerySet.datetimes for the admin's date_hierarchy. commit 0d0de288a5210fa106cd4350961eb2006535cc5c Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 09:29:38 2013 +0100 Used QuerySet.datetimes in date-based generic views. commit 9c0859ff7c0b00734afe7fc15609d43d83215072 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:25 2013 +0100 Implemented QuerySet.datetimes on Oracle. commit 68ab511a4ffbd2b811bf5da174d47e4dd90f28fc Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:14 2013 +0100 Implemented QuerySet.datetimes on MySQL. commit 22d52681d347a8cdf568dc31ed032cbc61d049ef Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:42:29 2013 +0100 Implemented QuerySet.datetimes on SQLite. commit f6800fd04c93722b45f9236976389e0b2fe436f5 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:03 2013 +0100 Implemented QuerySet.datetimes on PostgreSQL. commit 0c829c23f4cf4d6804cadcc93032dd4c26b8c65e Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:41:08 2013 +0100 Added datetime-handling infrastructure in the ORM layers. commit 104d82a7778cf3f0f5d03dfa53709c26df45daad Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 10:05:55 2013 +0100 Updated null_queries tests to avoid clashing with the __second lookup. commit c01bbb32358201b3ac8cb4291ef87b7612a2b8e6 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 23:07:41 2013 +0100 Updated tests of .dates(). Replaced .dates() by .datetimes() for DateTimeFields. Replaced dates with datetimes in the expected output for DateFields. commit 50fb7a52462fecf0127b38e7f3df322aeb287c43 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:40:09 2013 +0100 Updated and added tests for QuerySet.datetimes. commit a8451a5004c437190e264667b1e6fb8acc3c1eeb Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 22:34:46 2013 +0100 Documented the new time lookups and updated the date lookups. commit 29413eab2bd1d5e004598900c0dadc0521bbf4d3 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 16:15:49 2013 +0100 Documented QuerySet.datetimes and updated QuerySet.dates.
-
- 08 Ock, 2013 1 kayıt (commit)
-
-
Claude Paroz yazdı
-
- 06 Ock, 2013 2 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
The tickets are either about different signature between qs.none() and qs or problems with subclass types (either EmptyQS overrided the custom qs class, or EmptyQS was overridden by another class - values() did this). Fixed #15959, fixed #17271, fixed #17712, fixed #19426
-
Anssi Kääriäinen yazdı
The guarantee that no queries will be made when accessing results is done by new EmptyWhere class which is used for query.where and having. Thanks to Simon Charette for reviewing and valuable suggestions.
-