summaryrefslogtreecommitdiff
path: root/django/utils
AgeCommit message (Collapse)Author
2014-10-16Fixed #23664 -- Provided a consistent definition for OrderedSet.__bool__Thomas Chaumeny
This also defines QuerySet.__bool__ for consistency though this should not have any consequence as bool(qs) used to fallback on QuerySet.__len__ in Py3.
2014-10-16Fixed #19508 -- Implemented uri_to_iri as per RFC.Anubhav Joshi
Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz for the review.
2014-10-15Added unicode_literals to the jslexer.Florian Apolloner
This ensure that ''.join(c) in jslex.py always returns text.
2014-10-10Fixed #23613 -- Deprecated django.utils.checksumsJaap Roes
2014-10-06Fixed #23593 -- Fixed crash in AdminEmailHandler with non-ASCII characters ↵Tim Graham
in request. Thanks edevil for the report and Simon Charette for review.
2014-09-30Fixed #23569 -- Allowed using configs besides dictConfig in LOGGING_CONFIG.Seth Hill
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
Thanks Collin Anderson for the review.
2014-09-21Fixed #23196 -- Short-circuited empty string translationYuri Kriachko
Translating an empty string used to return the gettext catalog metadata instead of the empty string. Thanks Ned Batchelder for the suggestion, Tim Graham for the review and Anton Berezin and Claude Paroz for contributions to the patch.
2014-09-10Avoided using deprecated version of importlib; refs #23418.Tim Graham
2014-09-09Fixed flake8 warnings.Tim Graham
2014-09-09Fixed urlize after smart_urlquote rewriteClaude Paroz
Refs #22267.
2014-09-09Fixed #22267 -- Fixed unquote/quote in smart_urlquoteClaude Paroz
Thanks Md. Enzam Hossain for the report and initial patch, and Tim Graham for the review.
2014-09-08Fixed #23399 -- Optimized django.utils.http.int_to_bas36()Tim Graham
Thanks liminspace for the patch and Keryn Knight for benchmarking.
2014-09-08Fixed flake8 warning.Tim Graham
2014-09-08Fixed #23418 -- Fail when migration deconstruct produces invalid importMarkus Holtermann
2014-09-05Revert "Fixed #23384 -- Allowed overriding part of a dictionary-type setting"Claude Paroz
This reverts commit 66757fee7e921ad4c35e0b3f80c25e026100b31c. Discussions have led to think that this functionality does not bring significant benefits to justify the added complexity. Read also discussions on ticket #22734.
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-08-31Fixed #23388 -- Made django.utils.timezone.override usable as a decoratorThomas Chaumeny
2014-08-30Fixed #22820 -- Treated int and long types alike in lazy_numberClaude Paroz
Thanks kwist for the report and the initial patch.
2014-08-30Fixed #23384 -- Allowed overriding part of a dictionary-type settingClaude Paroz
This change is needed for upcoming changes where settings might be grouped in a parent dictionary. Thanks Tim Graham for the review.
2014-08-28Fixed #23381 -- Context manager restored state should be determined in __enter__Thomas Chaumeny
2014-08-28Fixed #23323 -- Made django.utils.translation.override usable as a decorator.Thomas Chaumeny
2014-08-28Factorize some code using ContextDecorator.Thomas Chaumeny
2014-08-23Fixed #22867 -- Memoized django.utils.version.get_git_changeset().Tim Graham
Restored original fix that had to be removed because the old djangoproject server was still using Python 2.6.
2014-08-22Fixed #23333 -- Made urlsafe_base64_decode() return proper type on Python 3.Ian Foote
2014-08-18Fixed #22171 -- Improved sanitize_separators clevernessClaude Paroz
Thanks Klaas van Schelven for the report and Tim Graham for the review.
2014-08-15Fixed #23287 -- Updated error message for classonlymethod decorator.Tim Graham
2014-08-15Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.Tim Graham
Also the unused, undocumented django.utils.html.strip_entities() function.
2014-08-04Fixed a typo in comment in django/utils/version.pySitesh Shrivastava
2014-08-02Fixed two typos in docstrings.Baptiste Mispelon
2014-07-25Fixed #23083 -- Fixed runserver reloading when deleting a file.Tim Graham
Thanks Collin Anderson for the report and hirokiky for the fix.
2014-07-15Fixed #22991 -- Prevented *.pyc files in autoreload monitoringClaude Paroz
This fixes a regression introduced in 6d302f639. Thanks lorinkoz at gmail.com for the report, Collin Anderson for the initial patch and Simon Charette for the review.
2014-07-14Fixed #23005 -- Allowed specifying special fallback languagesClaude Paroz
This fixes the Chinese language issues described in #23005 but also provides for other fallback exceptions by updating the LANG_INFO structure. Thanks caxekis at gmail.com for the report and Tim Graham for the review.
2014-07-14Fixed #22789 -- Deprecated django.contrib.webdesign.Tim Graham
Moved the {% lorem %} tag to built-in tags.
2014-07-11Bump the default iterations for PBKDF2.Alex Gaynor
The rate at which we've increased this has not been keeping up with hardware (and software) improvements, and we're now considerably behind where we should be. The delta between our performance and an optimized implementation's performance prevents us from improving that further, but hopefully once Python 2.7.8 and 3.4+ get into more hands we can more aggressively increase this number.
2014-07-09Fixed #22223 -- Prevented over-escaping URLs in reverse()Claude Paroz
And follow more closely the class of characters defined in the RFC 3986. Thanks Erik van Zijst for the report and the initial patch, and Tim Graham for the review.
2014-07-07Fixed flake8 errors.Tim Graham
2014-07-06Fixed pyinotify performance regression in 15f82c7011Claude Paroz
Refs #9722. Thanks Tim Graham for the review.
2014-07-04Updated urlize regex following a93ee5112d4LarryBrid
Prevent urlize from turning some.organization, an.intern etc. into urls. Refs #22941.
2014-07-02Fixed #22941 - Added support for domain-only links with chars after the TLD ↵LarryBrid
to urlize. It now works with something like google.com/foo/bar
2014-07-01Fixed #22691 -- Added aliasing to cached_property.Curtis
2014-06-26Added newline to fix flake8 error.Tim Graham
2014-06-26Fixed #22857 -- Reset translations when only .mo file changedClaude Paroz
No need to restart the server when a translation file changes. Refs #9523. Thanks artscoop for the report and Tim Graham for the review.
2014-06-23Cleaned temp dir in symlinks_supported()Claude Paroz
Refs #21482.
2014-06-23Fixed #8033 -- Explained app registry error during translation setupClaude Paroz
Thanks Tim Graham and Aymeric Augustin for the review.
2014-06-23Fixed #22867 -- Memoized django.utils.version.get_git_changeset().Loic Bistuer
This follows commits 80f4487 and 01399fa; original patch had to be reverted because it wasn't Python 2.6 compatible and we need it to be in order to build docs on the djangoproject.com server. This fix should be replaced by @lru_cache as soon as we drop Python 2.6 compatibility. Thanks Florian Apolloner for the review and Alexander Schepanovski for the original patch.
2014-06-19Revert "Fixed #22867 -- Memoized django.utils.version.get_git_changeset()."Aymeric Augustin
This reverts commit 80f4487 temporarily, because that commit prevented the djangoproject.com server from building the docs, because it still uses Python 2.6.
2014-06-19Fixed #22867 -- Memoized django.utils.version.get_git_changeset().Alexander Schepanovski
This improves pickling speed in prelease versions of Django; refs #21430.
2014-06-16Fixed #21498: Don't use a fallback language if you're en-us.Andrew Godwin
2014-06-13Added django.utils.six.buffer_typesShai Berger
and used it in the Oracle SchemaEditor. Refs #22715.