summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-15[py3] Fixed jsi18n test.Aymeric Augustin
Also refactored said test to avoid leaking state (ie. active translation) when an error occurs.
2012-08-15[py3] Fixed uses of __metaclass__ in tests.Aymeric Augustin
2012-08-14[py3] Fixed modeltests.model_forms tests.Chris Lawlor
2012-08-14[py3] Removed a remaining use of __metaclass__.Aymeric Augustin
2012-08-14[py3] Avoided the deprecated base64 interface.Aymeric Augustin
This fixes a deprecation warning under Python 3.
2012-08-14[py3] Fixed conditional_processing testsClaude Paroz
2012-08-14[py3] Fixed file_uploads testsClaude Paroz
2012-08-14[py3] Fixed contrib.auth testsClaude Paroz
2012-08-14Don't swallow AttributeError in core.urlresolvers.get_callable.Florian Apolloner
2012-08-14[py3] Fixed sitemaps tests.Aymeric Augustin
2012-08-14[py3] Fixed serializers testsClaude Paroz
2012-08-14[py3] Fixed staticfiles testsClaude Paroz
2012-08-14[py3] Fed strftime with unicode on Python 3Claude Paroz
2012-08-14[py3] Fixed HttpResponse when initialized with bytesClaude Paroz
2012-08-14There's no need to do `list(dict.keys())` list(dict)` is enough.Alex Gaynor
2012-08-14[py3] Fixed file.read().decode(), used codecs.open() insteadAnssi Kääriäinen
2012-08-14[py3] Fixed F-expression division operatorsAnssi Kääriäinen
In Python 3 dividing by int will call obj.__truediv__(). This operator was missing from F-expressions.
2012-08-14[py3] Fixed admin_views testsClaude Paroz
Also changed several occurrences of 'request' to 'response'.
2012-08-14[py3] Fixed admin_custom_urls tests.Aymeric Augustin
2012-08-14[py3] Replace filter/lambda by list comprehensionsAymeric Augustin
This is more idiomatic and avoids returning a list on Python 2 and an iterator on Python 3.
2012-08-14[py3] Fixed comparison of list and range()Anssi Kääriäinen
A test compared list directly against a range(). This is py3 incompatible. Fixed by using list(range()).
2012-08-14[py3] Fixed invalid use of dict.items()Anssi Kääriäinen
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.
2012-08-14[py3] Removed unnecessary calls to .keys()Aymeric Augustin
when computing the length of a dictionary. This fails on Python 3.
2012-08-14[py3] Fixed egg template loader.Aymeric Augustin
2012-08-14[py3] Ensured the template tests run.Aymeric Augustin
2012-08-14[py3] Compared response.content with bytes.Aymeric Augustin
2012-08-14[py3] Favoured unicode strings in assert(Not)ContainsClaude Paroz
In Python 3, HTMLParser does not support bytestrings.
2012-08-14[py3] Ported django.http according to PEP 3333.Aymeric Augustin
Perfomed some style cleanup while I was in the area.
2012-08-14Reverted pickle-json replacement form_hmac calculationClaude Paroz
This reverts commit b109ff8062f4bb225181ec462d69c9dd79339567 and complement test cases. The change was too hasty, as some form values cannot be json-serialized as is.
2012-08-13[py3] Fixed contrib.formtools testsClaude Paroz
2012-08-13[py3] Fixed iterlists usage in QueryDictClaude Paroz
2012-08-13Replaced pickle by json in form_hmac calculationClaude Paroz
Refs #18340
2012-08-13Removed binary flag to open files for writing text contentClaude Paroz
2012-08-13Consistenly use _ as alias for ugettext_lazy in the i18n docs.Florian Apolloner
2012-08-13[py3] Fixed encoding issues in cache key generationClaude Paroz
2012-08-13[py3] Made csrf context processor return UnicodeClaude Paroz
2012-08-13[py3] Avoided comparison with None value in formsetsClaude Paroz
2012-08-13[py3] Fixed admin_scripts testsClaude Paroz
2012-08-13[py3] Fixed content encoding in test clientClaude Paroz
Thanks Andrews Medina for the initial patch.
2012-08-13[py3] Removed filename encoding in file_uploads testClaude Paroz
2012-08-13Refix #13844 -- Made FloatField aggregates work on Python 2.6 + PostgresAnssi Kääriäinen
Fixed a regression introduced in 59a655988ee95e4b4e4646cebea88b620d8fcdd2.
2012-08-12[py3] Fix encoding issues in contrib.sessionsClaude Paroz
2012-08-12[py3] Encoded value before feeding it to hashlib.md5Claude Paroz
2012-08-12Fixed #18306 -- Made deferred models issue update_fields on saveAndrei Antoukh
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.
2012-08-12Fixed #13844 -- Avoid converting unknown db values to floatAnssi Kääriäinen
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.
2012-08-12[py3] Always convert values from sqlite3 to unicode stringsClaude Paroz
Thanks Aymeric Augustin for the review.
2012-08-12[py3] Made __repr__ return str with Python 3Claude Paroz
2012-08-12Fixed #18731 -- Cleaned up split_exclude's use of can_reuseAnssi Kääriäinen
The outer query's set of reusable joins (can_reuse) was passed to the inner query's add_filter call. This was incorrect.
2012-08-12[py3] Made exception examination py3-compatible.Karen Tracey
2012-08-12[py3] Explained @python_2_unicode_compatible usageAymeric Augustin