summaryrefslogtreecommitdiff
path: root/django/utils
AgeCommit message (Collapse)Author
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-17Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol
2013-10-17Fixed #18659 -- Deprecated request.REQUEST and MergeDictBouke Haarsma
Thanks Aymeric Augustin for the suggestion.
2013-10-17Fixed #21270 -- Fixed E701 pep8 warningsAlasdair Nicol
2013-10-15Merge pull request #1744 from unaizalakain/ticket_7261Alex Gaynor
Fixed #7261 -- support for __html__ for library interoperability
2013-10-15Fixed #7261 -- support for __html__ for library interoperabilityUnai Zalakain
The idea is that if an object implements __html__ which returns a string this is used as HTML representation (eg: on escaping). If the object is a str or unicode subclass and returns itself the object is a safe string type. This is an updated patch based on jbalogh and ivank patches.
2013-10-14Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill
2013-10-13Fixed #21256 -- Error in datetime_safe.datetime.combine.Aymeric Augustin
2013-10-13Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible.Aymeric Augustin
Thanks jpic for the report and chmodas for working on a patch. Reverts 2ea80b94. Refs #19362.
2013-10-11Fixed assorted flake8 errors.Tim Graham
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-10-10Removed unnecessary semicolons.Tim Graham
2013-10-08Fixed #20568 -- truncatewords_html no longer splits words containing HTML ↵Jaap Roes
entities. Thanks yann0 at hotmail.com for the report.
2013-09-27Fix #21185: Added tests for unescape_entities.Baptiste Mispelon
Also fixed a py3 incompatibility. Thanks to brutasse for the report.
2013-09-25Fixed #20364 -- Changed urlize regexes to include quotation marks as punctation.Giles Richard Greenway
Thanks to EmilStenstrom for raising this, and to Chris Piwoński for all of the fixes and most of the tests.
2013-09-24Fixed #21138 -- Increased the performance of our PBKDF2 implementation.Florian Apolloner
Thanks go to Michael Gebetsroither for pointing out this issue and help on the patch.
2013-09-22Removed a few trailing backslashes.Aymeric Augustin
We have always been at war with trailing backslashes.
2013-09-19Increase default PBKDF2 iterationsPaul McMillan
Increases the default PBKDF2 iterations, since computers have gotten faster since 2011. In the future, we plan to increment by 10% per major version.
2013-09-18Fixed #15625 -- Made message in MultiValueDictKeyError less verbose.Tim Graham
Thanks margieroginski for the suggestion.
2013-09-13Fixed #21060 -- Refactored admin's autodiscover method to make it reusable.Juan Catalano
We want to be able to use it for instance for discovering `tasks.py` modules inside the INSTALLED_APPS. This commit therefore moves the logic to `autodiscover_modules` method in django.utils.module_loading.
2013-09-13Fixed #20844 -- Made AdminEmailHandler respect LOGGING 'formatter' setting.Daniel Sokolowski
2013-09-10Fixed #20841 -- Added messages to NotImplementedErrorsGregor MacGregor
Thanks joseph at vertstudios.com for the suggestion.
2013-09-09Refactored code and tests that relied on django.utils.tzinfo.Aymeric Augustin
Refs #17262.
2013-09-09Fixed #17262 -- Refactored tzinfo implementations.Aymeric Augustin
This commit deprecates django.utils.tzinfo in favor of the more recent django.utils.timezone which was introduced when Django gained support for time zones.
2013-09-09Fixed #21078 -- Handled additional bad Accept-Language headerJosh Mize
2013-09-08Fixed #18766 -- Pointed to pytz when LocalTimezone fails.Aymeric Augustin
Thanks void for the report.
2013-09-06Fixed a number of flake8 errors -- particularly around unused imports and ↵Alex Gaynor
local variables
2013-09-06Moved a settings usage up the stack in utils/formats.py #unsettingsAdrian Holovaty
2013-09-06Fixed #21049 -- Fixed autoreload for Python 3Max Burstein
Changed th system module values check to return a list. In Python 3 it returns a dict_view which could occassionally produce a runtime error of "dictionary changed size during iteration".
2013-09-06Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type.Florian Apolloner
2013-09-06Fixed #21052 -- Small performance optimization.Aymeric Augustin
2013-09-06Fixed #18719 -- Made force_bytes more consistent with force_text.Aymeric Augustin
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-09-04Updated six to version 1.4.1.Aymeric Augustin
2013-09-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
2013-09-02Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
2013-09-02Updated the bundled version of six to 1.4.0.Aymeric Augustin
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-08-29Fixed #20989 -- Removed explicit list comprehension inside dict() and tuple()Tim Graham
Thanks jeroen.pulles at redslider.net for the suggestion and helper script.
2013-08-26Fixed #20693 -- Add timezone support to built-in time filter.Warren Smith
Modified django.utils.dateformat module, moving __init__() method and timezone-related format methods from DateFormat class to TimeFormat base class. Modified timezone-related format methods to return an empty string when timezone is inappropriate for input value.
2013-08-21Avoid importing the deprecated `django.utils.importlib` package.Simon Charette
2013-08-21Correctly format missing Pillow/PIL exceptions messages. refs #19934Simon Charette
2013-08-19Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: docs/ref/django-admin.txt
2013-08-18Some code simplificationAlex Gaynor
2013-08-18Update LazyObject method proxy declarations to simpler form.Nick Bruun
2013-08-15Regression test and patch for ticket #20924.Nick Bruun
2013-08-13Fixed is_safe_url() to reject URLs that use a scheme other than HTTP/S.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-10Docs tweaks (thanks timgraham)Andrew Godwin