summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12Removed missplaced label in the docs.Florian Apolloner
2012-08-12Fix link to Gunicorn website in deployment howto.Martijn Vermaat
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-11Decorated some tests that require tz support.Karen Tracey
This allows the test suite to run without errors on Windows.
2012-08-11[py3] Re-decoded string after idna encodingClaude Paroz
2012-08-11[py3] Various minor syntax fixes in the test suiteClaude 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-11Fixed #18698 -- Configure latex to support '≥' in the docs.Florian Apolloner
Thanks to simonb for the report and the initial patch.
2012-08-11[py3] Used six.StringIO to simulate stdout buffer in testsClaude Paroz
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] Used BytesIO to test request streamsClaude Paroz
2012-08-10Create headings and expand CBV docs so that the "Built-In CBV" docs include ↵Issac Kelly
a complete list.
2012-08-11[py3] Decoded base64-encoded hash in contrib.auth.hashersAndrews Medina
2012-08-10Fixed #17680 - Clarified when logging is configured.Tim Graham
2012-08-10Fixed #17016 - Added examples for file uploads in views.Tim Graham
Thanks Tim Saylor for the draft patch and Aymeric Augustin and Claude Paroz for feedback.
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-09Clarified thread safety note in class based views; thanks rafadura for the ↵Tim Graham
patch.
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-08Merge pull request #256 from ubernostrum/model-choice-docsJames Bennett
Fix #18062: Document best practices for choices in model fields.
2012-08-08Fix #18062: Document best practices for choices in model fields.James Bennett
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-08Switched to using the standard method for comparing querysets in teh templates.Alex Gaynor
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] Used compatible imports of StringIO.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