| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2012-07-25 | Rolled back a unnecessary change in 8f002867b2. | Aymeric Augustin | |
| This keeps the implementation of setdefault and setlistdefault consistent. Also it's marginally faster than looking up the value again. | |||
| 2012-07-24 | Added tests for deprecation warnings and fixed the argument order for the ↵ | Alex Gaynor | |
| warnings. | |||
| 2012-07-24 | Remove double isinstance check in force_unicode | Jeroen Dekkers | |
| 2012-07-22 | Used a Python 3-compatible syntax for building a translation table | Claude Paroz | |
| 2012-07-22 | [py3] Added Python 3 compatibility for xrange. | Aymeric Augustin | |
| 2012-07-22 | [py3] Switched to Python 3-compatible imports. | Aymeric Augustin | |
| xrange/range will be dealt with in a separate commit due to the huge number of changes. | |||
| 2012-07-22 | [py3] Updated urllib/urllib2/urlparse imports. | Aymeric Augustin | |
| Lots of functions were moved. Use explicit imports in all cases to keey it easy to identify where the functions come from. | |||
| 2012-07-22 | [py3] Replaced unicode/str by six.text_type/bytes. | Aymeric Augustin | |
| 2012-07-22 | [py3] Replaced basestring by six.string_types. | Aymeric Augustin | |
| 2012-07-22 | [py3] Removed longs. | Aymeric Augustin | |
| 2012-07-22 | [py3] Fixed django.utils.six.moves. | Aymeric Augustin | |
| It didn't work because six was inside django.utils. | |||
| 2012-07-22 | [py3] Bundled six for Python 3 compatibility. | Aymeric Augustin | |
| Refs #18363. | |||
| 2012-07-20 | Switched to octal notation (bis). | Aymeric Augustin | |
| 2012-07-20 | Switched to Python 3-compatible octal notation. | Aymeric Augustin | |
| 2012-07-17 | Fixed #18644 -- Made urlize trim trailing period followed by parenthesis | Vebjorn Ljosa | |
| 2012-07-14 | Remove DotExpandedDict, which was undocumented and unused. | Alex Gaynor | |
| 2012-07-14 | Fix an incredibly emberassing typo. | Alex Gaynor | |
| 2012-07-14 | Deprecate two methods (which I seriously doubt anyone ever used, but they ↵ | Alex Gaynor | |
| were documented so...) because they cannot be implemented efficiently on top of collections.SortedDict in Python 2.7 and up. | |||
| 2012-07-14 | Cleaned up the QueryDict implementation. | Alex Gaynor | |
| - Use super(). - Don't poke at internals. - Don't override methods for no reason. | |||
| 2012-07-14 | Update links to diveintomark.org. | Aymeric Augustin | |
| These pages are gone. | |||
| 2012-07-06 | Fix copyright holder | Guilherme Gondim | |
| 2012-07-03 | Added 'format_html' utility for formatting HTML fragments safely | Luke Plant | |
| 2012-07-03 | Documented utils.html.escape and conditional_escape | Luke Plant | |
| 2012-06-22 | Fixed our HTMLParser patches for python 2.7.4 | Florian Apolloner | |
| 2012-06-14 | Fixed #12140 -- Fixed http.urlencode result for empty lists | Claude Paroz | |
| Thanks aneil for the report and the initial patch. | |||
| 2012-06-08 | Used git log instead of git show for last commit's timestamp | Anssi Kääriäinen | |
| The reason for this was that git show included the whole changeset in the output, but only the UTC timestamp was needed. By using git log it is possible to get just the timestamp. The whole changeset can be large, and can cause unicode encoding errors. | |||
| 2012-06-07 | Fixed #18363 -- Added Python 3 compatibility layer. | Claude Paroz | |
| Thanks Vinay Sajip for the support of his django3 branch and Alex Gaynor, kezabelle, YorikSar for the review. | |||
| 2012-06-07 | Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. | Claude Paroz | |
| Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review. | |||
| 2012-06-06 | Delayed encoding of password and salt in password checking. | Claude Paroz | |
| Applied the rule that string encoding should happen as late as possible. This is also a preparation for Python 3 compatibility. | |||
| 2012-05-28 | Removed unneeded smart_str in cache utils. | Claude Paroz | |
| 2012-05-23 | Replaced types.NoneType occurrences | Claude Paroz | |
| In Python 3, types.NoneType is no more available. | |||
| 2012-05-20 | Imported reduce from functools for forward compatibility. | Claude Paroz | |
| In Python 3, reduce has to be imported from functools. | |||
| 2012-05-19 | Marked bytestrings with b prefix. Refs #18269 | Claude Paroz | |
| This is a preparation for unicode literals general usage in Django (Python 3 compatibility). | |||
| 2012-05-18 | Got rid of old __cmp__methods replaced by rich comparison. | Claude Paroz | |
| The __cmp__ methods are unsupported in Python 3. _doctest.py has been left untouched because it is likely it will not be migrated to Python 3. | |||
| 2012-05-11 | Fixed typo in utils/archive.py docstring | Adrian Holovaty | |
| 2012-05-10 | Replaced foo.next() by next(foo). | Claude Paroz | |
| This new syntax for next() has been introduced in Python 2.6 and is compatible with Python 3. | |||
| 2012-05-07 | Fixed total_ordering for Python < 2.7.2 | Anssi Kääriäinen | |
| The total_ordering in Python versions prior to 2.7.2 is buggy, and this caused infinite recursion for Field comparisons on those versions. Use the borrowed total_ordering for all Python versions prior to 2.7.2. The buggy total_ordering was introduced in commit 5cbfb48b92cb26a335f9c8c0f79d3390290103e2 | |||
| 2012-05-07 | Made model fields comparable to other objects | Simon Charette | |
| Fixed #17851 -- Added __lt__ and @total_ordering to models.Field, made sure these work correctly on other objects than Field, too. | |||
| 2012-05-05 | Replaced cStringIO.StringIO by io.BytesIO. | Claude Paroz | |
| Also replaced StringIO.StringIO by BytesIO in some other appropriate places. StringIO is not available in Python 3. | |||
| 2012-05-05 | Fixed the syntax used for the Python repl examples in docs and docstrings. | Alex Gaynor | |
| 2012-05-05 | Made more extensive usage of context managers with open. | Claude Paroz | |
| 2012-05-03 | Fixed #18042 -- Advanced deprecation warnings. | Aymeric Augustin | |
| Thanks Ramiro for the patch. | |||
| 2012-04-30 | Replaced print statement by print function (forward compatibility syntax). | Claude Paroz | |
| 2012-04-30 | Fixed SortedDict.__copy__() | Anssi Kääriäinen | |
| Fixed #18175 -- Calling SortedDict.__copy__() resulted in changes to the original dictionary. The reason was likely related to subclassing dict. Thanks to linovia for report and patch. | |||
| 2012-04-30 | Fix a typo in a comment. | Alex Gaynor | |
| 2012-04-29 | Fixed #18013 -- Use the new 'as' syntax for exceptions. | Claude Paroz | |
| Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6). | |||
| 2012-04-29 | Moved version code out of __init__.py. | Adrian Holovaty | |
| Moved everything except VERSION and a get_version() stub out of the top-level __init__.py, so that we're not importing all that stuff all the time. And because it's cleaner. | |||
| 2012-04-29 | Fixed #18023 -- Removed bundled simplejson. | Aymeric Augustin | |
| And started the deprecation path for django.utils.simplejson. Thanks Alex Ogier, Clueless, and other contributors for their work on the patch. | |||
| 2012-04-29 | Simplified timezones tests with settings_changed. | Aymeric Augustin | |
| All relevant state is now properly reset whenever TIME_ZONE or USE_TZ are changed in tests. | |||
| 2012-04-29 | Fixed #17992 -- Added a public API for localtime. | Aymeric Augustin | |
| Thanks Bradley Ayers for the report. | |||
