Jon Dufresne
|
b906c3db63
|
Removed duplicate lines in slugify().
|
2017-04-10 08:12:37 -04:00 |
Daniel F Moisset
|
5d3b322dce
|
Made MultiValueDict.__deepcopy__()'s memo kwarg an arg.
It's always provided.
|
2017-04-07 09:13:57 -04:00 |
Raphael Michel
|
bde814142a
|
Fixed #22654 -- Broken decimal validation
|
2017-04-07 12:45:08 +02:00 |
Tim Graham
|
5ea48a70af
|
Fixed #27912, CVE-2017-7233 -- Fixed is_safe_url() with numeric URLs.
This is a security fix.
|
2017-04-04 10:42:06 -04:00 |
Claude Paroz
|
8346680e1c
|
Refs #27795 -- Removed unneeded force_text calls
Thanks Tim Graham for the review.
|
2017-03-04 18:18:21 +01:00 |
Tim Graham
|
6ae1b04fb5
|
Fixed #27900 -- Made escapejs escape backticks for use in ES6 template literals.
|
2017-03-04 09:04:16 -05:00 |
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 |
Anton Samarchyan
|
9718fa2e8a
|
Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.
|
2017-02-11 16:11:08 -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
|
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 |