1. 06 Şub, 2015 1 kayıt (commit)
  2. 30 Ock, 2015 2 kayıt (commit)
  3. 20 Ock, 2015 1 kayıt (commit)
  4. 07 Ock, 2015 1 kayıt (commit)
  5. 23 Ara, 2014 1 kayıt (commit)
  6. 28 Kas, 2014 1 kayıt (commit)
  7. 12 Kas, 2014 1 kayıt (commit)
  8. 03 Kas, 2014 1 kayıt (commit)
  9. 07 Eki, 2014 1 kayıt (commit)
  10. 28 Eyl, 2014 1 kayıt (commit)
  11. 02 Tem, 2014 1 kayıt (commit)
  12. 25 Haz, 2014 1 kayıt (commit)
  13. 21 Mar, 2014 1 kayıt (commit)
  14. 03 Mar, 2014 1 kayıt (commit)
  15. 03 Kas, 2013 1 kayıt (commit)
  16. 23 Eki, 2013 1 kayıt (commit)
  17. 21 Eki, 2013 1 kayıt (commit)
  18. 18 Eki, 2013 1 kayıt (commit)
  19. 10 Eki, 2013 1 kayıt (commit)
  20. 08 Eyl, 2013 1 kayıt (commit)
  21. 02 Eyl, 2013 1 kayıt (commit)
  22. 30 Agu, 2013 1 kayıt (commit)
    • Anssi Kääriäinen's avatar
      Fixed #20988 -- Added model meta option select_on_save · e973ee6a
      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
      e973ee6a
  23. 22 Agu, 2013 1 kayıt (commit)
  24. 19 Agu, 2013 1 kayıt (commit)
  25. 31 Tem, 2013 1 kayıt (commit)
  26. 29 Tem, 2013 1 kayıt (commit)
  27. 26 Tem, 2013 1 kayıt (commit)
    • Loic Bistuer's avatar
      Fixed #20625 -- Chainable Manager/QuerySet methods. · 31fadc12
      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.
      31fadc12
  28. 08 Tem, 2013 1 kayıt (commit)
  29. 10 Haz, 2013 1 kayıt (commit)
  30. 21 May, 2013 1 kayıt (commit)
  31. 20 May, 2013 1 kayıt (commit)
  32. 20 Mar, 2013 1 kayıt (commit)
  33. 14 Mar, 2013 1 kayıt (commit)
    • Anssi Kääriäinen's avatar
      Fixed #16649 -- Refactored save_base logic · 6b483495
      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)
      6b483495
  34. 26 Şub, 2013 1 kayıt (commit)
  35. 23 Şub, 2013 1 kayıt (commit)
  36. 16 Şub, 2013 1 kayıt (commit)
    • Aymeric Augustin's avatar
      Fixed #17260 -- Added time zone aware aggregation and lookups. · e74e207c
      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.
      e74e207c
  37. 08 Ock, 2013 1 kayıt (commit)
  38. 06 Ock, 2013 2 kayıt (commit)
    • Anssi Kääriäinen's avatar
      Tests for various emptyqs tickets · 69a46c5c
      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
      69a46c5c
    • Anssi Kääriäinen's avatar
      Fixed #19173 -- Made EmptyQuerySet a marker class only · a2396a4c
      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.
      a2396a4c