- 14 Agu, 2012 21 kayıt (commit)
-
-
Florian Apolloner yazdı
-
Aymeric Augustin yazdı
-
Claude Paroz yazdı
-
Claude Paroz yazdı
-
Claude Paroz yazdı
-
Claude Paroz yazdı
-
Alex Gaynor yazdı
-
Anssi Kääriäinen yazdı
-
Anssi Kääriäinen yazdı
In Python 3 dividing by int will call obj.__truediv__(). This operator was missing from F-expressions.
-
Claude Paroz yazdı
Also changed several occurrences of 'request' to 'response'.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
This is more idiomatic and avoids returning a list on Python 2 and an iterator on Python 3.
-
Anssi Kääriäinen yazdı
A test compared list directly against a range(). This is py3 incompatible. Fixed by using list(range()).
-
Anssi Kääriäinen yazdı
An ordering test had two problems related to dict.items() usage: - It assumed the order of the dict was non-randomized - It indexed to the dict.items() which is py3 incompatible. I fixed the test by using dict['rank'] directly, where rank is the column tested on the values queryset.
-
Aymeric Augustin yazdı
when computing the length of a dictionary. This fails on Python 3.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Claude Paroz yazdı
In Python 3, HTMLParser does not support bytestrings.
-
Aymeric Augustin yazdı
Perfomed some style cleanup while I was in the area.
-
Claude Paroz yazdı
This reverts commit b109ff80 and complement test cases. The change was too hasty, as some form values cannot be json-serialized as is.
-
- 13 Agu, 2012 12 kayıt (commit)
-
-
Claude Paroz yazdı
-
Claude Paroz yazdı
-
Claude Paroz yazdı
Refs #18340
-
Claude Paroz yazdı
-
Florian Apolloner yazdı
-
Claude Paroz yazdı
-
Claude Paroz yazdı
-
Claude Paroz yazdı
-
Claude Paroz yazdı
-
Claude Paroz yazdı
Thanks Andrews Medina for the initial patch.
-
Claude Paroz yazdı
-
Anssi Kääriäinen yazdı
Fixed a regression introduced in 59a65598.
-
- 12 Agu, 2012 7 kayıt (commit)
-
-
Claude Paroz yazdı
-
Claude Paroz yazdı
-
Andrei Antoukh yazdı
Deferred models now automatically update only the fields which are loaded from the db (with .only() or .defer()). In addition, any field set manually after the load is updated on save.
-
Anssi Kääriäinen yazdı
This patch removes an unconditional float(value) conversion from db backend default convert_values() method. This can cause problems when aggregating over character fields for example. In addition, Oracle and SQLite already return the bare value from their convert_values(). In the long term the converting should be done by fields, and the fields should then call database backend specific converters when needed. The current setup is inflexible for 3rd party fields. Thanks to Merlijn van Deen for the original patch.
-
Claude Paroz yazdı
Thanks Aymeric Augustin for the review.
-
Claude Paroz yazdı
-
Anssi Kääriäinen yazdı
The outer query's set of reusable joins (can_reuse) was passed to the inner query's add_filter call. This was incorrect.
-