Tim Graham
|
fe2d288434
|
Fixed #27722 -- Reallowed using django.Template in {% include %}.
|
2017-02-11 06:51:57 -05:00 |
Tim Graham
|
0595bca221
|
Fixed #27742 -- Reverted "Fixed #24607 -- Serialized natural keys in multi-table inheritance models."
This reverts commit 74a575eb72 as it causes
unexpected migrations and doesn't seem to be the best solution.
|
2017-02-11 06:34:59 -05:00 |
Tim Graham
|
7b6e42089c
|
Fixed #25978 -- Deprecated shorcuts.render_to_response().
|
2017-02-11 05:49:04 -05:00 |
Tim Graham
|
0166dd2f8c
|
Fixed #25524 -- Removed GISOperations.get_distance()'s handle_spheroid param.
|
2017-02-11 05:47:20 -05:00 |
Claude Paroz
|
d4b00c5c24
|
Removed WSGIServer.server_bind() identical to parent version
The method customization was removed in 2ca00faa91 .
|
2017-02-11 11:16:35 +01:00 |
ClairePhila
|
d26413113c
|
Refs #27148 -- Fixed UUIDField.to_python(None) crash.
Regression in 2f9861d823 .
|
2017-02-10 13:54:52 -05:00 |
ClairePhila
|
edad02af06
|
Allow UUIDField to be None when deserializing
|
2017-02-10 17:26:02 +01:00 |
Nadège Michel
|
bece837829
|
Fixed #20238 -- Added threading support to LiveServerTestCase.
|
2017-02-09 19:08:32 -05:00 |
Mikhail Nacharov
|
c4e2fc5d98
|
Fixed #22669 -- Fixed QuerySet.bulk_create() with empty model fields on Oracle.
|
2017-02-09 18:47:08 -05:00 |
Mariusz Felisiak
|
965f678a39
|
Fixed #25898 -- Made test database/user creation on Oracle reraise unexpected errors.
Thanks Shai Berger and Tim Graham for review.
|
2017-02-09 17:55:07 -05:00 |
François Freitag
|
e124d2da94
|
Fixed #26551 -- Fixed negated Q() queries that span relations.
Prevented queries from reusing trimmed joins.
|
2017-02-09 11:20:33 -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 |
Tim Graham
|
21f13ff5b3
|
Refs #23919 -- Removed an used block in ExceptionReporter.get_traceback_data().
The test from refs #20368 only runs this block on Python 2.
|
2017-02-09 09:03:28 -05:00 |
Mariusz Felisiak
|
1b96dbdad0
|
Fixed #27822 -- Replaced deprecated cx_Oracle types in DatabaseIntrospection.data_types_reverse.
|
2017-02-09 08:57:34 -05:00 |
Anton Samarchyan
|
b27166b769
|
Fixed #27356 -- Fixed ModelAdmin.lookup_allowed() for some nested relations.
|
2017-02-07 19:33:26 -05:00 |
Mariusz Felisiak
|
6b048b364c
|
Fixed #26903 -- Fixed __contains lookup for Date/DateTimeRangeField.
Thanks Mariusz Felisiak and Tim Graham for polishing the patch.
|
2017-02-07 12:46:18 -05:00 |
Mariusz Felisiak
|
0034e9af18
|
Fixed #5851 -- Allowed specifying different HTML attrs for SplitDateTimeWidget subwidgets.
Thanks Tim Graham and Nick Pope for review.
|
2017-02-07 11:33:37 -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 |
Tim Graham
|
854f695014
|
Refs #27815 -- Reordered LoginView.get_form_kwargs().
|
2017-02-07 10:15:43 -05:00 |
Zoltan Gyarmati
|
41ba27fefd
|
Fixed #27815 -- Made LoginView pass the request kwarg to AuthenticationForm.
|
2017-02-07 08:54:21 -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
|
4353640ea9
|
Fixed #27805 -- Fixed ClearableFileInput's "Clear" checkbox on model fields with a default.
|
2017-02-06 20:31:04 -05:00 |
Ryan O’Hara
|
7c4289d0b9
|
Fixed #27783 -- Switched VariableDoesNotExist.__str__() to repr() context.
Using __str__() and then repr'ing the result looks strange and can lead
to recursive rendering of forms.
|
2017-02-06 17:53:21 -05:00 |
Claude Paroz
|
2757209c9d
|
Refs #27795 -- Removed force_text from templatize function
|
2017-02-06 17:35:03 +01:00 |
Mariusz Felisiak
|
15c14f6f16
|
Fixed #27802 -- Unified return value of db backend datetime SQL methods.
|
2017-02-06 09:19:13 -05:00 |
Anton Samarchyan
|
5411821e3b
|
Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.
|
2017-02-04 16:39:28 -05:00 |
orf
|
b5393028bf
|
Fixed #27767 -- Added distinct argument to ArrayAgg.
|
2017-02-04 13:57:39 -05:00 |
Mads Jensen
|
86ae1d51ed
|
Refs #27546 -- Removed hardcoded class names in __repr__() methods.
|
2017-02-04 11:42:45 -05: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 |
Tim Graham
|
29f607927f
|
Fixed spelling of "nonexistent".
|
2017-02-03 08:01:45 -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
|
597bfcbf8b
|
Removed unused ExceptionReporter.format_exception() method.
Unused since its introduction in e7e4b8b0f7 .
|
2017-02-01 19:55:31 -05:00 |
Tim Graham
|
0205e04ce7
|
Removed ExceptionReporter support for string exceptions.
Reverted refs #6423 since raising string exceptions is prohibited
since Python 2.5.
|
2017-02-01 19:47:39 -05:00 |
Tim Graham
|
924af638e4
|
Fixed #27683 -- Made MySQL default to the read committed isolation level.
Thanks Shai Berger for test help and Adam Johnson for review.
|
2017-02-01 15:34:17 -05:00 |
Vytis Banaitis
|
8838d4dd49
|
Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.
|
2017-02-01 11:41:56 -05:00 |
Ling-Xiao Yang
|
0ec4dc91e0
|
Fixed #27661 -- Moved FileSystemFinder's ImproperlyConfigured exceptions to system checks.
Thanks Simon Charette, Mariusz Felisiak, Tim Graham, and Adam Johnson
for review.
|
2017-02-01 09:48:24 -05:00 |
Lex Berezhny
|
ac5f886c56
|
Fixed #27800 -- Fixed QuerySet.annotate(Length(...)).distinct() crash.
|
2017-01-31 18:45:55 -05:00 |
Vytis Banaitis
|
84126f2789
|
Refs #23919 -- Removed unneeded code in force_text().
Unneeded since 7b2f2e74ad .
|
2017-01-31 18:31:17 -05:00 |
Jon Dufresne
|
6d8979f4c2
|
Fixed #27758 -- Reallowed AdvancedModelIterator pattern after template widget rendering.
|
2017-01-31 09:41:51 -05:00 |
Claude Paroz
|
3b2e28fc85
|
Used model_ngettext in two more places
|
2017-01-31 08:48:17 +01: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
|
c688336ebc
|
Refs #23919 -- Assumed request COOKIES and META are str
|
2017-01-30 14:13:29 +01:00 |
Mariusz Felisiak
|
89501d9298
|
Fixed #27789 -- Simplified query for sequence value on Oracle.
|
2017-01-30 08:03:42 -05:00 |
Claude Paroz
|
068cd60366
|
Removed unneeded parentheses in class definitions
|
2017-01-29 18:06:26 +01:00 |
Thom Wiggers
|
d5b573d872
|
Fixed #26993 -- Increased User.last_name max_length to 150 characters.
|
2017-01-28 09:29:00 -05:00 |
Tim Graham
|
0de0699d94
|
Fixed #27788 -- Dropped support for Oracle < 12.1.
|
2017-01-28 08:19:47 -05:00 |
Srinivas Reddy Thatiparthy
|
a6755b29e9
|
Removed obsolete sentence in ManagementUtility docstring.
|
2017-01-28 08:09:42 -05:00 |
Claude Paroz
|
e34f4e6f87
|
Made ugettext* functions aliases of gettext*
Thanks Tim Graham for the review.
|
2017-01-28 12:01:30 +01:00 |
Dmitry Gladkov
|
b09faa497e
|
Fixed #27748 -- Switched HTTP error handlers to reference callables instead of strings.
|
2017-01-27 16:13:40 -05:00 |
Ed Morley
|
751d77cdd9
|
Refs #27537 -- Added default_addr(_ipv6) attributes to runserver command.
|
2017-01-27 13:30:27 -05:00 |
Anton Samarchyan
|
0cbfc844a3
|
Improved test coverage and error messages for conf.urls.__init__.
|
2017-01-27 13:16:55 -05:00 |
Tim Graham
|
e07e743e0c
|
Refs #23919 -- Used DeclarativeFieldsMetaclass.__prepare__() for tracking form field order.
|
2017-01-27 12:46:21 -05:00 |
Anton Samarchyan
|
8ae90c58ac
|
Slightly simplified django.conf.urls.static.static().
|
2017-01-26 18:45:07 -05:00 |
Mariusz Felisiak
|
c37ec5a659
|
Fixed #27781 -- Made simplify_regex() remove outstanding '?' characters.
Regression in f0ef0c49e9 .
|
2017-01-26 18:36:34 -05: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 |
Tim Graham
|
af598187ec
|
Removed unnecessary force_text() in BaseTemporalField.to_python().
This seems unneeded since its introduction in
da3aa22d04 .
|
2017-01-26 13:35:39 -05:00 |
Vytis Banaitis
|
d1bab24e01
|
Refs #23919, #27778 -- Removed obsolete mentions of unicode.
|
2017-01-26 08:19:27 -05:00 |
Tim Graham
|
1c466994d9
|
Refs #23919 -- Removed misc Python 2/3 references.
|
2017-01-25 13:59:25 -05:00 |
Tim Graham
|
90db4bb0d7
|
Corrected http.multipartparser.exhaust() docstring.
MultiPartParserError was removed in
ebf34c3cdc .
|
2017-01-25 13:00:00 -05:00 |
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
Tim Graham
|
2d96c027f5
|
Refs #23919 -- Removed obsolete MySQLdb references.
|
2017-01-25 10:16:10 -05:00 |
Tim Graham
|
632c4ffd9c
|
Refs #23919 -- Replaced errno checking with PEP 3151 exceptions.
|
2017-01-25 10:13:08 -05:00 |
Tim Graham
|
3f0c4fe18f
|
Refs #25175 -- Deprecated db.backends.postgresql_psycopg2 module.
|
2017-01-25 09:23:04 -05:00 |
Mads Jensen
|
ebf34c3cdc
|
Removed unused variables that are overwritten.
|
2017-01-25 09:14:05 -05:00 |
Tim Graham
|
5b95d421f7
|
Refs #23919 -- Removed a MySQLdb workaround (refs #6052) for Python 2.
|
2017-01-24 08:35:06 -05:00 |
Tim Graham
|
a87d6b69a7
|
Tidied djang.db.utils.load_backend().
Removed an unneeded EnvironmentError catching and used
"raise from exc" syntax.
|
2017-01-24 08:33:26 -05:00 |
Tim Graham
|
435e4bf38e
|
Refs #23919 -- Removed __traceback__ setting needed for Python 2.
Partially reverted refs #25761 and refs #16245.
|
2017-01-24 08:31:58 -05:00 |
Nick Mavrakis
|
e5c2e43cc8
|
Fixed #27743 -- Prevented admin's "+" button icon from overlapping its label.
|
2017-01-23 19:24:47 -05:00 |
Jon Dufresne
|
0d74c41981
|
Replaced dict() usage with dict literals.
Literals are faster and more idiomatic.
|
2017-01-23 19:13:49 -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 |
Jon Dufresne
|
f0573aad4b
|
Replaced "not var is ..." with "is not" in attrs.html.
|
2017-01-23 13:14:00 -05:00 |
Tim Graham
|
248d54569e
|
Removed MySQL decimal casting.
Added in Django 1.0: 92c35a0617
Unknown when it became obsolete.
|
2017-01-23 10:44:02 -05:00 |
Jon Dufresne
|
5fa390ee81
|
Fixed #27759 -- Prevented forms attrs.html template from rendering False attrs.
Regression in b52c73008a .
|
2017-01-23 08:49:00 -05:00 |
Jon Dufresne
|
88183117c2
|
Fixed #27761 -- Fixed quote location in multiple_input.html forms templates.
|
2017-01-23 07:44:57 -05:00 |
Jon Dufresne
|
ecd5944666
|
Removed ChoiceWidget.render() as it duplicates parent implementation.
|
2017-01-23 07:33:27 -05:00 |
Claude Paroz
|
8377a98ca5
|
Removed obsolete force_text_recursive
|
2017-01-22 21:13:00 +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
|
990ce6386c
|
Refs #5748 -- Removed obsolete Python/Windows workarounds in floatformat filter.
|
2017-01-21 13:53:35 -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 |
Tim Graham
|
1b06d5e6f6
|
Refs #23919 -- Removed pysqlite support (it's Python 2 only).
|
2017-01-20 18:21:15 -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 |
Srinivas Reddy Thatiparthy
|
ec4c1d6717
|
Removed u'' prefx in django/core/signing.py comment.
|
2017-01-20 07:38:17 -05:00 |
Claude Paroz
|
dc8834cad4
|
Refs #23919 -- Removed unneeded force_str calls
|
2017-01-20 08:44:31 +01:00 |
Mariusz Felisiak
|
bf1c957027
|
Refs #23919 -- Removed Python 2 workaround for hashing Oracle params (refs #27632).
|
2017-01-19 22:20:14 -05:00 |
Tim Graham
|
fedda6d9bd
|
Refs #23919 -- Removed Python 2 version check in django.http.cookie.
|
2017-01-19 20:06:03 -05:00 |
Srinivas Reddy Thatiparthy
|
eb0b921c29
|
Refs #23919 -- Removed SessionBase.iterkeys(), itervalues(), iteritems().
These methods only work on Python 2.
|
2017-01-19 14:15:00 -05:00 |
Tim Graham
|
9ee47ce7b4
|
Refs #23919 -- Removed enum ImportError handling for Python 2.
|
2017-01-19 13:55:20 -05:00 |
Tim Graham
|
d29fd3f9a6
|
Fixed django/utils/http.py comment typo.
|
2017-01-19 13:21:54 -05:00 |
Tim Graham
|
9d27478958
|
Refs #23919 -- Removed docs references to long integers.
|
2017-01-19 13:19:26 -05:00 |
Tim Graham
|
9e917cc291
|
Fixed #23905, refs #23919 -- Used make_msgid() from stdlib.
|
2017-01-19 12:58:19 -05:00 |