summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
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 content encoding in test clientClaude Paroz
Thanks Andrews Medina for the initial patch.
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] Deprecated StrAndUnicode.Aymeric Augustin
This mix-in is superseded by the @python_2_unicode_compatible decorator.
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
* Renamed the __unicode__ methods * Applied the python_2_unicode_compatible decorator * Removed the StrAndUnicode mix-in that is superseded by python_2_unicode_compatible * Kept the __unicode__ methods in classes that specifically test it under Python 2
2012-08-12[py3] Added fixer for python_2_unicode_compatible.Aymeric Augustin
This doesn't deal with classes that define both __unicode__ and __str__; the definition of __str__ should be removed first. It doesn't guarantee that __str__ will return a str (rather than bytes) under Python 3 either.
2012-08-12[py3] Added python_2_unicode_compatible decorator.Aymeric Augustin
2012-08-12[py3] Replaced some __str__ methods by __unicode__Aymeric Augustin
These methods actually return unicode.
2012-08-12[py3] Removed redundant __str__ methods.Aymeric Augustin
These classes already have an identical __unicode__ method, which will be used after an upcoming refactoring.
2012-08-12[py3] Avoided returning bytes in Model.__str__Aymeric Augustin
on Python 3.
2012-08-11Fixed #18739 -- witdthratio behavior on None argsKaren Tracey
Made behavior given None consistent with how non-numerics were handled. Thanks to ja.geb@me.com for the report.
2012-08-11[py3] Fixed reraising of exceptionsClaude Paroz
reraise with second argument to None is not supported.
2012-08-11[py3] Re-decoded string after idna encodingClaude Paroz
2012-08-11[py3] Fixed JSON deserializationClaude Paroz
2012-08-11Fixed #18754 -- cache keys created by post_processKaren Tracey
Corrected to always generate the cache keys from file names with forward slashes, not backslashes.
2012-08-11[py3] Used smart_str to prevent regressions in http handlingClaude Paroz
2012-08-11[py3] Fixed Python 3 compatibility of http handlingClaude Paroz
* Using str() when Python 2 expects bytes and Python 3 Unicode * Fixed reraise-ing syntax * Fixed slicing of byte strings
2012-08-11[py3] Fixed str_prefix test utilityClaude Paroz
2012-08-11[py3] Decoded base64-encoded hash in contrib.auth.hashersAndrews Medina
2012-08-10[py3] Made signing infrastructure pass tests with Python 3Claude Paroz
2012-08-10Add db_table and db_tablespace handlingAndrew Godwin
2012-08-10Merge branch 'master' into schema-alterationAndrew Godwin
2012-08-10Add support for unique_togetherAndrew Godwin
2012-08-09[py3] Fixed mail tests with Python 3Claude Paroz
2012-08-09[py3k] use the base64 module, instead of bytes.encode('base64')Alex Gaynor
2012-08-09[py3] Renamed `next` to `__next__` in iterators.Aymeric Augustin
See PEP 3114. `next` is retained as an alias for Python 2.
2012-08-08[py3] Fixed compilemessages testsClaude Paroz
2012-08-08[py3] Fixed Python 3 compatibility in localflavor formsClaude Paroz
2012-08-08[py3] Made Element instances hashableClaude Paroz
2012-08-08[py3] Replaced raw_input by inputClaude Paroz
The six addition has been borrowed from: https://bitbucket.org/gutworth/six/changeset/733ef740
2012-08-08[py3] Fixed 'iterable but non string' detectionClaude Paroz
In Python 3, the str type has an __iter__ attribute. Therefore, the presence of an __iter__ attribute is not sufficient to distinguish 'standard' iterables (list, tuple) from strings.
2012-08-08Fix TestCase.assertQuerysetEqual on python 3, this is needed for a large ↵Alex Gaynor
number of tests
2012-08-08remove a bunch of unnescesarry iterkeys() callsAlex Gaynor
2012-08-08[py3] Replaced __nonzero__ by __bool__Claude Paroz
Of course, __nonzero__ alias has been kept for Python 2 compatibility.
2012-08-08[py3] Fixed a loop that changed dictionary size.Aymeric Augustin
2012-08-08[py3] Made gis.measure Python 3-compatibleClaude Paroz
2012-08-08[py3] Fixed filesystem encoding handlingAymeric Augustin
in the app directories template loader.
2012-08-08[py3] abspathu doesn't exist under Python 3.Aymeric Augustin
2012-08-07[py3] Made a small fix in django.http.Aymeric Augustin
This is necessary for the 'utils' tests to pass.
2012-08-07[py3] Minor fix in django.contrib.gis.Aymeric Augustin
2012-08-07[py3] Ported django.utils.tzinfo.Aymeric Augustin
2012-08-07[py3] Ported django.utils.translation.Aymeric Augustin