Claude Paroz
|
3a148f958d
|
Refs #27795 -- Removed force_text from the template layer
Thanks Tim Graham for the review.
|
2017-02-07 17:14:02 +01:00 |
Claude Paroz
|
c651331b34
|
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
|
2017-02-07 09:04:04 +01:00 |
Claude Paroz
|
2757209c9d
|
Refs #27795 -- Removed force_text from templatize function
|
2017-02-06 17:35:03 +01:00 |
Tim Graham
|
2d899ce16b
|
Refs #23919 -- Removed a Python 2 code path in force_text().
Reverted the obsolete fix and tests for refs #12302.
|
2017-02-03 19:38:33 -05:00 |
Tim Graham
|
26619ad7b0
|
Removed an untested and broken branch in force_bytes() (refs #6353).
The new test crashed in the removed branch. It's unclear if the branch has
value since c6a2bd9b96 didn't include tests.
|
2017-02-03 19:36:53 -05:00 |
Tim Graham
|
4ee877a7b0
|
Used super() in DjangoUnicodeDecodeError.
|
2017-02-03 19:16:14 -05:00 |
Claude Paroz
|
a21ec12409
|
Fixed #27803 -- Kept safe status of lazy safe strings in conditional_escape
|
2017-02-02 21:01:39 +01:00 |
Vytis Banaitis
|
8838d4dd49
|
Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.
|
2017-02-01 11:41:56 -05:00 |
Vytis Banaitis
|
84126f2789
|
Refs #23919 -- Removed unneeded code in force_text().
Unneeded since 7b2f2e74ad .
|
2017-01-31 18:31:17 -05:00 |
Claude Paroz
|
ccfd1295f9
|
Refs #27795 -- Prevented SafeText from losing safe status on str()
This will allow to replace force_text() by str() in several places (as one of
the features of force_text is to keep the safe status).
|
2017-01-30 21:10:32 +01:00 |
Claude Paroz
|
52138b1fd0
|
Refs #23919 -- Removed usage of obsolete SafeBytes class
The class will be removed as part of #27753.
Thanks Tim Graham for the review.
|
2017-01-30 15:04:45 +01:00 |
Claude Paroz
|
277a4dd4b4
|
Fixed #27793 -- Used stdlib's ipaddress module to validate IP addresses
Thanks Tim Graham for the review.
|
2017-01-30 14:22:18 +01:00 |
Claude Paroz
|
e34f4e6f87
|
Made ugettext* functions aliases of gettext*
Thanks Tim Graham for the review.
|
2017-01-28 12:01:30 +01:00 |
Chillar Anand
|
6478e07a62
|
Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context manager.
|
2017-01-26 13:54:16 -05:00 |
Claude Paroz
|
fee42fd99e
|
Refs #23919 -- Replaced usage of django.utils.http utilities with Python equivalents
Thanks Tim Graham for the review.
|
2017-01-26 19:49:03 +01:00 |
Vytis Banaitis
|
d1bab24e01
|
Refs #23919, #27778 -- Removed obsolete mentions of unicode.
|
2017-01-26 08:19:27 -05:00 |
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
Mads Jensen
|
ebf34c3cdc
|
Removed unused variables that are overwritten.
|
2017-01-25 09:14:05 -05:00 |
Claude Paroz
|
d2e7d15b4c
|
Assumed iri_to_uri always returns a string
Thanks Tim Graham for the review.
|
2017-01-23 19:59:33 +01:00 |
Claude Paroz
|
6e55e1d88a
|
Refs #23919 -- Replaced six.reraise by raise
|
2017-01-22 20:08:04 +01:00 |
Tim Graham
|
d170c63351
|
Refs #23919 -- Removed misc references to Python 2.
|
2017-01-21 20:02:00 -05:00 |
Mariusz Felisiak
|
c22212220a
|
Refs #23919 -- Removed re.U and re.UNICODE (default on Python 3).
|
2017-01-21 14:28:16 -05:00 |
Tim Graham
|
9e6e32bf5d
|
Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.
It's only needed to workaround a bug on Python 2.
|
2017-01-21 13:20:17 -05:00 |
Claude Paroz
|
042b7350a0
|
Refs #23919 -- Removed unneeded str() calls
|
2017-01-20 14:13:55 +01:00 |
Tim Graham
|
4e729feaa6
|
Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
|
2017-01-20 08:01:02 -05:00 |
Claude Paroz
|
dc8834cad4
|
Refs #23919 -- Removed unneeded force_str calls
|
2017-01-20 08:44:31 +01:00 |
Tim Graham
|
d29fd3f9a6
|
Fixed django/utils/http.py comment typo.
|
2017-01-19 13:21:54 -05:00 |
Tim Graham
|
d4bb37593e
|
Refs #23919 -- Removed obsolete compare_digest() and pbkdf2() implementations.
|
2017-01-19 11:55:23 -05:00 |
Chillar Anand
|
41e0033caf
|
Refs #23919 -- Removed usage of django.utils.decorators.ContextDecorator.
|
2017-01-19 11:28:30 -05:00 |
Simon Charette
|
4c5ed3e683
|
Refs #23919 -- Removed __nonzero__() methods (for Python 2).
Thanks Tim for the review.
|
2017-01-19 11:26:26 -05:00 |
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
Aymeric Augustin
|
eb422e476f
|
Refs #23919 -- Removed obsolete __ne__() methods.
__ne__() defaults to the opposite of __eq__() on Python 3
when it doesn't return NotImplemented.
|
2017-01-18 21:44:00 -05:00 |
Aymeric Augustin
|
3cc5f01d9b
|
Refs #23919 -- Stopped using django.utils.lru_cache().
|
2017-01-18 21:42:40 -05:00 |
Claude Paroz
|
2b281cc35e
|
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
|
2017-01-18 21:33:28 +01:00 |
Claude Paroz
|
7b2f2e74ad
|
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
|
2017-01-18 20:18:46 +01:00 |
Claude Paroz
|
c716fe8782
|
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
|
2017-01-18 16:21:28 +01:00 |
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
Tim Graham
|
f847308200
|
Advanced deprecation warnings for Django 2.0.
|
2017-01-17 20:52:05 -05:00 |
Tim Graham
|
60ca37d2e5
|
Refs #24046 -- Removed mark_for_escaping() per deprecation timeline.
|
2017-01-17 20:52:04 -05:00 |
Tim Graham
|
eba093e8b0
|
Refs #25847 -- Removed support for User.is_(anonymous|authenticated) as methods.
Per deprecation timeline.
|
2017-01-17 20:52:03 -05:00 |
Tim Graham
|
9d304b26cf
|
Refs #20223 -- Removed deprecated django.utils.functional.allow_lazy().
|
2017-01-17 20:52:02 -05:00 |
Tim Graham
|
75cf9b5ac0
|
Refs #13110 -- Removed SyndicationFeed.add_item()'s enclosure argument.
Per deprecation timeline.
|
2017-01-17 20:52:01 -05:00 |
Tim Graham
|
c6de8cca20
|
Refs #24728 - Removed Atom1Feed/RssFeed mime_type attribute.
Per deprecation timeline.
|
2017-01-17 20:52:00 -05:00 |
Jinank Jain
|
f4c0eec713
|
Fixed #27699 -- Added negative timedelta support to parse_duration()
|
2017-01-14 11:17:54 +01:00 |
vinay karanam
|
6128c1736d
|
Refs #27637 -- Fixed timesince, timeuntil on New Year's Eve in a leap year.
|
2017-01-02 08:40:44 -05:00 |
Anton Samarchyan
|
5cf4894836
|
Fixed #27628 -- Fixed unarchiving a file without permission data.
|
2016-12-28 19:14:58 -05:00 |
Aleksi Häkli
|
f6671c5d78
|
Fixed #27647 -- Fixed Windows segmentation fault in runserver autoreload.
|
2016-12-28 08:04:09 -05:00 |
Tim Graham
|
51cde873d9
|
Fixed #27648 -- Deprecated (iLmsu) regex groups in url() patterns.
|
2016-12-27 15:59:13 -05:00 |
Mariusz Felisiak
|
3e5c5e6754
|
Fixed #27637 -- Fixed timesince, timeuntil in leap year edge case.
|
2016-12-27 09:29:11 -05:00 |
Jaap Roes
|
3188b49ee2
|
Fixed #25753 -- Made get_format() cache the formats from Django settings
|
2016-12-21 17:40:08 +01:00 |