1. 12 Eyl, 2015 1 kayıt (commit)
  2. 11 Eyl, 2015 1 kayıt (commit)
  3. 06 Agu, 2015 1 kayıt (commit)
  4. 27 Tem, 2015 1 kayıt (commit)
  5. 30 Haz, 2015 1 kayıt (commit)
  6. 11 May, 2015 1 kayıt (commit)
  7. 30 Mar, 2015 1 kayıt (commit)
  8. 09 Mar, 2015 1 kayıt (commit)
  9. 04 Mar, 2015 1 kayıt (commit)
  10. 06 Şub, 2015 1 kayıt (commit)
  11. 30 Ock, 2015 1 kayıt (commit)
  12. 08 Ock, 2015 1 kayıt (commit)
    • Anssi Kääriäinen's avatar
      Fixed #24020 -- Refactored SQL compiler to use expressions · 0c763317
      Anssi Kääriäinen yazdı
      Refactored compiler SELECT, GROUP BY and ORDER BY generation.
      While there, also refactored select_related() implementation
      (get_cached_row() and get_klass_info() are now gone!).
      
      Made get_db_converters() method work on expressions instead of
      internal_type. This allows the backend converters to target
      specific expressions if need be.
      
      Added query.context, this can be used to set per-query state.
      
      Also changed the signature of database converters. They now accept
      context as an argument.
      0c763317
  13. 27 Kas, 2014 1 kayıt (commit)
  14. 03 Kas, 2014 1 kayıt (commit)
  15. 16 Eki, 2014 1 kayıt (commit)
  16. 03 Eyl, 2014 1 kayıt (commit)
    • Marc Tamlyn's avatar
      Fixed #18757, #14462, #21565 -- Reworked database-python type conversions · e9103402
      Marc Tamlyn yazdı
      Complete rework of translating data values from database
      
      Deprecation of SubfieldBase, removal of resolve_columns and
      convert_values in favour of a more general converter based approach and
      public API Field.from_db_value(). Now works seamlessly with aggregation,
      .values() and raw queries.
      
      Thanks to akaariai in particular for extensive advice and inspiration,
      also to shaib, manfre and timograham for their reviews.
      e9103402
  17. 15 May, 2014 1 kayıt (commit)
  18. 03 Mar, 2014 1 kayıt (commit)
  19. 26 Ock, 2014 1 kayıt (commit)
  20. 03 Kas, 2013 3 kayıt (commit)
  21. 02 Kas, 2013 1 kayıt (commit)
  22. 27 Eki, 2013 1 kayıt (commit)
  23. 26 Eki, 2013 1 kayıt (commit)
  24. 21 Eki, 2013 1 kayıt (commit)
  25. 18 Eki, 2013 1 kayıt (commit)
  26. 11 Eki, 2013 1 kayıt (commit)
  27. 05 Eki, 2013 2 kayıt (commit)
  28. 25 Eyl, 2013 1 kayıt (commit)
  29. 24 Eyl, 2013 1 kayıt (commit)
  30. 09 Eyl, 2013 1 kayıt (commit)
  31. 15 Agu, 2013 1 kayıt (commit)
  32. 31 Tem, 2013 1 kayıt (commit)
  33. 29 Tem, 2013 1 kayıt (commit)
  34. 01 Tem, 2013 1 kayıt (commit)
  35. 28 May, 2013 1 kayıt (commit)
  36. 13 Mar, 2013 2 kayıt (commit)
    • Anssi Kääriäinen's avatar
      bd0cba58
    • Anssi Kääriäinen's avatar
      Refactored qs.add_q() and utils/tree.py · d3f00bd5
      Anssi Kääriäinen yazdı
      The sql/query.py add_q method did a lot of where/having tree hacking to
      get complex queries to work correctly. The logic was refactored so that
      it should be simpler to understand. The new logic should also produce
      leaner WHERE conditions.
      
      The changes cascade somewhat, as some other parts of Django (like
      add_filter() and WhereNode) expect boolean trees in certain format or
      they fail to work. So to fix the add_q() one must fix utils/tree.py,
      some things in add_filter(), WhereNode and so on.
      
      This commit also fixed add_filter to see negate clauses up the path.
      A query like .exclude(Q(reversefk__in=a_list)) didn't work similarly to
      .filter(~Q(reversefk__in=a_list)). The reason for this is that only
      the immediate parent negate clauses were seen by add_filter, and thus a
      tree like AND: (NOT AND: (AND: condition)) will not be handled
      correctly, as there is one intermediary AND node in the tree. The
      example tree is generated by .exclude(~Q(reversefk__in=a_list)).
      
      Still, aggregation lost connectors in OR cases, and F() objects and
      aggregates in same filter clause caused GROUP BY problems on some
      databases.
      
      Fixed #17600, fixed #13198, fixed #17025, fixed #17000, fixed #11293.
      d3f00bd5