Pavlo Kapyshin
|
b6fbf3e8e5
|
Fixed #27879 -- Fixed crash if enclosures aren't provided to Atom1Feed.add_item().
Regression in 75cf9b5ac0
|
2017-02-24 09:46:31 -05:00 |
Ian Foote
|
508b5debfb
|
Refs #11964 -- Made Q objects deconstructible.
|
2017-02-23 20:47:48 -05:00 |
Tim Graham
|
007d4e030c
|
Completed test coverage for django.utils.encoding.
|
2017-02-22 20:54:55 -05:00 |
Chronial
|
03281d8fe7
|
Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri().
|
2017-02-09 09:22:00 -05:00 |
Tim Graham
|
500532c95d
|
Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().
|
2017-02-09 09:03:47 -05: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 |
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
|
2f1394c76d
|
Added a test for force_text()'s DjangoUnicodeDecodeError path.
|
2017-02-03 19:15:50 -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 |
Tim Graham
|
f8d52521ab
|
Refs #27804 -- Used subTest() in tests.utils_tests.test_html.
|
2017-02-02 08:17:00 -05:00 |
Tim Graham
|
2af8cd22a9
|
Imported specific functions in tests.utils_tests.test_html.
|
2017-02-02 07:23:10 -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
|
c182d66f69
|
Reintroduced lazy import from commit 52138b1fd0
|
2017-01-30 15:17:39 +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 |
Tim Graham
|
9e9e73735e
|
Refs #23919 -- Removed an obsolete test for a Python 2 code path (refs #15662).
Fixed #21628 by removing the last usage of the imp module.
|
2017-01-27 17:39:49 -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 |
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
Claude Paroz
|
2366100872
|
Removed unneeded force_text calls in the test suite
|
2017-01-24 18:45:54 +01:00 |
Tim Graham
|
d170c63351
|
Refs #23919 -- Removed misc references to Python 2.
|
2017-01-21 20:02:00 -05:00 |
Tim Graham
|
7aba69145d
|
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
|
2017-01-20 08:17:20 -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 |
Tim Graham
|
109b33f64c
|
Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2.
|
2017-01-20 08:49:47 +01:00 |
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01: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
|
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 |
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 |
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 |
Phil Tysoe
|
bf4516a628
|
Added tests for django.utils.autoreload.
|
2016-12-22 09:01:28 -05:00 |
Mariusz Felisiak
|
8e3a72f4fb
|
Fixed #27583 -- Fixed MultiValueDict.getlist() crash when values for key is None.
Restored the behavior before 727d7ce6cb .
|
2016-12-09 15:31:52 -05:00 |
Tim Graham
|
b5f0b3478d
|
Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.
|
2016-12-07 17:42:31 -05:00 |
Anton Samarchyan
|
d0112cf930
|
Fixed #26494 -- Made Archive.extract() preserve file permissions.
|
2016-12-06 08:28:36 -05:00 |
Keda87
|
794b7d8033
|
Refs #27546 -- Tested some __repr__() methods.
|
2016-12-01 08:09:38 -05:00 |
Adam Chainz
|
71609a5b90
|
Fixed #27555 -- Removed django.utils.functional.lazy_property.
|
2016-11-29 19:01:12 -05:00 |
Ramin Farajpour Cami
|
0a63ef3f61
|
Fixed #27463 -- Fixed E741 flake8 warnings.
|
2016-11-14 17:40:28 -05:00 |
Ramin Farajpour Cami
|
967be82443
|
Fixed E305 flake8 warnings.
|
2016-11-14 12:30:46 -05:00 |
za
|
321e94fa41
|
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
2016-11-10 21:30:21 -05:00 |
Joachim Jablon
|
fd78fb82d6
|
Fixed #27138 -- Restored pre-Python 3.6 behavior of localtime() and make_naive() on Python 3.6.
Reverted test changes in a7a7ecd2b0 and
e43ea36b76 (refs #27025).
|
2016-11-07 19:07:18 -05:00 |
Tim Graham
|
3158695365
|
Completed django.utils.timezone test coverage.
|
2016-11-01 14:01:40 -04:00 |
Tim Graham
|
414ad25b09
|
Fixed #27327 -- Simplified time zone handling by requiring pytz.
|
2016-10-27 08:53:20 -04:00 |
Reto Aebersold
|
3ab55c1a8a
|
Fixed #27309 -- Added CallableBool.__hash__().
|
2016-10-04 07:44:19 -04:00 |
Tim Graham
|
e43ea36b76
|
Refs #27025 -- Fixed a timezone test for Python 3.6.
Reflects behavior changes in PEP 495 (Local Time Disambiguation).
|
2016-09-17 15:44:06 -04:00 |
Tim Graham
|
8119b679eb
|
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
|
2016-09-17 15:44:06 -04:00 |