summaryrefslogtreecommitdiff
path: root/django/utils
AgeCommit message (Collapse)Author
2013-01-26Fixed #19589 -- assertRegexpMatches is deprecated in Python 3.3.Aymeric Augustin
2013-01-25Fixed #19577 - Added HTML escaping to admin examples.Tim Graham
Thanks foo@ for the report and Florian Apolloner for the review.
2013-01-21Fixed #19637 -- Ensured AdminEmailHandler fails silentlyClaude Paroz
Thanks lsaffre for the report. Refs #19325.
2013-01-11Made dev server autoreloader ignore filenames reported as None.Thomas Bartelmess
Useful under Jython. Thanks Thomas Bartelmess for the report and patch. Ref #9589.
2013-01-01Updated our six module to follow upstream changes.Florian Apolloner
This includes fixes for the java/jython detection and a new license header. Thanks to Thomas Bartelmess for the report.
2012-12-29Advanced pending deprecation warnings.Aymeric Augustin
Also added stacklevel argument, fixed #18127.
2012-12-29Removed truncate_words and truncate_html_words.Aymeric Augustin
2012-12-29Removed obsolete compatibility functions for old Pythons.Aymeric Augustin
2012-12-29Removed django.contrib.localflavor.Aymeric Augustin
Each localflavor lives on as a separate app.
2012-12-29Removed backwards-compatibility shim for #16288.Aymeric Augustin
Also unit-tested django.utils.log.RequireDebugTrue for consistency.
2012-12-24Fixed #19204 -- Replaced python2-style exception syntax.Florian Apolloner
Thanks to garrison for the report and patch.
2012-12-17Fixed #19485 -- Python 3 compatibility for c2a6b2a4.Aymeric Augustin
Refs #9589.
2012-12-16Fixed #18718 - Documented django.utils.encoding.filepath_to_uriTim Graham
2012-12-15Fixed a couple of docstring typos.Ramiro Morales
2012-12-15Fixed #9589 -- Made development web server more robust in the presence of a ↵Ramiro Morales
wider variety of code errors. Thanks goes to contributor with Trac user 'berto' for the patch.
2012-12-10Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users.Florian Apolloner
2012-12-08Fixed #19357 -- Allow non-ASCII chars in filesystem pathsClaude Paroz
Thanks kujiu for the report and Aymeric Augustin for the review.
2012-12-03cope with unsplittable urls in smarl_urlquote.Tom Insam
2012-12-01Fixed #19015 -- Add ISO input formats to all formatsClaude Paroz
2012-11-24Fixed #19237 -- Improved strip_tags utilityChris Khoo
The previous pattern didn't properly addressed cases where '>' was present inside quoted tag content.
2012-11-20Fixed #19325 - Made email backend of AdminEmailHandler configurableHannes Struss
2012-11-16Fixed #18985 -- made DeprecationWarnings loudPreston Holmes
Capture warnings in Python >= 2.7 and route through console handler, which is subject to DEBUG==True Thanks to dstufft for the idea, and claudep for initial patch
2012-11-14Fixed #19272 -- Fixed gettext_lazy returned type on Python 2Claude Paroz
Thanks tyrion for the report.
2012-11-13Some changes to SortedDict to make it faster under py2Anssi Kääriäinen
Refs #19276
2012-11-12Negligible spacing fix in utils/log.pyAdrian Holovaty
2012-11-03Fixed #18963 -- Used a subclass-friendly patternAymeric Augustin
for Python 2 object model compatibility methods.
2012-10-31Fixed #19070 -- urlize filter no longer raises exceptions on 2.7Andrew Godwin
Thanks to claudep for the patch.
2012-10-26Properly support pickling of LazyObjects in Python 3.3Ian Clelland
2012-10-25Ensured get_version returns a native string.Aymeric Augustin
Returning unicode triggers a bug in Python 2.7: http://bugs.python.org/issue11638 This problem was introduced in 4a103086 (unicode_literals).
2012-10-24Remove a case that is no longer reachable in encodings.py.Alex Gaynor
This case was originally designed to handle Exception's which didn't gracefully support coercing themselves to unicode. However, because it lives in the `else` case of `if hasattr(s, '__unicode__'):` we can be sure it's no longer reachable in djanog anymore, because since Python 2.5 exception has subclassed object, which means Exception objects always have an __unicode__ method.
2012-10-21Merge pull request #457 from JanBednarik/ticket_19142Claude Paroz
Fixed #19142 -- Language codes can include numbers (RFC 3066)
2012-10-20Merge pull request #444 from mitar/patch-2Alex Gaynor
Allow reversed iteration over SortedDict.
2012-10-21Fixed #19142 -- Language codes can include numbers (RFC 3066).Jan Bednařík
2012-10-20Fixed #7581 -- Added streaming responses.Aymeric Augustin
Thanks mrmachine and everyone else involved on this long-standing ticket.
2012-10-15Allow reversed iteration over SortedDict.Mitar
Iterators cannot be reversed easily without this method.
2012-10-15Build context strings out of [u|n]gettextClaude Paroz
The context strings in [n]pgettext functions should not be marked themselves for translation.
2012-10-10Revert "Fixed #16211 -- Added comparison and negation ops to F() expressions"Anssi Kääriäinen
This reverts commit 28abf5f0ebc9d380f25dd278d7ef4642c4504545. Conflicts: docs/releases/1.5.txt
2012-09-30Fixed #16211 -- Added comparison and negation ops to F() expressionsAnssi Kääriäinen
Work done by Walter Doekes and Trac alias knoeb. Reviewed by Simon Charette.
2012-09-29Moved filter at handler levelClaude Paroz
Filters at logger level are only processed for messages directly logged to the specific logger, not for loggers in the parent chain. As the 'django' logger is almost always processed as an inherited logger, it makes more sense to filter messages at the 'console' handler level.
2012-09-29Fixed #18993 -- 'django' logger logs to console when DEBUG=TrueClaude Paroz
Thanks Preston Holmes for the review.
2012-09-29Combined Django DEFAULT_LOGGING with user LOGGING configClaude Paroz
Refs #18993.
2012-09-27Fixed #18881 -- Made the context option in {% trans %} and {% blocktrans %} ↵Julien Phalip
accept literals wrapped in single quotes. Thanks to lanyjie for the report.
2012-09-26Fixed parse_http_date docstring and moved related testsClaude Paroz
Refs #18675.
2012-09-22Fixed #18951 -- Formatting of microseconds.Aymeric Augustin
Thanks olofom at gmail com for the report.
2012-09-18Use unicode.translate to speed up js escaping.Dave Hall
2012-09-18Fixed #18800 -- Support numbers bigger than max float in `numberformat`.Florian Apolloner
Thanks to jbvsmo for the patch and Brad Pitcher for the tests.
2012-09-09Fix an HTML-parser test that's failed in Python 2.6.8 since 5c79dd58.Carl Meyer
The problem description in #18239 asserted that http://bugs.python.org/issue670664 was fixed in Python 2.6.8, but based on http://bugs.python.org/issue670664#msg146770 it appears that's not correct; the fix was only applied in 2.7, 3.2, and Python trunk. Therefore we must use our patched HTMLParser subclass in all Python 2.6 versions.
2012-09-07Fixed #12397 -- allow safe_join to work with the root file system path, ↵Alex Gaynor
which means you can have your root template or file upload path at this location. You almost certainly don't want to do this, except in *very* limited sandboxed situations.
2012-09-07[py3k] Silence many warnings while running the tests.Alex Gaynor
2012-09-04Fixed #18902 -- Made force_bytes properly handle exception inputClaude Paroz
Thanks Aymeric Augustin for the report and the initial patch.