Compare commits

..

3283 Commits

Author SHA1 Message Date
Mariusz Felisiak
2a62cdcfec [2.2.x] Added CVE-2022-28346 and CVE-2022-28347 to security archive.
Backport of 78eeff8d33ead67cfc8603477c95e70f8fbe096a from main
2022-04-11 10:37:53 +02:00
Mariusz Felisiak
d3731c9431 [2.2.x] Post-release version bump. 2022-04-11 09:29:13 +02:00
Mariusz Felisiak
5c3300027b [2.2.x] Bumped version for 2.2.28 release. 2022-04-11 09:25:38 +02:00
Mariusz Felisiak
29a6c98b4c [2.2.x] Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL injection on PostgreSQL.
Backport of 6723a26e59b0b5429a0c5873941e01a2e1bdbb81 from main.
2022-04-11 09:23:12 +02:00
Mariusz Felisiak
2c09e68ec9 [2.2.x] Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(), and extra() against SQL injection in column aliases.
Thanks Splunk team: Preston Elder, Jacob Davis, Jacob Moore,
Matt Hanson, David Briggs, and a security researcher: Danylo Dmytriiev
(DDV_UA) for the report.

Backport of 93cae5cb2f9a4ef1514cf1a41f714fef08005200 from main.
2022-04-11 09:22:17 +02:00
Mariusz Felisiak
8352b98e46 [2.2.x] Added stub release notes for 2.2.28.
Backport of 78277faafd38d8360efc1fd0c9c52d7bb5eec002 from main
2022-04-04 10:55:50 +02:00
Mariusz Felisiak
2801f29dad [2.2.x] Reverted "Fixed forms_tests.tests.test_renderers with Jinja 3.1.0+."
This reverts commit 1d9d082acf6e152c06833bb9698f88d688b95e40.
Backport of abfdb4d7f384fb06ed9b7ca37b548542df7b5dda from main
2022-03-26 12:29:29 +01:00
Mariusz Felisiak
e03648f09c [2.2.x] Fixed forms_tests.tests.test_renderers with Jinja 3.1.0+.
See https://github.com/pallets/jinja/pull/1621.
Backport of 1d9d082acf6e152c06833bb9698f88d688b95e40 from main
2022-03-25 08:54:13 +01:00
David Smith
9d13d8c10b [2.2.x] Fixed typo in release notes.
Backport of 770d3e6a4ce8e0a91a9e27156036c1985e74d4a3 from main.
2022-02-02 07:20:28 +01:00
Mariusz Felisiak
047ece3014 [2.2.x] Added CVE-2022-22818 and CVE-2022-23833 to security archive.
Backport of 9e0df0d6dde441dbbad2b548d777e0a01d633286 from main
2022-02-01 08:54:34 +01:00
Mariusz Felisiak
2427b2fee3 [2.2.x] Post-release version bump. 2022-02-01 08:10:18 +01:00
Mariusz Felisiak
e541f2d05b [2.2.x] Bumped version for 2.2.27 release. 2022-02-01 08:07:46 +01:00
Mariusz Felisiak
c477b76180 [2.2.x] Fixed CVE-2022-23833 -- Fixed DoS possiblity in file uploads.
Thanks Alan Ryan for the report and initial patch.

Backport of fc18f36c4ab94399366ca2f2007b3692559a6f23 from main.
2022-02-01 07:57:28 +01:00
Markus Holtermann
c27a7eb9f4 [2.2.x] Fixed CVE-2022-22818 -- Fixed possible XSS via {% debug %} template tag.
Thanks Keryn Knight for the report.

Backport of 394517f07886495efcf79f95c7ee402a9437bd68 from main.

Co-authored-by: Adam Johnson <me@adamj.eu>
2022-02-01 07:56:29 +01:00
Mariusz Felisiak
4cafd3aacb [2.2.x] Added stub release notes 2.2.27.
Backport of eeca9342381c8583be16f18942774e785ab7e527 from main.
2022-01-25 07:29:28 +01:00
Carlton Gibson
77d0fe5868 [2.2.x] Added CVE-2021-45115, CVE-2021-45116, and CVE-2021-45452 to security archive.
Backport of 63869ab1f191ab5781cde8b813b838300455f6d6 from main
2022-01-04 11:39:54 +01:00
Carlton Gibson
e085d46e4b [2.2.x] Post-release version bump. 2022-01-04 10:36:12 +01:00
Carlton Gibson
44e7cca623 2.2.x] Bumped version for 2.2.26 release. 2022-01-04 10:30:01 +01:00
Florian Apolloner
4cb35b384c [2.2.x] Fixed CVE-2021-45452 -- Fixed potential path traversal in storage subsystem.
Thanks to Dennis Brinkrolf for the report.
2022-01-04 10:20:31 +01:00
Florian Apolloner
c9f648ccfa [2.2.x] Fixed CVE-2021-45116 -- Fixed potential information disclosure in dictsort template filter.
Thanks to Dennis Brinkrolf for the report.

Co-authored-by: Adam Johnson <me@adamj.eu>
2022-01-04 10:20:31 +01:00
Florian Apolloner
2135637fdd [2.2.x] Fixed CVE-2021-45115 -- Prevented DoS vector in UserAttributeSimilarityValidator.
Thanks Chris Bailey for the report.

Co-authored-by: Adam Johnson <me@adamj.eu>
2022-01-04 10:20:31 +01:00
Carlton Gibson
03b733d8a8 [2.2.x] Added stub release notes for 2.2.26 release. 2021-12-28 10:10:15 +01:00
Mariusz Felisiak
b87820668e [2.2.x] Refs #33365, Refs #30530 -- Doc'd re_path() behavior change in Django 2.2.25, 3.1.14, and 3.2.10.
Follow up to d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6.
Backport of 5de12a369a7b2231e668e0460c551c504718dbf6 from main
2021-12-15 18:56:38 +01:00
Mariusz Felisiak
573e70ea48 [2.2.x] Added CVE-2021-44420 to security archive.
Backport of 8747052411275d290b2152ffcb8dee11afbb82cd from main
2021-12-07 08:56:25 +01:00
Mariusz Felisiak
8439938602 [2.2.x] Post-release version bump. 2021-12-07 07:05:38 +01:00
Mariusz Felisiak
79d8dcefb2 [2.2.x] Bumped version for 2.2.25 release. 2021-12-07 07:03:33 +01:00
Florian Apolloner
7cf7d74e8a [2.2.x] Fixed #30530, CVE-2021-44420 -- Fixed potential bypass of an upstream access control based on URL paths.
Thanks Sjoerd Job Postmus and TengMA(@te3t123) for reports.

Backport of d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6 from main.
2021-12-07 07:02:14 +01:00
Mariusz Felisiak
0007a5f9fa [2.2.x] Added requirements.txt to files ignored by Sphinx builds.
Backport of 0cf2d48ba83543b16bdf390d941eb98e8d34f3bd from stable/3.2.x.
2021-11-30 12:12:07 +01:00
Mariusz Felisiak
fac0fdd95d [2.2.x] Added stub release notes for 2.2.25.
Backport of ae4077e13ea2e4c460c3f21b9aab93a696590851 from main.
2021-11-30 11:31:56 +01:00
Mariusz Felisiak
4bc10b7955 [2.2.x] Fixed crash building HTML docs since Sphinx 4.3.
See dd2ff3e911.
Backport of f0480ddd2d3cb04b784cf7ea697f792b45c689cc from main
2021-11-18 13:33:29 +01:00
Adam Johnson
5289fcfffe [2.2.x] Configured Read The Docs to build all formats.
`all` acts as an alias for all formats ([docs](https://docs.readthedocs.io/en/stable/config-file/v2.html#formats)). Whilst there are only three formats right now, this would auto expand to other formats in the future, which seems desirable?
Backport of 1fe23bdd29a8f2f6802c2038702ff7a5d0e21a0d from main
2021-11-18 12:25:47 +01:00
Carlton Gibson
9a4a2b2089 [2.2.x] Refs #33247 -- Corrected configuration for Read The Docs.
This pins Sphinx version, because the default Sphinx version used by
RTD is not compatible with Python 3.8+.

This also, sets Python 3.8 for RTD builds which is compatible with all
current versions of Django.

Thanks to Mariusz Felisiak for the suggestion.

Backport of 447b6c866f0741bb68c92dc925a65fb15bfe7995 from main.
2021-11-03 19:05:19 +01:00
Carlton Gibson
029c830b71 [2.2.x] Fixed #33247 -- Added configuration for Read The Docs.
Co-authored-by: Andrew Neitsch <andrew@neitsch.ca>

Backport of 0da7a2e9dab81b622a2000536c6a96de7f46e237 from main
2021-11-03 19:04:59 +01:00
Mariusz Felisiak
12141e3116
[2.2.x] Refs #32856 -- Clarified that psycopg2 < 2.9 is required.
Follow up to 837ffcfa681d0f65f444d881ee3d69aec23770be.
2021-11-03 08:42:27 +01:00
Mariusz Felisiak
cf63dd5c1b [2.2.x] Added 'formatter' to spelling wordlist.
Backport of e43a131887e2a316d4fb829c3a272ef0cbbeea80 from main
2021-10-12 15:18:17 +02:00
Mariusz Felisiak
05bc1c81aa [2.2.x] Fixed #33082 -- Fixed CommandTests.test_subparser_invalid_option on Python 3.9.7+.
Thanks Michał Górny for the report.

Backport of 50ed545e2fa02c51e0d1559b83624f256e4b499b from main.
2021-09-02 11:06:10 +02:00
Mariusz Felisiak
a9c0aa11e7 [2.2.x] Refs #31676 -- Updated technical board description in organization docs.
According to DEP 0010.

Backport of f2ed2211c26ba375390cb76725c95ae970a0fd1d from main.
2021-07-30 11:53:15 +02:00
Mariusz Felisiak
66008c2af0 [2.2.x] Refs #31676 -- Added Mergers and Releasers to organization docs.
According to DEP 0010.

Backport of 228ec8e015bac9751c8aef3107358fbb2cb3301b from main
2021-07-30 11:52:46 +02:00
Mariusz Felisiak
d4d1c2b3db [2.2.x] Refs #31676 -- Removed Core team from organization docs.
According to DEP 0010.

Backport of caa2dd08c4722c8702588f5dfe1fa4c506aa66fc from main
2021-07-30 11:52:43 +02:00
Mariusz Felisiak
8f59f72a20 [2.2.x] Refs #31676 -- Removed Django Core-Mentorship mailing list references in docs.
Backport of 37e8367c359cd115f109d82f99ff32be219f4928 from main.
2021-07-13 20:26:17 +02:00
Mariusz Felisiak
837ffcfa68
[2.2.x] Refs #32856 -- Doc'd that psycopg2 < 2.9 is required. 2021-06-21 13:06:31 +02:00
Mariusz Felisiak
dc43667eab [2.2.x] Fixed docs header underlines in security archive.
Backport of d9cee3f5f2f90938d2c2c0230be40c7d50aef53d from main
2021-06-02 12:29:11 +02:00
Carlton Gibson
3e7bb564be [2.2.x] Added CVE-2021-33203 and CVE-2021-33571 to security archive.
Backport of a39f235ca4cb7370dba3a3dedeaab0106d27792f from main
2021-06-02 11:19:59 +02:00
Carlton Gibson
48bde7cab4 [2.2.x] Post-release version bump. 2021-06-02 10:36:52 +02:00
Carlton Gibson
2da029d854 [2.2.x] Bumped version for 2.2.24 release. 2021-06-02 10:28:20 +02:00
Mariusz Felisiak
f27c38ab5d [2.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.
validate_ipv4_address() was affected only on Python < 3.9.5, see [1].
URLValidator() uses a regular expressions and it was affected on all
Python versions.

[1] https://bugs.python.org/issue36384
2021-06-02 10:26:22 +02:00
Florian Apolloner
053cc9534d [2.2.x] Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs' TemplateDetailView. 2021-06-02 10:26:22 +02:00
Carlton Gibson
6229d8794f [2.2.x] Confirmed release date for Django 2.2.24.
Backport of f66ae7a2d5558fe88ddfe639a610573872be6628 from main.
2021-06-02 10:23:20 +02:00
Carlton Gibson
f163ad5c63 [2.2.x] Added stub release notes and date for Django 2.2.24.
Backport of b46dbd4e3e255223078ae0028934ea986e19ebc1 from main
2021-05-26 10:21:53 +02:00
Mariusz Felisiak
bed1755bc5 [2.2.x] Changed IRC references to Libera.Chat.
Backport of 66491f08fe86629fa25977bb3dddda06959f65e7 from main.
2021-05-20 12:42:48 +02:00
Mariusz Felisiak
63f0d7a0f6 [2.2.x] Refs #32718 -- Fixed file_storage.test_generate_filename and model_fields.test_filefield tests on Python 3.5. 2021-05-14 06:59:11 +02:00
Mariusz Felisiak
5fe4970bd0 [2.2.x] Post-release version bump. 2021-05-13 09:22:34 +02:00
Mariusz Felisiak
61f814f9fa [2.2.x] Bumped version for 2.2.23 release. 2021-05-13 09:19:56 +02:00
Mariusz Felisiak
b8ecb06436 [2.2.x] Fixed #32718 -- Relaxed file name validation in FileField.
- Validate filename returned by FileField.upload_to() not a filename
  passed to the FileField.generate_filename() (upload_to() may
  completely ignored passed filename).
- Allow relative paths (without dot segments) in the generated filename.

Thanks to Jakub Kleň for the report and review.
Thanks to all folks for checking this patch on existing projects.
Thanks Florian Apolloner and Markus Holtermann for the discussion and
implementation idea.

Regression in 0b79eb36915d178aef5c6a7bbce71b1e76d376d3.

Backport of b55699968fc9ee985384c64e37f6cc74a0a23683 from main.
2021-05-13 09:00:25 +02:00
Mariusz Felisiak
3ba089ac7e [2.2.x] Refs #32718 -- Corrected CVE-2021-31542 release notes.
Backport of d1f1417caed648db2f81a1ec28c47bf958c01958 from main.
2021-05-12 10:44:25 +02:00
Mariusz Felisiak
88d9b28c0c [2.2.x] Added CVE-2021-32052 to security archive.
Backport of efebcc429f048493d6bc710399e65d98081eafd5 from main
2021-05-06 10:05:46 +02:00
Mariusz Felisiak
7ada1f90c6 [2.2.x] Post-release version bump. 2021-05-06 09:10:34 +02:00
Mariusz Felisiak
df9fd4661e [2.2.x] Bumped version for 2.2.22 release. 2021-05-06 09:08:28 +02:00
Mariusz Felisiak
d9594c4ea5 [2.2.x] Fixed #32713, Fixed CVE-2021-32052 -- Prevented newlines and tabs from being accepted in URLValidator on Python 3.9.5+.
In Python 3.9.5+ urllib.parse() automatically removes ASCII newlines
and tabs from URLs [1, 2]. Unfortunately it created an issue in
the URLValidator. URLValidator uses urllib.urlsplit() and
urllib.urlunsplit() for creating a URL variant with Punycode which no
longer contains newlines and tabs in Python 3.9.5+. As a consequence,
the regular expression matched the URL (without unsafe characters) and
the source value (with unsafe characters) was considered valid.

[1] https://bugs.python.org/issue43882 and
[2] 76cd81d603

Backport of e1e81aa1c4427411e3c68facdd761229ffea6f6f from main.
2021-05-06 08:53:27 +02:00
Carlton Gibson
163700388c [2.2.x] Refs CVE-2021-31542 -- Skipped mock AWS storage test on Windows.
The validate_file_name() sanitation introduced in
0b79eb36915d178aef5c6a7bbce71b1e76d376d3 correctly rejects the example
file name as containing path elements on Windows. This breaks the test
introduced in 914c72be2abb1c6dd860cb9279beaa66409ae1b2 to allow path
components for storages that may allow them.

Test is skipped pending a discussed storage refactoring to support this
use-case.

Backport of a708f39ce67af174df90c5b5e50ad1976cec7cb8 from main
2021-05-06 07:44:15 +02:00
Carlton Gibson
bcafd9ba84 [2.2.x] Added CVE-2021-31542 to security archive.
Backport of 607ebbfba915de2d84eb943aa93654f31817a709 and
62b2e8b37e37a313c63be40e3223ca4e830ebde3 from main
2021-05-04 11:14:17 +02:00
Carlton Gibson
3931dc7651 [2.2.x] Post-release version bump. 2021-05-04 10:24:07 +02:00
Carlton Gibson
ff1385ae45 [2.2.x] Bumped version for 2.2.21 release. 2021-05-04 10:18:53 +02:00
Florian Apolloner
04ac1624bd [2.2.x] Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads. 2021-04-27 19:10:08 +02:00
Mariusz Felisiak
7f1b088ab4 [2.2.x] Added CVE-2021-28658 to security archive.
Backport of 1eac8468cbde790fecb51dd055a439f4947d01e9 from main
2021-04-06 09:48:05 +02:00
Mariusz Felisiak
e95fbb6a76 [2.2.x] Post-release version bump. 2021-04-06 08:45:22 +02:00
Mariusz Felisiak
ad9fa56a17 [2.2.x] Bumped version for 2.2.20 release. 2021-04-06 08:39:37 +02:00
Mariusz Felisiak
4036d62bda [2.2.x] Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files.
Thanks Claude Paroz for the initial patch.
Thanks Dennis Brinkrolf for the report.

Backport of d4d800ca1addc4141e03c5440a849bb64d1582cd from main.
2021-04-06 08:38:19 +02:00
Carlton Gibson
6e58828f8b [2.2.x] Added CVE-2021-23336 to security archive.
Backport of ab58f072502e86dfe21b2bd5cccdc5e94dce8d26 from master
2021-02-19 11:07:56 +01:00
Carlton Gibson
1fb4628a83 [2.2.x] Post-release version bump. 2021-02-19 09:45:49 +01:00
Carlton Gibson
21a5547793 [2.2.x] Bumped version for 2.2.19 release. 2021-02-19 09:44:55 +01:00
Nick Pope
fd6b6afd59 [2.2.x] Fixed CVE-2021-23336 -- Fixed web cache poisoning via django.utils.http.limited_parse_qsl(). 2021-02-18 10:27:25 +01:00
Nick Pope
226d831918 [2.2.x] Added documentation extlink for bugs.python.org.
Backport of d02d60eb0f032c9395199fb73c6cd29ee9bb2646 from master
2021-02-17 14:28:05 +01:00
Mariusz Felisiak
34010d8ffa [2.2.x] Added CVE-2021-3281 to security archive.
Backport of f749148d62ece28d208ab66b109f858215ba090a from master
2021-02-01 10:47:08 +01:00
Mariusz Felisiak
06ae7e0742 [2.2.x] Post-release version bump. 2021-02-01 09:49:28 +01:00
Mariusz Felisiak
fc0c8cfa49 [2.2.x] Bumped version for 2.2.18 release. 2021-02-01 09:43:16 +01:00
Mariusz Felisiak
21e7622dec [2.2.x] Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract().
Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews.

Thanks Wang Baohua for the report.

Backport of 05413afa8c18cdb978fcdf470e09f7a12b234a23 from master.
2021-02-01 09:14:54 +01:00
Mariusz Felisiak
ee9d623831 [2.2.x] Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database.
Backport of 135c800fe6138d7818501a384c0ebbdc5442762c from master
2021-01-29 11:03:59 +01:00
Tim Graham
e8e28e747f [2.2.x] Updated CVE URL.
Backport of 656b331b13e08e82bbf0b88d39080c5b1a02109c from master
2021-01-02 12:51:06 +01:00
Max Smolens
e893c0ad8b [2.2.x] Fixed #31850 -- Fixed BasicExtractorTests.test_extraction_warning with xgettext 0.21+.
"format string with unnamed arguments cannot be properly localized"
warning is not raised in xgettext 0.21+.

This patch uses a message that causes an xgettext warning regardless of
the version.

Backport of 07a30f561661efae1691ff45d10ec6014b395b58 from master
2020-11-02 10:30:40 +01:00
Carlton Gibson
3da29a30c6 [2.2.x] Post-release version bump. 2020-11-02 08:55:25 +01:00
Carlton Gibson
c769f65c98 [2.2.x] Bumped version for 2.2.17 release. 2020-11-02 08:49:01 +01:00
Carlton Gibson
3db9a7aa8b [2.2.x] Set release date for 2.2.17.
Backport of 7fc07b9b2ba0c5c62a8840325d21b414a099fda0 from master
2020-11-02 08:39:12 +01:00
Mariusz Felisiak
b4b8ca4895 [2.2.x] Refs #31040 -- Doc'd Python 3.9 compatibility.
Backport of e18156b6c35908f2a4026287b5225a6a4da8af1a from master.
2020-10-13 08:45:37 +02:00
Jon Dufresne
01742aa932 [2.2.x] Refs #31040 -- Fixed Python PendingDeprecationWarning in select_for_update.tests.
Backport of 0dd2308cf6f559a4f4b50edd7c005c7cf025d1aa from master
2020-10-12 12:21:33 +02:00
Mariusz Felisiak
87b9a8b4de [2.2.x] Refs #31040 -- Fixed crypt.crypt() call in test_hashers.py.
An empty string is invalid salt in Python 3 and raises exception since
Python 3.9, see https://bugs.python.org/issue38402.
Backport of 1960d55f8baa412b43546d15a8342554808fff57 from master
2020-10-07 09:16:58 +02:00
Mariusz Felisiak
657fea55cb [2.2.x] Skipped GetImageDimensionsTests.test_webp when WEBP is not installed.
Bumped minimum Pillow version to 4.2.0 in test requirements.

Backport of fce389af7cf95151118c9fc7cafd777a31f94946 from master
2020-10-06 11:32:34 +02:00
Carlton Gibson
0f6e73e567 [2.2.x] Added CVE-2020-24583 & CVE-2020-24584 to security archive.
Backport of d5b526bf78a9e5d9760e0c0f7647622bf47782fe from master
2020-09-01 11:39:59 +02:00
Carlton Gibson
65078cf060 [2.2.x] Added CVE-2020-13254 and CVE-2020-13596 to security archive.
Backport of 54975780ee2e4017844ecad94835fdce43d97377 from master
2020-09-01 11:39:57 +02:00
Carlton Gibson
0696540e23 [2.2.x] Post-release version bump. 2020-09-01 10:43:21 +02:00
Carlton Gibson
bf07047f45 [2.2.x] Bumped version for 2.2.16 release. 2020-09-01 10:30:56 +02:00
Carlton Gibson
dfcecb6e6c [2.2.x] Added release date for 2.2.16.
Backport of 976e2b7420c0f7e3060a13792b97511a9aad31d7 from master
2020-09-01 10:00:28 +02:00
Mariusz Felisiak
a3aebfdc81 [2.2.x] Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level directories of the file system cache on Python 3.7+.
Backport of f56b57976133129b0b351a38bba4ac882badabf0 from master.
2020-08-25 11:09:40 +02:00
Mariusz Felisiak
375657a71c [2.2.x] Fixed CVE-2020-24583, #31921 -- Fixed permissions on intermediate-level static and storage directories on Python 3.7+.
Thanks WhiteSage for the report.

Backport of ea0febbba531a3ecc8c77b570efbfb68ca7155db from master.
2020-08-25 10:59:42 +02:00
Mariusz Felisiak
dc39e62e6b [2.2.x] Refs #31863 -- Added release notes for 94ea79be137f3cb30949bf82198e96e094f2650d.
Backport of 21768a99f47ee73a2f93405151550ef7c3d9c8a2 from master
2020-08-13 16:32:58 +02:00
Gert Burger
0a7d321bf7 [2.2.x] Fixed #31863 -- Prevented mutating model state by copies of model instances.
Regression in bfb746f983aa741afa3709794e70f1e0ab6040b5.

Backport of 94ea79be137f3cb30949bf82198e96e094f2650d from master
2020-08-13 15:28:21 +02:00
Daniel Hillier
839f906a23 [2.2.x] Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
Backport of 60626162f76f26d32a38d18151700cb041201fb3 from master
2020-08-11 12:33:18 +02:00
Mariusz Felisiak
30706246e7 [2.2.x] Added stub release notes for 2.2.16.
Backport of 8a5683b6b2aede38edcff070686ed1fce470dec5 from master
2020-08-11 11:14:35 +02:00
Mariusz Felisiak
337dd0221e [2.2.x] Post-release version bump. 2020-08-03 09:12:12 +02:00
Mariusz Felisiak
bf6c58435d [2.2.x] Bumped version for 2.2.15 release. 2020-08-03 09:10:01 +02:00
Mariusz Felisiak
b70595c94c [2.2.x] Added release date for 2.2.15.
Backport of b68b8cb89abb35ff2152175ea540619ec384b1f4 from master
2020-08-03 08:58:00 +02:00
Mariusz Felisiak
d74e1c0521
[2.2.x] Pinned geoip2 < 4.0.0 in test requirements.
geoip2 4+ doesn't support Python 3.5.
2020-07-23 10:07:35 +02:00
Mariusz Felisiak
eb81593875 [2.2.x] Fixed #31805 -- Fixed SchemaTests.tearDown() when table names are case-insensitive.
Backport of fd53db842c35c994dbd54196dd38a908f3676b1a from master
2020-07-22 12:52:45 +02:00
Florian Apolloner
1a3835fdf3 [2.2.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, 3.7.8+, and 3.8.4+.
Fixed sending emails crash on email addresses with display names longer
then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+.

Wrapped display names were passed to email.headerregistry.Address()
what caused raising an exception because address parts cannot contain
CR or LF.

See https://bugs.python.org/issue39073

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 96a3ea39ef0790dbc413dde0a3e19f6a769356a2 from master.
2020-07-20 08:11:30 +02:00
Mariusz Felisiak
f1a6e6c817 [2.2.x] Fixed #31790 -- Fixed setting SameSite cookies flag in HttpResponse.delete_cookie().
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.

This affects sessions and messages cookies.

Backport of 331324ecce1330dce3dbd1713203cb9a42854ad7 from stable/3.0.x
2020-07-16 09:35:35 +02:00
David Smith
6f09ee2be3 [2.2.x] Fixed #30945 -- Doc'd plural equations changes in 2.2. release notes.
Backport of 392036be29b759204cbc4033072672acacabf3f7 from master
2020-07-03 09:39:49 +02:00
Mariusz Felisiak
5968a23e15
[2.2.x] Fixed ForeignKeyRawIdWidgetTest.test_render_unsafe_limit_choices_to on Python 3.5. 2020-07-02 10:59:15 +02:00
Mariusz Felisiak
202ac0b2a1 [2.2.x] Post-release version bump. 2020-07-01 06:42:42 +02:00
Mariusz Felisiak
74934f7e43 [2.2.x] Bumped version for 2.2.14 release. 2020-07-01 06:37:55 +02:00
Mariusz Felisiak
ee9bd41a72 [2.2.x] Added release date for 2.2.14.
Backport of 0f3aecf581b50215820455eb2f6a19a1b3b3ef8b from master.
2020-07-01 06:19:44 +02:00
Mariusz Felisiak
fc2a3682f6
[2.2.x] Refs #31751 -- Doc'd that cx_Oracle < 8 is required. 2020-06-30 09:47:50 +02:00
Mariusz Felisiak
9ecce34afe [2.2.x] Refs #31682 -- Doc'd minimal sqlparse version in Django 2.2.
Support for sqlparse < 0.2.2 was broken in
40b0a58f5ff949fba1072627e4ad11ef98aa7f36 because is_whitespace property
was added in sqlparse 0.2.2.

Backport of 4339f2aff272bceabd67e452c65bcfe0700b3f09 from master.
2020-06-10 06:55:55 +02:00
Stephen Rauch
cdad78e6ee [2.2.x] Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
Support for sqlparse < 0.2.2 was broken in
782d85b6dfa191e67c0f1d572641d8236c79174c because is_whitespace property
was added in sqlparse 0.2.2.

Backport of 4b6db766ba4b613d317c87f87d1d63865b7424a4 from master.
2020-06-10 06:18:44 +02:00
Mariusz Felisiak
b2b2723512 [2.2.x] Fixed #31654 -- Fixed cache key validation messages.
Backport of 926148ef019abcac3a9988c78734d9336d69f24e from master.
2020-06-05 07:24:04 +02:00
Mariusz Felisiak
b87719034a
[2.2.x] Fixed ForeignKeyRawIdWidgetTest.test_render_unsafe_limit_choices_to on Python 3.5. 2020-06-04 07:37:40 +02:00
Mariusz Felisiak
ea9bc392c4 [2.2.x] Refs CVE-2020-13254 -- Fixed cache.tests when KEY_PREFIX is defined.
Follow up to 2c82414914ae6476be5a166be9ff49c24d0d9069.

Backport of 229c9c6653356a0bc23846d83b2d4b5d0438a145 from master
2020-06-03 13:01:31 +02:00
Carlton Gibson
2661c22eb1 [2.2.x] Post-release version bump. 2020-06-03 10:50:32 +02:00
Carlton Gibson
8093aaa8ff [2.2.x] Bumped version for 2.2.13 release. 2020-06-03 10:49:41 +02:00
Dan Palmer
07e59caa02 [2.2.x] Fixed CVE-2020-13254 -- Enforced cache key validation in memcached backends. 2020-06-03 09:34:29 +02:00
Jon Dufresne
6d61860b22 [2.0.x] Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignKeyRawIdWidget. 2020-06-03 09:33:38 +02:00
Carlton Gibson
7e1084ead0 [2.2.x] Added release date for 2.2.13.
Backport of 81dc710571b773557170cce9764fff83b6dfd8ae from master
2020-06-03 09:16:04 +02:00
Carlton Gibson
2b69680264
[2.2.x] Refs #31485 -- Backported jQuery upgrade to 3.5.1. 2020-06-02 14:35:54 +02:00
Mariusz Felisiak
8301bc9cfa [2.2.x] Fixed E128, E741 flake8 warnings.
Backport of 0668164b4ac93a5be79f5b87fae83c657124d9ab from master.
2020-06-02 11:04:23 +02:00
Mariusz Felisiak
c7bab8d2b7 [2.2.x] Fixed term warning on Sphinx 3.0.1+.
"term" role became case sensitive in Sphinx 3.0.1.
Backport of cc70a0343ef51ffcc0b1211dd6e7abedc4b43ea6 from master
2020-06-02 10:57:46 +02:00
Mariusz Felisiak
79baf338ae [2.2.x] Fixed highlightlang deprecation warning on Sphinx 1.8+.
Backport of 678f958ef972bf9be402332537149ca0884035ba from master
2020-06-02 10:57:25 +02:00
Mariusz Felisiak
151a83e92c [2.2.x] Fixed CodeBlock deprecation warning on Sphinx 2.1+.
Backport of a4e4737cf36f3ba6f526587f2656cf4be64b91bf from master.
2020-06-02 10:56:22 +02:00
Mariusz Felisiak
b0d810a77b [2.2.x] Fixed Sphinx warnings on duplicate object descriptions.
Backport of 69e2cd6fed40f3ecf767609b80ad31f288446e48 from master.
2020-06-02 10:47:40 +02:00
Carlton Gibson
027840d7de [2.2.x] Fixed #31570 -- Corrected translation loading for apps providing territorial language variants with different plural equations.
Regression in e3e48b00127c09eafe6439d980a82fc5c591b673.

Thanks to Shai Berger for report, reproduce and suggested fix.

Backport of dd1ca50b096bf0351819aabc862e91a9797ddaca from master.
2020-06-01 09:29:03 +02:00
Mariusz Felisiak
e33220ffd8 [2.2.x] Fixed LiveWidgetTests.test_textarea_trailing_newlines() crash on Chrome 75+.
Backport of b08a18f17ba53eb0bc7fd7993924f3d7f8ed5c52 from master
2020-05-29 09:51:42 +02:00
Carlton Gibson
9d310b4236 [2.2.x] Updated expected release dates for 2.2.13.
Backport of 9d55ae00d3dad9e93714add69ab7e48e7b0bcafa from master
2020-05-27 10:22:31 +02:00
Mariusz Felisiak
cbccae22a4 [2.2.x] Added stub release notes for 2.2.13.
Backport of 50798d43898c7d46926a4292f86fdf3859a433da from master
2020-05-14 06:31:01 +02:00
Carlton Gibson
3ab5235d1d [2.2.x] Post-release version bump. 2020-04-01 09:49:23 +02:00
Carlton Gibson
fb4d8bf799 [2.2.x] Bumped version for 2.2.12 release. 2020-04-01 09:42:18 +02:00
Carlton Gibson
e277b0401a [2.2.x] Added release date for 2.2.12.
Backport of b56243b77f6ae3125bd1a3f24163b28a13a30c5f from master
2020-04-01 09:19:00 +02:00
Claude Paroz
996be04c3c [2.2.x] Fixed #30439 -- Added support for different plural forms for a language.
Thanks to Michal Čihař for review.
Backport of e3e48b00127c09eafe6439d980a82fc5c591b673 from master
2020-03-10 16:04:58 +01:00
Carlton Gibson
aa0948e238 [2.2.x] Added stub release notes for 2.2.12.
Backport of a4200e958d1da46465d7d684674a1711bc9f65e0 from master
2020-03-10 12:03:51 +01:00
Mariusz Felisiak
3acffe1420 [2.2.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c.
Backport of 5ca76baa729bbbe62f5c4a0fc4f89747dc999029 from master
2020-03-05 08:56:56 +01:00
Mariusz Felisiak
7088073ada [2.2.x] Fixed typo in docs/releases/1.11.29.txt.
Backport of 43f8ba1c7c0a264b67224c62b48fcd0dfdaddec3 from master
2020-03-04 10:49:18 +01:00
Mariusz Felisiak
cf5111c4c2 [2.2.x] Added CVE-2020-9402 to security archive.
Backport of f37f9a0bf061fd0dfe4e45adb39157c3307ec8e2 from master
2020-03-04 10:10:29 +01:00
Mariusz Felisiak
b92e81120c [2.2.x] Post-release version bump. 2020-03-04 09:38:41 +01:00
Mariusz Felisiak
1676992788 [2.2.x] Bumped version for 2.2.11 release. 2020-03-04 09:35:39 +01:00
Mariusz Felisiak
fe886a3b58 [2.2.x] Fixed CVE-2020-9402 -- Properly escaped tolerance parameter in GIS functions and aggregates on Oracle.
Thanks to Norbert Szetei for the report.
2020-03-04 09:34:39 +01:00
Carlton Gibson
7deb87c93e [2.2.x] Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.
Backport of 3bbf9a489afc689eff2f4a0b84af196aa1ef51e7 from master
2020-02-18 19:58:59 +01:00
Abhijeet Viswa
32d89bf114 [2.2.x] Fixed #31246 -- Fixed locking models in QuerySet.select_for_update(of=()) for related fields and parent link fields with multi-table inheritance.
Partly regression in 0107e3d1058f653f66032f7fd3a0bd61e96bf782.

Backport of 1712a76b9dfda1ef220395e62ea87079da8c9f6c from master.
2020-02-11 21:37:17 +01:00
Mariusz Felisiak
eeed073aa2 [2.2.x] Added stub release notes for 2.2.11.
Backport of 7e8339748cc199b4a13513891d9ac4f1e4794588 from master
2020-02-10 08:24:32 +01:00
Carlton Gibson
abb4829fdf [2.2.x] Added CVE-2020-7471 to security archive.
Backport of d8b2ccbbb846328a0938347dc70cb2e603164d9a from master
2020-02-03 10:14:58 +01:00
Carlton Gibson
2f663bf73e [2.2.x] Post-release version bump. 2020-02-03 09:49:16 +01:00
Carlton Gibson
b2c33a57b3 [2.2.x] Bumped version for 2.2.10 release. 2020-02-03 09:29:58 +01:00
Simon Charette
c67a368c16 [2.2.x] Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter. 2020-01-26 18:51:25 +01:00
Mariusz Felisiak
96d6443121 [2.2.x] Fixed timezones tests for PyYAML 5.3+.
Backport of 8be477be5c1a4afc9ad00bb58a324f637e018c0f from master
2020-01-07 09:55:41 +01:00
Mariusz Felisiak
813b33eec4 [2.2.x] Added CVE-2019-19844 to the security archive.
Backport of 5a2b9f0b546222e928df91310acb9cf363a6c920 from master
2019-12-18 10:39:38 +01:00
Mariusz Felisiak
e7286122b4 [2.2.x] Post-release version bump. 2019-12-18 09:31:10 +01:00
Mariusz Felisiak
c494d90c19 [2.2.x] Bumped version for 2.2.9 release. 2019-12-18 09:28:35 +01:00
Simon Charette
4d334bea06 [2.2.x] Fixed CVE-2019-19844 -- Used verified user email for password reset requests.
Backport of 5b1fbcef7a8bec991ebe7b2a18b5d5a95d72cb70 from master.

Co-Authored-By: Florian Apolloner <florian@apolloner.eu>
2019-12-18 09:16:08 +01:00
Mariusz Felisiak
86befcc172 [2.2.x] Refs #31073 -- Added release notes for 02eff7ef60466da108b1a33f1e4dc01eec45c99d.
Backport of ec12c37384798093e359971c8980fe0c68d555bc from master.
2019-12-11 10:09:26 +01:00
Peter Andersen
f33be1e8ae [2.2.x] Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs.
Backport of 02eff7ef60466da108b1a33f1e4dc01eec45c99d from master
2019-12-11 09:38:49 +01:00
Ryan Cheley
e8b0903976 [2.2.x] Fixed #31006 -- Doc'd backslash escaping in date/time template filters.
Backport of a1f14ee3e5a2160c2eef1dad58a1da11be4b1531 from master
2019-12-02 13:55:11 +01:00
Carlton Gibson
c759fb68a6 [2.2.x] Added CVE-2019-19118 to the security archive.
Backport of 900ea762e5d1342e84a645483d05b90e6d908f2d from master
2019-12-02 11:43:23 +01:00
Carlton Gibson
887139d1d7 [2.2.x] Removed issue reporter name from 2.1.15 and 2.2.8 release notes.
Backport of 368b8d20aaa16f0ef763759a0a87d986ef460584 from master
2019-12-02 10:03:21 +01:00
Carlton Gibson
84de02023e [2.2.x] Post-release version bump. 2019-12-02 09:33:27 +01:00
Carlton Gibson
b8782c52c9 [2.2.x] Bumped version for 2.2.8 release. 2019-12-02 09:30:29 +01:00
Carlton Gibson
d6fa509952 [2.2.x] Added release dates for 2.1.15, 2.2.8 and 3.0.
Backport of e31d1852671866f6e52d55f9b7925ecad711fcf5 from master
2019-12-02 09:13:38 +01:00
Carlton Gibson
36f580a17f Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin.
Thank you to Shen Ying for reporting this issue.
2019-12-02 08:58:14 +01:00
Mariusz Felisiak
70311e1d00 [2.2.x] Refs #30953 -- Added 2.1.15 release note for 0107e3d1058f653f66032f7fd3a0bd61e96bf782.
Backport of 39e39d0ac1b720e7460ec8ccf45926c78edb2047 from master
2019-12-02 08:12:33 +01:00
Mariusz Felisiak
6cf3b6f5cf [2.2.x] Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
Thanks Abhijeet Viswa for the report and initial patch.
Backport of 0107e3d1058f653f66032f7fd3a0bd61e96bf782 from master
2019-12-02 07:58:44 +01:00
Mariusz Felisiak
9a17ae50c6 [2.2.x] Fixed #31021 -- Fixed proxy model permissions data migration crash with a multiple databases setup.
Regression in 98296f86b340c8c9c968375d59f1d3a3479e60c2.

Backport of e8fcdaad5c428878d0a5d6ba820d957013f75595 from master
2019-11-29 11:10:59 +01:00
Baptiste Mispelon
019a1b9274 [2.2.x] Fixed #31029 -- Used more specific links to RFCs.
Backport of ff1b19da6761217ed1b14cc7e94c6438903565d8 from master
2019-11-28 08:00:49 +01:00
Baptiste Mispelon
57f5a7e36b [2.2.x] Refs #31029 -- Added note about :rfc: role in writing documentation docs.
Backport of 42df1b178b22d499986516b5d3d6bb70c044901a from master
2019-11-28 08:00:43 +01:00
Mariusz Felisiak
3cf70df468 [2.2.x] Fixed #31018 -- Removed django-nonrel in NoSQL databases FAQ.
Backport of a36f7ed6ac5b2529db7e13fd3754290484928b18 from master
2019-11-27 07:37:54 +01:00
Adam Johnson
e82a1bcf62 [2.2.x] Improved custom MultiWidget example in docs.
Backport of 7742cc0c8f620f7b65b02b5018a5f7078325d467 from master
2019-11-26 18:35:56 +01:00
Sergey Fedoseev
c2a8a69b72 [2.2.x] Used 🎫 role in all tickets links.
Backport of abc51d44afcb8482c64c0bb8c1022f11e7eb2bbb from master.
2019-11-26 14:45:15 +01:00
Baptiste Mispelon
7873d3757d [2.2.x] Fixed #31031 -- Fixed data loss in admin changelist view when formset's prefix contains regex special chars.
Regression in b18650a2634890aa758abae2f33875daa13a9ba3.

Backport of 52936efacec4df05df2d9872c09c3332335bf21b from master
2019-11-26 09:19:39 +01:00
Sergey Fedoseev
2af606003a [2.2.x] Updated link to IBM DB2 backend.
See https://github.com/ibmdb/python-ibmdb/pull/375
Backport of 5573a54d409bb98b5c5acdb308310bed02d392c2 from master
2019-11-25 21:00:44 +01:00
Baptiste Mispelon
28dd5362ae [2.2.x] Fixed #31025 -- Fixed highlightlinenothreshold deprecation warning on Sphinx 1.8+.
Backport of 89d41cba392b759732ba9f1db4ff29ed47da6a56 from master
2019-11-25 10:35:42 +01:00
Sergey Fedoseev
f2f8e84939 [2.2.x] Doc'd SpatiaLite support of 3D geometry fields.
Support was added in 65129aac07022f23afa1df7ec7fad2216634cb38.

Backport of 85c598900772a00aee2ad4a20e3f3854f1c87fbd from master
2019-11-25 09:31:44 +01:00
Baptiste Mispelon
ad56858e83 [2.2.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
Backport of 9f1ec9efc35bbb375c9cebb3e0d8c1b7be838338 from master
2019-11-25 08:35:54 +01:00
Hasan Ramezani
8a8ea93b98 [2.2.x] Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.
Backport of f69b32782e21642c6184162d888fcc17dd1dd85e from master
2019-11-21 10:55:16 +01:00
Sergey Fedoseev
9c0fed53ed [2.2.x] Made versionadded/versionchanged annotations without a content end with ".".
Regression in d2afa5eb2308e672b6313876856e32e2561b90f3.
Backport of 5032556483f16b0b5f182e393eb5c6548fc505be from master
2019-11-21 09:04:08 +01:00
Caio Ariede
11e42001d9 [2.2.x] Fixed #27164 -- Fixed an example of using routers in multiple databases docs.
Make sure that AuthRouter includes ContentType in the same database.

Backport of 608e06023e6eaf75f744134a0fd203853260e616 from master
2019-11-20 11:51:59 +01:00
Mariusz Felisiak
4082f078bc [2.2.x] Added stub release notes for 2.1.15.
Backport of e9def97d1095efed15a109d82fe0498ebd56fa04 from master
2019-11-19 12:45:04 +01:00
Hasan Ramezani
c31252fc75 [2.2.x] Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.
Backport of 33eecfa7405ea997669f8edb61c596c3f295c793 from master
2019-11-19 10:09:55 +01:00
Luke Plant
da186625a0 [2.2.x] Expanded API stability docs to include our policy of continual improvement.
Backport of 5cef2cd4a10e51035e2728e3e5e59265bc0347e0 from master
2019-11-18 21:40:22 +01:00
Baptiste Mispelon
d5e8ad0049 [2.2.x] Fixed #30990 -- Fixed example output in 'z' date format docs.
Backport of 1185c6172b4dd5482b7bc76b12d7a0588320e027 from master
2019-11-18 12:04:51 +01:00
Mariusz Felisiak
622158b371 [2.2.x] Refs #29926 -- Doc'd Python 3.8 compatibility in Django 2.2.x.
Backport of b93a0e34d9b9b99d41103782b7e7aeabf47517e3 from master.
2019-11-12 22:15:27 +01:00
Bastien Vallet
cc3516dc4f [2.2.x] Refs #29926 -- Added Python 3.8 to classifiers and tox.ini.
Backport of 37f02c47f8eb4d6e7b3c22401dba57b00780dc5d from master.
2019-11-12 21:49:09 +01:00
Mariusz Felisiak
8eda248dc9 [2.2.x] Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.
Backport of 25903e41fb45ce9cc80dc93bf4b51ea431dcb2b6 from master.
2019-11-12 21:49:09 +01:00
Mariusz Felisiak
90c730d963 [2.2.x] Added stub release notes for 2.2.8 release.
Backport of 30359496a3f3d9af0b02afc334710f7e24c74f5b from master
2019-11-12 14:42:34 +01:00
David Foster
afde973061 [2.2.x] Fixed #30828 -- Added how to remove/insert many-to-many relations in bulk to the database optimization docs.
Backport of 6a04e69e686cf417b469d7676f93c2e3a9c8d6a3 from master
2019-11-12 13:13:49 +01:00
Mariusz Felisiak
612c2d166c [2.2.x] Fixed typo in docs/topics/files.txt.
Backport of 08c0d8b16bb7e79074bc9c8ab4f0db97a94d336a from master
2019-11-11 11:52:38 +01:00
Hasan Ramezani
6429d71ecb [2.2.x] Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file to access raw image data.
Backport of 2282d9f2e5d08fc782087ebe97ab195303a6e79b from master
2019-11-11 11:49:26 +01:00
Farhaan Bukhsh
f55f89f908 [2.2.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
Backport of 4cb15450adac4003ed98f4adcb1710c95fd2b919 from master
2019-11-11 10:10:51 +01:00
Jon Dufresne
3627fc5ee6 [2.2.x] Refs #30948 -- Updated install instructions to use pip instead of setup.py.
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>

Backport of eee4da3b5748370a5c562bc63d2cae61ea85b16c from master
2019-11-08 21:17:38 +01:00
Carlton Gibson
a2305a0c0a [2.2.x] Doc'd archiving historical branches as git tags.
Backport of a32f983be8f5711963f20d976f13b3354e36f5c7 from master
2019-11-08 12:11:53 +01:00
Shipeng Feng
5ad97e53fd [2.2.x] Fixed #30955 -- Doc'd that only concrete base models are stored in historical models bases.
Abstract models are removed from bases when generating historical model
state since 6436f1fad9ce51f18735106ac75aeea3d6d1f310.

Backport of 8058d9d7adb189fec75a4b57565f225996c7b22c from master.
2019-11-08 09:44:58 +01:00
René Fleschenberg
a39db53e0c [2.2.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.
Backport of 367634f976ab43db93321bf4eb898449b670e291 from master
2019-11-07 09:41:27 +01:00
Farhaan Bukhsh
398a9f4209 [2.2.x] Fixed #30865 -- Doc'd that not all DATABASES['OPTIONS'] are passed to command-line client.
Backport of cc5622ec8c260535c63279cf6eb293f2b5a742f0 from master
2019-11-07 08:35:36 +01:00
Daniel Fairhead
7a13f06f36 [2.2.x] Fixed #15742 -- Fixed an example of collecting selected objects in ModelAdmin.actions docs.
The queryset argument is already filtered, and request.POST doesn't
contain all selected objects when "Select All" is used.

Backport of e651b3095c950627b1eed1527f2bb011ddad03de from master
2019-11-06 13:41:36 +01:00
Dan Swain
8b14545d36 [2.2.x] Documented arguments for custom 500 error view.
Backport of 422b875c6586a6548c6bf34a0851ae82198a8818 from master
2019-11-06 09:27:45 +01:00
Jon Dufresne
9f81af4be4 [2.2.x] Added a link to the file email backend from EMAIL_FILE_PATH setting.
Backport of c8debd50617142937191986aec77a5eee472c28e from master
2019-11-06 08:39:09 +01:00
Jon Dufresne
4325239e2d [2.2.x] Fixed #30944 -- Changed reusable apps docs to use a declarative config.
Backport of 89368ab6e358ebe29a0417d65209182238daa245 from master.
2019-11-05 15:05:37 +01:00
kola-er
22466f91dc [2.2.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.

Backport of d94d7b113c21d7a0fd802fadb1adbbec8155e880 from master
2019-11-05 14:56:45 +01:00
Alasdair Nicol
406fb336b7 [2.2.x] Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs.
Backport of b991eefd3a9fa4da4eb46fddcb36cf1e8b5862e9 from master
2019-11-05 12:42:51 +01:00
Mariusz Felisiak
a7f90d9c02 [2.2.x] Refs #30947 -- Changed tuples to lists in model Meta options examples in docs.
Follow up to 97d3321e89c8d4434927bdbc308db1ccffa99d3b.

Backport of e5cacb1f47cb3a2943bbc7685a630c84503b0d1b from master
2019-11-05 08:40:38 +01:00
Adam Johnson
24a0ce187a [2.2.x] Updated list of field types conversions in ModelForm docs.
Backport of 5a856669bf0574f612eea89e72a6b0a3d2cb80d9 from master
2019-11-04 11:04:30 +01:00
Mariusz Felisiak
a43f71e55f [2.2.x] Post-release version bump. 2019-11-04 09:02:41 +01:00
Mariusz Felisiak
27f2b4475d [2.2.x] Bumped version for 2.2.7 release. 2019-11-04 08:49:44 +01:00
Mariusz Felisiak
1cbf607009 [2.2.x] Updated man page for Django 2.2. 2019-11-04 08:44:55 +01:00
Mariusz Felisiak
6f26693cc8 [2.2.x] Added release dates for 2.2.7, 2.1.14, and 1.11.26.
Backport of 126cfefce2b59900138f2bf1ef6ad966cddc55d4 from master
2019-11-04 08:26:38 +01:00
Carlton Gibson
785d1706c4 [2.2.x] Fixed #30931 -- Restored ability to override Model.get_FIELD_display().
Thanks Sergey Fedoseev for the implementation idea.

Regression in a68ea231012434b522ce45c513d84add516afa60.

Backport of 2d38eb0ab9f78d68c083a5b78b1eca39027b279a from master
2019-11-04 08:17:50 +01:00
Gil Forcada Codinachs
eb8a53c7c1 [2.2.x] Fixed typo in docs/ref/signals.txt.
Backport of 632d7bbd3dff1614cf7936dae733278149930f5b from master
2019-10-30 16:53:51 +01:00
Mariusz Felisiak
3ca4457af3 [2.2.x] Corrected error message in Many-to-many relationships docs.
Backport of a370dbd9543703677697e80701b5dbec8c8e7da7 from master
2019-10-30 16:18:18 +01:00
André Ericson
972eef6b90 [2.2.x] Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage().
Backport of 54a7b021125d23a248e70ba17bf8b10bc8619234 from master
2019-10-30 13:53:22 +01:00
Ken Whitesell
9d15f1ead9 [2.2.x] Fixed #30917 -- Clarified formsets topic documentation.
Backport of 4c762588ff6748a9a9bad111894fd418c43b74a9 from master
2019-10-30 09:01:36 +01:00
Hasan Ramezani
4cc1549b6e [2.2.x] Fixed #13750 -- Clarified need to reopen models.ImageField.image file to access raw image data.
Backport of f57e174fa61e4c31213f6d0033fb9d647b463626 from master
2019-10-29 16:10:37 +01:00
Mariusz Felisiak
4d992bc7d1 [2.2.x] Fixed typo in docs/topics/files.txt.
Backport of bf7b3e2750e3392d112b34e076ee1a77c8adbe77 from master
2019-10-29 16:10:27 +01:00
Adam Johnson
4c0979bba4 [2.2.x] Documented the order in which signal receivers are called.
Backport of ab0fd3f58f751859cc7c5260decf0acca26513bf from master
2019-10-28 13:32:09 +01:00
Mariusz Felisiak
48df40262b [2.2.x] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
Backport of daa9415f78279855808134e1f40766f6c5f4bdbc from master
2019-10-25 11:23:23 +02:00
Saad
fb77d53ffe [2.2.x] Fixed #30904 -- Doc'd caveat about using filtered queryset with select_for_update() on MySQL.
Backport of fc2b1cc926e34041953738e58fa6ad3053059b22 from master
2019-10-25 09:00:40 +02:00
Hasan Ramezani
9d627bf9b2 [2.2.x] Fixed #30906 -- Fixed an example of using the template system to generate CSV.
Backport of 05c3ef26a203de1bc227e31b88999ff2e3b11abf from master
2019-10-25 08:12:40 +02:00
Hannes Ljungberg
7fe09e6d41 [2.2.x] Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with opclasses and ordering.
Backport of fa5f3291e7f2611d53e64ab481ebe951b0161791 from master
2019-10-24 09:53:33 +02:00
Mariusz Felisiak
c7f4a7da0d [2.2.x] Added tblib to the list of test suite dependencies in documentation.
Backport of 2a54ce72f95977fefe796e99c7bbf6cd366927f9 from master
2019-10-23 15:28:02 +02:00
Antonio Dudarev
43bc59ceb6 [2.2.x] Refs #13724 -- Corrected QuerySet signature in docs.
Backport of 6c23b43655f3710cfb1ecc57236405d11a544247 from master
2019-10-22 14:24:46 +02:00
Mariusz Felisiak
aa28213eb5 [2.2.x] Refs #28436 -- Corrected docs regarding MySQL support of distance lookups.
Backport of 440603a4bc0dc4f0b489489e80dcbab0ca736d23 from master
2019-10-16 14:40:43 +02:00
Carlton Gibson
26ac7ae080 [2.2.x] Moved "Sign the CLA" to the bottom of New Contributor First Steps.
As discussed on the mailing list, step 1 of First Steps shouldn't be
"Find a printer".

https://groups.google.com/d/topic/django-developers/owOqFmxufgs/discussion
Backport of adfd920cc5f932b9cabc8061563088016a8dfe13 from master
2019-10-15 14:11:33 +02:00
Ad Timmering
5733504752 [2.2.x] Fixed #30816 -- Doc'd how to create projects with a local copy of Django.
Backport of dee687e93a2d45e9fac404be2098cc4707d31c1f from master
2019-10-15 12:54:56 +02:00
Graham Healy
4dc3192a36 [2.2.x] Fixed #30808 -- Added the Django Forum to contributing index.
Backport of 90abdba08657db397f1887b94ec1ebdc32783379 from master
2019-10-15 09:08:18 +02:00
Simon Charette
f037ae11ec [2.2.x] Refs #26207 -- Removed obsolete note about slow constructing a model with deferred fields.
This is not true since 7f51876 removed the necessity of creating
proxy model classes at runtime for each deferred field sets.
Backport of 35396a7f243eceec42cc90725ab573a7d9ac3b4c from master
2019-10-14 12:53:32 +02:00
Mariusz Felisiak
d2f02aa56b [2.2.x] Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan.
Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the
report.

Backport of 06d34aab7cfb1632a1538a243db81f24498525ff from master.
2019-10-14 11:45:47 +02:00
René Fleschenberg
d4d37d0900 [2.2.x] Clarified that SECURE_REDIRECT_EXEMPT patterns should not include leading slashes.
Backport of d232fd76a85870daf345fd8f8d617fe7802ae194 from master
2019-10-11 16:07:38 +02:00
Louise Grandjonc
323467e286 [2.2.x] Fixed #30826 -- Fixed crash of many JSONField lookups when one hand side is key transform.
Regression in 6c3dfba89215fc56fc27ef61829a6fff88be4abb.

Backport of 7d1bf29977bb368d7c28e7c6eb146db3b3009ae7 from master
2019-10-11 11:52:32 +02:00
Kees Hink
4f7ba25e67 [2.2.x] Fixed #27086 -- Doc'd fix for test suite hang on macOS.
Backport of 5d9cf79baf07fc4aed7ad1b06990532a65378155 from master
2019-10-09 15:51:00 +02:00
Carlton Gibson
c22945f4c7 [2.2.x] Added note to check Python version in unit tests troubleshooting section.
At DjangoCon US 2019 sprints, a number of contributors hit problems with an outdated Python.

Backport of 06e087c3ded703b334a4d7c74a882212774253bc from master
2019-10-09 15:50:52 +02:00
Carlton Gibson
67bfedd2ae [2.2.x] Corrected section indentation in unit tests contributor docs.
Backport of b39c39e82ae12ca92686ee97a7be2958ee667e5c from master
2019-10-09 15:50:47 +02:00
Mac Chapman
8c1b492e5f [2.2.x] Fixed #11097 -- Added note about parent link fields in formsets for multi-table inheritance models.
Backport of 0b7378db1fdd7bfc7b78089811b3abb722c4ba95 from master
2019-10-09 12:55:23 +02:00
Carlton Gibson
9763ed7a66 [2.2.x] Fixed #30858 -- Clarified that AdminEmailHandler processes all 5xx responses.
Backport of 94eae4e5633fbf21f5dcae6e0472ce6a51dd3411 from master
2019-10-09 10:17:03 +02:00
Caio Ariede
5e91adc79d [2.2.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
Backport of dafdfd6a60638c4edcca7c4e65d11c0af654d759 from master
2019-10-08 12:34:02 +02:00
Caio Ariede
46a05e10a4 [2.2.x] Fixed #28273 -- Doc'd fast nullable column creation with defaults.
Backport of 06909fe084f87a65459a83bd69d7cdbe4fce9a7c from master
2019-10-07 14:37:39 +02:00
Tamer Sherif
98573cfe48 [2.2.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
Backport of e3f647f4d5fc414f8cb7ab58df5e61a19908c63f from master
2019-10-07 11:11:15 +02:00
Katie McLaughlin
146086f219 [2.2.x] Fixed #30834 -- Added explicit list of supported databases to the databases docs.
Backport of 9dca904a5bf37ee9ad015212b17a9929ab8952cd from master
2019-10-03 19:49:32 +02:00
Mar Sánchez
f5f4c28bfc [2.2.x] Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.
Backport of f1d4a540b29c6766b988852bc302ac036a2d82e2 from master
2019-10-02 14:59:14 +02:00
Katherine Michel
8ac918a913 [2.2.x] Refs #30010 -- Doc'd running tests with django-docker-box.
Backport of f7eb9fb676d7afba16fc577283610b359718e644 from master
2019-10-02 14:02:17 +02:00
Carlton Gibson
09013aae13 [2.2.x] Refs #28699 -- Clarified CSRF middleware ordering in relation to RemoteUserMiddleware.
Backport of 94469504706b494877b6bb45a979bcb81c7fd7be from master
2019-10-02 13:12:00 +02:00
Sjbrgsn
da31472abf [2.2.x] Fixed #30817 -- Clarified return value of Sitemap.items().
Backport of 7b3c06cd72e691ffd932ccce338701c37297a415 from master
2019-10-02 12:20:04 +02:00
Mariusz Felisiak
18df8484bd [2.2.x] Added stub release notes for 1.11.26 and 2.1.14.
Backport of 84322a29ce9b0940335f8ab3d60e55192bef1e50 from master
2019-10-02 07:56:02 +02:00
Carlton Gibson
c3302c7976 [2.2.x] Added stub release notes for 2.2.7.
Backport of e1c1eaf0c6f4d3d2f60513d20aa9b84b17d096ec from master
2019-10-01 10:45:07 +02:00
Carlton Gibson
a00d823951 [2.2.x] Post-release version bump. 2019-10-01 10:36:02 +02:00
Carlton Gibson
b0654fd6fa [2.2.x] Bumped version for 2.2.6 release. 2019-10-01 10:27:56 +02:00
Carlton Gibson
e1a75db7d1 [2.2.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
Backport of 3826aed46d7d4310c2ab6777a4f92165ca4d8d4f from master
2019-10-01 08:51:15 +02:00
David Vaz
43c894ffe7 [2.2.x] Doc'd that migrate commmand accepts a unique migration name prefix.
Backport of e02f67ef2d03d48128e7a118bf75f0418e24e8ac from master
2019-09-30 09:47:55 +02:00
David Vaz
4116b369b1 [2.2.x] Fixed #30597 -- Clarified how to unapply migrations.
Backport of 45554fd5c5c6a536db3ce70d78646d3dc398cf08 from master
2019-09-27 22:41:16 +02:00
David Vaz
1ac2f25ec0 [2.2.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Backport of abba563c8635a52e8b657dee7708202e1f69433c from master
2019-09-27 20:09:58 +02:00
David Vaz
a6972e8854 [2.2.x] Fixed #30216 -- Doc'd that BooleanField is no longer blank=True in Django 2.1. 2019-09-27 13:00:32 +02:00
Glenn
b1eea8a73a [2.2.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
Backport of c2678e49759e5c4c329bff0eeca2886267005d21 from master
2019-09-27 09:56:29 +02:00
Pablo García
38af257988 [2.2.x] Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
client_timeout is an instance attribute.

Backport of 2fd610eb301dc01e100befed891e8007fd2e981f from master
2019-09-27 08:36:48 +02:00
Adam Johnson
80d78fd651 [2.2.x] Documented admonition on when to use custom signals
Thanks Cesar Canassa for the suggestion and Aymeric Augustin for review.
Backport of 566fca14b3e1406f918898de5bb2b2382a44edaf from master
2019-09-25 10:40:49 +01:00
Mariusz Felisiak
acc0d99e6c [2.2.x] Refs #30350 -- Doc'd support for range serialization in migrations.
Backport of bc46e386c7aa496642d3ffc9e4f56ae5a46417a7 from master
2019-09-24 13:56:06 +02:00
Ryan Nowakowski
f314cebe82 [2.2.x] Updated the default cache key transformation in documentation.
Follow up to 6c69de80bdcd2744bc64cb933c2d863dd5e74a33.
Backport of 3f141719a198983a41840e3c2ea542f87c92e4c1 from master
2019-09-24 12:43:57 +02:00
Claude Paroz
29d2f5a662 [2.2.x] Refs #26601 -- Used new-style middlewares in documentation.
Backport of d71497bb249a2c3ffec41e99089f5ae8e575f2d3 from master
2019-09-24 09:59:41 +02:00
Jezeniel Zapanta
62a4a5062f [2.2.x] Fixed #30732 -- Doc'd that SameSite cookies flags can affect xframe_options_exempt.
Backport of e8ad265ac882f8f118d2c4a7618bd3e3916fc13e from master
2019-09-24 08:44:54 +02:00
Mariusz Felisiak
ae2dee6ecf [2.2.x] Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
Backport of 343afa788080fb874bcd10eab1a1a2fede98c526 from master
2019-09-23 08:47:01 +02:00
Carlton Gibson
268e7c7747 [2.2.x] Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers for add() and remove().
Thank you to Mariusz Felisiak for review.

Backport of bae05bcf68710cb6dafa51325c3ec83ddda83c39 from master
2019-09-19 11:41:32 +02:00
Katie McLaughlin
242805c82b [2.2.x] Fixed #30775 -- Added admonition about missing imports to "Running tests" section in tutorial 5.
Backport of 44077985f58be02214a11ffde35776fed3c960e1 from master
2019-09-16 10:05:02 +02:00
Simon Charette
7806e45454 [2.2.x] Fixed #30769 -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.
This was a regression introduced by 7deeabc7c7526786df6894429ce89a9c4b614086
to address CVE-2019-14234.

Thanks Tim Kleinschmidt for the report and Mariusz for the tests.

Backport of 6c3dfba89215fc56fc27ef61829a6fff88be4abb from master
2019-09-16 08:53:31 +02:00
Mariusz Felisiak
e4fb132f43 [2.2.x] Added stub release notes for 1.11.25 and 2.1.13.
Backport of bd7e0f81f8590eadcb820c976ba03c9b75bbcad6 from master
2019-09-16 07:43:49 +02:00
Claude Paroz
f452d4232e [2.2.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
Backport of b8dff52f440adfb78b40e19ee8bff45373ca2501 from master
2019-09-14 17:25:33 +02:00
Ben Falk
1864d61d6c [2.2.x] Fixed typos in docs/ref/settings.txt.
Backport of 4056558a1c9cf650ab6e7cb1a319206d2e8c770f from master.
2019-09-13 20:38:44 +02:00
Simon Charette
964dd4f4f2 [2.2.x] Fixed #30754 -- Prevented inclusion of aliases in partial index conditions.
SQLite doesn't repoint table aliases in partial index conditions on table
rename which breaks the documented table alteration procedure.

Thanks Pēteris Caune for the report.

Backport of 34decdebf157b6f05836009cc1967f74ee541fdf from master
2019-09-10 10:04:12 +02:00
Nick Pope
be053c0b2a [2.2.x] Standardized links for headers in security middleware documentation.
Backport of fc62e16291136513ac0d67d6a2c71e8674740435 from master
2019-09-09 13:42:31 +02:00
Katie McLaughlin
1f304ebdc6 [2.2.x] Fixed #30767 -- Improved references to deployment documentation.
* Increased tocdepth to expose more complexity of topics.
* Ensured deployment checklist is linked on main doc page.

Backport of fee75d2aed4e58ada6567c464cfd22e89dc65f4a from master.
2019-09-09 10:06:58 +02:00
Mariusz Felisiak
fe33dd67fb [2.2.x] Fixed typo in docs/internals/contributing/writing-documentation.txt.
Backport of 053ff7e9e65ce82bb7ee72bff3dcdb797e16dbb9 from master
2019-09-05 14:09:02 +02:00
Carlton Gibson
dee22a024b [2.2.x] Refs #30573 -- Noted to avoid "simple" & co. in Writing Style guide.
Co-authored-by: Tobias Kunze <r@rixx.de>

Backport of ed2d411aa84efc76baba3adf0d0f99df0e44ba57 from master
2019-09-05 10:15:19 +02:00
Min ho Kim
23946bdb06 [2.2.x] Changed example git clone URLs to use HTTPS.
Backport of 3c6a4fdb6d828a03e368632d88f8261cc30104da from master
2019-09-04 08:12:36 +02:00
Mariusz Felisiak
b71cabe459 [2.2.x] Added stub release notes for 2.2.6.
Backport of 0d4529d314f5b804c4e856146f6641a73027a2c4 from master
2019-09-04 08:06:12 +02:00
Mariusz Felisiak
96f1d82401 [2.2.x] Post-release version bump. 2019-09-02 09:04:02 +02:00
Mariusz Felisiak
ce97960e34 [2.2.x] Bumped version for 2.2.5 release. 2019-09-02 08:21:38 +02:00
Mariusz Felisiak
8514c6f329 [2.2.x] Updated man page for Django 2.2. 2019-09-02 08:00:01 +02:00
Mariusz Felisiak
4ed59db199 [2.2.x] Added release dates for 2.2.5, 2.1.12, and 1.11.24.
Backport of 47f49adc11c0d39be3f41f92becc1f606c49d8ce from master
2019-09-02 07:45:40 +02:00
Daria Kolodzey
11cdfb3408 [2.2.x] Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
Thanks Emmanuel Cazenave for the report.
Backport of 3f8ee58ccc5c55e62625ad797ddde05778fe1bec from master
2019-08-31 10:59:41 +02:00
Andrew
16e5e8ff5a [2.2.x] Fixed #30733 -- Doc'd that datetime lookups require time zone definitions in the database.
Note was missing for date, year, iso_year, week, time, hour, minute,
and second lookups.

Backport of 29adcd215f80383f00d9f837311e857142319722 from master
2019-08-28 09:07:35 +02:00
Tom Forbes
6402855098 [2.2.x] Fixed #30500 -- Fixed race condition in loading URLconf module. 2019-08-27 20:09:30 +02:00
Matthew Schinckel
6c17b86590 [2.2.x] Doc'd for_save argument of Expression.resolve_expression().
Backport of dba749917f73ce517448a42fed38dd61382e92a7 from master
2019-08-27 17:13:35 +02:00
Ali Mirlou
56f7a62d28 [2.2.x] Fixed typo in docs/ref/applications.txt.
Backport of 33b9b23bbb6c373843ef184d24438c1bdff37c82 from master
2019-08-23 08:49:00 +02:00
François Freitag
9b7c5a92ec [2.2.x] Fixed broken links and redirects in documentation.
Removed reference to custom builds, feature removed in
8e6b3bba99.
Backport of 9a88e43aeba6cc85ffb2a48a06c296ccf68e0d71 from master
2019-08-21 10:58:05 +02:00
Harrison88
0dc3ad163a [2.2.x] Fixed #30695 -- Used relative path in default_storage docs example.
Backport of 1e429df748867097451bf0b45d1080ae6828d921 from master
2019-08-20 12:03:04 +02:00
Garry Polley
4a24fe940e [2.2.x] Removed outdated examples of flatpages served sites.
Removing the lawrence journal flat page examples because one is no longer a web page (404) and the other is no longer served by Django: https://www.reddit.com/r/django/comments/8v0fpb/the_lawrence_journalworld_where_django_was/
Backport of 10528a81edaca4275e4762b82336e129b0cfe17d from master
2019-08-19 12:28:27 +02:00
Mariusz Felisiak
98464dde12 [2.2.x] Fixed broken links and redirects to OGR library in docs.
Backport of 49aeabbf27637dbdb7a96d43b164a20c8c8ea70b from master
2019-08-19 11:43:44 +02:00
bcye
9ecff12720 [2.2.x] Fixed broken links to Dive Into Python 3 book.
Backport of ac34fccdb900788c2e024ea61bbaf4be7a46cce1 from master
2019-08-19 07:20:39 +02:00
Claude Paroz
556cef1ba8 [2.2.x] Fixed #30694 -- Documented FileResponse does not seek its file source.
Backport of 7203efb799969b4662ecb58f4cefd2a5f2e0062b from master
2019-08-17 09:21:48 +02:00
Mariusz Felisiak
6624a3de28
[2.2.x] Fixed test_json.TestQuerying.test_key_transform_expression() on Python 3.5. 2019-08-15 19:38:12 +02:00
zeyneloz
c2732e6839 [2.2.x] Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to respect model's Meta.ordering.
Regression in 6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b.

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 00035672a460b6eb5442d2837bc783f8af28c6f3 from master
2019-08-15 13:14:17 +02:00
Mariusz Felisiak
52a7759a49 [2.2.x] Fixed #30672 -- Fixed crash of JSONField/HStoreField key transforms on expressions with params.
Regression in 4f5b58f5cd3c57fee9972ab074f8dc6895d8f387.

Thanks Florian Apolloner for the report and helping with tests.

Backport of 1f8382d34d54061eddc41df6994e20ee38c60907 from master.
2019-08-14 15:29:13 +02:00
Akash Agrawal
be4a2a0358 [2.2.x] Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs.
Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.

Backport of c1b26c77a94c13b350d80e9a2f8d0393dee737cd from master
2019-08-11 16:30:44 +02:00
Akash Agrawal
8a3a328020 [2.2.x] Fixed #30670 -- Doc'd SchemaEditor.add/remove_constraint().
Backport of af08a5441585393b287535b9417436b896bd8052 from master
2019-08-11 03:28:01 +02:00
Carlton Gibson
c5cbb797d7 [2.2.x] Fixed #30688 -- Clarified base_manager_name docs.
Backport of 514efa3129792ec2abb2444f3e7aeb3f21a38386 from master
2019-08-09 10:10:15 +02:00
Adnan Umer
1265a26b2f [2.2.x] Fixed #30673 -- Relaxed system check for db_table collision when database routers are installed by turning the error into a warning.
Backport of 8d3519071ec001f763b70a3a1f98ae2e980bd552 from master.
2019-08-08 21:40:06 +02:00
Mariusz Felisiak
2c66f340bb [2.2.x] Added stub release notes for 2.2.5.
Backport of 1af469e67fd3928a4b01722d4706c066000014e9 from master
2019-08-03 11:28:47 +02:00
niauah
5b294d3931 [2.2.x] Corrected StreamingHttpResponse.streaming_content description in docs.
Backport of 75f8264083c2c938da757fcef3678faee66b1d45 from master
2019-08-02 16:47:00 +02:00
Carlton Gibson
68cc954ffb [2.2.x] Added CVE-2019-14235 to security release archive.
Backport of a5652eb795e896df0c0f2515201f35f9cd86b99b from master
2019-08-01 12:04:18 +02:00
Carlton Gibson
3bfa2f99d8 [2.2.x] Added CVE-2019-14234 to security release archive.
Backport of 3a6a2f5eaf74200a9591a6311fdb0ea78ee305ee from master
2019-08-01 12:04:06 +02:00
Carlton Gibson
859d1d1cb0 [2.2.x] Added CVE-2019-14233 to security release archive.
Backport of 9600f63885d2d240f85d59bff6acbe200f890298 from master
2019-08-01 12:03:53 +02:00
Carlton Gibson
928d596886 [2.2.x] Added CVE-2019-14232 to the security release archive.
Backport of 87750787d1e464b7143f366d9485ba20fefc9c94 from master
2019-08-01 12:03:34 +02:00
Carlton Gibson
7c65adf0f8 [2.2.x] Post-release version bump. 2019-08-01 10:59:41 +02:00
Carlton Gibson
8687fbe034 [2.2.x] Bumped version for 2.2.4 release. 2019-08-01 10:56:47 +02:00
Florian Apolloner
cf694e6852 [2.2.x] Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in django.utils.encoding.uri_to_iri().
Thanks to Guido Vranken for initial report.
2019-07-29 11:06:54 +02:00
Mariusz Felisiak
4f5b58f5cd [2.2.x] Fixed CVE-2019-14234 -- Protected JSONField/HStoreField key and index lookups against SQL injection.
Thanks to Sage M. Abdullah for the report and initial patch.
Thanks Florian Apolloner for reviews.
2019-07-29 11:06:54 +02:00
Florian Apolloner
e34f3c0e9e [2.2.x] Fixed CVE-2019-14233 -- Prevented excessive HTMLParser recursion in strip_tags() when handling incomplete HTML entities.
Thanks to Guido Vranken for initial report.
2019-07-29 11:06:54 +02:00
Florian Apolloner
c3289717c6 [2.2.X] Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking issues when truncating HTML.
Thanks to Guido Vranken for initial report.
2019-07-29 11:00:01 +02:00
daniel a rios
f9462f4c82 [2.2.x] Fixed #30656 -- Added QuerySet.bulk_update() to the database optimization docs.
Backport of 68aeb9016084290aac4f82860e17a9f4e941676e from master
2019-07-29 10:10:00 +02:00
daniel a rios
b4139ed6ea [2.2.x] Refs #30656 -- Reorganized bulk methods in the database optimization docs.
Backport of fe33fdc049df75f9dd8e2eecc8c94aefc0132cb8 from master
2019-07-29 10:09:53 +02:00
Carlton Gibson
ea57c8a345 [2.2.x] Added stub release notes for security releases.
Backport of f13147c8de725eed7038941758469aeb9bd66503 from master
2019-07-25 10:50:18 +02:00
Tom Forbes
4d6449e125 [2.2.x] Fixed #30647 -- Fixed crash of autoreloader when extra directory cannot be resolved.
Backport of fc75694257b5bceab82713f84fe5a1b23d641c3f from master.
2019-07-24 14:38:24 +02:00
terminator14
61d4a15989 [2.2.x] Fixed typo in docs/topics/http/sessions.txt.
Backport of 8323691de0ba120dbdc8055063574df2b0c0afa4 from master
2019-07-23 15:11:54 +02:00
Tom Forbes
2d2859bec2 [2.2.x] Fixed #30506 -- Fixed crash of autoreloader when path contains null characters.
Backport of 2ff517ccb6116c1be6338e6bdcf08a313defc5c7 from master.
2019-07-23 10:41:50 +02:00
Mariusz Felisiak
506f800ead [2.2.x] Refs #30083 -- Added a warning about performing queries in pre/post_init receivers.
Thanks Carlton Gibson the review.

Backport of fc1182af01c391ce33d7fcf51c756829c6a11d5b from master
2019-07-19 16:07:29 +02:00
Mariusz Felisiak
fa3ae446d9 [2.2.x] Refs #30083 -- Clarified database state of instances in signals.pre_init docs.
Backport of a2e1c17f193f5017e1f6fac7d860f1f9e34d7892 from master
2019-07-19 16:07:21 +02:00
Davit Gachechiladze
de2635fb4e [2.2.x] Fixed #30648 -- Removed unnecessary overriding get_context_data() from mixins with CBVs docs.
Backport of 7f612eda80db1c1c8e502aced54c2062080eae46 from master
2019-07-18 19:47:53 +02:00
Mariusz Felisiak
0088e59292 [2.2.x] Refs #30547 -- Clarified that partial UniqueConstraints don't affect model validation.
Backport of 230d75f59c43b9731465c4ec92ad714e301637b8 from master
2019-07-18 12:56:52 +02:00
Mariusz Felisiak
4814db40c1 [2.2.x] Fixed heading level typo in docs/ref/contrib/postgres/fields.txt.
Backport of ad4e83a6d1c0a212fae751a3125dff6e28b2390a from master
2019-07-16 15:08:40 +02:00
Frank Wiles
d58cde7444 [2.2.x] Updated WSGI servers ordering according to the more commonly used.
Backport of fa65b90a96f27dced8cfa89126d28186b4c80fbf from master
2019-07-16 14:44:29 +02:00
Frank Wiles
de19a600f0 [2.2.x] Fixed explanation of how to automatically create tables in database.
Backport of c1b94e32fb3df25d72b5e9973da7928dddbc3a2e from master
2019-07-15 15:24:44 +02:00
Hasan Ramezani
a39365c48e [2.2.x] Doc'd --no-input option for createsuperuser.
Backport of 8dd5877f58f84f2b11126afbd0813e24545919ed from master
2019-07-11 10:26:16 +02:00
Mariusz Felisiak
1088a9777d [2.2.x] Fixed #30621 -- Fixed crash of __contains lookup for Date/DateTimeRangeField when the right hand side is the same type.
Thanks Tilman Koschnick for the report and initial patch.
Thanks Carlton Gibson for the review.

Regression in 6b048b364ca1e0e56a0d3815bf2be33ac9998355.
Backport of 7991111af12056ec9a856f35935d273526338c1f from master
2019-07-10 10:34:49 +02:00
Simon Charette
9dee8515d6 [2.2.x] Fixed #30628 -- Adjusted expression identity to differentiate bound fields.
Expressions referring to different bound fields should not be
considered equal.

Thanks Julien Enselme for the detailed report.

Regression in bc7e288ca9554ac1a0a19941302dea19df1acd21.

Backport of ee6e93ec8727d0f5ed33190a3c354867669ed72f from master
2019-07-10 08:04:45 +02:00
Mariusz Felisiak
8f0b9e7f9a [2.2.x] Fixed typos in docs/ref/django-admin.txt.
Backport of 24e8f7f7d3063a3bbfe14774080bc89035b4a3e2 from master
2019-07-09 13:39:35 +02:00
Mariusz Felisiak
b593c39d7f [2.2.x] Added stub release notes for 2.2.4.
Backport of 08e69cad9ccb18738b66388b0d0ee4660470710e from master
2019-07-09 07:45:27 +02:00
sp1rs
0ea952e3d6 [2.2.x] Fixed #30600 -- Clarified that ValueError raised by converter.to_python() means no match.
Backport of f197c3dd9130b18397022605c27ffe5755f329d7 from master
2019-07-04 13:36:10 +02:00
swatantra
7d52d056e3 [2.2.x] Fixed #28667 -- Clarified how to override list of forms fields for custom UserAdmin with a custom user model.
Backport of c13e3715f5f46f2ee4ddba357e2589a45e831813 from master
2019-07-04 08:22:56 +02:00
Carlton Gibson
b6d8957356 [2.2.x] Fixed #28588 -- Doc'd User.has_perm() & co. behavior for active superusers.
Equivalent note for PermissionsMixin was added in d33864ed138f65070049a3ac20ee98e03a1442b9.
Backport of 4b32d039dbb59b3c3e76587df5c58150e752d9ac from master
2019-07-02 11:21:46 +02:00
aitoehigie
b9d1bb6955 [2.2.x] Fixed #30589 -- Clarified that urlize should be applied only to email addresses without single quotes.
Backport of c2f381ef17058e5cfea58ae507983d2e459a2888 from master
2019-07-01 12:03:56 +02:00
Mariusz Felisiak
2b533ae60e [2.2.x] Added CVE-2019-12781 to the security release archive.
Backport of 868cd56f058ca203419ad0886353173b74c3bcf1 from master
2019-07-01 10:21:16 +02:00
Mariusz Felisiak
5d39f62f7e [2.2.x] Post-release version bump. 2019-07-01 08:21:52 +02:00
Mariusz Felisiak
89e9a4aeb6 [2.2.x] Bumped version for 2.2.3 release. 2019-07-01 07:55:16 +02:00
Mariusz Felisiak
93e719efdb [2.2.x] Updated man page for Django 2.2. 2019-07-01 07:54:32 +02:00
Mariusz Felisiak
4f2713ff0e [2.2.x] Added release date for 2.2.3.
Backport of fc41401f33045d2015dd92e735a13e5ee4af3afd from master
2019-07-01 07:51:53 +02:00
Carlton Gibson
77706a3e47 [2.2.x] Fixed CVE-2019-12781 -- Made HttpRequest always trust SECURE_PROXY_SSL_HEADER if set.
An HTTP request would not be redirected to HTTPS when the
SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings were used if
the proxy connected to Django via HTTPS.

HttpRequest.scheme will now always trust the SECURE_PROXY_SSL_HEADER if
set, rather than falling back to the request scheme when the
SECURE_PROXY_SSL_HEADER did not have the secure value.

Thanks to Gavin Wahl for the report and initial patch suggestion, and
Shai Berger for review.

Backport of 54d0f5e62f54c29a12dd96f44bacd810cbe03ac8 from master
2019-07-01 07:50:48 +02:00
Mariusz Felisiak
db9f7b44fc [2.2.x] Added stub release notes for security releases.
Backport of 30b3ee9d0b33bb440f9c73d1ce9e0e7303887a9f from master
2019-07-01 07:03:03 +02:00
Mariusz Felisiak
395cf7c375 [2.2.x] Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database.
Backport of 4305fbe8b11f44ab5d6759346488026c1e9677b2 from master
2019-06-30 19:46:40 +02:00
Claude Paroz
b3f7262e6e [2.2.x] Updated translations from Transifex 2019-06-29 16:15:53 +02:00
Tom Forbes
bdc1de2199 [2.2.x] Fixed #30588 -- Fixed crash of autoreloader when __main__ module doesn't have __file__ attribute.
Backport of 8454f6dea49dddb821bfcb7569ea222bb487dfd1 from master
2019-06-26 06:44:57 +02:00
Meysam
04965bf92d [2.2.x] Fixed typo in docs/topics/db/models.txt.
Backport of 833878411c35e1d47abfb77c23863a9dc9bb6d27 from master
2019-06-24 09:05:15 +02:00
Alexey Opalev
f3b036593f [2.2.x] Fixed typo in docs/ref/models/indexes.txt.
Backport of 2f91e7832fd2e51dfb75f6027b673a943e736ef0 from master
2019-06-24 09:01:12 +02:00
Claude Paroz
3b2701e4f2 [2.2.x] Removed unneeded non-breaking spaces added in 00169bc36
Backport of 8590726a5dd3087d40b549580703cd8c74f3d7b1 from master.
2019-06-22 10:28:26 +02:00
Markus Holtermann
2525785880 [2.2.x] Bumped minimum ESLint version to 4.18.2.
Backport of ad7b438002f1ab2a0ccb321012182991737ea84e from master.
2019-06-21 18:00:32 +02:00
Jon Dufresne
e6b2471ce7 [2.2.x] Fixed typos in 1.11.19, 2.0.11, 2.1.6 release notes.
Backport of 2ef6f209f79b0bd27d53405f0d46bb9ab82b2a52 from master
2019-06-21 07:10:32 +02:00
Chris Jerdonek
d200069b15 [2.2.x] Refs #30565 -- Doc'd HttpResponse.close() method.
Backport of 533311782fd0c974208490ec9d11da3bbe179dea from master
2019-06-20 11:49:52 +02:00
Swat009
c3a0f76d11 [2.2.x] Fixed #30547 -- Doc'd how Meta.constraints affect model validation.
Backport of 00169bc36156d4a32546229bf39de91213709eaf from master
2019-06-20 10:45:20 +02:00
Hasan Ramezani
c3a9d3050c [2.2.x] Fixed typos in signals and custom management commands docs.
Backport of a7038adbd02c916315b16939b835f021c2ee8880 from master
2019-06-19 08:41:51 +02:00
Hasan Ramezani
1ce04289f1 [2.2.x] Fixed typos and example in signals.pre_init docs.
Backport of 036362e0cfe74e4ab8a65b99eb2aa9c35371fc04 from master
2019-06-18 15:09:07 +02:00
Joachim Jablon
26c1214364 [2.2.x] Fixed an example of email with display name in EmailMessage.from_email.
Backport of 0c2ffdd526ff0f0015628821c77fbee15960eaef from master
2019-06-13 18:00:28 +02:00
Jon Dufresne
13e6040fd4 [2.2.x] Fixed intword example in docs/ref/contrib/humanize.txt.
Backport of 175656e166712db019a4704c4031510b9fd6b00a from master
2019-06-11 22:12:24 +02:00
Vyacheslav Ver
36766e1a28 [2.2.x] Fixed #30486 -- Fixed the default value of Aggregate.distinct and updated example of custom aggregate functions.
Backport of 76b3fc5c8d8dffb441aaa08f75833888be2107af from master
2019-06-11 12:02:02 +02:00
Mykola Nicholas
d5d22e1090 [2.2.x] Changed charset and collation link to MySQL docs.
Backport of f3a03d5b61bbf6a47c9aaf8113cff5b1befbcbc5 from master
2019-06-11 11:17:23 +02:00
Mariusz Felisiak
430f7e9dac [2.2.x] Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0.
Backport of 5ab75adb900ca3fce50e65e60b11f2eb3ce9fd25 from master
2019-06-10 16:57:50 +02:00
swatantra
6dca336167 [2.2.x] Fixed #30553 -- Clarified the default value of disable_existing_loggers.
Backport of 03cd3d137e2c29484b020b9768a4741f1096be97 from master
2019-06-10 15:18:40 +02:00
Étienne Beaulé
4e6f0024f1 [2.2.x] Fixed #30542 -- Fixed crash of numerical aggregations with filter.
Filters in annotations crashed when used with numerical-type
aggregations (i.e. Avg, StdDev, and Variance). This was caused as the
source expressions no not necessarily have an output_field (such as the
filter field), which lead to an AttributeError: 'WhereNode' object has
no attribute output_field.

Thanks to Chuan-Zheng Lee for the report.

Regression in c690afb873cac8035a3cb3be7c597a5ff0e4b261 and two following
commits.

Backport of 4b6dfe16226a81fea464ac5f77942f4d6ba266e8 from master.
2019-06-05 09:15:21 +02:00
Mariusz Felisiak
ca3f86288a [2.2.x] Added stub release notes for 2.2.3.
Backport of 1f81e2df69c0f62f9bd85bca5b3876a2d8229fde from master
2019-06-05 06:58:53 +02:00
Caio Ariede
d6d65c1e87 [2.2.x] Fixed #30505 -- Doc'd how changes in the order of Field.choices affect migrations.
Backport of 5248abe9b0425c1fc989c60a55860cdb4d135bcf from master
2019-06-04 14:57:08 +02:00
Nick Pope
ed3dc5119b [2.2.x] Added CVE-2019-12308 to the security release archive.
Backport of 21b1d239125f1228e579b1ce8d94d4d5feadd2a6 from master
2019-06-03 21:45:58 +02:00
Nick Pope
162e02b5e4 [2.2.x] Added CVE-2019-11358 to the security release archive.
Backport of 8fb0ea55830321852a4a051a478f78e24d4f6889 from master
2019-06-03 21:45:41 +02:00
Mariusz Felisiak
e6d7641000 [2.2.x] Fixed typos in 1.11.21, 2.1.9, 2.2.2 release notes.
Backport of 100ec901aebebe56b61f101af38a228414098dd5 from master
2019-06-03 14:10:51 +02:00
Carlton Gibson
666161b41f [2.2.x] Post-release version bump. 2019-06-03 12:07:15 +02:00
Carlton Gibson
9400c96b20 [2.2.x] Bumped version for 2.2.2 release. 2019-06-03 11:59:23 +02:00
Carlton Gibson
baaf187a4e [2.2.x] Applied jQuery patch for CVE-2019-11358.
Backport of 34ec52269ade54af31a021b12969913129571a3f from master.
2019-06-03 11:38:57 +02:00
Carlton Gibson
afddabf842 [2.2.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before rendering clickable link.
Backport of deeba6d92006999fee9adfbd8be79bf0a59e8008 from master.
2019-06-03 11:37:28 +02:00
Carlton Gibson
4a1d25b39f [2.2.x] Added stub release notes for security releases.
Backport of 98c0fe19ee2cba9726708ac9336e1dc0d43cca69 from master
2019-06-03 10:50:09 +02:00
parth
5c85244eb9 [2.2.x] Fixed #28831 -- Doc'd that InlineModelAdmin methods' obj argument is the parent object.
Backport of 85436473066aae5d793caeced010ea4f45da4e79 from master
2019-05-31 13:21:13 +02:00
Tom Forbes
7089502b98 [2.2.x] Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader.
Previously we updated the file mtimes if the file has not been seen
before - i.e on the first iteration of the loop.

If the mtime has been changed we triggered the notify_file_changed()
method which in all cases except the translations will result in the
process being terminated. To be strictly correct we need to update the
mtime for either branch of the conditional.

Regression in 6754bffa2b2df15a741008aa611c1bb0e8dff22b.

Backport of 480492fe70b0bb7df61c00854dc8535c9d21ba64 from master
2019-05-29 09:43:10 +02:00
Tom Forbes
ace0bec804 [2.2.x] Fixed #30516 -- Fixed crash of autoreloader when re-raising exceptions with custom signature.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.

Backport of 0344565179527d80990e2247e3be7c04aa8c43c8 from master
2019-05-29 08:30:22 +02:00
Brad Solomon
0f0d1cd772 [2.2.x] Fixed #30491 -- Clarified when save() on object with pk executes INSERT.
Backport of 67b6cb7723b2765cb776bd59d5603e3e63eefc2e from master
2019-05-28 11:28:28 +02:00
Caio Ariede
1172f078eb [2.2.x] Fixed #30315 -- Fixed crash of ArrayAgg and StringAgg with ordering when used in Subquery.
Backport of a3f91891d2c7f4bdc33f48ae70820ef6f36da26e from master.
2019-05-28 10:39:28 +02:00
Tom Forbes
5bf2c87ece [2.2.x] Fixed #30479 -- Fixed detecting changes in manage.py by autoreloader when using StatReloader.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.

Backport of b2790f74d4f38c8b297b7c1cef6875d2378f6fa6 from master
2019-05-28 09:01:29 +02:00
Mariusz Felisiak
853586ee2c [2.2.x] Doc'd that extra_email_context can be used to override default template context values in PasswordResetView.
Backport of 8bdc7a6778ab3849c31ec77a997d07676f210419 from master
2019-05-27 12:26:41 +02:00
Shashank Parekh
86904c1850 [2.2.x] Fixed #30504 -- Corrected redirect() signature in docs.
Backport of 8000767769ac37ec7f73eb9fcc4b3fc7399a5808 from master
2019-05-24 08:27:10 +02:00
Caio Ariede
2f0dcd8238 [2.2.x] Doc'd that assertXMLEqual()/assertXMLNotEqual() ignores XML declaration and comments.
Backport of 4fb9e7b057507dda1bccd969871ae350f6c68fef from master
2019-05-24 08:24:04 +02:00
Akshesh
efb906cbe4 [2.2.x] Fixed #30419 -- Favored Meta.indexes over Meta.index_together in optimization docs.
Backport of 888fdf182e164fa4b24aa82fa833c90a2b9bee7a from master
2019-05-22 07:55:31 +02:00
Alex Gaynor
a7515c3532 [2.2.x] Fixed datetime string format examples in docs/howto/custom-template-tags.txt.
Backport of f011d9ea56f9b4385cc7c63c542b7403fef2fde1 from master
2019-05-22 06:48:26 +02:00
GwynBleidD
83605a17f0 [2.2.x] Refs #30062 -- Corrected UniqueConstraint signature in docs.
Backport of 5402061c80aa2ede08a7c6b3ff204646c5059cf7 from master
2019-05-20 10:54:19 +02:00
mentix02
da10b647f7 [2.2.x] Changed poll_id to poll_ids in examples of custom management commands.
Backport of fa422dd78b9a90143913ebb1d8c0e796504c2bee from master
2019-05-20 10:44:34 +02:00
Thomasina Lee
3d4e53bcb1 [2.2.x] Fixed #30488 -- Removed redundant Coalesce call in SQL generated by SearchVector.
Regression in 405c8363362063542e9e79beac53c8437d389520.

Backport of c38e7a79f4354ee831f92deb7a658fc0387e3bec from master
2019-05-20 09:12:32 +02:00
ruchit2801
db7d7901ee [2.2.x] Fixed #30463 -- Fixed crash of deprecation message when Meta.ordering contains expressions.
Regression in 1b1f64ee5a78cc217fead52cbae23114502cf564.

Backport of 04042b2b440f0bf50eb908d52cfe76af430e1738 from master
2019-05-18 20:05:31 +02:00
Jon Dufresne
ed221f7c97 [2.2.x] Changed docs to link to Python's description of iterable.
Backport of e86cc14bd36734d81c4e490a2453778e33b95a45 from master
2019-05-17 17:27:57 +02:00
Daniel Hepper
0aca34fc83 [2.2.x] Fixed #25633 -- Updated macOS Spatialite installation instructions.
Updated the Spatialite installation instruction to refer to the latest
available version from KyngChaos, as Gaia-SINS does not provide MacOS
binaries anymore.
Backport of ccb7f7c6d237900614290085cca103d9509b89b9 from master
2019-05-17 16:24:43 +02:00
Tobias Kunze
85b698449f [2.2.x] Fixed #30395 -- Doc'd a limitation of ModelForm.Meta.widgets.
Backport of a309821c973cf3bcfe817bb71163fcccc461cec1 from master
2019-05-17 12:49:19 +02:00
Alex
4ef96cce6a [2.2.x] Fixed #30199 -- Adjusted QuerySet.get_or_create() docs to highlight atomicity warning.
Backport of 1686dce06c1f3587e90ea98816eddaa965fd9f45 from master
2019-05-17 12:25:12 +02:00
Claude Paroz
34a357d519 [2.2.x] Fixed #30459 -- Delegated hide/show JS toggle to parent div.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of e286987a27271c8ee7eb6e4d4332b563c4e6094b from master
2019-05-17 08:04:59 +02:00
Jon Dufresne
08c8838727 [2.2.x] Changed tuple choices to list in docs.
Backport of 97d3321e89c8d4434927bdbc308db1ccffa99d3b from master
2019-05-15 14:41:01 +02:00
Ahisahar Pretel
f6febbc078 [2.2.x] Fixed #30316 -- Added source code link to the default logging configuration in logging docs.
Backport of 717362d810955b9514e2ccd989f8a1647c9d7a00 from master
2019-05-15 12:37:21 +02:00
Jonatas C. Damasceno
72fe36c246 [2.2.x] Fixed #30437 -- Clarified that urlpatterns can be a sequence.
Backport of 8aad3321ed6f0b603361767a4fe00d046b5fdd34 from master
2019-05-14 06:47:14 +02:00
Mariusz Felisiak
5d1cf9c442 [2.2.x] Added stub release notes for 2.2.2.
Backport of 30dd43884e8e5dfb3dfd7e31fc78fd569f15916a from master
2019-05-08 14:45:37 +02:00
Daniel Musketa
4cfbd2c0c2 [2.2.x] Fixed typo in docs/ref/django-admin.txt.
Backport of 59de9494e7513de29bc71bd0b27445daff25a4b3 from master
2019-05-07 12:59:14 +02:00
Tobias Kunze
769f87fd24 [2.2.x] Fixed #26678 -- Doc'd that RelatedManager.add()/remove()/set() accepts the field the relation points to.
Backport of a44a21a22f20c1a710670676fcca798dd6bb5ac0 from master
2019-05-07 12:58:55 +02:00
Tobias Kunze
bf9e0e342d [2.2.x] Refs #20122 -- Corrected documentation of pluralize template filter.
Backport of e3968df527c4d378677f4784fb1bc0c86950fcf8 from master
2019-05-03 11:53:56 +02:00
Mariusz Felisiak
2166fe337e
[2.2.x] Post-release version bump. 2019-05-01 09:11:33 +02:00
Mariusz Felisiak
d5b0625cdf
[2.2.x] Bumped version for 2.2.1 release. 2019-05-01 07:21:22 +02:00
Mariusz Felisiak
9d5ce09aec
[2.2.x] Updated man page for Django 2.2. 2019-05-01 07:15:24 +02:00
Mariusz Felisiak
e7629cecde [2.2.x] Added release date for 2.2.1.
Backport of 2106b983c433586925df12cdca72374829756e45 from master
2019-05-01 07:07:19 +02:00
can
58391b4d16 [2.2.x] Fixed #30412 -- Fixed crash when adding check constraints with OR'ed condition on Oracle and SQLite.
Backport of 719b7466203181066d9537d2e3bec687dffc9f41 from master
2019-04-30 13:43:02 +02:00
Tobias Kunze
54fcdf168a [2.2.x] Fixed #20629 -- Rephrased custom user models admonition.
Backport of eb16c7260e573ec513d84cb586d96bdf508f3173 from master
2019-04-30 09:49:38 +02:00
Simon Charette
f36239fa19 [2.2.x] Fixed #30408 -- Fixed crash when adding check constraints with LIKE operator on Oracle and PostgreSQL.
The LIKE operator wildcard generated for contains, startswith, endswith and
their case-insensitive variant lookups was conflicting with parameter
interpolation on CREATE constraint statement execution.

Ideally we'd delegate parameters interpolation in DDL statements on backends
that support it but that would require backward incompatible changes to the
Index and Constraint SQL generating methods.

Thanks David Sanders for the report.

Backport of a8b3f96f6acfa082f99166e0a1cfb4b0fbc0eace from master
2019-04-30 08:54:30 +02:00
Tom Forbes
d326c743ef [2.2.x] Fixed #30323 -- Fixed detecting changes by autoreloader when using StatReloader.
Backport of 6754bffa2b2df15a741008aa611c1bb0e8dff22b from master
2019-04-29 12:18:29 +02:00
Tom Forbes
097457afe4 [2.2.x] Refs #30323 -- Prevented crash of autoreloader when get_resolver().urlconf_module raising an exception.
Backport of 0636d4d2aa6e4469198fdf662225ad862e60c5e3 from master
2019-04-29 12:18:18 +02:00
Carlton Gibson
4f8ebdd098 [2.2.x] Fixed #30351 -- Handled pre-existing permissions in proxy model permissions data migration.
Regression in 181fb60159e54d442d3610f4afba6f066a6dac05.

Backport of 98296f86b340c8c9c968375d59f1d3a3479e60c2 from master
2019-04-27 21:08:46 +02:00
Jacob Green
e45763193f [2.2.x] Fixed #30361 -- Increased the default timeout of watchman client to 5 seconds and made it customizable.
Made the default timeout of watchman client customizable via
DJANGO_WATCHMAN_TIMEOUT environment variable.

Backport of ed3c59097a01ed3f32f8a8bed95307fb5c181251 from master
2019-04-26 13:35:47 +02:00
Aarni Koskela
a4095dadc4 [2.2.x] Fixed #30312 -- Relaxed admin check from django.contrib.sessions to SessionMiddleware subclasses.
Backport of efeceba589974b95b35b2e25df86498c96315518 from master
2019-04-26 11:51:28 +02:00
Alasdair Nicol
3c3df7db8e [2.2.x] Fixed #30318 -- Added check for importability of arguments of custom error handler views.
Thanks to Jon on Stack Overflow for reporting the issue.

Backport of a5accc0368c6575b55976c06af36ed399c85c781 from master
2019-04-25 11:38:35 +02:00
Mariusz Felisiak
f24cf51661 [2.2.x] Fixed #30362 -- Noted partial indexes and constraints restrictions with abstract base classes.
Thanks Carlton Gibson for the review.

Backport of 5df3301aab9e1d1c386799263bef5cf013985c83 from master
2019-04-25 07:37:34 +02:00
Mariusz Felisiak
158cfebe87 [2.2.x] Fixed UniqueConstraint example in ref/models/constraints.txt.
Backport of f8f0f92ed9f73a025de599bd1a4965f2cc2ebbba from master
2019-04-25 07:37:21 +02:00
Luke Plant
46416554f3 [2.2.x] Changed tuple Mate.unique_together/permissions to lists in docs.
Backport of 0c916255eb4d94e06e123fafec93efdba45b1259 from master
2019-04-24 10:33:05 +02:00
Simon Charette
88bf635c35 [2.2.x] Fixed #30385 -- Restored SearchVector(config) immutability.
Regression in 1a28dc3887e8d66d5e3ff08cf7fb0a6212b873e5.

The usage of CONCAT to allow SearchVector to deal with non-text fields
made the generated expression non-IMMUTABLE which prevents a functional
index to be created for it.

Using a combination of COALESCE and ::text makes sure the expression
preserves its immutability.

Refs #29582. Thanks Andrew Brown for the report, Nick Pope for the
review.

Backport of 405c8363362063542e9e79beac53c8437d389520 from master
2019-04-23 08:32:36 +02:00
Ville Skyttä
47885278c6 [2.2.x] Fixed typo in docs/internals/contributing/committing-code.txt.
Backport of 34a68c2cbea837b81cd9ab6bc91563416612157c from master
2019-04-21 12:48:14 +02:00
Mariusz Felisiak
ba20579106 [2.2.x] Made cosmetic edits in docs/releases/2.2.1.txt.
Backport of 753580ecd17de62fa8ab9cd43c4cd0b986f9e348 from master
2019-04-19 08:29:23 +02:00
Scott Fitsimones
95811c3de9 [2.2.x] Fixed #30328 -- Fixed crash of IntegerField.validators when limit_value in a custom validator is callable.
Backport of a14c0fda15db7e0eb982ac7b68d47b45fc95b4cb from master
2019-04-19 08:21:29 +02:00
Mariusz Felisiak
bb54a2daee
[2.2.x] Removed unused imports. 2019-04-18 07:49:35 +02:00
can
e85317d731 [2.2.x] Fixed #30335, #29139 -- Fixed crash when ordering or aggregating over a nested JSONField key transform.
Backport of d87bd29c4f8dfcdf3f4a4eb8340e6770a2416fe3 from master.
2019-04-18 07:37:48 +02:00
Willy Njundong
ef38777ee8 [2.2.x] Updated SpatiaLite install instructions to suggest first package from recent Debian-based distributions.
Backport of 8180ffba21bf10f4be905cb0d4890dc2bcff2788 from master
2019-04-17 07:57:20 +02:00
Tobias Kunze
b51842af26 [2.2.x] Fixed #14808 -- Doc'd that trans and blocktrans tags don't escape translations.
Backport of 7d49ad76562e8c0597a0eb66046ab423b12888d8 from master
2019-04-16 10:47:32 +02:00
Tobias Kunze
c0dc49a772 [2.2.x] Fixed #14009 -- Fixed custom formset validation example in docs.
Backport of d610521bffe9d44a070ebe3a719b474aff6d3d1e from master
2019-04-16 09:26:44 +02:00
Gary Donovan
0ba78c3989 [2.2.x] Fixed typo in docs/ref/models/instances.txt.
Backport of 516d858e7a3d01443cdc4e1eb4532b9d910f5e2b from master
2019-04-16 08:27:05 +02:00
Tobias Kunze
5289d4faec [2.2.x] Refs #30325 -- Added tests for using count()/exists() with custom managers and reverse M2M relations.
Backport of 9ac8520fcde29840a1345be19d80dbda53aa6d03 from master
2019-04-15 12:39:56 +02:00
Mariusz Felisiak
e8de1cc94c [2.2.x] Fixed #30325 -- Reverted "Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists() on a many-to-many relation."
This reverts commit 1299421cadc4fcf63585f2f88337078e43e660e0 due to
a regression with custom managers.

Backport of 5f7991c42cff73b6278106d499d719b726f85ead from master
2019-04-15 12:39:42 +02:00
sage
86de106864 [2.2.x] Fixed #30326 -- Doc'd how to avoid persistence of F() assignment.
Backport of bfae195b0a2c8dae755610a7e23add5c6bc37b5e from master
2019-04-15 09:13:56 +02:00
Florian Apolloner
896cc71901
[2.2.x] Fixed #30350 -- Prevented recreation of migration for operations with a range object.
Thanks to Mariusz Felisiak for helping with the patch.

Backport of 2e38f2015aba224b68a91a3012b87223f3046bb6 from master.
2019-04-14 12:58:34 +02:00
gnl
5ed5ce5211 [2.2.x] Corrected wording in docs/intro/overview.txt.
Backport of 9f1d78f85704cb118e9f22efd57518a3584aa4ae from master
2019-04-14 09:54:39 +02:00
Daniel Musketa
f5c1d02f13 [2.2.x] Fixed #30347 -- Fixed typo in docs/topics/db/aggregation.txt.
Backport of ba726067604ce5a8ca3919edf653496722b433ab from master
2019-04-13 12:36:12 +02:00
Bruno Furtado
bfe279293c [2.2.x] Fixed #30321 -- Added example of changed_data to forms docs.
Backport of 571ab44e8a8936014c22e7eebe4948d9611fd7ce from master
2019-04-09 22:54:02 +02:00
Florian Apolloner
b88ffef7ea [2.2.x] Fixed #30330 -- Fixed setting of primary key to None during fast-delete.
Regression in bc7dd8490b882b2cefdc7faf431dc64c532b79c9.

Backport of afc708cf6d047b35db57bd7c55baeffef459d279 from master
2019-04-08 21:44:17 +02:00
Tim Graham
53c83387cf [2.2.x] Refs #27807 -- Removed docs for User.username_validator.
The new override functionality claimed in refs #21379 doesn't work.
Forwardport of 714fdbaa7048c2321f6238d9421137c33d9af7cc from stable/1.10.x.
2019-04-07 20:03:01 -04:00
Simone Pellizzari
268ed9cd8a [2.2.x] Fixed #30332 -- Fixed crash of ordering by expressions with params in ArrayAgg and StringAgg.
Backport of d0315584b5ed6a47b486e65f6c88f80189f337ef from master.
2019-04-06 15:15:40 +02:00
Nick Pope
9da25fb832 [2.2.x] Fixed #30324 -- Forced utf-8 encoding when loading the template for the technical 500 debug page.
Regression in 50b8493.
Related to ea542a9.

Backport of efb257a01764855a71051d5bcc7fd66c5ad6d210 from master
2019-04-05 16:37:22 +02:00
Mariusz Felisiak
54b65b83a2
[2.2.x] Fixed #30331 -- Added support for psycopg2 2.8.
Backport of 5efaf078f7609a8c95045bcfdab0ba256b5449bf from master
2019-04-05 11:07:18 +02:00
msg
1279fb4a00 [2.2.x] Fixed #30307 -- Fixed incorrect quoting of database user password when using dbshell on Oracle.
Regression in acfc650f2a6e4a79e80237eabfa923ea3a05d709.

Backport of 755673e1bca7edb6bee7a958f40d9ae54d85d44c from master
2019-04-04 10:07:57 +02:00
Carlton Gibson
429502c376 [2.2.x] Post-release version bump. 2019-04-03 09:39:41 +02:00
Mariusz Felisiak
ba682261eb
[2.2.x] Added stub release notes for 2.2.1.
Backport of e6588aa4e793b7f56f4cadbfa155b581e0efc59a from master
2019-04-03 08:33:10 +02:00
Alex Gaynor
48493636d3 [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of 851d9eac23e08ff10a2d6fe5368b02798761663c from master
2019-04-02 09:19:15 +02:00
Mariusz Felisiak
de11488c52
[2.2.x] Fixed typo in docs/ref/settings.txt.
Backport of 4cbe2b06ce580423c62b6e49969f7e24d57d63b8 from master
2019-04-02 09:12:40 +02:00
Carlton Gibson
cfc1197168 [2.2.x] Corrected date format in 2.2 release notes.
Backport of 93daed25a41b5cf2f7804d91630caa1cd0786a9a from master
2019-04-01 15:01:17 +02:00
Carlton Gibson
635d53a86a [2.2.x] Bumped version number for 2.2 release.
Updated trove classifier to Production/Stable.
2019-04-01 12:19:51 +02:00
Carlton Gibson
bc6f1da6e9 [2.2.x] Set release date in v2.2 release notes.
Backport of 7191beec4e2140bf2d6ff7e6ad2e1c25913c9c48 from master
2019-04-01 12:13:17 +02:00
Carlton Gibson
5427148687 [2.2.x] Updated man page for 2.2 final.
Backport of f9f09a8a0259e75a5009ce04e662a5a759f8a12f from master
2019-04-01 12:04:42 +02:00
Claude Paroz
7090cbf542 [2.2.x] Updated contrib translations from Transifex 2019-04-01 11:46:01 +02:00
Claude Paroz
98f526e67c [2.2.x] Updated core translations from Transifex 2019-04-01 11:46:01 +02:00
Tim Graham
917aa556a9 [2.2.x] Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit through model from being editable if the user only has the view permission.
Backport of 8335d59200e4c64dfe3348ea93989d95e0107439 from master.
2019-03-30 17:44:58 -04:00
Tim Graham
de62ba965f [2.2.x] Added stub 2.1.8 release notes.
Backport of e245046bb6e8b32360aa48b8a41fb7050f0fc730 from master
2019-03-30 13:04:40 -04:00
Tim Graham
fc708f32f5 [2.2.x] Refs #30278 -- Fixed link in cached_property docs.
Backport of b9455b010e41d1c6e68faa11115212d50de3c231 from master.
2019-03-30 09:35:21 -04:00
Matthew Schinckel
f14170406c [2.2.x] Refs #30278 -- Doc'd behavior of del on an unaccessed cached_property.
Thanks to Curtis Maloney for the description of the problem.
Backport of c3c2ec54f59428cdf0a35abce594fd2ada35c209 from master
2019-03-30 09:29:23 -04:00
Abhishek Bera
4a7bbace6b [2.2.x] Fixed #30265 -- Fixed a tutorial number in Reusable App tutorial.
Backport of ca67f39afa54e281705563834d3684e8b27844b6 from master.
2019-03-29 21:53:14 -04:00
Nick Pope
5237da3416 [2.2.x] Removed unnecessary /static from links to PostgreSQL docs.
Backport of 198a2a9381a415f76c3170753270f5087ce4475a from master.
2019-03-29 21:50:28 -04:00
Tim Graham
2fb602f581 [2.2.x] Used extlinks for Django's source code.
Backport of a68c029e224cebe540da7447dbbd27993b4aa793 from master.
2019-03-28 20:39:38 -04:00
Tim Graham
ffdacc5879 [2.2.x] Fixed #30299 -- Removed jQuery dependency from getCookie() in CSRF docs.
Backport of 8e675e2bd8366adf5d0b579accfef75a7b1bc3bf from master
2019-03-28 19:57:01 -04:00
Nick Pope
6ac921bab0
[2.2.x] Refs #1660 -- Doc'd the LANGUAGES_BIDI setting.
Backport of 07daa487aeb7d41d69d7d1cf9d4b3648e299e4ac from master
2019-03-28 21:58:19 +01:00
sage
4a6d3f2580 [2.2.x] Fixed #30295 -- Fixed max_lengths.tests.MaxLengthORMTests when run in isolation.
Backport of 5a92bb0725e07068b260364ef66466f126000b0b from master.
2019-03-28 12:05:57 -04:00
Mariusz Felisiak
c910053a09
[2.2.x] Doc'd that HttpResponse accepts bytestrings.
Backport of e449c3a832ff2a4e3fa83cec6909d0476ed14110 from master
2019-03-28 10:02:24 +01:00
Mariusz Felisiak
609b7f1123
[2.2.x] Fixed "byte string" typo in various docs and comments.
Backport of 881362986a1ee8f650752de8471a895890b71f96 from master
2019-03-28 10:01:36 +01:00
Nick Pope
d7876fc999 [2.2.x] Updated spelling and RFCs in HttpOnly cookie flag docs.
Backport of 398afba084679f1055926f6f91bd33fe124a92c5 from master.
2019-03-27 11:11:24 -04:00
Nick Pope
c04bd386d4 [2.2.x] Removed obsolete RFC from cookie docs.
RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.

Backport of 2afd670de5b2f28f56f722a95344fb7eefad3d37 from master
2019-03-27 10:13:05 -04:00
Matthias Kestenholz
a86ffb3e0f [2.2.x] Fixed #30280 -- Restored Model.get_FIELD_display()'s coercion of lazy strings.
Reverted cc79c7ee637e65c8da27e56d746c87903d5ec901.

Backport of ea071870f943c23a8eaf36dfcdf382afd6478fd1 from master.
2019-03-22 13:01:15 -04:00
oliver
8cff329802 [2.2.x] Used QuerySet.bulk_create() in a couple of postgres tests.
Follow up to 0ce2ad9ca4623cfd6dc2515430c0ae8a1717a607.
Backport of 2aaabe2004e1953eb7d7057edcf2fabd37f7394d from master.
2019-03-21 18:05:42 -04:00
Philipp Bosch
bca600339e [2.2.x] Used monospace font in date template filter format character docs.
Helps distinguish between lowercase L and uppercase I.
Backport of 0b8abd7cdf1a5bae96dd0640af10ad504f104d06 from master.
2019-03-21 10:20:35 -04:00
Tim Graham
1ef2216ff2 [2.2.x] Fixed #30277 -- Fixed broken links to packaging.python.org.
Backport of 8f1cc7e9e61758475ddd6586e0fede4af1ca0e8d from master.
2019-03-21 10:08:23 -04:00
Nick Pope
cb36ca4a0f [2.2.x] Corrected settings names in SecurityMiddleware tests.
Backport of 413d50b5ff0c0a4198d4bf069e6434bc7ba4cd86 from master.
2019-03-20 20:15:59 -04:00
Tim Graham
abd6fb1656 [2.2.x] Fixed serializers test crash if PyYAML isn't installed.
Follow up to a57c783dd4e6dc73847081221827a1902eede88b.

Backport of 55490ac7469a3647ce163bee323f7fe4a06fcaa6 from master
2019-03-20 16:07:36 +01:00
Mariusz Felisiak
505785a71d
[2.2.x] Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit systems.
Thanks Andreas Beckmann and Chris Lamb for the report.
Backport of c9888bc8ecb8943ef08090e3325dcbdac825eafc from master
2019-03-20 13:46:31 +01:00
Carlton Gibson
19ab698937 [2.2.x] Fixed #30263 -- Doc'd changes to form Media sorting (refs #30179).
Thanks to Tim Graham for review.
Backport of 418263c457636d3301f2068c47f09a0f42e15c52 from master
2019-03-18 16:27:36 +01:00
Paul Wayper
a48c0180f5 [2.2.x] Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().
Backport of 1025e764291167f2f34a4d55bd3d043836e74250 from master.
2019-03-18 11:11:55 -04:00
Carlton Gibson
2a42304111 [2.2.x] Bumped version for 2.2 release candidate 1. 2019-03-18 09:47:26 +01:00
Simon Charette
883d87074d [2.2.x] Fixed #30258 -- Adjusted postgres schema value quoting of ranges.
Thanks Tilman Koschnick for the report and patch.

Backport of 386d89ab55e620440d30590a8a104fe6d5eef830 from master
2019-03-18 09:32:09 +01:00
Paveł Tyślacki
2a92e2e3c1 [2.2.x] Refs #30172 -- Prevented removing a model Meta's index/unique_together from removing Meta constraints/indexes.
Backport of 5c17c273ae2d7274f1fa78218b3b74690efddb86 from master.
2019-03-17 21:28:49 -04:00
Paveł Tyślacki
3dd5e71752 [2.2.x] Refs #30172 -- Prevented removing a field's check or unique constraint from removing Meta constraints.
Backport of 4bb859e24694f6cb8974ed9d2225f18214338ea3 from master.
2019-03-17 21:28:36 -04:00
Paveł Tyślacki
40b0a58f5f [2.2.x] Fixed #30183 -- Added introspection of inline SQLite constraints.
Backport of 782d85b6dfa191e67c0f1d572641d8236c79174c from master.
2019-03-15 20:01:36 -04:00
Paveł Tyślacki
d8252025bc [2.2.x] Refs #30183 -- Moved SQLite table constraint parsing to a method.
Backport of 4492be348ad6fb24957068e63448142399629d18 from master.
2019-03-15 19:44:49 -04:00
Paveł Tyślacki
aaf45d5422 [2.2.x] Unified nonexistent foreign key introspection value for SQLite.
Backport of b777c0675ef7aadc299844025cf1f9b53562524f from master.
2019-03-15 19:44:45 -04:00
Jon Dufresne
87fad5a392 [2.2.x] Cleaned up exception message checking in some tests.
Backport of 95b7699ffc4bdb32a504fccfd127f1b76a8a1d1c from master.
2019-03-15 19:28:13 -04:00
Matt Westcott
985e6c224b [2.2.x] Fixed #30254 -- Allowed model metaclasses to access the attribute dict in __init__().
Regression in a68ea231012434b522ce45c513d84add516afa60.

Backport of 58ad030d05fa50cfed327368ab61defca3303e02 from master.
2019-03-14 21:23:19 -04:00
Herman S
d8704a4d4f [2.2.x] Fixed #30237 -- Made Authentication/SessionMiddleware and ModelBackend admin checks allow subclasses.
Backport of f976ab1b117574db78d884c94e549a6b8e4c9f9b from master.
2019-03-14 20:36:11 -04:00
Mariusz Felisiak
b150d99460 [2.2.x] Simplified test_transform()s in db_functions.math.
Backport of 258110d6cdea5050f8df0bbc9af3fcd9bd342d29 from master.
2019-03-14 19:42:21 -04:00
Mariusz Felisiak
a9ce7e2bcd
[2.2.x] Fixed serializers tests for PyYAML 5.1+.
Backport of a57c783dd4e6dc73847081221827a1902eede88b from master
2019-03-14 18:37:46 +01:00
alexanderblnf
14240e491e [2.2.x] Fixed #30161 -- Added how to decorate class-based views to view decorators docs.
Backport of 406de977ea1a6429535d21240e3ecdac06d4516c from master.
2019-03-12 13:33:52 -04:00
David Beitey
282961f553 [2.2.x] Clarified deconstruct() in Custom Model Field docs.
Backport of 9fd90c4088833855b1ae973e4a66cab09a26f3e6 from master.
2019-03-12 10:44:21 -04:00
Samuel Gaist
3e565b50a9 [2.2.x] Doc'd the use of --noinput for test database handling.
Backport of 75840688f94c022cd2a62143149a30e6d2db8496 from master.
2019-03-05 21:10:21 -05:00
Mariusz Felisiak
cf903c4c0b
[2.2.x] Reverted "Fixed relative paths imports per isort 4.3.5."
This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to
restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
Backport of b435f82939edf70674856e0e1cd63973c2e0a1d1 from master
2019-03-03 19:35:37 +01:00
Tobias Bengfort
18211d0a4d [2.2.x] Clarified permission-related docs.
Backport of 632d4861ddb99a2c9d11642fcfa4ad542b427d6b from master
2019-02-28 15:28:56 +01:00
Matthias Kestenholz
459f7c804d [2.2.x] Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient.
Thanks gasman for the tests, and codingjoe and timgraham for the review.

Backport of 231b513926f2bfd71f08058ce5013bd81678ac01 from master.
2019-02-27 17:16:58 -05:00
Matthias Kestenholz
77e53da127 [2.2.x] Refs #30179 -- Moved topological sort functions to django.utils.
Backport of e04209e181c99ac16ca769d115ac640015a83757 from master.
2019-02-27 17:16:48 -05:00
Tim Graham
d29c8ea124 [2.2.x] Refs #29523 -- Updated admin's collapse.min.js.
Omitted in ba83378a7762c51be235b521aa5b48233d6c6c82.

Backport of 93e892bb645b16ebaf287beb5fe7f3ffe8d10408 from master.
2019-02-27 16:28:21 -05:00
shiningfm
4dac17ac93 [2.2.x] Fixed #30215 -- Fixed autoreloader crash for modules without __spec__.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
Backport of 99cfb28e995388db109e2f2ed15307f09945dda8 from master.
2019-02-27 10:35:45 -05:00
Tom Forbes
7331dd8a98 [2.2.x] Refs #27685 -- Removed "watchman unavailable" message.
Backport of 65ef5f467ba84c26392a157de1622d805401ec7d from master
2019-02-25 21:42:14 -05:00
Matthias Kestenholz
d59c3fc167 [2.2.x] Fixed #30208 -- Fixed login header height and alignment in the largest breakpoint.
Backport of c41e6c4eb8049a1f0efcfd7c7fc3b3ca11207b5a from master.
2019-02-25 15:00:27 -05:00
Tim Graham
8205116a79 [2.2.x] Refs #29683 -- Updated multi-db docs for view permission.
Backport of 50f09264ae8ab04824fcc6554e8c184378ad2f81 from master
2019-02-25 14:57:12 -05:00
Mariusz Felisiak
62f28f37bf
[2.2.x] Fixed documentation of database representation for ManyToManyField.
Backport of b0799f5d86b6c0ccb1dcba6e0d2eee336f7f5928 from master
2019-02-25 20:08:11 +01:00
Mariusz Felisiak
370a145996
[2.2.x] Fixed relative paths imports per isort 4.3.5.
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master
2019-02-25 19:50:12 +01:00
Tim Graham
9a5f87a69c [2.2.x] Fixed a failure when running tests on systems with SQLite < 3.8.3.
Backport of 36300ef336e3f130a0dadc1143163ff3d23dc843 from master.
2019-02-21 16:39:42 -05:00
Ran Benita
a9bd914a22 [2.2.x] Removed an outdated comment on DefaultConnectionProxy.
Backport of 21ff23bfeb4014bceaa3df27677fb68409c0634d from master
2019-02-20 11:31:57 -05:00
Simon Charette
7f25344c2e [2.2.x] Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on initialization.
This addressed a regression introduced by a96b9019320ed8236659ee520a7a017c1bafbc6f as identified by Ran Benita.
Backport of 7071f8f2729295b0da77b6c651966dc32c71f1ab from master
2019-02-20 11:01:03 +01:00
Mariusz Felisiak
9278acfd12
[2.2.x] Fixed #30187 -- Moved "install Django" command to a console box.
Backport of edec11ce86a1a0d9e4c5a2a0df6acaf655041c24 from master
2019-02-16 07:58:55 +01:00
Jon Dufresne
37cc6a9dce [2.2.x] Fixed #30171 -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.

The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b.
Backport of 76990cbbda5d93fda560c8a5ab019860f7efaab7 from master.
2019-02-14 10:05:13 -05:00
Tim Graham
07b44a251a [2.2.x] Removed docs of unused libgeoip1/python-gdal packages.
Backport of 21f9d437374ee078ee46e23b64efa3d52ca6f49a from master.
2019-02-14 09:46:45 -05:00
Tim Graham
6cdc7ae23f [2.2.x] Refs #25175 -- Renamed test file referencing the old postgresql_psycopg2 engine.
Backport of ddb293685235fd09e932805771ae97f72e817181 from master
2019-02-13 17:27:27 -05:00
Dan Davis
5e94c817ee [2.2.x] Fixed #30184 -- Removed ellipsis characters from shell output strings.
Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654)
to avoid a crash when the user shell doesn't support non-ASCII characters.
Backport of 2bd8df243ac6fc35e58c9fe90b20c9e42519a5ac from master.
2019-02-13 14:00:53 -05:00
Hasan Ramezani
f2b460231d [2.2.x] Fixed #29943 -- Doc'd that admin changelist may add pk to ordering.
Backport of f63811f4813f0e0439e140a97eeba18a5017e858 from master.
2019-02-12 21:36:07 -05:00
Tim Graham
c3655b1528 [2.2.x] Refs #29478 -- Clarified cached_property 2.2 release note.
Backport of 3b64e2b77570c73a0d7092124fa73439e0fb4305 from master.
2019-02-12 18:35:03 -05:00
Claude Paroz
28a6046b54 [2.2.x] Doc'd database functions for overlaps lookup.
Backport of 8cf9dbee6aeca57ab4dac986e46b79a2d234f703 from master
2019-02-12 15:43:11 -05:00
Jonatan Alexis Anauati
d2f942737c [2.2.x] Fixed indentation in docs/topics/templates.txt.
Backport of 85ada61ac492ec6031db813463f4ea6820fee20b from master.
2019-02-11 16:52:41 -05:00
Tim Graham
74428138cc [2.2.x] Added CVE-2019-6975 to the security release archive.
Backport of d6e5aad5c7eba3d8061c09902de16cd2b22619af from master.
2019-02-11 16:14:50 -05:00
Tim Graham
f548ac7fa5 [2.2.x] Refs #30177 -- Forwardported 2.0.13 release notes.
Backport of 1b8f552b08eb7642be598ba7512e7eaecefbdc6d from master.
2019-02-11 15:52:15 -05:00
Carlton Gibson
1672ed5ccf [2.2.x] Refs #30175 -- Added release notes for 2.1.7, 2.0.12, and 1.11.20 releases.
Backport of b39bd0aa6d5667d6bbcf7d349a1035c676e3f972 from master
2019-02-11 15:47:54 +01:00
Semen Zhydenko
a536cf1f9f [2.2.x] Fixed spelling mistakes in comments and tests.
Backport of 255d6a26a8839180b495c75f256641415c516b6f from master.
2019-02-11 08:56:10 -05:00
Atul Varma
1092bf02e6 [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of b6bb912e9cd2d4497f010a362eff4662ba10f653 from master.
2019-02-11 08:54:23 -05:00
Carlton Gibson
130d2d3072 [2.2.x] Bumped version for 2.2b1. 2019-02-11 11:21:19 +01:00
Carlton Gibson
83ab3e2664 [2.2.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().
Thanks Sjoerd Job Postmus for the report and initial patch.
Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.

Backport of 402c0caa851e265410fbcaa55318f22d2bf22ee2 from master
2019-02-11 11:10:38 +01:00
Tim Graham
b89d31d2dc [2.2.x] Fixed #30169 -- Removed SAP SQL Anywhere from "3rd party database backends" as it's inactive.
Backport of 56b50cbf73ecfd4577bb7cfe8dc8ccd4befd7e00 from master.
2019-02-09 18:38:43 -05:00
Matthias Kestenholz
e1bd94496b [2.2.x] Fixed #30153 -- Fixed incorrect form Media asset ordering after three way merge.
Delaying merging assets as long as possible avoids introducing
incorrect relative orderings that cause a broken final result.
Backport of 959d0c078a1c903cd1e4850932be77c4f0d2294d from master.
2019-02-09 09:39:15 -05:00
Mariusz Felisiak
d03e5961aa
[2.2.x] Removed extra characters in docs header underlines.
Backport of 25829197bb94585e94695360065ac614aa9e6a56 from master
2019-02-08 21:39:54 +01:00
Carlton Gibson
941109ccb3 [2.2.x] Added stub release notes for security releases.
Backport of 5cc6f02f91e8860c867cc68cf42e66b5bb54c63d from master
2019-02-07 15:47:52 +01:00
Mariusz Felisiak
0aff35459d
[2.2.x] Updated Oracle docs links to Oracle 18c.
Backport of 759a9b710c0e5a6009cfba406ff562919fa70ef0 from master
2019-02-07 10:03:11 +01:00
Andy Chosak
d293948938 [2.2.x] Refs #15372 -- Removed obsolete docs about manage.py setting sys.path.
Backport of 80f4ecc64751d5cf13a7233aa520209fee4757c8 from master
2019-02-06 14:56:16 -05:00
Tim Graham
8eb913eabf [2.2.x] Simplified and corrected LOGIN_URL, LOGIN_REDIRECT_URL, and LOGOUT_REDIRECT_URL docs.
Backport of b709d701303b3877387020c1558a590713b09853 from master.
2019-02-05 20:19:32 -05:00
Tim Graham
5911d25916 [2.2.x] Removed django.utils.lru_cache usage.
Backport of 0367bc6d04ca6d1a4a21a69a839f6d404508f8df from master.
2019-02-04 20:33:20 -05:00
Daniel Hahler
0838cc0139 [2.2.x] Fixed duplicate word in docs/releases/2.0.txt.
Backport of fdc4518fe296c169cf54f23fdad2e0fc8785c059 from master.
2019-02-04 18:30:29 -05:00
Tim Graham
d5b43d7226 [2.2.x] Refs #30055 -- Bumped minimum SQLite version in GIS docs.
Backport of 4763c9719135f4de17924d9c8524f1cfe41bc645 from master.
2019-02-04 11:47:15 -05:00
Tim Graham
6b3940b5a4 [2.2.x] Used extlinks for GitHub commits.
Backport of c34c6d0a2fc6d9bc55fb2db94b9ed40141babb15 from master.
2019-02-01 15:49:31 -05:00
Daniel Roseman
a3ce94e96e [2.2.x] Used LoginRequiredMixin in "Models and request.user" example.
Backport of 6da28d5edfaee1858c8f7ae603a717aaa05e15cf from master.
2019-01-31 18:02:13 -05:00
Robert Coup
953067d8dc [2.2.x] Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText).
Backport of a8b03bea180e0660c0e159f3e7cf6192b512925f from master
2019-01-31 13:42:29 -05:00
Sergey Fedoseev
6187519236 [2.2.x] Corrected output of Prefetch.to_attr example.
Backport of ba7a420012799b26ec9e969d0276d2ccee93c1f5 from master.
2019-01-31 09:09:34 -05:00
Carlton Gibson
89d39dc1d7 [2.2.x] Fixed #30091 -- Doc'd middleware ordering requirements with CSRF_USE_SESSIONS.
Backport of bae66e759faee8513da4b11d3fd16b044b415bdb from master.
2019-01-30 13:12:43 -05:00
Mariusz Felisiak
6e8b11ab2b
[2.2.x] Fixed E117 and F405 flake8 warnings.
Backport of 5a5c77d55dc85c7e6cf910243257e408887f412a from master
2019-01-30 13:08:19 +01:00
Daniel Hahler
2789cc633f [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of 14581553e4ce9918aeb427fee7e5d7b6681e4e85 from master
2019-01-29 09:10:53 -05:00
Claude Paroz
caaa01142d [2.2.x] Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the catalog.
Backport of 16454ac35f6a24a04b23a9340b0d62c33edbc1ea from master.
2019-01-28 18:17:52 -05:00
Tom Forbes
728358c5cf [2.2.x] Fixed #25624 -- Fixed autoreload crash with jinja2.ModuleLoader.
Backport of 1e92407f83ed35be35f876777935b983ab9587be from master.
2019-01-28 14:42:46 -05:00
Paveł Tyślacki
2ca200a7c3 [2.2.x] Made test table cleanup in OperationTestBase more robust.
Some non-unique constraint names were added in
b69f8eb04cc8762d3dfd5af5ea1fc58e3f2ebcc3 which resulted in failures
depending on the order in which tests were run.

Backport of 62b8596616ea46849e29ca77a77e1196417dc1f9 from master.
2019-01-28 13:48:04 -05:00
Tim Graham
d3b4f4b962 [2.2.x] Refs #30055 -- Added a helpful error when SQLite is too old.
Backport of 7444f3252757ed4384623e5afd7dcfeef3e0c74e from master.
2019-01-28 11:21:47 -05:00
Tim Graham
e8cb0dcc19 [2.2.x] Refs #30033 -- Doc'd change regarding apps without migrations depending on apps with migrations.
The addition of self.connection.check_constraints() in
7289874adceec46b5367ec3157cdd10c711253a0 is the cause.

Backport of fcfb7306586184f08c7f75c174f95b54a212320d from master.
2019-01-28 10:30:36 -05:00
Sergey Fursov
56f7f5026d [2.2.x] Fixed typo in docs/ref/request-response.txt.
Backport of 20ea68c4fea2beca258634ef026146d1555cc5b7 from master.
2019-01-27 17:38:44 -05:00
Tim Graham
710052fee9 [2.2.x] Refs #30111 -- Fixed test cleanup in postgres_tests/test_integration.py.
Fixed "ERROR: Step ‘Publish JUnit test result report’ failed: No test report
files were found. Configuration error?" on Jenkins because report files were
put in tests/postgres_tests.

Backport of 2de7eb6f4d5a20cec98e4d2eefc276ee38d149ad from master.
2019-01-23 13:17:29 -05:00
Nick Pope
e53e64280d [2.2.x] Fixed #30115 -- Fixed SQLite introspection crash with a varchar primary key.
Removed obsolete max_length handling for CharField that caused the issue.
Regression in a35d2a4510d5beec398b1007aaa26492d6aedf97.

Backport of bff748df3e1e1c0077e02df2b77bda2b827ad129 from master.
2019-01-22 19:20:16 -05:00
Nasir Hussain
6ce7887f13 [2.2.x] Fixed #30111 -- Fixed AppRegistryNotReady error with django.contrib.postgres in INSTALLED_APPS.
Regression in e192223ed996ed30fe83787efdfa7f2be6b1a2ee.
Backport of 2804b8d2153505ec49b191db2168302dfb92c3af from master.
2019-01-22 17:50:00 -05:00
Pavel Savchenko
51247bc55f [2.2.x] Corrected GenericRelation's related_query_name manual lookup example.
And changed related_query_name to a singular noun.
Backport of 130192b12b63357a8f5ff448cd0edfa5a8094909 from master.
2019-01-21 10:14:03 -05:00
Jon Dufresne
28fb4ed5d9 [2.2.x] Fixed #30121 -- Fixed assertURLEqual() crash with reverse_lazy() URLs.
Regression in 24959e48d949a20be969f649ece3576dbc7ce422.
Backport of d15c61cabbe1c15068ffeb58c64035057f0c7d5c from master.
2019-01-21 09:31:45 -05:00
Simon Charette
6516e49262 [2.2.x] Fixed #30120 -- Fixed invalid SQL in distinct aggregate.
Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111 (refs #28658).
Backport of 65858119d23e37872505a4476e7141c33981fb50 from master.
2019-01-21 09:24:47 -05:00
Tom Forbes
370371ee9e [2.2.x] Removed redundant period in Watchman unavailable message.
Backport of d8a2f4ec09e5b7e73a706a1b1b5bf74d8bdc64b3 from master.
2019-01-19 18:25:18 -05:00
Mariusz Felisiak
70aeb6ab01 [2.2.x] Fixed #30117 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.4.0+.
Backport of f05c02c4b8d4e423e57d453c4bd699dc5ff7eaa7 from master
2019-01-19 13:33:28 +01:00
Tim Graham
ee9bd8c310 [2.2.x] Refs #30097 -- Fixed typos in InlineModelAdmin.has_add_permission() deprecation comments. 2019-01-17 18:40:11 -05:00
Tim Graham
a9feec5c70 [2.2.x] Refs #28606 -- Corrected deprecation version for CachedStaticFilesStorage.
Backport of 6713926ebe22172e50f283185f969275c326416d from master
2019-01-17 18:35:46 -05:00
Day Barr
7185ea6902 [2.2.x] Fixed typo in QuerySet.bulk_update() documentation.
Backport of 51fa59f0b39b24d4a589e01a26e539c3134a6c42 from master.
2019-01-17 12:32:22 -05:00
Carlton Gibson
4882921fb7 [2.2.x] Bumped django_next_version in docs config. 2019-01-17 16:26:35 +01:00
Carlton Gibson
ce26b2180c [2.2.x] Bumped version for Django 2.2 alpha 1. 2019-01-17 16:26:35 +01:00
Carlton Gibson
a0c059995a Removed empty sections from 2.2 release notes. 2019-01-17 16:25:02 +01:00
Carlton Gibson
ba1a3c6034 Updated man page for Django 2.2 alpha. 2019-01-17 16:25:02 +01:00
Simon Charette
f84ad16ba4 Refs #17198 -- Detected existing total ordering in admin changelist.
Appending pk is not necessary when a subset of the ordering expressions is
contained in a non-nullable unique contraint.

Related field ordering through lookups and related ordering introspection is
omitted for simplicitly purpose.
2019-01-17 16:22:14 +01:00
Claude Paroz
aa5fd84f53 Updated translation catalogs 2019-01-16 20:51:26 +01:00
Simon Charette
9e5e5a657b Fixed #30044 -- Raised a FieldError on inherited field update attempts. 2019-01-16 14:09:51 -05:00
Santiago Basulto
4fc35a9c3e Fixed #20147 -- Added HttpRequest.headers. 2019-01-16 13:38:47 -05:00
Simon Charette
aa5d0a5a90 Removed unnecessary transaction wrapping in expressions test. 2019-01-16 13:23:55 -05:00
Carlton Gibson
876dc306cd
Refs #30102 -- Added comment on use of Template without placeholders in page_not_found() view. 2019-01-16 16:19:56 +01:00
Arthur Rio
181fb60159 Fixed #11154, #22270 -- Made proxy model permissions use correct content type.
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-16 10:07:28 -05:00
Simon Charette
dbcf2ffa77 Refs #9475 -- Simplified dictionary unpacking. 2019-01-16 09:20:15 -05:00
Nick Pope
d212bc03ba Refs #9475 -- Fixed typo, used unpacking generalization, and made through_defaults kwarg-only. 2019-01-15 13:03:08 -05:00
Collin Anderson
769355c765 Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model. 2019-01-15 11:12:17 -05:00
Nasir Hussain
f021c110d0 Fixed #30099 -- Fixed invalid SQL when filtering a Subquery by an aggregate. 2019-01-15 07:22:59 -05:00
Claude Paroz
87bf35abd3 Removed unexpected chars in Armenian admin translation 2019-01-15 10:43:11 +01:00
Jon Dufresne
ad7aa02c1d Removed unnecessary string formatting of strings. 2019-01-14 21:04:00 -05:00
David Beitey
885cb0d390 Fixed "lets" mistakes in docs. 2019-01-14 20:32:19 -05:00
Mariusz Felisiak
1508e71c5b Relaxed assertions to fix GIS test failures on Oracle 18c. 2019-01-14 18:32:42 -05:00
Simon Charette
b181aba7dd Refs #28478 -- Prevented database feature based skipping on tests disallowing queries.
Database features may require a connection to be established to determine
whether or not they are enabled.
2019-01-14 16:16:30 -05:00
Simon Charette
f5b635086a Refs #28478 -- Prevented connection attempts against disallowed databases in tests.
Mocking connect as well as cursor methods makes sure an appropriate error
message is surfaced when running a subset of test attempting to access a
a disallowed database.
2019-01-14 16:05:00 -05:00
Simon Charette
a96b901932 Refs #28478 -- Prevented timezone assignment for unusable PostgreSQL connections. 2019-01-14 16:05:00 -05:00
Nick Pope
846624ed08 Refs #28643 -- Extracted DurationField logic for Avg() and Sum() into mixin.
Also addresses Sum() not handling the filter option correctly.
2019-01-14 14:39:57 -05:00
Nick Pope
6d4efa8e6a Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:39:46 -05:00
Nick Pope
e85afa5943 Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:38:00 -05:00
Nick Pope
c690afb873 Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:35:41 -05:00
Nick Pope
3d5e0f8394 Refs #28643 -- Moved db function mixins to a separate module. 2019-01-14 14:26:46 -05:00
Nick Pope
7f1577d1ef Avoided calling as_oracle() for SQLite in Left database function. 2019-01-14 13:02:58 -05:00
Nick Pope
ae65eed68d Corrected comment in TruncTime database function. 2019-01-14 13:02:58 -05:00
Nick Pope
0d7ba0ff8b Simplified overriding source expressions in some database functions. 2019-01-14 13:02:58 -05:00
Sergey Fedoseev
b86bb47818 Fixed #30093 -- Fixed ordering of combined queryset ordered by F expressions. 2019-01-14 10:28:11 -05:00
Simon Charette
b2c598e30d Removed unnecessary skipUnlessDBFeature.
None of the tests interact with the database.
2019-01-13 21:48:40 -05:00
Tom Forbes
c8720e7696 Fixed #27685 -- Added watchman support to the autoreloader.
Removed support for pyinotify (refs #9722).
2019-01-13 20:33:47 -05:00
Simon Charette
a02a6fd580 Refs #28478 -- Prevented connection creation in model_indexes tests.
Entering a SchemaEditor instance creates a connection but it isn't needed
for this test.
2019-01-13 13:47:08 -05:00
orlnub123
573f44d62f Fixed #30057 -- Fixed diffsettings ignoring custom configured settings.
Regression in 49b679371fe9beddcd23a93b5fdbadea914f37f8.
2019-01-12 11:07:03 -05:00
Nick Pope
abf8e390a4 Refs #28643 -- Added Reverse database function.
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12 10:45:48 -05:00
Paveł Tyślacki
b69f8eb04c Fixed #30062 -- Added support for unique conditional constraints. 2019-01-12 09:50:20 -05:00
Paveł Tyślacki
1e837c4b23 Used None as the empty value for condition in Index's SQL construction. 2019-01-12 09:34:10 -05:00
Paveł Tyślacki
f4c0c0b0aa Added tests for Check/UniqueConstraint.__eq__(). 2019-01-12 09:24:22 -05:00
can
e192223ed9 Fixed #29738 -- Allowed serializing psycopg2 range types in migrations. 2019-01-11 19:32:26 -05:00
can
7d3b3897c1 Refs #29738 -- Allowed registering serializers with MigrationWriter. 2019-01-11 18:13:16 -05:00
MaximZemskov
3c01fe30f3 Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
Restored backwards compatibility after refs #27991.
Regression in be6ca89396c031619947921c81b8795d816e3285.
2019-01-11 18:02:43 -05:00
Tim Graham
8f4eee1777
Moved django.db.migrations.writer.SettingsReference to django.conf.
Reduces the possibility of circular imports.
2019-01-11 15:28:22 -05:00
Sanyam Khurana
76d31be2d0 Refs #23829 -- Made ping_google command/function use https for the sitemap URL. 2019-01-11 10:32:22 -05:00
Sanyam Khurana
6d73278d38 Documented ping_google()'s ping_url argument. 2019-01-11 09:43:51 -05:00
Simon Charette
41e73de39d Fixed #28478 -- Make DiscoverRunner skip creating unused test databases.
SimpleTestCase.databases makes it possible to determine the set of
databases required to run the discovered tests.
2019-01-10 19:11:21 -05:00
Simon Charette
8c775391b7 Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases. 2019-01-10 19:11:21 -05:00
Paveł Tyślacki
647be06538 Renamed variables after generalization of constraints.
Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.
2019-01-10 18:54:41 -05:00
Tim Graham
cf1fe22009 Fixed typos in docs/ref/models/constraints.txt. 2019-01-10 18:52:42 -05:00
Mads Jensen
4b9d72210f Refs #28643 -- Added NullIf database function.
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-10 12:10:12 -05:00
Claude Paroz
217f4456d8 Fetched Armenian translations from Transifex 2019-01-10 10:50:42 +01:00
Claude Paroz
31ebb1d564 Added Armenian language 2019-01-10 10:50:42 +01:00
Joshua Cannon
db1b10ef0d Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user(). 2019-01-09 20:01:04 -05:00
Tim Graham
4ca2820ff5 Corrected whitespace in docs/ref/contrib/auth.txt. 2019-01-09 18:22:29 -05:00
Hasan Ramezani
52d06d3041 Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates. 2019-01-09 17:54:46 -05:00
Simon Charette
bc05547cd8 Fixed #28658 -- Added DISTINCT handling to the Aggregate class. 2019-01-09 17:52:36 -05:00
Benjy Weinberger
222caab68a Fixed #30071 -- Fixed error message when a 'default' database isn't provided. 2019-01-09 10:58:37 -05:00
Benjy Weinberger
c2c85663e2 Fixed #30087 -- Tested error handling for empty 'default' database. 2019-01-09 10:58:25 -05:00
Nick Pope
a35d2a4510 Refs #23748 -- Added AutoField introspection for SQLite. 2019-01-09 09:59:15 -05:00
Nick Pope
e7f0e9b704 Renamed import in MySQL introspection backend for consistency. 2019-01-09 08:12:45 -05:00
Nick Pope
99b3ab2781 Simplified some imports for database functions.
Used more specific modules to reduce the risk of circular imports.
2019-01-08 19:21:31 -05:00
Tim Graham
36fceeec88 Added stub 2.1.6 release notes. 2019-01-08 08:57:22 -05:00
Tim Graham
162ae9c914 Added CVE-2019-3498 to the security release archive. 2019-01-04 09:24:47 -05:00
Tom Hacohen
1ecc0a395b Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in the default 404 page.
Co-Authored-By: Tim Graham <timograham@gmail.com>
2019-01-03 21:21:55 -05:00
Mariusz Felisiak
e49ab72637
Refs #29851 -- Fixed test_subquery_row_range_rank() crash on MariaDB 10.2+.
Thanks Tom Forbes for the report.
2019-01-03 20:18:45 +01:00
Mariusz Felisiak
97844a3213
Fixed typo in django/db/backends/base/features.py. 2019-01-03 20:10:33 +01:00
Tim Graham
b5fe97a34e Added __init__.py for db_utils tests. 2019-01-02 18:19:45 -05:00
Tim Graham
0004daa536
Used 4 space hanging indent for dictionaries.
Thanks Mariusz Felisiak for auditing.
2019-01-02 18:18:19 -05:00
Jozef
5bbf31634f Fixed typo in docs/ref/migration-operations.txt. 2019-01-02 17:56:25 -05:00
Tim Graham
e4a714b259 Pinned Pillow != 5.4.0 in test requirements.
There's a bug that causes a test failure in forms_tests:
https://github.com/python-pillow/Pillow/pull/3501/files#r244651761.
2019-01-02 17:15:39 -05:00
Patrik Sletmo
14e2b1b065 Fixed #29981 -- Fixed inline formsets with a OnetoOneField primary key that uses to_field. 2019-01-01 10:40:22 -05:00
Tim Graham
02c07be95c Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
Thanks andreage for the report and suggested fix.
2019-01-01 09:42:14 -05:00
Paveł Tyślacki
0123b67f6b Fixed #30060 -- Moved SQL generation for indexes and constraints to SchemaEditor. 2019-01-01 09:39:58 -05:00
Brylie Christopher Oxley
e5ae9488ac Fixed #30069 -- Added docstring to manage.py template. 2018-12-31 19:37:23 -05:00
Tim Graham
043bd70942 Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
Tim Graham
1136d57f01
Updated a test to reflect the fact that "import *" isn't used in URLconfs anymore (refs #14675). 2018-12-31 10:24:28 -05:00
Tim Graham
100b8dd163
Renamed QuerySet.earliest()/latest() helper method. 2018-12-30 11:43:39 -05:00
Paveł Tyślacki
bdf3863bdd Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor of Meta.constraints. 2018-12-29 20:01:29 -05:00
Adam Johnson
b71e3d635a Added examples to HttpRequest.build_absolute_uri() docs. 2018-12-29 19:44:45 -05:00
Matt Wiens
e817ae74da Followed style guide for model attribute ordering. 2018-12-27 19:34:14 -05:00
Mariusz Felisiak
dd8ed64113
Fixed #29851 -- Fixed crash of annotations with window expressions in Subquery. 2018-12-27 20:21:57 +01:00
Jon Dufresne
6fe9c45b72 Fixed #30024 -- Made urlencode() and Client raise TypeError when None is passed as data. 2018-12-27 11:19:55 -05:00
Vedran Karačić
293db9eb36 Updated OWASP Top 10 link to the latest version. 2018-12-27 09:23:40 -05:00
CHI Cheng
b7dbd5ff68 Fixed broken links to PyYAML page. 2018-12-27 10:48:37 +01:00
Denis Stebunov
277de22984 Fixed #30058 -- Made SMTP EmailBackend.send_messages() return 0 for empty/error cases. 2018-12-26 13:33:08 -05:00
Tim Graham
0b54ab0675 Refs #30033 -- Fixed schema's test_m2m_rename_field_in_target_model test failure on SQLite < 3.20.
Mixing local test models with non-local models resulted in a referential
integrity error during tear down since the models are removed in separate
schema editor instances which each check constraints.

Failure appeared after 7289874adceec46b5367ec3157cdd10c711253a0.
2018-12-26 11:26:51 -05:00
Tim Graham
b74b6736d0
Refs #29547 -- Skipped an unsupported partial index test on older versions of SQLite.
Follow up to e5b8626c0eb223cc3d643163882c5902c40ec972.
2018-12-26 11:20:11 -05:00
Simon Charette
ec7bf6d826 Refs #20483 -- Cached Oracle references retrieval on sql_flush(). 2018-12-26 09:20:21 -05:00
Simon Charette
2b2ae4eeb7 Refs #30054, #20483 -- Cached SQLite references graph retrieval on sql_flush(). 2018-12-26 09:19:44 -05:00
Marten Kenbeek
7a6dbbb655 Added import locations to contrib.postgres aggregates and validators docs. 2018-12-24 16:36:00 -05:00
Simon Charette
64f9776bc4 Refs #29004 -- Prevented inspectdb tests from flushing all tables data.
This is a costly operation on most database backends.
2018-12-24 15:32:39 -05:00
Simon Charette
f6d8b0c47e Refs #26840 -- Corrected SQLite connection mocking in a setup_databases() test.
The test was expecting connections used by DiscoverRunner.setup_databases()
to be the ones defined in django.test.runner but this doesn't hold true
since this method was made a proxy of django.test.utils.setup_databases.

This broke the TransactionTestCase.serialized_rollback feature in the test
suite because calls to create_db_test() cleared the test data persisted on
connections objects.

Added an assertions to prevent this from happening again.
2018-12-24 15:32:27 -05:00
Nick Pope
83677faf86 Fixed #30056 -- Added SQLite support for StdDev and Variance functions. 2018-12-24 11:14:58 -05:00
Sanyam Khurana
5d25804eaf Fixed #20098 -- Added a check for model Meta.db_table collisions. 2018-12-24 10:40:11 -05:00
Nick Pope
e626a3f993 Renamed Sqlite and Sqlite3 references to SQLite. 2018-12-22 18:52:54 -05:00
Nick Pope
7534e43497 Refs #14204 -- Removed obsolete referential integrity comment for SQLite. 2018-12-22 18:44:21 -05:00
Sergey Fedoseev
a68ea23101 Fixed #29970, #30041 -- Made ModelBase.__new__() pass attrs without contribute_to_class() to type.__new__(). 2018-12-22 18:11:24 -05:00
Simon Charette
ce8b65ac5e Fixed #30054 -- Implemented cascaded flush on SQLite.
This is required to maintain foreign key integrity when using
TransactionTestCase.available_apps.

Refs #30033, #14204, #20483.
2018-12-22 17:47:48 -05:00
Tim Graham
d5af14aa84 Fixed #30055 -- Dropped support for SQLite < 3.8.3. 2018-12-22 16:59:28 -05:00
Simon Charette
790d108c97 Refs #30033 -- Checked constraints before committing SQLite schema changes.
This order of operations is more in line with SQLite's documented table
rebuild procedure and ensures that changes aren't committed if foreign key
integrity is broken.
2018-12-22 15:26:46 -05:00
Simon Charette
6b9bd0933e Refs #29928 -- Added supports_pragma_foreign_key_check SQLite feature flag. 2018-12-22 15:14:33 -05:00
Simon Charette
f3eb1cfb58 Refs #29928 -- Corrected SQLite's can_defer_constraint_checks feature flag. 2018-12-22 15:13:46 -05:00
Simon Charette
25a0781a16 Refs #29182 -- Corrected SQLite's supports_atomic_references_rename feature flag. 2018-12-22 14:58:08 -05:00
Simon Charette
e5b8626c0e Refs #29547 -- Corrected SQLite's supports_partial_indexes feature flag. 2018-12-22 14:51:59 -05:00
Simon Charette
c5b58d7767 Refs #29928 -- Adjusted release notes of SQLite test constraint checking. 2018-12-22 14:32:40 -05:00
Simon Charette
20f6f9eaa1 Renamed SQLite3 references to to SQLite.
The version suffix isn't part of the product name.
2018-12-22 14:20:43 -05:00
François Freitag
e671337e8b Fixed #29750 -- Added View.setup() hook for class-based views. 2018-12-21 19:01:11 -05:00
Zach Garwood
19e863a844 Fixed #29995 -- Used higher contrast colors in debug page. 2018-12-21 18:00:13 -05:00
Tim Graham
226a26cf34 Removed an overridden CSS rule in debug page. 2018-12-21 18:00:03 -05:00
jtiai
5a77190e66 Fixed #29792 -- Made GeometryField.deconstruct() handle 'extent' and 'tolerance' args. 2018-12-21 17:44:45 -05:00
jtiai
7b9f8e38bb Added tests for GeometryField.deconstruct(). 2018-12-21 17:41:39 -05:00
Tim Graham
194a4b526c Added tests for ContentType/Group/Permission.__str__(). 2018-12-21 12:45:02 -05:00
wiktorkuchta
3defe76385 Fixed Polish MONTH_DAY_FORMAT. 2018-12-21 10:29:46 +01:00
Carlton Gibson
bbe28fa076 Refs #30015 -- Added 2.1.5 release note and removed 'we' in comments. 2018-12-20 21:30:13 -05:00
Toivo Mattila
78dc7039bc Replaced loop with dictionary comprehension. 2018-12-19 17:31:48 -06:00
Dakota Hawkins
8d3147e130 Fixed #30031 -- Added --no-header option to makemigrations/squashmigrations. 2018-12-19 12:41:31 +01:00
Konstantin Alekseev
b514dc14f4 Fixed #30015 -- Ensured request body is properly consumed for keep-alive connections. 2018-12-19 11:27:08 +01:00
Simon Charette
1939dd49d1 Fixed #29928 -- Enabled deferred constraint checks on SQLite 3.20+.
Refs #11665, #14204.

Thanks Michel Samia for the report.
2018-12-17 11:03:44 +01:00
Simon Charette
894cb13779 Refs #29182 -- Stopped relying on legacy alter table semantic on SQLite 3.26+.
SQLite 3.26 changed the behavior of table and column renaming operations to
repoint foreign key references even if foreign key checks are disabled.

This makes the workarounds in place to simulate this behavior unnecessary on
SQLite 3.26+. Refs #30033.
2018-12-17 10:44:05 +01:00
Simon Charette
7289874adc Fixed #30033 -- Conformed to the recommended table alterations procedure on SQlite3.
Refs #29182.

The previous implementation was following a procedure explicitly documented
as incorrect and was the origin of the breakage experienced on SQLite 3.26
release that were addressed by c8ffdbe514b55ff5c9a2b8cb8bbdf2d3978c188f.

Thanks to Richard Hipp for pointing out the usage of the incorrect procedure.
2018-12-17 10:44:05 +01:00
Simon Charette
a939d630a4 Refs #29928 -- Implemented fast constraint checking on SQLite 3.20+. 2018-12-17 10:44:05 +01:00
HyunTae Hwang
ae2897aaf8 Fixed typo in contrib.gis variable name. 2018-12-16 20:16:00 -10:00
Simon Charette
315357ad25 Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled.
Prior to this change foreign key constraint references could be left pointing
at tables dropped during operations simulating unsupported table alterations
because of an unexpected failure to disable foreign key constraint checks.

SQLite3 does not allow disabling such checks while in a transaction so they
must be disabled beforehand.

Thanks ezaquarii for the report and Carlton and Tim for the review.
2018-12-15 18:51:59 -05:00
Carlton Gibson
a394289b58
Fixed #30036 -- Removed unused imports in pagination example. 2018-12-12 18:49:47 +01:00
Manan
3a4558b84f Moved choices inside of test models per coding style. 2018-12-10 09:28:49 -05:00
Mariusz Felisiak
f0082b9a77
Refs #28670 -- Fixed DatabaseFeatures.supports_slicing_ordering_in_compound on Oracle. 2018-12-10 12:56:09 +00:00
Jon Dufresne
c5568340a5 Added blank line in docs/releases/2.2.txt. 2018-12-09 10:26:55 -05:00
Simon Charette
c8ffdbe514 Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+.
SQLite 3.26 repoints foreign key constraints on table renames even when
foreign_keys pragma is off which breaks every operation that requires
a table rebuild to simulate unsupported ALTER TABLE statements.

The newly introduced legacy_alter_table pragma disables this behavior
and restores the previous schema editor assumptions.

Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and
troubleshooting assistance.
2018-12-07 13:32:37 -05:00
Benjamin Wohlwend
79c196cfb2 Fixed #28766 -- Added ResolverMatch.route.
Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr>
2018-12-06 18:05:40 -05:00
Rodrigo
ad191d9e01 Fixed #29895 -- Doc'd why MySQL's atomic DDL statements don't work for atomic migrations. 2018-12-06 16:03:02 -05:00
Mariusz Felisiak
f9a33e3c3f Fixed #29932 -- Fixed combining compound queries with sub-compound queries on SQLite and Oracle. 2018-12-06 15:31:33 -05:00
Patrick Arminio
ae180fa4b7 Fixed #29986 -- Added .format() support to ngettext_lazy strings. 2018-12-06 15:12:34 -05:00
Simon Charette
53269bcaaf Fixed #30011 -- Fixed queries that reuse filtered aggregates.
Thanks Taqi Abbas and Raphael Kimmig for the report.
2018-12-06 14:55:35 -05:00
Tim Graham
88619e6129
Bumped mysqlclient requirement to >= 1.3.13.
There are test failures with older versions.
2018-12-06 14:49:27 -05:00
jpic
9453bc77f4 Fixed #30003 -- Added usable entry point in default manage.py. 2018-12-06 14:45:40 -05:00
Tim Graham
4c7c608a1d Reverted "Fixed #25251 -- Made data migrations available in TransactionTestCase when using --keepdb."
This reverts commits b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 and
9fa0d3786febf36c87ef059a39115aa1ce3326e8 due to reverse build failures
for which a solution isn't forthcoming.
2018-12-05 15:30:23 -05:00
Tim Graham
734ce71824 Refs #30013 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.3.14+. 2018-12-05 14:46:31 -05:00
Tim Graham
284b3221a2 Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with mysqlclient 1.3.14+. 2018-12-05 14:46:23 -05:00
François Freitag
fbc7e41389 Tested exception messages in generic_views tests. 2018-12-04 22:52:19 -05:00
Carlton Gibson
196b420fcb Added stub release notes for 2.1.5 release. 2018-12-04 16:21:38 +01:00
Carlton Gibson
346721a038 Added release date for 2.1.4. 2018-12-03 17:29:46 +01:00
Carlton Gibson
8245c99ee6
Fixed #29930 -- Allowed editing in admin with view-only inlines.
Co-authored-by: Tim Graham <timograham@gmail.com>
2018-12-03 07:44:18 -08:00
Carlton Gibson
950112548e Added release date for 1.11.17. 2018-12-03 15:14:58 +01:00
Xavier Fernandez
4d9f51f2b5 Added test for ResolverMatch.__repr__(). 2018-11-30 17:43:55 -05:00
Xavier Fernandez
9d334e0a7a Removed urlpatterns_reverse dependency in urlpatterns tests. 2018-11-30 17:39:34 -05:00
Nick Pope
c3bbf1fd4c Refs #28643 -- Skipped ATan2() workaround on SpatiaLite 5+. 2018-11-30 13:59:05 -05:00
Prabakaran Kumaresshan
0d724ce916 Fixed #30001 -- Marked UUIDField.description for translation. 2018-11-30 11:23:17 -05:00
Tim Fiedler
b07273a0f7 Fixed #29987 -- Detected unmanaged model deletions. 2018-11-30 09:57:43 -05:00
Jaap Roes
8a1a919468 Fixed #29997 -- Allowed combining SearchQuerys with different configs.
Seems to be a needless restriction in
978a00e39fee25cfa99065285b0de88366710fad.
2018-11-30 09:42:50 -05:00
raratiru
793a71b7be Fixed #29991 -- Doc'd logger propogation for the default logging config. 2018-11-29 16:59:43 -05:00
Tim Graham
41db8cb252
Used assertCountEqual() in contrib.postgres.search tests. 2018-11-29 14:43:53 -05:00
romgar
9fa0d3786f Refs #25251 -- Filtered out skipped tests when processing the test suite to set _next_serialized_rollback. 2018-11-29 11:20:27 -05:00
Basil Dubyk
7d1123e5ad Fixed #29929 -- Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields. 2018-11-28 15:40:14 -05:00
Tim Graham
682cdf6cab Refs #28205 -- Corrected ModelAdmin.prepopulated_fields docs regarding when they're populated. 2018-11-28 14:48:03 -05:00
dmytryi.striletskyi
dcd1025f4c Fixed #28385 -- Fixed deserializing natural keys when primary key has a default value.
Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2018-11-27 18:35:19 -05:00
Tim Graham
926fa7116f Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates. 2018-11-27 11:20:23 -05:00
Tim Graham
7056a4dd8e Switched TestCase to SimpleTestCase in GIS tests. 2018-11-27 10:22:13 -05:00
Simon Charette
0f212db29d Made reused RequestFactory instances class attributes. 2018-11-27 09:49:02 -05:00
Simon Charette
7f63b894c0 Adjusted code style of a few test data setup methods.
Thanks Mariusz for suggesting it.
2018-11-27 09:48:22 -05:00
Simon Charette
84e7a9f4a7 Switched setUp() to setUpTestData() where possible in Django's tests. 2018-11-27 09:35:17 -05:00
Simon Charette
9a7d336c38 Corrected Aggregate docs to reflect that it accepts multiple expressions. 2018-11-27 09:22:24 -05:00
Tim Graham
193c109327 Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
Mariusz Felisiak
f091ea3515
Refs #29722 -- Added introspection of materialized views for Oracle.
Thanks Tim Graham for the review.
2018-11-26 19:45:05 +01:00
Simon Charette
26c2a6ff88 Removed empty setUp() in admindocs tests. 2018-11-26 10:24:01 -05:00
Simon Charette
b8763fc0a4 Used SimpleTestCase for template library tests. 2018-11-26 10:23:35 -05:00
Damian Dimmich
133e79399a Updated docs for fast column creation with defaults in PostgreSQL 11. 2018-11-26 09:51:29 -05:00
takaaki shimbo
6275b50ac2 Fixed typo in patch_logger() docstring. 2018-11-25 14:43:26 -05:00
Hasan Ramezani
11a9017179 Fixed #29966 -- Added tests for BaseHandler's "The view didn't return an HttpResponse object" error. 2018-11-23 19:19:02 -05:00
Jaap Roes
fc71bb11b1 Improved readability of translation's to_locale(). 2018-11-23 14:53:19 -05:00
Nick Pope
c512912463 Refs #23801 -- Made integer field max_length warning show correct field type. 2018-11-23 14:40:46 -05:00
Nick Pope
856ba1ec86 Removed redundant BigIntegerField.empty_strings_allowed (already inherited). 2018-11-23 14:22:58 -05:00
andreage
78fc64578a Fixed typo in docs/topics/i18n/translation.txt. 2018-11-23 10:11:51 +01:00
Claude Paroz
d7e18a509e Fixed #29978 -- Catched GDALException in GeometryField.to_python 2018-11-23 09:39:02 +01:00
Tom Forbes
31408446b3 Fixed #29974 -- Fixed non-truthy primary key values for QuerySet.bulk_update(). 2018-11-21 22:58:43 -05:00
Tim Graham
5a71bd7f9d Removed unused views in middleware_exceptions tests.
Unused since d334f46b7a080fd3eb720141c19b37b10704a352.
2018-11-21 17:48:09 -05:00
Mariusz Felisiak
d5f4ce9849
Fixed #29949 -- Refactored db introspection identifier converters.
Removed DatabaseIntrospection.table_name_converter()/column_name_converter()
and use instead DatabaseIntrospection.identifier_converter().

Removed DatabaseFeatures.uppercases_column_names.

Thanks Tim Graham for the initial patch and review and Simon Charette
for the review.
2018-11-21 09:06:50 +01:00
redodo
2e4776196d Fixed #29953 -- Added CSS class to column headers in tabular inlines.
The class name is the same as one given to the fields in the change list.
2018-11-20 18:17:53 -05:00
Tim Graham
acdd18dffc
Changed BaseDatabaseSchemaEditor._effective_default() to staticmethod.
Follow up to 9cac10eee49eae3bbf7bd133ba0ae931b275324c.
2018-11-20 18:01:18 -05:00
Tim Graham
5d327a63ef Refs #29849 -- Forwardported 2.1.4 release note. 2018-11-20 17:45:29 -05:00
Sanyam Khurana
a7d6cab771 Fixed #29282 -- Prevented some admin checks from crashing with TypeError.
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2018-11-20 17:19:13 -05:00
Tim Graham
ced0bdd923 Tested a middleware's process_template_response() returning None. 2018-11-20 11:35:01 -05:00
Tim Graham
bff5ccff75 Refs #24829 -- Removed TemplateResponse rendering in BaseHandler.get_response().
Obsolete since 742ea51413b3aab07c6afbfd1d52c1908ffcb510.
2018-11-20 11:04:44 -05:00
Tim Graham
3529d0eabf Corrected docs and removed unused code for got_request_exception signal's sender argument.
Inaccurate since 7d1b69dbe7f72ac04d2513f0468fe2146231b286.
2018-11-20 10:15:58 -05:00
Tim Graham
cafb34963c Removed BaseHandler.get_exception_response().
Unused since 7d1b69dbe7f72ac04d2513f0468fe2146231b286.
2018-11-20 09:45:29 -05:00
redodo
89a2216486 Fixed #29961 -- Made RelatedFieldWidgetWrapper hide related item links if wrapping a hidden widget. 2018-11-19 15:12:52 -05:00
Nick Pope
ebd270627c Refs #29722 -- Added introspection of partitions for PostgreSQL. 2018-11-19 14:06:01 -05:00
Thomas Grainger
0607699902 Fixed #29478 -- Added support for mangled names to cached_property.
Co-Authored-By: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2018-11-19 13:40:49 -05:00
Sergey Fedoseev
80ba7a881f Fixed cached_properties that share a common property.
The aliases aren't cached and thus the old usage will be an error after
refs #29478.
2018-11-19 08:59:46 -05:00
Vishvajit Pathak
11bcb57ee2 Fixed #29964 -- Removed unused admin/related_widget_wrapper.html template.
Unused since b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2018-11-18 11:42:48 -05:00
Tim Graham
9cac10eee4 Added BaseDatabaseSchemaEditor._effective_default() to allow testing without a connection. 2018-11-17 19:27:53 -05:00
Tim Graham
e62f6e0968 Fixed #29505 -- Removed SchemaEditor's calling of callable defaults.
Thanks Eugene Pakhomov for the suggested fix.
2018-11-17 19:27:53 -05:00
Simon Charette
0cf85e6b07 Refs #29908 -- Optimized known related objects assignment.
Since CPython implements a C level attrgetter(*attrs) it even outperforms the
most common case of a single known related object since the resulting attribute
values tuple is built in C.
2018-11-17 18:56:11 -05:00
Tim Graham
f436c82637 Doc'd purpose of "Database backend API" backwards incompatible changes section. 2018-11-17 15:58:10 -05:00
Tim Graham
2fd21a1858 Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x. 2018-11-17 15:40:35 -05:00
Hasan Ramezani
ec16588c27 Added test for Model._check_column_name_clashes(). 2018-11-17 15:24:48 -05:00
Tim Graham
405ec5b9c6 Fixed typo in tests/admin_views/tests.py. 2018-11-16 15:09:22 -05:00
Claude Paroz
e7e5505902 Fixed #29959 -- Cached GEOS version in WKBWriter class.
Regression in f185d929fa1c0caad8c03fccde899b647d7248c6.
2018-11-16 14:45:21 -05:00
Tim Graham
97cec6f75d Removed release date for 2.0.10 and 1.11.17. 2018-11-16 09:34:10 -05:00
Prabakaran Kumaresshan
8250538bfc Fixed #29864 -- Added link targets for low-level cache API. 2018-11-15 17:32:41 -05:00
Mathew Payne
26bb2611a5 Fixed #29952 -- Lowercased all passwords in contrib.auth's auth/common-passwords.txt.gz. 2018-11-15 14:11:03 -05:00
François Freitag
9b15ff08ba Used auto-numbered lists in documentation. 2018-11-15 13:54:28 -05:00
Hasan Ramezani
cf915cb513 Added a test for a lookup in Model.refresh_from_db(fields=[...]). 2018-11-15 11:38:47 -05:00
Ian Foote
e1fc07c047 Fixed #17930 -- Allowed ORing (|) with sliced QuerySets. 2018-11-15 09:43:58 -05:00
Sarah Guermond
cd40306854 Fixed #25884 -- Fixed migrate --run-syncdb when specifying an app label. 2018-11-14 18:22:59 -05:00
Timothy Allen
e819554018 Fixed #29939 -- Increased Group.name max_length to 150 characters. 2018-11-14 15:13:34 -05:00
Hasan Ramezani
6d4e5feb79 Fixed #29835 -- Made RelatedFieldListFilter respect ModelAdmin.ordering. 2018-11-14 14:29:39 -05:00
Basil Dubyk
35a08b8541 Fixed #17210 -- Made NullBooleanSelect use unknown/true/false as query data. 2018-11-14 13:43:34 -05:00
Daniel Musketa
ca2856fb62 Fixed typo in docs/ref/middleware.txt. 2018-11-14 09:47:22 -05:00
Mariusz Felisiak
ff8020ed49 Fixed #29788 -- Added support for Oracle Managed File (OMF) tablespaces. 2018-11-13 18:22:41 -05:00
Katie McLaughlin
9886dffdf4 Fixed #29940 -- Recommended using the ORM rather than raw SQL. 2018-11-13 18:15:24 -05:00
Simon Charette
db13bca60a Fixed #29641 -- Added support for unique constraints in Meta.constraints.
This constraint is similar to Meta.unique_together but also allows
specifying a name.

Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13 17:57:27 -05:00
Simon Charette
8eae094638 Generalized check constraint docs for other constraints. 2018-11-13 17:57:27 -05:00
oliver
d0af5de122 Moved duplicate author declarations to setUpTestData() in DeleteViewTests. 2018-11-13 17:27:24 -05:00
Simon Charette
dba4a634ba Refs #29641 -- Refactored database schema constraint creation.
Added a test for constraint names in the database.

Updated SQLite introspection to use sqlparse to allow reading the
constraint name for table check and unique constraints.

Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13 15:25:44 -05:00
Simon Charette
2f120ac517 Fixed #29945 -- Moved contrib.postgres uninstallation logic to the app config. 2018-11-12 11:15:48 -05:00
Tobias Bengfort
b1243a55a5 Doc'd PermissionsMixin's usage of User.is_active and is_superuser. 2018-11-12 10:44:22 -05:00
Sergey Fedoseev
d48662122c Corrected docs regarding RegisterLookupMixin subclasses. 2018-11-12 10:20:35 -05:00
Hasan Ramezani
c7cc7526d5 Completed test coverage of contrib.humanize.templatetags.humanize. 2018-11-10 19:09:37 -05:00
Mads Jensen
961f8e9985 Updated some links to https and new locations. 2018-11-10 17:40:50 -05:00
Tim Graham
d293d68f6a Removed dead links to botbot.me. 2018-11-10 17:25:10 -05:00
Florian Apolloner
934acf1126 Fixed keep-alive support in manage.py runserver.
Ticket #25619 changed the default protocol to HTTP/1.1 but did not
properly implement keep-alive. As a "fix" keep-alive was disabled in
ticket #28440 to prevent clients from hanging (they expect the server to
send more data if the connection is not closed and there is no content
length set).

The combination of those two fixes resulted in yet another problem:
HTTP/1.1 by default allows a client to assume that keep-alive is
supported unless the server disables it via 'Connection: close' -- see
RFC2616 8.1.2.1 for details on persistent connection negotiation. Now if
the client receives a response from Django without 'Connection: close'
and immediately sends a new request (on the same tcp connection) before
our server closes the tcp connection, it will error out at some point
because the connection does get closed a few milli seconds later.

This patch fixes the mentioned issues by always sending 'Connection:
close' if we cannot determine a content length. The code is inefficient
in the sense that it does not allow for persistent connections when
chunked responses are used, but that should not really cause any
problems (Django does not generate those) and it only affects the
development server anyways.

Refs #25619, #28440.
2018-11-10 13:54:45 +01:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
1f726311d1 Used method chaining in DateTimeShortcuts.js. 2018-11-09 19:56:46 -05:00
Tim Graham
0b98e8fdad Fixed #29941 -- Fixed missing variable in docs/ref/contrib/contenttypes.txt.
Regression in b47552b445547e60cc89213f79e02333cb63f270.
2018-11-09 19:49:06 -05:00
Tim Graham
f82be9ebc7
Fixed #29934 -- Added sqlparse as a require dependency. 2018-11-09 19:09:36 -05:00
Matthias Kestenholz
f9ff1df1da Fixed #29917 -- Stopped collecting ModelAdmin.actions from base ModelAdmins. 2018-11-09 18:52:30 -05:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
a375e911ef Removed unused variables. 2018-11-09 15:44:12 -05:00
Srinivas Reddy Thatiparthy
978ad6d4c0 Removed unused 'tz' variable in typecast_timestamp(). 2018-11-09 12:47:02 -05:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
a7ef4a56e0 Fixed #29920 -- Added a test for smart_urlquote()'s UnicodeError branch. 2018-11-09 12:39:08 -05:00
Hasan Ramezani
f62cf22c48 Fixed #29931 -- Removed unused ValueError handling in naturalday template tag. 2018-11-09 11:58:09 -05:00
oliver
9b110f0a84 Moved duplicate author declarations to setUpTestData() in UpdateViewTests. 2018-11-09 15:26:52 +01:00
minusf
545dae24fd Fixed signing.dumps() example for Python 3. 2018-11-09 07:26:46 -05:00
Simon Charette
75dfa92a05 Fixed #29908 -- Fixed setting of foreign key after related set access if ForeignKey uses to_field.
Adjusted known related objects handling of target fields which relies on
from and to_fields and has the side effect of fixing a bug bug causing
N+1 queries when using reverse foreign objects.

Thanks Carsten Fuchs for the report.
2018-11-08 19:51:15 -05:00
mentix02
413583e2e2 Fixed #29933 -- Fixed typo in docs/intro/contributing.txt. 2018-11-08 16:38:43 -05:00
Tim Graham
803840abf7
Refs #29926 -- Removed usage of gettext.translation()'s deprecated codeset parameter.
https://bugs.python.org/issue33710
2018-11-06 20:22:47 -05:00
oliver
0ce2ad9ca4 Used QuerySet.bulk_create() in a couple tests. 2018-11-06 19:32:40 -05:00
romgar
b3b1d3d45f Fixed #25251 -- Made data migrations available in TransactionTestCase when using --keepdb.
Data loaded in migrations were restored at the beginning of each
TransactionTestCase and all the tables are truncated at the end of
these test cases. If there was a TransactionTestCase at the end of
the test suite, the migrated data weren't restored in the database
(especially unexpected when using --keepdb). Now data is restored
at the end of each TransactionTestCase.
2018-11-06 16:57:50 -05:00
Tom Forbes
ecac6d7a2a Improved performance of runtests.py with os.scandir(). 2018-11-04 18:56:46 -05:00
Tom Forbes
d5e52f2bef Removed DatabaseOperation.savepoint_create/rollback_sql() on Oracle.
Obsolete since 918f44e3ae650ff124067425d31c9d3deeba2224.
2018-11-04 18:21:59 -05:00
Tim Graham
1c948e544e Refs #29883 -- Removed runtests.py's dependency on selenium.
Regression in d207ac1568bb4dee305f6692ed7ddee8a1ff8b99.
2018-11-03 19:02:31 -04:00
Hasan Ramezani
6b7f1c2530 Increased test coverage of django.utils.http. 2018-11-03 11:13:28 -04:00
Tobias Bengfort
9a63d840ff Fixed inconsistent indentation in docs/ref/contrib/auth.txt. 2018-11-03 11:07:44 -04:00
Tom Forbes
d207ac1568 Fixed #29883 -- Added selenium hub support to runtests.py. 2018-11-03 09:56:14 -04:00
Mice Pápai
5a2dd5ec53 Fixed typo in docs/internals/contributing/writing-code/coding-style.txt. 2018-11-02 15:59:12 +01:00
Carlton Gibson
7e5cb46330 Updated expected date for 2.1.4 release. 2018-11-01 16:19:21 +01:00
Theofanis Despoudis
084536a9be Fixed #27994 -- Documented ManifestFilesMixin. 2018-11-01 11:15:13 -04:00
Jayantha Gumballi
dfcdc8992f Fixed #29886 -- Fixed unaccent lookup when PostgreSQL's standard_conforming_strings option is off.
Thanks Tom McClure for the patch.
2018-11-01 11:14:34 -04:00
Carlton Gibson
74ddd0e83b Added stub release notes for 2.1.4 release. 2018-11-01 15:48:28 +01:00
Carlton Gibson
eb13e6cb9a Added release date for 2.1.2 release. 2018-11-01 15:02:22 +01:00
Tim Graham
d8f83531c2
Fixed #22390 -- Doc'd possible server restart required in tutorial 6. 2018-10-31 20:50:10 -04:00
Tim Graham
98ef3829e9 Fixed #29890 -- Fixed FileSystemStorage crash if concurrent saves try to create the same directory.
Regression in 632c4ffd9cb1da273303bcd8005fff216506c795.
2018-10-31 19:28:11 -04:00
Javier Matos Odut
3d4d0a25b2 Fixed #29901 -- Allowed overriding an autocomplete/raw_id_fields/radio_fields widget with ModelAdmin.get_formset(). 2018-10-31 10:16:17 -04:00
Junyoung
df448bfd02 Fixed #29783 -- Added app label validation to showmigrations command. 2018-10-30 19:29:00 -04:00
Artur Juraszek
817c6cdf0e Capitalized SecurityMiddleware headers for consistency with other headers.
(No behavior change since HTTP headers are case insensitive.)
2018-10-30 18:30:51 -04:00
Hasan Ramezani
c1c68d1ac0 Increased test coverage of django/views/generic/dates.py. 2018-10-30 14:27:48 -04:00
Jayden Kneller
916aecd29d Fixed #29866 -- Made DiscoverRunner do tests tear down if running checks or tests raises an exception. 2018-10-30 12:01:48 -04:00
Simon Charette
630f3d8b46
Refs #29868 -- Prevented name collisions between test constraints on Oracle. 2018-10-30 09:26:03 -04:00
Mads Jensen
a906c98982 Fixed #29547 -- Added support for partial indexes.
Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and
Markus Holtermann for comments and feedback.
2018-10-29 19:34:54 -04:00
thomazzo
9625d13f7b Fixed #29882 -- Added events and stored routines to MySQL's cloned test databases. 2018-10-29 14:45:30 -04:00
Hasan Ramezani
4f8f1b2f24 Fixed #29903 -- Added error message for invalid WeekArchiveView week_format. 2018-10-29 14:22:42 -04:00
Tim Graham
7f2b27e95c Fixed code highlighting in docs/ref/contrib/staticfiles.txt. 2018-10-29 11:55:32 -04:00
Simon Charette
d8e03fdeb9 Fixed #29897 -- Fixed autodetector's swappable MTI dependency resolution.
Thanks Steven Ganz for the detailed report.
2018-10-29 11:24:30 -04:00
Simon Charette
82353ef940 Refs #29897 -- Moved autodetector swappable dependency resolution to a method. 2018-10-29 11:17:21 -04:00
Simon Charette
f1855fd885 Refs #23322 -- Removed unnecessary "and" clause in the autodetector.
If the depedency was swappable then it'll be resolved at this point.
2018-10-29 11:07:07 -04:00
Simon Charette
95bda03f2d Fixed #29868 -- Retained database constraints on SQLite table rebuilds.
Refs #11964.

Thanks Scott Stevens for testing this upcoming feature and the report.
2018-10-29 10:33:41 +01:00
Tim Graham
f77fc56c96
Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for foreign keys that use to_field.
Regression in ee49306176a2d2f1751cb890bd607d42c7c09196.
2018-10-28 22:54:02 -04:00
Hampus Dunström
5e8a07d69d Fixed #29763 -- Added support for column renaming on SQLite. 2018-10-27 20:26:39 -04:00
Hasan Ramezani
4c13b90702 Added test coverage for views.generic.dates.MonthMixin.get_month() KeyError branch. 2018-10-27 18:37:44 -04:00
Tim Graham
f892781b95 Fixed #28606 -- Deprecated CachedStaticFilesStorage. 2018-10-27 11:58:29 -04:00
Hasan Ramezani
55b0b766fb Completed test coverage of views.defaults.bad_request(). 2018-10-25 20:03:58 -04:00
Tim Graham
717ee63e56
Refs #27025 -- Removed obsolete sqlite3 transaction management workaround for Python 3.6+.
Obsolete per https://bugs.python.org/issue10740#msg274816.
2018-10-25 19:54:48 -04:00
Mariusz Felisiak
c6525bea9e Fixed #29534 -- Made dbshell use rlwrap on Oracle if available. 2018-10-25 19:39:42 -04:00
Sergey Fedoseev
9a88c6dd6a Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.
Regression in e1253bc26facfa1d0fca161f43925e99c2591ced.
2018-10-25 19:37:41 -04:00
Mayank Singhal
76b3367035 Fixed #29879 -- Added CSRF_COOKIE_HTTPONLY to CSRF AJAX docs. 2018-10-25 11:39:52 -04:00
Tim Graham
f1d1634493 Removed useless check in sqlite's DatabaseWrapper._savepoint_allowed().
Obsolete since 27193aea0088b238e3ee0f0f235364a34a09265c.
2018-10-25 10:17:37 -04:00
Tim Graham
9b52bd6575 Made DatabaseFeatures.uses_savepoints default to True. 2018-10-25 10:02:47 -04:00
Sanyam Khurana
83c7096f2a Fixed #29869 -- Made UUIDField.to_python() convert integers. 2018-10-24 20:26:57 -04:00
Hemanth V. Alluri
fd49701ab9 Removed a useless sentence in docs/ref/unicode.txt. 2018-10-24 20:01:19 -04:00
Sanyam Khurana
c86a3d80a2 Fixed #29721 -- Ensured migrations are applied and recorded atomically. 2018-10-24 19:29:11 -04:00
Simon Charette
32da3cfdf9 Refs #11964 -- Removed raw SQL from and cleaned up constraint operation tests. 2018-10-24 19:18:41 -04:00
Mariusz Felisiak
58d1e9aa8a Ignored flake8 W504 warnings.
W504 is mutually exclusive with W503 that we follow.
2018-10-24 09:17:59 -04:00
Mariusz Felisiak
641742528a Fixed F841 flake8 warning. 2018-10-24 09:13:10 -04:00
Tom Forbes
8f90593e6f Removed obsolete and flaky GeoIP tests. 2018-10-23 20:46:49 -04:00
Hasan Ramezani
6a8b57df6a Completed test coverage of views.static.directory_name(). 2018-10-23 20:44:27 -04:00
Prabakaran Kumaresshan
10d82c85aa Fixed #29831 -- Added validation for makemigrations --name. 2018-10-23 10:05:24 -04:00
Jon Dufresne
136a900ef9 Refs #29877 -- Made diveinto.org URLs HTTPS. 2018-10-23 15:03:00 +02:00
za
b0d716cbff Fixed #29877 -- Replaced diveintopython3.net with diveinto.org/python3/. 2018-10-23 11:55:18 +02:00
jannschu
efc0f77f02 Fixed #29830 -- Fixed loss of custom utf-8 body encoding in mails. 2018-10-22 15:21:33 -04:00
Tim Graham
043407ec7e Fixed #29880 -- Fixed typo in docs/topics/auth/default.txt. 2018-10-22 15:16:11 -04:00
buzzi
24cae0bedc Fixed #29860 -- Allowed BaseValidator to accept a callable limit_value. 2018-10-22 10:26:54 -04:00
Simon Charette
5e3463f6bc Fixed #27595 -- Made ForeignKey.get_col() follow target chains.
Previously, foreign relationships were followed only one level deep which
prevents foreign keys to foreign keys from being resolved appropriately.
This was causing issues such as improper database value conversion for
UUIDField on SQLite because the resolved expression's output field's
internal type wasn't correct. Added tests to make sure unlikely foreign
reference cycles don't cause recursion errors.

Refs #24343.

Thanks oyooyo for the report and Wayne Merry for the investigation.
2018-10-22 09:49:34 -04:00
Florian Apolloner
4269648c0f Fixed #29876 -- MySQL does not support SPATIAL fields in unique indices. 2018-10-22 13:36:48 +02:00
Florian Apolloner
c53af56613 Fixed #29847 -- Ensured proper ordering in queries.
Even though good databases tend to keep the result sorted by the/one
window expression and the planners are smart enough to not resort if not
required, it is not valid to rely on this.

MariaDB specifically did return whatever order it wanted, which is
completely okay. Now we sort towards the expected data for all databases.
2018-10-21 22:05:06 +02:00
Florian Apolloner
e127ef62de Fixed a failing test when the source directory is on a readonly fs. 2018-10-21 19:37:58 +02:00
Atul Varma
3deea61f26 Removed "encoding" description in GIS tutorial.
An omission in 388165ade4219aeefac1e231c1d44c51a7b62829.
2018-10-21 12:14:06 -04:00
Mariusz Felisiak
328f5627dd
Fixed #29870 -- Added DurationField introspection for Oracle and PostgreSQL.
Thanks Tim Graham for the review.
2018-10-21 09:08:05 +02:00
deby
19126339f3 Fixed Italian's MONTH_DAY_FORMAT.
The `/` is inconsistent with the other languages.
2018-10-20 05:09:41 -04:00
Adam Allred
4e78e389b1 Fixed #29774 -- Fixed django-admin shell hang on startup.
sys.stdin.read() blocks waiting for EOF in shell.py which will
likely never come if the user provides input on stdin via the
keyboard before the shell starts. Added check for a tty to
skip reading stdin if it's not present.

This still allows piping of code into the shell (which should
have no TTY and should have an EOF) but also doesn't cause it
to hang if multi-line input is provided.
2018-10-19 20:00:12 -04:00
Tim Graham
a29fce8984 Fixed #29858 -- Clarified docs regarding CSRF token header name. 2018-10-18 19:44:15 -04:00
Andy Chosak
084573c715 Updated Jinja2 static tag example to use django.templatetags.
As of cf546e11ac76c8dec527e39ff8ce8249a195ab42, this is the
canonical way to invoke the static tag.
2018-10-18 19:19:56 -04:00
aspalding
dc5e75d419 Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists.
Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.
2018-10-17 11:34:49 -04:00
aspalding
217f82d713 Refs #29838 -- Fixed make_hashable() for values that have lists or dicts nested in tuples.
And for non-hashable values that are iterable, e.g. sets.
2018-10-17 11:17:50 -04:00
aspalding
834c4ec8e4 Moved make_hashable() to django.utils and added tests. 2018-10-17 11:17:23 -04:00
Tom Dyson
6752c2756e Removed obsolete "ugly URL" reference. 2018-10-17 10:20:18 -04:00
Tim Graham
4268d275b8 Fixed #29857 -- Added get_storage_class to django.core.files.storage.__all__. 2018-10-17 09:03:51 -04:00
Florian Apolloner
bc7dd8490b Fixed #21171 -- Avoided starting a transaction when a single (or atomic queries) are executed.
Checked the following locations:

 * Model.save(): If there are parents involved, take the safe way and use
   transactions since this should be an all or nothing operation.

   If the model has no parents:

    * Signals are executed before and after the previous existing
      transaction -- they were never been part of the transaction.

    * if `force_insert` is set then only one query is executed -> atomic
      by definition and no transaction needed.

    * same applies to `force_update`.

    * If a primary key is set and no `force_*` is set Django will try an
      UPDATE and if that returns zero rows it tries an INSERT. The first
      case is completly save (single query). In the second case a
      transaction should not produce different results since the update
      query is basically a no-op then (might miss something though).

 * QuerySet.update(): no signals issued, single query -> no transaction
   needed.

 * Model/Collector.delete(): This one is fun due to the fact that is
   does many things at once.

   Most importantly though: It does send signals as part of the
   transaction, so for maximum backwards compatibility we need to be
   conservative.

   To ensure maximum compatibility the transaction here is removed only
   if the following holds true:

     * A single instance is being deleted.
     * There are no signal handlers attached to that instance.
     * There are no deletions/updates to cascade.
     * There are no parents which also need deletion.
2018-10-17 12:19:02 +02:00
Çağıl
38f3de86bd Added a paragraph in docs/intro/contributing.txt. 2018-10-16 16:10:44 -04:00
Mads Jensen
1c0bf95ff6 Refs #23919 -- Removed a stray object-inheritance.
Follow up to 081e78716085ff4af08604af5d084c8fd27c0730.
2018-10-16 09:58:53 -04:00
Jon Dufresne
0cd465b63a Fixed #29817 -- Deprecated settings.FILE_CHARSET. 2018-10-15 17:15:41 -04:00
Jon Dufresne
99d4fc18bd Refs #27829 -- Added warning for settings.DEFAULT_CONTENT_TYPE usage outside of Django. 2018-10-15 16:31:39 -04:00
oliver
1299421cad Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists() on a many-to-many relation. 2018-10-15 11:01:57 -04:00
Mariusz Felisiak
f2e2a1bd4b
Fixed #29845 -- Fixed Cast crash on MySQL when casting to DecimalField. 2018-10-15 15:57:22 +02:00
Taoufik
f07091a30f Fixed typo in django/utils/datastructures.py. 2018-10-14 11:20:22 -04:00
Peter Inglesby
a1ffbfb801 Removed unused fields from aggregation docs. 2018-10-13 21:13:45 -04:00
Mariusz Felisiak
a3052c35d1
Fixed various comments in django/db/backends/oracle/base.py. 2018-10-13 20:25:23 +02:00
Tim Graham
1e3cd51163
Simplified django.utils.html.urlize(). 2018-10-12 12:15:26 -04:00
Tim Graham
910548634a Refs #29826 -- Removed unused characters from urlize configuration.
The HTML characters are unused because urlize is meant to be applied to
plain text and these characters aren't properly detected (refs #29826).
Angle brackets and quotes are present in word_split_re and therefore
won't be used in WRAPPING_PUNCTUATION.
2018-10-12 08:13:52 +02:00
Tim Graham
70a80ff1be Added a urlize test for wrapping characters. 2018-10-12 08:13:52 +02:00
Mac Chapman
fb5dfd53a7 Fixed #29832 -- Updated Roboto font to v2.137. 2018-10-11 23:30:45 -04:00
Adam Johnson
cecd656184 Simplified deployment checklist docs on customizing error views. 2018-10-11 09:50:08 -04:00
Patrik Sletmo
adfdb9f169 Fixed #29814 -- Added support for NoneType serialization in migrations. 2018-10-11 09:02:14 -04:00
Mariusz Felisiak
52fec5d18f
Fixed #29836 -- Bumped required cx_Oracle to 6.0. 2018-10-11 11:43:16 +02:00
Andrea Rabbaglietti
1b49b792e9 Emphasized that ForeignKey.on_delete doesn't create a SQL constraint. 2018-10-10 14:56:50 -04:00
Jon Dufresne
c82893cb8c Refs #27795 -- Removed force_bytes() usage from django/utils/http.py.
django.utils.http.urlsafe_base64_encode() now returns a string, not a
bytestring. Since URLs are represented as strings,
urlsafe_base64_encode() should return a string. All uses immediately
decoded the bytestring to a string anyway.

As the inverse operation, urlsafe_base64_decode() accepts a string.
2018-10-10 14:38:22 -04:00
Hasan Ramezani
f3d3338e06 Fixed #29829 -- Remove unused code in contrib.sites.models._simple_domain_name_validator(). 2018-10-09 20:50:00 -04:00
Hasan Ramezani
b5d7604cb0 Completed FixedOffset test coverage. 2018-10-09 20:32:08 -04:00
Sergey Fedoseev
3957f767bb Simplified handling of DurationField values on MySQL/MariaDB. 2018-10-09 10:38:42 -04:00
Jon Dufresne
e90af8bad4 Capitalized "Python" in docs and comments. 2018-10-09 09:26:07 -04:00
Jon Dufresne
31c0348687 Fixed postgres_tests.test_signals.OIDTests when run in isolation. 2018-10-09 09:23:36 -04:00
Jon Dufresne
1e87c9fe71 Replaced kwargs.pop() with keyword-only arguments. 2018-10-08 15:06:02 -04:00
Jon Dufresne
2ba588e773 Refs #27795 -- Removed force_text() usage in db/models/sql/query.py. 2018-10-08 14:47:01 -04:00
Jon Dufresne
4ab071f43c Refs #27795 -- Removed force_bytes() usage in contrib/staticfiles/storage.py. 2018-10-05 09:26:28 -04:00
Eric Brandwein
b0b4aac555 Fixed #29775 -- Fixed URL converters in a nested namespaced path.
When using include() without namespaces of some urlpatterns that
have an include() with namespace, the converters of the parent
include() weren't being used to convert the arguments of reverse().
2018-10-04 11:42:27 -04:00
Kate Berry
b8b1d8cad6 Improved tone in docs/ref/settings.txt. 2018-10-04 11:35:19 -04:00
Jon Dufresne
5a23a285de Used skip(If|Unless)DBFeature in transactions tests. 2018-10-04 10:09:06 -04:00
Jon Dufresne
9f6d0c11eb Removed Jinja2 dependency from admin_checks tests. 2018-10-04 16:05:22 +02:00
Jon Dufresne
f5d9ee11a2 Refs #27778 -- Removed "The database API" section from "Unicode data" docs.
Support for passing bytestrings to the database API was removed in
301de774c21d055e9e5a7073e5bffdb52bc71079.
2018-10-04 09:10:20 -04:00
Jon Dufresne
9b508bdb9b Removed unnecessary skipUnless in HTTPSitemapTests.
contrib.sites is included in INSTALLED_APPS by SitemapTestsBase.
2018-10-04 08:50:18 -04:00
Sergey Fedoseev
277017aea4 Simplified utils.text.StreamingBuffer. 2018-10-04 08:28:03 -04:00
ovalseven8
d093e01ec0 Clarified when QuerySet.select_for_update() locks. 2018-10-03 15:29:33 -04:00
Adam Johnson
18e4ade79e Fixed #28034 -- Updated the contributing tutorial to use an imaginary ticket. 2018-10-03 14:34:25 -04:00
Jon Dufresne
bdae19cf63 Refs #27795 -- Removed force_bytes() usage in sessions.
SessionBase.decode() is the inverse operation to SessionBase.encode().
As SessionBase.encode() always returns a string, SessionBase.decode()
should always be passed a string argument. Fixed the file backend, which
was the only backend still passing a bytestring.
2018-10-03 11:11:42 +02:00
Jon Dufresne
efd8a82e26 Refs #27795 -- Removed force_bytes() usage in MySQL backend.
The mysqlclient cursor attribute `_last_executed` is always stored as
bytes. Decode it.

TextField values are already type str. No need to decode.
2018-10-03 10:37:36 +02:00
Jon Dufresne
3212008ba6 Corrected docs to say that all templates are text strings.
Support for bytestring templates was removed in
3a148f958dddd97c1379081118c30fbede6b6bc4.
2018-10-03 10:05:17 +02:00
Stefano Chiodino
6de7f9ec60 Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField. 2018-10-02 19:17:23 -04:00
Simon Charette
bc7e288ca9 Fixed #29745 -- Based Expression equality on detailed initialization signature.
The old implementation considered objects initialized with an equivalent
signature different if some arguments were provided positionally instead of
as keyword arguments.

Refs #11964, #26167.
2018-10-02 19:15:20 -04:00
Sergey Fedoseev
e4df8e6dc0 Simplified contrib.admin.utils.unquote(). 2018-10-02 15:42:56 -04:00
Nick Pope
bf8b625a3b Refs #29722 -- Added introspection of materialized views for PostgreSQL. 2018-10-02 14:02:04 -04:00
Nick Pope
45ef3df7d0 Fixed #29719 -- Added introspection of foreign tables for PostgreSQL.
Thanks infinite-l00p for the initial patch.
2018-10-02 14:01:24 -04:00
Tim Graham
31edb106b5
Removed docs for obsolete limitations of inspectdb. 2018-10-02 13:29:18 -04:00
Simon Charette
24dc7d8940 Refs #29641 -- Extracted reusable CheckConstraint logic into a base class. 2018-10-02 13:11:18 -04:00
Simon Charette
9142bebff2 Refs #11964 -- Changed CheckConstraint() signature to use keyword-only arguments.
Also renamed the `constraint` argument to `check` to better represent which
part of the constraint the provided `Q` object represents.
2018-10-02 10:53:04 -04:00
Jon Dufresne
0bf7b25f8f Added django.db.backends.utils.names_digest() to remove redundant code. 2018-10-02 10:41:43 -04:00
Jon Dufresne
c37b844349 Fixed ResourceWarning in MySQL's _clone_test_db(). 2018-10-02 10:23:21 -04:00
Jon Dufresne
d4fc111c24 Refs #27795 -- Removed force_bytes() usage in admindocs.
Refs #12892 is probably obsolete.
2018-10-02 10:18:52 -04:00
Przemysław Buczkowski
70d0a1ca02 Fixed #29711 -- Added a system check for uniquness of admin actions' __name__. 2018-10-02 09:17:23 -04:00
Jon Dufresne
7598cd4748 Fixed #29813 -- Fixed DatabaseOperation test when run in isolation on MySQL. 2018-10-02 08:22:38 -04:00
Tim Graham
7206601040 Fixed crash building translated docs since Sphinx 1.8. 2018-10-01 20:44:02 -04:00
Abhinav Patil
bf01994a5c Fixed #29804 -- Added 'did you mean' suggestions for unsupported lookup error. 2018-10-01 19:03:10 -04:00
Cammil Taank
f83a689f61 Fixed #29758 -- Documented how to test custom error views. 2018-10-01 18:16:47 -04:00
Jon Dufresne
b3b47bf515 Added tests for using bytearray with BinaryField and corrected docs. 2018-10-01 09:16:16 -04:00
Sergey Fedoseev
e9defb3f6e Simplified contrib.admin.utils.quote(). 2018-10-01 09:11:53 -04:00
Carlton Gibson
92ccc39170 Adjusted text for CVE-2018-16984 in security release archive. 2018-10-01 14:58:23 +02:00
Claude Paroz
fc3a463048 Fixed #29767 -- Made date-related casts work on SQLite
Thanks Rémy Hubscher for the report and Tim Graham and Simon Charette for the reviews.
2018-10-01 13:27:30 +02:00
Carlton Gibson
0b3b7c4b0a Added CVE-2018-16984 to the security release archive. 2018-10-01 11:54:31 +02:00
Carlton Gibson
dc28c0faf3 Added stub release notes for 2.1.3 release. 2018-10-01 11:48:11 +02:00
Carlton Gibson
2e86710dac Added stub release notes for 2.0.10 release. 2018-10-01 11:46:38 +02:00
Carlton Gibson
7040e638b9 Added stub release notes for 1.11.17 release. 2018-10-01 11:44:36 +02:00
Carlton Gibson
fb7fd884a1 Added release date for 2.1.2 release. 2018-10-01 10:10:48 +02:00
Tim Graham
a7284cc0c3 Fixed #29809 -- Fixed a crash when a "view only" user POSTs to the admin user change form. 2018-10-01 10:09:50 +02:00
Carlton Gibson
bf39978a53 Fixed CVE-2018-16984 -- Fixed password hash disclosure to admin "view only" users.
Thanks Claude Paroz & Tim Graham for collaborating on the patch.
2018-10-01 10:05:01 +02:00
Carlton Gibson
a4932be483 Added release date for 2.0.9 release. 2018-10-01 09:55:56 +02:00
Carlton Gibson
d37ed40048 Added release date for 1.11.16. 2018-10-01 09:34:57 +02:00
Claude Paroz
033d842e84 Updated translations from Transifex
Forward port of d5ed08263b58ec972a1e009f23d7b90c30b6b9c1 from master.
2018-09-29 17:11:49 +02:00
Claude Paroz
ddcb9e8062 Refs #21408 -- Updated naturaltime translation test.
Upcoming German translations will not differ for past and future naturaltime
translations. Using Czech language instead.
2018-09-29 15:06:11 +02:00
Sergey Fedoseev
8ef8bc0f64 Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
Tim Graham
4fc8fb7dda
Tested showmigrations with apps without migrations. 2018-09-28 09:56:40 -04:00
Paweł Kołodziej
05c578bc1f Fixed #29796 -- Added system check for STATICFILES_DIRS prefix ending with a slash. 2018-09-27 19:49:37 -04:00
Marten Kenbeek
40c8ffad72 Fixed #29768 -- Improved error message when an AppConfig has a typo in INSTALLED_APPS. 2018-09-26 16:12:21 -04:00
Ramon Saraiva
2349cbd909 Fixed #29782 -- Added better error message when filtering queryset with AnonymousUser. 2018-09-26 15:36:19 -04:00
Matthew Power
18098d261f Fixed #29673 -- Reset the URLconf at the end of each request.
Co-authored-by: Ross Thorne <rmwthorne@googlemail.com>
2018-09-26 15:35:24 -04:00
Sergey Fedoseev
91841c77cd Fixed loaddata error message when uncompressed fixture has a dot in its name. 2018-09-26 15:30:15 -04:00
Stephen James
e40e7026ca Fixed #29683 -- Added view permission to docs. 2018-09-26 15:06:43 -04:00
Jon Dufresne
fb2964a410 Added test of filtering on BinaryField and corrected docs. 2018-09-26 14:38:12 -04:00
Mariusz Felisiak
024abe5b82
Fixed #29630 -- Fixed crash of sliced queries with multiple columns with the same name on Oracle 12.1.
Regression in 0899d583bdb140910698d00d17f5f1abc8774b07.

Thanks Tim Graham for the review and Jani Tiainen for help.
2018-09-26 20:18:48 +02:00
Sergey Fedoseev
51da347c32 Fixed #29795 -- Confirmed support for PostGIS 2.5. 2018-09-26 13:36:38 -04:00
Jon Dufresne
8d87350356 Refs #27795 -- Removed force_bytes() usage in contrib/auth/handlers/modwsgi.py. 2018-09-26 11:16:59 -04:00
Mariusz Felisiak
90d93a1b42
Made DatabaseWrapper.oracle_version() return a full version tuple. 2018-09-26 08:51:27 +02:00
Jon Dufresne
82f286cf6f Refs #29784 -- Switched to https:// links where available. 2018-09-26 08:48:47 +02:00
Oleg
d1d5c97bc2 Fixed #29778 -- Fixed quoting of unique index names.
Regression in 3b429c96736b8328c40e5d77282b0d30de563c3c.
2018-09-25 16:00:20 -04:00
Alexey
8624459586 Added a test for password_changed() with a custom validator. 2018-09-25 11:58:05 -04:00
Sergey Fedoseev
553c24018e Removed unneeded list() calls in list.extend() argument. 2018-09-25 11:30:43 -04:00
Jon Dufresne
bb81c22d90 Refs #27795 -- Removed force_bytes() usage in utils/_os.py. 2018-09-25 11:27:36 -04:00
Ian Foote
9a0e0d966a Refs #11964 -- Renamed a database check constraint test. 2018-09-25 11:14:45 -04:00
Sergey Fedoseev
747db4018b Simplified AdminFieldExtractionMixin.get_admin_form_fields(). 2018-09-25 11:06:41 -04:00
Jon Dufresne
8c3e0eb1c1 Normalized spelling of "lowercase" and "lowercased". 2018-09-25 10:30:18 -04:00
Jon Dufresne
abeed587b1 Refs #27795 -- Removed force_bytes() usage in db/backends/base/schema.py. 2018-09-25 09:54:06 -04:00
Jon Dufresne
1d65ddd9c3 Refs #27795 -- Removed force_bytes() usage in db/backends/utils.py. 2018-09-25 09:53:13 -04:00
Jon Dufresne
ad9a28ee38 Refs #29784 -- Normalized Python docs links to omit the version. 2018-09-25 10:19:42 +02:00
Jon Dufresne
3a3d159ab6 Refs #29784 -- Changed Python f-string link to use intersphinx. 2018-09-25 10:19:42 +02:00
Tim Graham
495abe0095 Refs #29198 -- Fixed migrate --plan crash if RunSQL uses a list or tuple.
Also fixed test failures if sqlparse isn't installed.
2018-09-19 17:13:39 -04:00
Thomas Grainger
c99d379f53 Updated contributing tutorial's virtual environment instructions. 2018-09-19 14:37:44 -04:00
Javier Buzzi
a0d63b02c3 Fixed #29772 -- Made LazyObject proxy __lt__() and __gt__(). 2018-09-19 13:51:01 -04:00
Tom Forbes
9cbdb44014 Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models. 2018-09-18 16:14:44 -04:00
Mariusz Felisiak
7b159df942 Fixed expressions tests when run in reverse.
Regression in e7a0a5c8b21f5ad1a0066bd0dfab84466b474e15.
2018-09-18 15:58:20 -04:00
Tim Graham
0192e9a976 Fixed typo in docs/releases/2.1.txt. 2018-09-18 15:46:38 -04:00
Tim Graham
7ed4713a90 Removed obsolete html_use_smartypants Sphinx option. 2018-09-18 11:51:04 -04:00
Adam Johnson
beffa061eb Made various edits to docs/ref/utils.txt. 2018-09-18 11:26:06 -04:00
Sergey Fedoseev
8aad4a38ae Confirmed support for GEOS 3.7. 2018-09-18 09:52:02 -04:00
Tim Graham
0c20850774 Removed unused admin_url and root_path context variables in admindocs.
Unused since 915ef79b08862680e82d6a772d6ead22735e9a2f and
aaf77c1676e44019abe544911ff7a06eb2690295.
2018-09-17 15:41:17 -04:00
Claude Paroz
f5e347a640 Fixed #27899 -- Added support for phrase/raw searching in SearchQuery.
Thanks Tim Graham, Nick Pope, and Claude Paroz for contribution and review.
2018-09-17 12:03:52 -04:00
Sergey Fedoseev
c5e450ac95 Fixed #29761 -- Confirmed support for PROJ 5.x. 2018-09-17 12:03:30 -04:00
Sergey Fedoseev
4441778c26 Simplified ListMixin.sort(). 2018-09-17 10:54:37 -04:00
jtiai
583b9fc410 Fixed #29757 -- Documented Oracle DSN and Easy Connect options. 2018-09-17 10:24:51 -04:00
Mariusz Felisiak
da92ec7962
Fixed #29759 -- Fixed crash on Oracle when fetching a returned insert id with cx_Oracle 7. 2018-09-16 12:45:34 +02:00
Nick Pope
f87f9c5f63 Simplified introspection methods for PostgreSQL. 2018-09-14 14:34:43 -04:00
Adam Johnson
245c36d7b6 Fixed #29642 -- Added check for arguments of custom error handler views. 2018-09-14 11:59:56 -04:00
Tim Graham
d483a5f0dc Fixed #29756 -- Doc'd that model field names can't end with an underscore. 2018-09-14 11:38:39 -04:00
Simon Charette
a4495f4b98 Fixed #29755 -- Made migrations detect changes to Meta.default_related_name. 2018-09-14 09:09:17 -04:00
Mariusz Felisiak
e7a0a5c8b2
Simplified expressions.tests. 2018-09-13 22:12:21 +02:00
Ramiro Morales
1b1f64ee5a Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.
Thanks Ramiro Morales for contributing to the patch.
2018-09-13 12:29:48 -04:00
Andrey Kostakov
c52ecbda61 Removed shadowing of built-in hash() function. 2018-09-13 10:04:36 -04:00
Adam Zapletal
57fd3700d4 Fixed typo in docs/ref/contrib/postgres/search.txt. 2018-09-12 18:12:34 -04:00
Stephen Finucane
25f4302349 Emphasized that TemplatesSetting must be used to override widget templates. 2018-09-11 15:14:53 -04:00
Tim Graham
32fbccab40
Fixed #29749 -- Made the migrations loader ignore files starting with a tilde or underscore.
Regression in 29150d5da880ac1db15e47052330790cf1b802d2.
2018-09-11 12:51:11 -04:00
Nick Pope
a4d8e412e0 Refs #29560 -- Fixed typo in django/core/management/base.py. 2018-09-11 12:47:17 -04:00
Tom Carrick
a43cfc23d4 Fixed #29746 -- Fixed misleading FlatpageForm URL help text if APPEND_SLASH is disabled. 2018-09-11 12:15:22 -04:00
Hasan Ramezani
5195b99e2c Fixed #29560 -- Added --force-color management command option. 2018-09-11 11:15:42 -04:00
Tim Graham
de8eb07c7a Reused a duplicated class in admin_scripts tests. 2018-09-11 10:50:51 -04:00
Tim Graham
a0ef6a0e22 Fixed env.note_versionchange() deprecation warning in Sphinx 1.8. 2018-09-11 09:22:35 -04:00
Tim Graham
cc4bb110d3 Removed usage of deprecated sphinx APIs. 2018-09-10 16:08:21 -04:00
melipone
28dac56aed Fixed #16995 -- Clarified interaction of initial and extra with model formsets. 2018-09-10 15:27:42 -04:00
Srinivas Reddy Thatiparthy
34d6bceec4 Fixed #29500 -- Fixed SQLite function crashes on null values.
Co-authored-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2018-09-10 15:08:55 -04:00
Nick Pope
76dfa834e7 Combined two identical SQLite functions. 2018-09-10 14:41:58 -04:00
Nick Pope
af7a758dcb Made some date parsing in SQLite functions more DRY. 2018-09-10 14:41:20 -04:00
Curtis Maloney
c49ea6f591 Refs #20910 -- Replaced snippet directive with code-block. 2018-09-10 13:00:34 -04:00
Adam Johnson
f8ff529ee3 Fixed #29729 -- Updated contributing tutorial to run tests on master. 2018-09-10 10:47:42 -04:00
Krzysztof Gogolewski
db926a0048 Fixed #29243 -- Improved efficiency of migration graph algorithm. 2018-09-10 09:57:31 -04:00
Vishvajit Pathak
a48bc0cec9 Fixed #29573 -- Added links in aggregation topic guide. 2018-09-10 09:53:19 -04:00
Michal Čihař
22e8ab0286 Fixed #29728 -- Prevented session resaving if CSRF cookie is unchanged. 2018-09-08 11:46:13 -04:00
Alexander Holmbäck
f315d0423a Fixed #29727 -- Made nonexistent joins in F() raise FieldError.
Regression in 2162f0983de0dfe2178531638ce7ea56f54dd4e7.
2018-09-08 09:40:33 -04:00
Alexander Holmbäck
aa16ec5474 Moved test for nonexistent field in F() to BasicExpressionsTest. 2018-09-08 09:21:57 -04:00
Nick Pope
570402ffd7 Refs #29713 -- Improved error message from translation system check. 2018-09-06 13:49:25 +02:00
flh
ccf870ebf5 Corrected forms.TimeField's default widget in docs. 2018-09-04 18:18:42 -05:00
David
5db8d617c0 Fixed #29713 -- Added check that LANGUAGE_CODE uses standard language id format. 2018-09-03 10:43:55 +02:00
James Aylett
ee52044a27 Refs #16470 -- Fixed typo in a FileResponse test. 2018-09-01 15:14:18 +02:00
Jon Dufresne
cc79c7ee63 Refs #27795 -- Removed force_text() in Model._get_FIELD_display(). 2018-08-31 10:59:57 -04:00
Josh Schneier
3509fb54bb Refs #29426 -- Fixed typo in docs/releases/2.2.txt. 2018-08-31 10:22:42 -04:00
Claude Paroz
b679b5b8f2 Updated language statistics script to not use the shell 2018-08-31 14:18:55 +02:00
Carlton Gibson
728ee98cd3 Added stub release notes for 2.1.2. 2018-08-31 11:01:29 +02:00
Carlton Gibson
fff25d6d0c Added release date for 2.1.1. 2018-08-31 10:12:51 +02:00
Tim Graham
fd8a7a5313 Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
* Refs #27991 -- Added testing for ModelAdmin.get_inline_instances() if the inline's has_add_permission() doesn't accept 'obj'.

* Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
2018-08-30 11:22:50 +02:00
Sergey Fedoseev
54b331451c Refs #29689 -- Moved FilePathField choices sorting outside the loop. 2018-08-29 06:19:32 -04:00
Mariusz Felisiak
39461a83c3
Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining querysets with extra() with union(), difference(), or intersection().
Regression in 0b66c3b442875627fa6daef4ac1e90900d74290b.
2018-08-29 10:00:15 +02:00
Tim Graham
166dec8406
Fixed #29718 -- Doc'd admin template collision backwards incompatibility in Django 2.1. 2018-08-28 14:40:08 -04:00
Claude Paroz
388165ade4 Fixed LayerMapping encoding in geodjango tutorial.
GDAL >= 1.9 automatically converts latin-1-encoded strings from Shapefiles to
UTF-8.
2018-08-28 18:59:34 +02:00
Jon Dufresne
ee184e13cb Refs #27795 -- Removed force_bytes() usage in django/utils/cache.py. 2018-08-28 08:03:23 -04:00
Jon Dufresne
5311a36da5 Refs #29654 -- Replaced three dots with ellipsis in DB creation output strings. 2018-08-28 07:56:34 -04:00
Jon Dufresne
90f3ef332b Refs #27795 -- Removed force_bytes()/smart_text() from model fields. 2018-08-28 07:56:18 -04:00
Matt Wiens
c122a7c53c Fixed typo in docs/ref/models/fields.txt. 2018-08-28 07:53:09 -04:00
Jon Dufresne
76df4f35c2 Corrected ModelFormMixin.form_invalid() signature in docs. 2018-08-27 20:52:33 -04:00
Nick Pope
ed4bfacb3c Fixed #29703 -- Deprecated QuerySetPaginator alias.
Unused since 4406d283e13819b04556df21044089b7d119edb0.
2018-08-27 16:23:43 -04:00
Tim Graham
44f98f7880 Replaced CVE/ticket roles with extlinks. 2018-08-27 10:29:13 -04:00
Tim Graham
7b7fb2eca5 Fixed #29709 -- Updated recommended SQL Server backend to django-pyodbc-azure. 2018-08-25 18:36:00 -04:00
Dan Palmer
e181666973 Fixed #29687 -- Allowed the test client to serialize list/tuple as JSON. 2018-08-25 10:57:05 -04:00
Benjamin Bach
08f788b169 Fixed #29226 -- Doc'd modify_settings() ordering considerations for Python < 3.6. 2018-08-25 10:08:42 -04:00
priyanshsaxena
83b04d4f88 Fixed #29048 -- Added **extra_context to database function as_vendor() methods. 2018-08-23 11:52:09 -04:00
Matthijs Kooijman
08f360355a Fixed #29704 -- Fixed manage.py test --testrunner if it isn't followed by an equals sign. 2018-08-23 10:12:03 -04:00
Matthijs Kooijman
69071e7f51 Added manage.py test --testrunner tests. 2018-08-23 10:12:03 -04:00
Alejandro Dubrovsky
108c04f572 Fixed #29570 -- Added check that MEDIA_URL isn't in STATIC_URL. 2018-08-23 10:10:39 -04:00
winkidney
c69d40f943 Fixed #29705 -- Fixed ImageField RuntimeError crash for WebP files. 2018-08-23 09:04:25 -04:00
Simon Willison
586a9dc429 Fixed #26352 -- Made system check allow ManyToManyField to target the same model if through_fields differs. 2018-08-22 12:07:29 -04:00
Tim Graham
f2d5dafec9 Removed invalid Meta.ordering in a test model.
It never worked and was never used.
2018-08-22 10:05:12 -04:00
Franck Michea
7def8bed58 Fixed #29698 -- Fixed Field._check_choices() crash on invalid choices. 2018-08-22 09:15:19 -04:00
Claude Paroz
50b8493581 Refs #29654 -- Replaced three dots with ellipsis character in output strings. 2018-08-22 09:13:58 -04:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
233c70f047 Fixed #29658 -- Registered model lookups in tests with a context manager. 2018-08-21 12:17:46 -04:00
Claude Paroz
201017df30 Fixed #29654 -- Made text truncation an ellipsis character instead of three dots.
Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
2018-08-21 17:46:45 +02:00
Rodrigo
939dcff24f Polished the admin overview docs. 2018-08-21 11:35:50 -04:00
Jon Dufresne
ef87b38ef7 Fixed #29696 -- Prevented BaseModelFormSet.initial_form_count()'s from treating data={} as unbound. 2018-08-21 10:02:03 -04:00
Tim Graham
cdc6da395a Fixed typo in docs/releases/2.0.5.txt. 2018-08-21 09:48:14 -04:00
Federico Bond
a0ca4b5694 Fixed #29689 -- Improved performance of FileSystemStorage.listdir() and FilePathField with os.scandir(). 2018-08-20 17:58:00 -04:00
Rodrigo
371ece2f06 Fixed #29695 -- Added system checks for admin's app dependencies and TEMPLATES setting. 2018-08-20 17:57:46 -04:00
Mariusz Felisiak
ac29fec111
Removed unused function argument from Window.as_sql().
Unused since its introduction in d549b8805053d4b064bf492ba90e90db5d7e2a6b.
2018-08-20 22:16:27 +02:00
Hasan Ramezani
49b679371f Fixed #29236 -- Fixed diffsettings crash if using settings.configure(). 2018-08-20 12:59:27 -04:00
Ming Qin
cfb4845f06 Fixed #29625 -- Made Model.refresh_from_db() clear prefetch related caches. 2018-08-20 12:01:42 -04:00
Tim Graham
d311124be5 Fixed #29682 -- Fixed admin change form crash if a view-only model's form has an extra field. 2018-08-20 11:14:20 -04:00
Taha Jahangir
0e7a9525ba Fixed #29690 -- Fixed aligned <ul> positioning for RTL languages in admin. 2018-08-20 10:20:30 -04:00
Jon Dufresne
dc0868d414 Removed redundant 'model' argument in admin checks. 2018-08-20 09:11:42 -04:00
Jon Dufresne
03a2c783e8 Fixed admin_checks tests to run in isolation. 2018-08-19 08:31:59 -07:00
Josh Schneier
3daac76cfb Simplified how createsuperuser tests generate passwords. 2018-08-18 16:26:13 -04:00
Tom Forbes
8c70ba92dd Refactored validators tests to use subtests. 2018-08-18 15:04:48 -04:00
Sigurd Ljødal
3e09b37f80 Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup. 2018-08-18 13:09:15 -04:00
mackong
c832885a3e Fixed #29426 -- Made UUID inputs in the admin match the width of a UUID. 2018-08-18 10:16:22 -04:00
Tom Forbes
b042ab8976 Fixed #29685 -- Added QuerySet.explain() to the database optimization docs. 2018-08-18 09:22:21 -04:00
Tim Graham
838d6dcb86 Refs #29426 -- Made UUIDField render values with dashes. 2018-08-18 08:20:21 -04:00
Alexander Todorov
53ebd4cb13 Fixed #29686 -- Made UserAdmin.user_change_password() pass user to has_change_permission(). 2018-08-17 17:43:00 -04:00
Kamil
3d4080f19c Fixed #29024 -- Made TestContextDecorator call disable() if setUp() raises an exception. 2018-08-17 16:30:27 -04:00
oliver
abd0ad7681 Fixed #29626, #29584 -- Added optimized versions of get_many() and delete_many() for the db cache backend. 2018-08-17 15:13:09 -04:00
Tom Forbes
c02d473781 Fixed #29612 -- Added GenericRelation prefetch_related() cache invalidation. 2018-08-17 14:58:45 -04:00
Jon Dufresne
bf17f5e884 Refs #29015 -- Added database name to PostgreSQL database name too long exception. 2018-08-17 12:43:56 -04:00
Jon Dufresne
09ee3b6fe3 Fixed #29663 -- Made admin change view redirect to changelist with view permission. 2018-08-17 11:13:06 -04:00
Jon Dufresne
57f16655cd Added ModelAdmin._response_post_save() to avoid code duplication. 2018-08-17 10:51:57 -04:00
Jeff
3fa3de5415 Fixed #29646 -- Doc'd the validators that each model and form field uses. 2018-08-16 17:03:28 -04:00
Nick Pope
b523d42561 Reorganized datetime db function tests. 2018-08-16 16:18:09 -04:00
Nick Pope
5c3db0ef6a Reorganized comparison db function tests. 2018-08-16 16:04:39 -04:00
Nick Pope
3288985822 Reorganized text db function tests. 2018-08-16 15:44:31 -04:00
Jon Dufresne
cd790ed1a6 Refs #8936 -- Added ModelAdmin.has_view_or_change_permission(). 2018-08-16 09:49:06 -04:00
Nick Pope
dd3feb0891 Reorganized window db function tests. 2018-08-16 09:32:42 -04:00
KUAN Hsuan-Tso
9ec1a85c77 Removed obsolete TODO in proxy_model_inheritance test. 2018-08-16 09:20:31 -04:00
oliver
3ca24fd1c0 Optimized some cache tests with set_many(). 2018-08-16 09:02:21 -04:00
Tim Graham
7f6b013bf6 Fixed #29677 -- Doc'd return value of StaticFilesStorage.post_process(). 2018-08-16 10:37:33 +02:00
Tom Forbes
a3df7574f9 Fixed #29644 -- Made SearchQuery.__str__() reflect negation and grouping. 2018-08-15 16:47:23 -04:00
Marnanel Thurman
7cc52250f0 Fixed #29662 -- Allowed test client to accept structured suffix JSON content types. 2018-08-15 10:27:45 -04:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
7eb556a6c2 Removed unused enumerate in django/db/models/sql/datastructures.py. 2018-08-13 18:41:24 -04:00
Jon Dufresne
f5e7506cff Refs #27804 -- Used subTest in AdminViewPermissionsTest. 2018-08-12 21:27:19 -04:00
Dragoon Aethis
d3449faaa9 Refs #29449 -- Removed release note for "Allowed using contrib.auth forms without installing contrib.auth."
The code was reverted in f3fa86a89b3b85242f49b2b9acf58b5ea35acc1f.
2018-08-11 21:48:49 -04:00
Ramiro Morales
b5c7cb4d33 Fixed #29653 -- Fixed missing related_query_name reverse accessor if GenericRelation is declared on an abstract base model.
Regression in 4ab027b94409e6415b774797bf9d3593da9d9ea8.

Thanks Lauri Kainulainen for the report.
2018-08-10 12:17:26 -04:00
Clément Mangin
64e1a271f5 Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.
2018-08-10 11:20:43 -04:00
Tim Graham
d0928d6454 Refs #29652 -- Fixed typo in docs/releases/2.1.txt. 2018-08-08 18:04:55 -04:00
Tim Graham
2fa36719a8 Fixed #29652 -- Doc'd removal of py-bcrypt compatibility. 2018-08-08 17:55:20 -04:00
Tim Graham
730173d1c5 Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message. 2018-08-08 06:24:52 -04:00
Mariusz Felisiak
9fee229874
Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and lists.
Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.
2018-08-08 08:51:20 +02:00
Josh Schneier
3767c7ff39 Fixed #29244 -- Prevented Paginator.count() from silencing TypeError and AttributeError. 2018-08-07 17:41:18 -04:00
Josh Schneier
f1bf069ec1 Refs #29244 -- Fixed django.utils.inspect.method_has_no_args() for bound methods. 2018-08-07 17:37:35 -04:00
Josh Schneier
756b859576 Renamed django.utils.inspect.func_has_no_args() to method_has_no_args(). 2018-08-07 17:37:35 -04:00
Raphael Michel
155b31d4ec Fixed #29648 -- Fixed crash when using subqueries inside datetime truncation functions. 2018-08-07 16:47:54 -04:00
Josh Schneier
53e8570522 Fixed typo in docs/ref/templates/api.txt. 2018-08-06 20:15:22 -04:00
Vlastimil Zíma
a9f5652113 Fixed #28529 -- Fixed VariableDoesNotExist warnings in admin templates. 2018-08-06 17:03:06 -04:00
Claude Paroz
93bd860710 Refs #29374 -- Moved misplaced line in date format docs table 2018-08-06 20:17:00 +02:00
Tim Graham
e9ea49d274 Consolidated docs about handling a ForeignKey in custom user model manager. 2018-08-06 12:25:59 -04:00
Hasan Ramezani
03e918d717 Added test for django.core.management.utils.get_random_secret_key(). 2018-08-05 16:06:31 -04:00
Josh Schneier
8b43e9b1af Fixed #29616 -- Fixed createsuperuser for user models that don't have a password field. 2018-08-05 14:26:03 -04:00
Tim Graham
89d4d41240 Fixed #28540 -- Doc'd a change to file upload permissions in Django 1.11.
Behavior changed in f734e2d4b2fc4391a4d097b80357724815c1d414
(refs #27334).
2018-08-04 10:39:22 -04:00
Carlton Gibson
ef70af77ec Refs #28540 -- Added FILE_UPLOAD_PERMISSIONS to deployment checklist. 2018-08-04 10:39:22 -04:00
Tim Graham
ec594942cd Removed unnecessary str() in mail tests.
Unnecessary since their introduction in
fa75b2cb512409116b6f1b5229d6f99074d8e452.
2018-08-04 10:15:51 -04:00
Josh Schneier
ec9d0123e0 Made createsuperuser code more DRY. 2018-08-04 09:38:01 -04:00
Josh Schneier
793e9bb35a Fixed #29628 -- Made createsuperuser validate password against username and required fields. 2018-08-04 08:44:25 -04:00
Tom
f1fbef6cd1 Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts. 2018-08-03 17:40:46 -04:00
Adam Johnson
45086c294d Clarified the values accepted by ModelAdmin.fields. 2018-08-03 16:12:26 -04:00
Calvin DeBoer
058d33f3ed Fixed #29198 -- Added migrate --plan option. 2018-08-03 15:22:42 -04:00
Tim Graham
1160a97596 Refs #28584 -- Documented removal of support for SQLite < 3.7.15. 2018-08-03 14:42:26 -04:00
Danilo Bargen
2e06ff8e14 Fixed #29633 -- Doc'd the geometry type for each model field. 2018-08-03 10:22:11 -04:00
Mariusz Felisiak
1a9cbf41a1
Fixed #29613 -- Fixed --keepdb on PostgreSQL if the database exists and the user can't create databases.
Regression in e776dd2db677d58dcb50aea20d3bb191537df25b.

Thanks Tim Graham for the review.
2018-08-03 10:31:55 +02:00
Tim Graham
d8e2be459f
Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values.
Regression in 7d96f0c49ab750799860e42716d7105e11de44de.
2018-08-02 21:56:26 -04:00
Adam Johnson
2e3ba9f592 Removed out of place sentence in QuerySet.count() docs. 2018-08-02 17:36:02 -04:00
Michael Sanders
271542dad1 Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.
2018-08-02 17:07:48 -04:00
Nick Pope
743d28f553 Refs #27869 -- Added PostgreSQL version check for GinIndex support. 2018-08-02 11:53:35 -04:00
Nick Pope
ff9543b351 Refs #25809, #28990 -- Added PostgreSQL version check for BrinIndex support. 2018-08-02 11:50:40 -04:00
Nick Pope
6b4d1ec8ff Fixed #29614 -- Added BTreeIndex to django.contrib.postres. 2018-08-02 11:42:57 -04:00
Nick Pope
d6381d3559 Fixed #28990 -- Added autosummarize parameter to BrinIndex. 2018-08-02 11:26:58 -04:00
Nick Pope
4c36e9e492 Fixed #28887 -- Added SpGistIndex to django.contrib.postgres. 2018-08-02 11:08:08 -04:00
Nick Pope
d526b07784 Fixed #26974 -- Added HashIndex to django.contrib.postgres.
Thanks Akshesh Doshi for the initial implementation.
2018-08-02 10:39:18 -04:00
Tim Graham
2092206bee
Refs #29600 -- Updated django.utils.datetime_safe now that Python 2 is unsupported. 2018-08-02 10:20:24 -04:00
Nick Pope
fa54ebc722 Simplified tests for PostgreSQL indexes.
- Added mixin to make tests more DRY.
- Removed redundant equality tests.
2018-08-02 10:07:10 -04:00
luz.paz
97e637a87f Fixed typos in comments and docs. 2018-08-01 16:09:22 -04:00
Tim Graham
4263cd0e09 Simplified comment in BooleanField.to_python(). 2018-08-01 11:52:02 -04:00
Tim Graham
25dd595742 Added stub release notes for 2.1.1. 2018-08-01 11:13:37 -04:00
Tim Graham
0006538e53 Added CVE-2018-14574 to the security release archive. 2018-08-01 10:51:24 -04:00
Andreas Hug
a656a68127 Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-08-01 09:28:42 -04:00
Tim Graham
7dbe7aa0b6 Added stub release notes for security releases. 2018-08-01 09:28:42 -04:00
Claude Paroz
287fef8693 Updated contrib translations from Transifex
Forwardport of cbf7e7dc52db2834e95817bbbfb56a693c83b84f from stable/2.1.x.
2018-08-01 09:24:06 -04:00
Claude Paroz
7b407c9e94 Updated core translations from Transifex
Forwardport of 734e2c65ae54552b61ad34105ba4debe936fe223 from stable/2.1.x.
2018-08-01 09:23:55 -04:00
Adam Johnson
49f97b645f Refs #24733 -- Documented arguments for custom error views. 2018-07-31 17:02:40 -04:00
Tim Graham
b4fa94aed8 Removed code terms from docs/spelling_wordlist. 2018-07-31 12:22:28 -04:00
Tim Graham
8edb27b6c6 Added words to docs/spelling_wordlist for Ubuntu 18.04. 2018-07-31 12:22:25 -04:00
Dražen Odobašić
9f3b9ffd51 Fixed #29617 -- Fixed Template crash if template_string is lazy.
Regression in 3a148f958dddd97c1379081118c30fbede6b6bc4.
2018-07-31 09:57:11 -04:00
Tom Forbes
4198445afc Refs #29548 -- Fixed failing window tests on MariaDB 10.3. 2018-07-30 19:54:56 -04:00
Demur Nodia
06a11ef6ec Fixed #26819 -- Fixed BaseModelFormSet.validate_unique() "unhashable type: list" crash. 2018-07-30 16:52:12 -04:00
Demur Nodia
c090ea97c1 Fixed nonexistent field reference in test model __str__() method. 2018-07-30 16:14:57 -04:00
Sławek Ehlert
c6238bf02b Fixed #29467 -- Made override_settings handle errors in setting_changed signal receivers. 2018-07-30 15:59:37 -04:00
Hasan Ramezani
cebbcaa1ba Moved yesno filter test to its file. 2018-07-27 17:15:00 -04:00
Melvyn Sopacua
e7a56eb4f0 Fixed #28659 -- Fixed LayerMapping crash with null geometry and unique. 2018-07-27 16:38:28 -04:00
Tim Graham
c72dde41e6 Fixed #29595 -- Allowed using timedelta in migrations questioner.
Refs #29600 -- Removed usage of django.utils.datetime_safe in migrations.
2018-07-27 11:53:49 -04:00
vinay karanam
3af695eda2 Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields. 2018-07-27 11:35:54 -04:00
Thomas Grainger
69eb70456b Fixed typo in ContentFile docstring. 2018-07-27 10:58:08 -04:00
Tim Graham
013d439ff0 Refs #29600 -- Added test for datetime_safe usage in localize_input(). 2018-07-26 16:51:50 -04:00
Tim Graham
76852c3989 Refs #29600 -- Added test for datetime_safe usage in SelectDateWidget.value_from_datadict(). 2018-07-26 16:51:40 -04:00
Tim Graham
2ac7cd52b4
Refs #29600 -- Removed datetime_safe usage in feedgenerator.
The only effect would be if items in Atom feeds had a published date
year of < 1000 (ensuring those years are padded with leading zeros).
2018-07-26 16:49:15 -04:00
Carlton Gibson
5180015051 Fixed #29593 -- Added QUERY_TERMS removal to 2.1 release notes.
Removed in 244cc401559e924355cf943b6b8e66ccf2f6da3a.
2018-07-26 10:42:33 -04:00
Carlton Gibson
a67ebcb1cb Refs #29593, #26891 -- Doc'd RegisterLookupMixin.get_lookups(). 2018-07-26 10:42:33 -04:00
Carlton Gibson
1c05fe65f2 Refs #13091 -- Added test for commit=False idiom with partial unique_together validation. 2018-07-25 18:39:35 -04:00
Andrew Brown
c0e3c65b9d Fixed #29563 -- Added result streaming for QuerySet.iterator() on SQLite. 2018-07-25 18:08:57 -04:00
Andrew Brown
55810d94d0 Refs #29563 -- Fixed SQLCompiler.execute_sql() to respect DatabaseFeatures.can_use_chunked_reads. 2018-07-25 18:08:57 -04:00
Tim Graham
4523beebb2 Corrected location of prenotfication email list. 2018-07-25 16:24:40 -04:00
Simon Charette
dc1dcad0f5 Refs #24424 -- Added regression tests for MTI-inheritance model removal.
The issue was fixed as a side effect of implementing RemoveField's reduction
of DeleteModel to a DeleteModel in ad82900ad94ed4bbad050b9993373dafbe66b610.
2018-07-25 12:07:41 -04:00
Mariusz Felisiak
ac25dd1f8d
Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField. 2018-07-25 08:00:11 +02:00
minusf
6429961418 Fixed typo in docs/topics/http/urls.txt. 2018-07-24 18:35:58 -04:00
Tim Graham
cef8f6a61b Fixed #29591 -- Fixed numbering words in docs/topics/db/examples/many_to_many.txt. 2018-07-24 16:02:35 -04:00
Claude Paroz
2a74ceb5f3 Fixed #24336 -- Made django.conf.urls.static() ignore all absolute URLs 2018-07-24 09:32:33 +02:00
Tim Bell
cdcf4164be Fixed #29528 -- Made URLValidator reject invalid characters in the username and password. 2018-07-23 10:30:01 -04:00
Mariusz Felisiak
5a017eef4c
Fixed test_migrate_syncdb_deferred_sql_executed_with_schemaeditor() on Oracle. 2018-07-22 08:47:55 +02:00
Simon Charette
1a28dc3887 Fixed #29582 -- Fixed a crash when using SearchVector with non text-fields.
The PostgreSQL concat() function handles nulls and non-text values better than
the || operator.
2018-07-21 21:32:21 -04:00
Thng Kai Yuan
71a739f3d7 Fixed #29576 -- Corrected the test client's HTTP_COOKIE header. 2018-07-21 18:14:39 -04:00
Tim Graham
8d4ab0c41f
Added tests for migrate logging and error messages. 2018-07-20 20:37:52 -04:00
Tim Graham
1564195010
Improved inspectdb readability with namedtuple attributes. 2018-07-20 19:58:16 -04:00
Tim Graham
45808895c0 Refs #23919 -- Removed obsolete u-prefix stripping in inspectdb. 2018-07-20 18:23:30 -04:00
Claude Paroz
ba83378a77 Fixed #29523 -- Removed jQuery usage in DateTimeShortcuts.js & collapse.js. 2018-07-20 12:27:53 -04:00
Claude Paroz
9bcbda43dc Added test for DateTimeShortcuts.js time zone warning. 2018-07-20 11:13:45 -04:00
Claude Paroz
b004bd62e8 Fixed #29412 -- Stopped marking slugify() result as HTML safe. 2018-07-20 10:44:30 -04:00
François Dupayrat
861638a307 Fixed #29568 -- Prevented unnecessary UPDATE queries creating child models. 2018-07-20 08:59:15 -04:00
Claude Paroz
65503ca097 Fixed #29040 -- Made test database creation messages use a consistent output stream. 2018-07-19 18:05:33 -04:00
Simon Charette
1e9b02a4c2 Refs #28862 -- Removed the FieldRelatedOptionOperation.reduce() optimization.
It isn't required anymore since AlterTogetherOperations can be reduced into
CreateModels which can reduce DeleteField operations.
2018-07-19 17:42:18 -04:00
Simon Charette
fc16015de4 Fixed #26906 -- Reduced alter together operations code duplication.
Thanks Akshesh Doshi for the initial patch.
2018-07-19 17:06:01 -04:00
Simon Charette
8e3f22f251 Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.
This should alleviate the side effects of disabling the AlterFooOperation
reduction with RemoveField to fix refs #28862 during migration squashing
because CreateModel can perform a reduction with RemoveField.

Thanks Nick Pope for the review.
2018-07-19 17:06:01 -04:00
Simon Charette
ed7898e1b5 Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.
AlterFooTogether operations cannot be swapped with RemoveField operations on
the same model as they could be removing the the same field as well.

Since AlterFooTogether operations don't track what their previous value was,
it's impossible to determine whether or not the optimization is safe so the
only way to proceed is to disable the optimization.

Thanks Ramiro Morales for the in-depth analysis of the issue.

Refs #24828
2018-07-19 17:06:01 -04:00
Hasan Ramezani
55b6f7af0c Completed test coverage for django.urls.utils.get_callable(). 2018-07-19 16:48:23 -04:00
Claude Paroz
0adfba968e Fixed #29578 -- Made numberformat.format() honor forced l10n usage.
Thanks Sassan Haradji for the report.
2018-07-19 16:44:40 -04:00
Tim Graham
6b6bdfe25c Fixed IntegrityError in docs/topics/db/examples/many_to_one.txt. 2018-07-19 15:47:20 -04:00
Claude Paroz
1ed8527e3d Fixed utils.html.escape()'s docs with regards to string coercion.
As of 301de774c21d055e9e5a7073e5bffdb52bc71079.
2018-07-18 14:15:42 -04:00
Mariusz Felisiak
a73cf8110e Removed duplicate words in various comments. 2018-07-18 11:54:15 -04:00
Claude Paroz
6e78e10549 Added doc links for django.utils.html.escape(). 2018-07-18 11:32:27 -04:00
Maxime Lorant
31407fa3b3 Removed duplicate words in docs.
.
2018-07-18 11:24:06 -04:00
Viktor Danyliuk
6ae7aaa7d6 Fixed #29413 -- Prevented evaluation of QuerySet.get_or_create()/update_or_create() defaults unless needed.
Removed the logic added in 81e05a418dc6f347d9627373288e773c477a9fe0 which
was obsolete since dbffffa7dc95fc62cbecfd00284bde62ee796f48.
2018-07-16 22:08:43 -04:00
Josh Schneier
4d48ddd8f9 Fixed #28917 -- Prevented Paginator's unordered warning on EmptyQuerySet.
Thanks carltongibson for the idea and weijunji for the initial patch.
2018-07-16 14:28:47 -04:00
François Freitag
93e721a0b8 Fixed django/http/request.py docstring typo. 2018-07-16 10:48:20 +02:00
Mariusz Felisiak
dd3b470719
Fixed #29542 -- Fixed invalid SQL if a Subquery from the HAVING clause is used in the GROUP BY clause.
Thanks Tim Graham for the review.
2018-07-14 12:03:22 +02:00
Peter Inglesby
312eb5cb11 Fixed #26291 -- Allowed loaddata to handle forward references in natural_key fixtures. 2018-07-13 17:54:47 -04:00
Daniel Wiesmann
8f75d21a2e Fixed #28566 -- Added path matching to collectstatic ignore patterns. 2018-07-13 16:48:19 -04:00
Claude Paroz
c28bf990d7 Refs #29548 -- Fixed GIS tests on MariaDB 2018-07-13 18:27:30 +02:00
Oliver Sauder
a07a49ee32 Fixed #29559 -- Fixed TransactionTestCase.reset_sequences for auto-created m2m through models. 2018-07-11 17:20:29 -04:00
Tim Graham
4d98b9d729 Refs #9804 -- Fixed test for sequence reset of M2M with inherited through model. 2018-07-11 16:45:29 -04:00
Simon Charette
8a03445885 Removed in_between from Operation.reduce()'s signature.
It isn't used since FieldOperation.references_model() takes into
account models referenced by the field it's operating on.
2018-07-11 10:49:50 -04:00
Simon Charette
37cafbfb79 Fixed #27845 -- Allowed both right and left optimizations of operations.
Thanks Raphael Gaschignard for the suggestion.
2018-07-11 10:49:50 -04:00
Simon Charette
0025dd5eb4 Allowed RemoveField operations to be optimized through. 2018-07-11 10:49:50 -04:00
Simon Charette
50b8c98a0f Relaxed FieldOperation.references_field remote field checking. 2018-07-11 10:49:50 -04:00
Simon Charette
013bcf57d5 Introduced ModelTuple to remove migrations boilerplate. 2018-07-11 10:49:50 -04:00
Simon Charette
ad82900ad9 Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields. 2018-07-11 10:49:50 -04:00
Simon Charette
a97845a823 Fixed #27768 -- Allowed migration optimization of CreateModel order.
Thanks Ed Morley from Mozilla for the tests.
2018-07-11 10:49:50 -04:00
Simon Charette
d3a935f01f Refs #27768 -- Reversed order of optimized and in-between operations.
Operations can only be optimized through if they don't reference any of the
state the operation they are compared against defines or alters, so it's
safe to reverse the order.
2018-07-11 10:49:50 -04:00
Sergey Fedoseev
529c3f264d Simplified BaseContext.__iter__(). 2018-07-11 09:12:50 -04:00
Jon Dufresne
e26b780a24 Silenced warnings in deprecation tests. 2018-07-11 09:10:31 -04:00
Simon Charette
e4c0878b30 Refs #22875 -- Fixed an optimizer test to use a valid scenario.
An explicit intermediary many-to-many relationship must declare forward and
reverse foreign keys. The original issue was in the autodetector as these
operations shouldn't have been generated in this order in the first place
which is tested by AutodetectorTests.test_create_with_through_model.
2018-07-10 16:47:57 -04:00
Jonah Bishop
263e039411 Fixed #29045 -- Fixed admin CSS so that select multiple elements honor the HTML size attribute. 2018-07-10 16:22:09 -04:00
Ian Foote
952f05a6db Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
Sergey Fedoseev
6fbfb5cb96 Removed Oracle's fetchmany() and fetchall() wrappers.
Follow up to e06cab260049bb58eafdc4f60ac50a5f3759c38c.
2018-07-10 15:03:09 -04:00
Jon Dufresne
08ebed5e79 Fixed #29556 -- Made 'remove_stale_contenttypes --noinput' delete content types. 2018-07-10 10:14:34 -04:00
Tim Graham
178624855a Simplified a couple test docstrings. 2018-07-10 09:43:12 -04:00
Mads Jensen
8e4a75e5d5 Deleted unused variable in SQLCompiler.get_related_selections().
Unused since 01d440fa1e6b5c62acfa8b3fde43dfa1505f93c6.
2018-07-10 09:15:19 -04:00
Sergey Fedoseev
bcdd9149d4 Simplified HttpRequest.__iter__(). 2018-07-10 09:13:36 -04:00
Jon Dufresne
e7d7d47b93 Fixed ResourceWarning from unclosed test files.
When running Django tests with Python warnings enabled.
2018-07-10 12:26:19 +02:00
Sergey Fedoseev
338f741c5e Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset. 2018-07-09 16:33:36 -04:00
Tim Graham
8b1d361f28
Fixed #29549 -- Doc'd that Field.choices are enforced by model validation. 2018-07-09 15:06:36 -04:00
Tom Forbes
45c035c823 Refs #29548 -- Fixed non-GIS test failures on MariaDB. 2018-07-09 14:59:42 -04:00
Sergey Fedoseev
7d6fe18dde Simplified force_bytes(). 2018-07-09 12:25:55 -04:00
Sergey Fedoseev
09199734d3 Refs #29478 -- Doc'd how to use cached_property with a mangled name. 2018-07-09 12:13:31 -04:00
Simon Charette
37835883ad Fixed #29550 -- Eased overriding pickle.dumps() protocol in cache backends and session serializer. 2018-07-09 11:46:55 -04:00
Simon Charette
2d75509bcb Refs #27480 -- Moved FileBasedCache content writing logic to a method. 2018-07-09 11:46:03 -04:00
Tim Graham
5bea8d256d
Fixed #29553 -- Made test client set Content-Length header to a string rather than integer. 2018-07-09 11:44:49 -04:00
Sergey Fedoseev
857f860d56 Removed unneded str() calls prior to mark_safe(); simplified mark_safe(). 2018-07-09 11:25:11 -04:00
Sergey Fedoseev
c9088cfc7b Fixed some assertTrue() that were intended to be assertEqual(). 2018-07-09 11:13:40 -04:00
Sergey Fedoseev
3411c5551a Refs #27472 -- Fixed crash during pickling of empty GEOS point. 2018-07-09 11:02:12 -04:00
Sergey Fedoseev
bdcde79c5f Made test for memoryview handling in force_bytes() more strict. 2018-07-09 11:01:42 -04:00
Christian Barcenas
c9c6c16650 Fixed #20584 -- Fixed memcached's get_many() with single-use iterators.
Thanks Guyon Morée for the report.
2018-07-09 10:24:41 -04:00
Josh Schneier
38e904e265 Fixed word choice in ContentFile example. 2018-07-07 17:20:02 -04:00
Harry Moreno
6e55cf0de6 Removed usage of 'object' variable name in docs. 2018-07-07 16:55:18 -04:00
Mushtaq Ali
66b6b68923 Fixed #29543 -- Fixed CPointerBase.__del__() ImportError crash. 2018-07-06 11:26:14 -04:00
Tom
f98e1c01ea Refs #29451 -- Fixed test_isvalid_lookup on MySQL 8+. 2018-07-06 08:59:27 -04:00
Sergey Fedoseev
82b9708c6f Corrected cached_property() signature in docs. 2018-07-06 08:56:13 -04:00
Michal Čihař
39e287d8bf Fixed #29544 -- Fixed regex lookup on MariaDB.
Regression in 42490768441701bc02255b22df8e6894cbe487c7.
2018-07-05 12:11:49 -04:00
Mads Jensen
f1fc7d6b78 Refs #26608 -- Removed unneeded name attribute in window functions. 2018-07-05 11:38:07 -04:00
Mads Jensen
ab251fdad2 Refs #26608 -- Removed incorrect sentence in Expression.contains_over_clause docs. 2018-07-05 11:12:08 -04:00
Junyi Jiao
a0b19a0f5b Refs #28643 -- Added math database functions.
Thanks Nick Pope for much review.
2018-07-05 11:02:12 -04:00
Stephen James
48aeca44d8 Fixed typo in docs/ref/templates/builtins.txt. 2018-07-04 13:15:35 -04:00
Mariusz Felisiak
d7d32964ef Fixed #29541 -- Fixed Cursor.execute() crash when setinputsizes() is called without arguments wit cx_Oracle 6.4. 2018-07-04 12:57:29 -04:00
Greg Kaleka
17403f0a9b Doc'd that template variables & attributes may not start with an underscore. 2018-07-03 20:16:52 -04:00
Tim Graham
2c3f198946 Added stub release notes for 2.0.8. 2018-07-03 20:05:53 -04:00
Tim Graham
f3fa86a89b Fixed #29449 -- Reverted "Fixed #28757 -- Allowed using contrib.auth forms without installing contrib.auth."
This reverts commit 3333d935d2914cd80cf31f4803821ad5c0e2a51d due to
a crash if USERNAME_FIELD isn't a CharField.
2018-07-02 18:39:26 -04:00
Claude Paroz
eac9ab7ebb Removed parser.add_arguments() arguments that match the defaults. 2018-07-02 17:54:57 -04:00
Tim Graham
4009e1f2ab
Removed unused code in django.db.backends.utils.format_number(). 2018-07-02 16:10:35 -04:00
Mariusz Felisiak
0e64e046a4
Fixed #29530 -- Fixed aliases ordering when chaining annotate() and filter(). 2018-07-02 21:09:29 +02:00
Sergey Fedoseev
b49b59b029 Simplified SQLite's Decimal adapter. 2018-07-02 13:36:40 -04:00
Carlton Gibson
65df375c40 Added release date for 1.11.14. 2018-07-02 10:12:20 +02:00
sedrubal
f903669dfd Fixed argument name for validators inheriting from BaseValidator. 2018-06-30 18:58:35 -04:00
Colm O'Connor
c530428d36 Fixed #21333 -- Doc'd the & and | queryset operators. 2018-06-29 20:39:18 -04:00
James Bennett
48b327aef1 Fixed #29261 -- Doc'd the reason for LICENSE.python. 2018-06-29 20:00:58 -04:00
Ian Foote
38cada7c94 Fixed #28077 -- Added support for PostgreSQL opclasses in Index.
Thanks Vinay Karanam for the initial patch.
2018-06-29 17:00:28 -04:00
Jon Prindiville
b4cba4ed62 Fixed #28144 -- Added FileSystemStorage.OS_OPEN_FLAGS to allow customization. 2018-06-29 15:51:59 -04:00
Claude Paroz
a5f139236f Fixed #29536 -- Fixed SelectFilter2.js resizing to make boxes have equal height.
Thanks Tim Graham for the review.
2018-06-29 17:21:27 +02:00
Thomas Grainger
4fba321a45 Fixed #29480 -- Made MySQL backend retrieve constraint columns in their defined order. 2018-06-29 10:43:53 -04:00
Przemysław Suliga
d22b90b4ea Fixed #29525 -- Allowed is_safe_url()'s allowed_hosts arg to be a string. 2018-06-29 10:17:52 -04:00
José L. Patiño
b5dd6ef3d5 Fixed #29535 -- Updated email.MIME* references for Python 3. 2018-06-29 08:06:37 -04:00
Floris den Hengst
96199e562d Fixed #26067 -- Added ordering support to ArrayAgg and StringAgg. 2018-06-28 20:29:33 -04:00
Mattia Cattarinussi
2a0116266c Refs #29513 -- Linked the testing docs from the multi-db topic guide. 2018-06-28 20:29:07 -04:00
Jeffrey Yancey
2d6776ffe0 Fixed #29458 -- Doc'd how related_query_name affects Model._meta.get_field(). 2018-06-28 19:35:01 -04:00
Carlton Gibson
f4ef71c689 Refs #29514 -- Added test for get_default_timezone()/timezone.utc equality. 2018-06-28 11:14:26 -04:00
Tim Graham
2ec151e35d Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of pytz.utc for better performance."
This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a
regression.
2018-06-28 11:14:26 -04:00
Tim Graham
8c4b94d32d Forwardported 2.0.7 release note. 2018-06-28 11:07:37 -04:00
Asif Saifuddin Auvi
2f7cd7f8ec Refs #28814 -- Documented Python 3.7 compatibility. 2018-06-28 11:02:29 -04:00
Tim Graham
fd06488fe3
Fixed links for i18n context processor docs. 2018-06-28 10:25:46 -04:00
Tim Graham
99157064a0 Fixed location of a few doc labels. 2018-06-28 08:58:16 -04:00
Tim Graham
9294110a57 Fixed #29520 -- Fixed test client crash when posting bytes.
Regression in b8a41a2872624a6d9e61308932dd81d001e31eb9.
2018-06-27 14:50:03 -04:00
Tim Graham
dd367e0dae
Refs #12663 -- Removed Meta API upgrade guide. 2018-06-27 14:02:46 -04:00
Chris Jerdonek
f434f5b84f Refs #29253 -- Fixed method_decorator() crash if decorator sets a new attribute.
Regression in fdc936c9130cf4fb5d59869674b9a31cc79a7999.
2018-06-27 11:46:07 -04:00
Timothy Allen
f52b026168 Refs #28457 -- Tweaked colors/layout of the congrats page for readability. 2018-06-27 10:47:59 -04:00
Tim Graham
b9cf764be6 Fixed #29517 -- Added support for SQLite column check constraints on positive integer fields. 2018-06-25 14:01:04 -04:00
Alexandr Tatarinov
7410618528 Fixed #29447 -- Made RelatedManager.set() pass bulk argument to clear(). 2018-06-25 13:04:46 -04:00
oliver
6b3e17bab6 Fixed #29518 -- Added validation for sqlmigrate's app_label argument. 2018-06-25 10:43:12 -04:00
Tim Graham
e7185a6514 Refs #29516 -- Reverted inadvertent change in Model.__init__(). 2018-06-25 09:39:16 -04:00
Federico Bond
4c36414323 Fixed #29517 -- Rephrased error message when passing incorrect kwarg to model constructor 2018-06-25 09:30:58 +02:00
Tim Graham
02cd16a7a0 Refs #17419 -- Removed IE8 support in json_script example. 2018-06-22 10:19:50 -04:00
Sergey Fedoseev
9af83a62e7 Added description, example, and SQL equivalents for equals and same_as GIS lookups. 2018-06-22 09:54:41 -04:00
Tim Graham
7cdeb23ae7 Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header. 2018-06-22 09:15:29 +02:00
Adam Johnson
ae38777698 Updated a test example to use snake case. 2018-06-21 17:36:48 -04:00
Paulo
fa679db1ff Refs #18620 -- Refactored ContentTypes view tests to group related field test cases. 2018-06-21 12:31:04 -04:00
Paulo
d14850e525 Fixed #18620 -- Made ContentTypes shortcut view prefer current site if available.
Thanks Mike Tigas (mtigas) for the initial patch.
2018-06-21 12:31:04 -04:00
Paulo
efbcd60a22 Added test for contenttype redirect with m2m objects.
Thanks carltongibson for the test logic.
2018-06-21 12:31:00 -04:00
Tim Graham
b49ed4be47 Corrected location of some contenttypes_tests. 2018-06-21 12:26:28 -04:00
Tim Graham
238ed313c5 Removed views.i18n.null_javascript_catalog().
Unused since de40cfbe74642df1e94c131e1adaa3363173c0cf.
2018-06-21 11:06:14 -04:00
Sergey Fedoseev
a799dc51b9 Fixed #29509 -- Added SpatiaLite support for covers and coveredby lookups. 2018-06-21 09:25:31 -04:00
Sergey Fedoseev
12018cef83 Refs #28841 -- Added ForcePolygonCW to GIS database functions table. 2018-06-21 08:54:13 -04:00
Claude Paroz
fc26615164 Refs #29506 -- Added validation for squashmigrations' app_label option. 2018-06-20 15:46:43 -04:00
Claude Paroz
c723a1ff8e Fixed #29506 -- Added validation for migrate's app_label option.
Thanks MyungSeKyo for the report and the initial patch.
2018-06-20 15:42:40 -04:00
Claude Paroz
c3c7d15c34 Refs #29469 -- Reused get_app_config() error message in makemigrations error. 2018-06-20 15:41:51 -04:00
Claude Paroz
abbc9cd71c Moved makemigrations app_label validation tests. 2018-06-20 15:33:23 -04:00
Tim Graham
5d98d53fab Refs #27398 -- Simplified some tests with assertRedirects(). 2018-06-20 14:08:56 -04:00
Jan Pieter Waagmeester
24959e48d9 Fixed #27398 -- Added an assertion to compare URLs, ignoring the order of their query strings. 2018-06-20 13:26:12 -04:00
Tom
4249076844 Refs #29451 -- Fixed regex/iregex lookups on MySQL 8. 2018-06-20 10:57:28 -04:00
Nick Pope
b0fbfae093 Fixed #29503 -- Made __in lookup keep order of values in query.
Regression in 86eccdc8b67728d84440a46e5bf62c78f2eddf6d.
2018-06-20 09:29:06 -04:00
Sergey Fedoseev
d21d1f9e05 Set max_line_length for docs in .editorconfig. 2018-06-20 09:24:58 -04:00
Sergey Fedoseev
fa453b03a6 Fixed #29507 -- Added Oracle support for Envelope GIS function. 2018-06-20 16:48:57 +05:00
Sergey Fedoseev
d8d21d3891 Made test for GIS Envelope function more strict. 2018-06-20 16:48:50 +05:00
Damien
7409d21a5e Clarified sentence about removal of inline flag support in url(). 2018-06-19 08:58:33 -04:00
Carlton Gibson
5b73317181 Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields. 2018-06-18 15:36:20 -04:00
Carlton Gibson
958c7b301e Fixed #29419 -- Allowed permissioning of admin actions. 2018-06-18 15:07:29 -04:00
Mariusz Felisiak
6dd4edb1b4
Fixed #29496 -- Fixed crash on Oracle when converting a non-unique field to primary key.
Thanks Tim Graham for the review.
2018-06-17 08:51:02 +02:00
humbertotm
e95008f241 Fixed #29152 -- Allowed passing kwargs to ArgumentParser initialization in management commands. 2018-06-16 15:54:59 -04:00
Christian Ledermann
11bfe3a83d Refs #29493 -- Doc'd that the QuerySet in lookup accepts a string. 2018-06-16 15:53:54 -04:00
oliver
78972af367 Fixed #29469 -- Added a helpful makemigrations error if app_label contains dots. 2018-06-16 15:18:57 -04:00
Claude Paroz
998d774195 Fixed #29492 -- Improved compilemessages speed 2018-06-16 11:52:02 +02:00
Paulo
553617e613 Fixed #29487 -- Accounted for object level permissions when calculating change view's read-only fields.
Thanks Matthew Frazier for the report and fix.
2018-06-15 21:54:22 -04:00
Mariusz Felisiak
4fb7bd834e Added backticks to code literals in docs/ref/databases.txt. 2018-06-15 21:31:55 -04:00
Tim Graham
63f90f55f3 Fixed #29498 -- Fixed a missing pyc test file in source distribution. 2018-06-15 14:18:08 -04:00
Jeff
fcc4e251db Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when run after RenameField.
Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.
2018-06-15 11:51:09 -04:00
Henk Kahlfuß
3eb9127678 Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use has_delete_permission() for permissions checking. 2018-06-15 10:31:08 -04:00
Tim Graham
ec2c9c3531 Refs #29428 -- Fixed admin check crash when using a query expression in ModelAdmin.ordering. 2018-06-14 21:04:43 -04:00
Tim Graham
0d8e3e608e Fixed #29428 -- Fixed admin changelist crash when using a query expression without asc()/desc() in the ordering. 2018-06-14 14:22:04 -04:00
Claude Paroz
a77f21880d Fixed #24384 -- Allowed compilemessages to continue running after nonfatal errors.
Thanks Aymeric Augustin for the report and Carlton Gibson and Tim Graham for
the reviews.
2018-06-13 21:09:02 +02:00
Carlton Gibson
b30f9b131c Refs #29419, #8936 -- Removed change permission requirement for admin actions.
Partially reverted 825f0beda804e48e9197fcf3b0d909f9f548aa47.
2018-06-13 14:49:28 -04:00
Brylie Christopher Oxley
ae26e0ad2c Updated GIS install instructions to use placeholders for GIS library versions. 2018-06-12 15:22:05 -04:00
Mads Jensen
4167959105 Added tests for incorrect content type and size in MultiPartParser. 2018-06-12 14:42:20 -04:00
Tim Graham
9e4f26bb40
Fixed #29483 -- Confirmed support for GDAL 2.3. 2018-06-12 13:34:58 -04:00
Jon Dufresne
8dcd43ce06 Restored django.test.utils.patch_logger() for backwards compatibility.
Added back after 607970f31cc07c317f2ebb684c8f3ccc36a95b3e.
2018-06-12 11:33:16 -04:00
Bartosz Grabski
2bc014750a Fixed #29452 -- Fixed makemessages setting charset of .pot files. 2018-06-11 21:34:13 -04:00
Arthur Silva
bc1435551c Fixed #29464 -- Silenced post-process messages in collectstatic's default verbosity. 2018-06-11 20:21:58 -04:00
Tim Graham
860903b261
Dropped support for GDAL 1.9 and 1.10. 2018-06-11 08:33:09 -04:00
Claude Paroz
e8531cc89c Prevented unexpected link in settings docs 2018-06-10 15:11:39 +02:00
Tim Graham
7a266e25be Fixed 'invalid escape sequence' warning in GEOSGeometryBase.from_ewkt(). 2018-06-09 09:27:33 +02:00
Claude Paroz
f3836144db Fixed #29484 -- Removed the need to specify SPATIALITE_LIBRARY_PATH with Spatialite 4.2+.
Thanks Tim Graham for the review.
2018-06-09 09:24:20 +02:00
Claude Paroz
86988dd890 Refs #29483 -- Relaxed WGS 84 check regex
With GDAL 2.3, the exact string changed again.
2018-06-09 09:19:08 +02:00
Jeremy Lainé
7417929618 Fixed #29440 -- Doc'd where the bulk argument applies in RelatedManager. 2018-06-08 14:36:17 -04:00
Claude Paroz
56611a96df Refactored naturaltime to use a class-based formatter 2018-06-08 18:00:17 +02:00
Mariusz Felisiak
e0d0fc0b14
Fixed typo in docs/releases/2.0.7.txt. 2018-06-08 12:05:22 +02:00
Carlton Gibson
acae120680 Added stub release notes for 2.0.6. 2018-06-08 08:40:04 +02:00
Tim Graham
236bcfea42 Fixed #29474 -- Simplified BaseInlineFormset.save_new(). 2018-06-07 21:14:19 -04:00
Hasan Ramezani
6df3d36801 Added a missing test for createsuperuser management command. 2018-06-07 19:49:25 -04:00
Josh Schneier
98e8c0293b Removed unused HttpRequest._post_parse_error attribute.
Unused since 8f8c54f70bfa3aa8e311514297f1eeded2c32593.
2018-06-07 18:51:33 -04:00
Claude Paroz
ce3351b950 Fixed #29301 -- Added custom help formatter to BaseCommand class
This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610.
Thanks Adam Johnson and Carlton Gibson for the reviews.
2018-06-06 19:16:10 +02:00
Tim Graham
e9bd1a3e12 Refs #28462 -- Fixed 'invalid escape sequence' warning on Python 3.6+. 2018-06-06 11:40:24 -04:00
Tim Graham
13fe5a87f9 Fixed MySQL QuerySet.explain() test when running tests in reverse. 2018-06-06 11:31:06 -04:00
Carlton Gibson
c4f099de1d
Refs #29451 -- Used quote_name for column names in tests.
Regression in a253a580e6f20fb7087490225538422eb6cab0bb
2018-06-06 16:13:25 +02:00
Michael Kiros
b37bac39b3 Fixed typo in docs/topics/auth/customizing.txt. 2018-06-05 21:28:26 -04:00
Tom Forbes
a253a580e6 Refs #29451 -- Quoted MySQL column names in tests. 2018-06-05 12:13:29 +02:00
Claude Paroz
1fac974067 Refs #29353 -- Removed duplicated logic in StaticFilesHandler.get_response().
Thanks Sergey Fursov for spotting the issue.
2018-06-05 11:58:38 +02:00
Brenton Cleeland
3cf45af363 Fixed #29374 -- Ordered date filter's format strings by category. 2018-06-04 09:37:42 -04:00
Claude Paroz
bec651a427 Fixed #10827 -- Ensured ContentTypes are created before permission creation. 2018-06-03 22:19:04 -04:00
humbertotm
747ff7a30b Fixed #29385 -- Made admindocs ModelDetailView show model properties.
Original patch by bkaluza. Tests and docs by humbertotm.
2018-06-03 21:00:28 -04:00
Subhav Gautam
085ebc5f1a Fixed #29430 -- Clarified send_mail()'s fail_silently docs. 2018-06-02 10:50:15 -04:00
Tim Graham
666be7b994 Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite. 2018-06-01 22:55:22 -04:00
Tim Graham
55f4eee75d
Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2. 2018-06-01 22:31:46 -04:00
Adam Donaghy
b18650a263 Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36.
2018-06-01 10:41:05 -04:00
Carlton Gibson
e1ebd22558 Added release date for 2.0.6 release. 2018-06-01 12:16:17 +02:00
Dr. Shubham Dipt
44441d673b Corrected typo in outputting-csv.txt. 2018-06-01 12:07:55 +02:00
Tim Graham
f185d929fa
Fixed #29460 -- Added support for GEOS 3.6. 2018-05-31 11:35:59 -04:00
Mariusz Felisiak
d0ad03cded Refs #29416 -- Fixed GeoExpressionsTests.test_multiple_annotation() on MySQL 5.7+.
Failure introduced in b6e48f514ebe4e31b76e1750e043d4f296e645dc.
2018-05-31 10:38:42 -04:00
Tim Graham
8a6fcfdc77 Added stub release notes for 1.11.14. 2018-05-31 10:15:39 -04:00
Sara Heins
5008d59a2a Fixed #28892 -- Allowed admin navbar height to expand if needed. 2018-05-29 21:52:51 -04:00
Tim Graham
c03e41712b
Refs #28748 -- Reallowed lazy model field choices.
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986.
2018-05-29 21:43:38 -04:00
Tim Graham
3dffcb5579
Relaxed a GDAL raster test.
The exact metadata depends on the GDAL version.
2018-05-29 21:39:31 -04:00
Dohyeon Kim
f1f4aeb22e Fixed #28044 -- Unified the logic for createsuperuser's interactive and --noinput modes. 2018-05-29 08:41:32 -04:00
Wang Dongxiao
0914a2003b Added 'caches' to django.core.cache.__all__. 2018-05-28 09:14:46 -04:00
Paulo
6104875a2c Fixed #29230 -- Fixed nested prefetches that clash with descriptors. 2018-05-27 21:45:51 -04:00
Hasan Ramezani
e0ff88be4f Added test for createsuperuser's handling of KeyboardInterrupt. 2018-05-27 19:24:07 -04:00
Mariusz Felisiak
4ab1f559e8 Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation.
Regression in 1d070d027c218285b66c0bde8079034b33a87f11.
2018-05-27 18:25:19 -04:00
Osaetin Daniel
cd242d185b Fixed docs typo in HttpResponse.set_signed_cookie() signature. 2018-05-27 16:50:30 -04:00
Daniel Hepper
4e016d1372 Removed obsolete BaseHandler attributes.
Unused since d334f46b7a080fd3eb720141c19b37b10704a352.
2018-05-27 11:21:27 -04:00
Daniel Hepper
a6fb5b1fe0 Remove documenation for non-existent middleware (#9998)
The docs contained a reference to the class
django.middleware.exception.ExceptionMiddleware. This class was introduced in
05c888ffb843. It was removed in 7d1b69dbe7, but the documentation remained.
2018-05-27 16:08:50 +02:00
Tim Graham
5cc81cd9eb Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is accessed and not set."
This reverts commit b3cffde5559c4fa97625512d7ec41a674be26076 due to
a regression and performance concerns.
2018-05-26 21:06:58 -04:00
ryabtsev
b4fd9b5ad4 Fixed #29432 -- Allowed passing an integer to the slice template filter. 2018-05-26 20:56:51 -04:00
Xaroth Brook
39283c8edb Fixed #29415 -- Fixed detection of custom URL converters in included patterns. 2018-05-26 20:13:48 -04:00
Markus Holtermann
e01fa015c0 Refs #27098 -- Removed unused introspection queries.
Unused since 578711c31052625cc87319cf1c46662c14d75ce9.

Thanks Ian Foote for finding this.
2018-05-26 16:29:02 +02:00
Ian Foote
257fb0a7d0 Fix typo in 2.0 release notes (#9986) 2018-05-26 15:27:58 +02:00
Srinivas Reddy Thatiparthy
4c35a173e8 Fixed #29423 -- Documented Field.value_from_object(). 2018-05-25 15:10:45 -04:00
Claude Paroz
738a0a4dc2 Mentioned SuccessMessageMixin in generic editing views docs. 2018-05-25 14:31:11 -04:00
Ryan Rubin
a8d12bc280 Fixed #29400 -- Fixed crash in custom template filters that use decorated functions.
Regression in 620e9dd31a2146d70de740f96a8cb9a6db054fc7.
2018-05-25 11:11:46 -04:00
Claude Paroz
96ea4f875b Documented DeletionMixin.delete(). 2018-05-24 21:25:24 -04:00
Ramiro Morales
f40e71a957 Fixed #29417 -- Corrected two admin page titles for view-only users. 2018-05-23 11:02:37 -04:00
Daniel Roseman
40ff93310f Added help for common 404 error in tutorial 1. 2018-05-21 12:53:40 -04:00
Bogdan Mateescu
392963e8e4 Fixed #29421 -- Improved Romanian locale formats 2018-05-20 17:12:13 +02:00
Paulo Alvarado
ffb72a95bc Fixed #29414 -- Restored form inputs on admin inlines when the user doesn't have the change permission.
Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.
2018-05-18 19:50:58 -04:00
bakabiko
a7bc1aea03 Fixed #29380 -- Added support for QuerySet.select_for_update()'s nowait and skip_locked options on MySQL 8+. 2018-05-18 19:37:36 -04:00
Tim Graham
e038f98bf3 Fixed #29398 -- Doc'd that cascade deletion doesn't call delete() of related models. 2018-05-18 18:08:37 -04:00
Tim Graham
6574167ab8 Fixed typo in docs/releases/2.1.txt. 2018-05-18 07:24:01 -04:00
Tim Graham
9f6188bff3 Bumped version to 2.2 in docs. 2018-05-17 20:48:45 -04:00
Tim Graham
9792af3648 Increased the default PBKDF2 iterations for Django 2.2. 2018-05-17 11:05:45 -04:00
Tim Graham
b9dd8512f2 Advanced deprecation warnings for Django 2.2. 2018-05-17 11:05:45 -04:00
Tim Graham
74a313942c Added stub 2.2 release notes. 2018-05-17 11:05:40 -04:00
Tim Graham
7543ab1f8d Removed versionadded/changed annotations for 2.0. 2018-05-17 11:00:10 -04:00
Tim Graham
1cbd3d7874 Removed empty sections from 2.1 release notes. 2018-05-17 10:43:03 -04:00
Tim Graham
63de263e03 Bumped version; master is now 2.2 pre-alpha. 2018-05-17 09:37:06 -04:00
Tim Graham
253fcff90f Updated man page for Django 2.1 alpha. 2018-05-17 09:30:20 -04:00
Claude Paroz
77f6340d3b Updated translation catalogs 2018-05-17 12:09:40 +02:00
Philip James
437c4b57ac Fixed #29410 -- Added project_urls to setup.py. 2018-05-16 22:08:38 -04:00
olivierdalang
825f0beda8 Fixed #8936 -- Added a view permission and a read-only admin.
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-16 06:44:55 -04:00
Richard Morrison
35b6a348de Added missing word to render_to_response deprecation warning. 2018-05-16 10:06:36 +02:00
Tim Graham
49a1736c2e Added assertion for admin change form's "save and continue editing" message. 2018-05-15 20:17:02 -04:00
Andrew Godwin
0a8a6b4683 Add clarifying section about historical migration models 2018-05-15 12:20:25 -04:00
Claude Paroz
a177f854c3
Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
2018-05-15 18:12:11 +02:00
Ryan P Kilby
2dcc5d629a Fixed #29392 -- Disallowed use of abbreviated forms of --settings and --pythonpath management command options. 2018-05-14 22:18:22 -04:00
Paulo
265506bbc3 Refs #28834 -- Moved ancestor field cached value fallback to related fields descriptor. 2018-05-14 21:17:02 -04:00
Tim Graham
cae0107287 Increased the default PBKDF2 iterations for Django 2.1. 2018-05-13 20:06:20 -04:00
Hasan Ramezani
31ce1f7433 Refs #29131 -- Fixed space handling in ArrayField's item_invalid message. 2018-05-13 17:57:28 -04:00
T N
2405833c53 Fixed #29401 -- Updated admin's jQuery to 3.3.1. 2018-05-13 13:02:24 -04:00
Claude Paroz
d65b0f72de Fixed #17379 -- Removed management commands deactivation of the locale. 2018-05-13 10:21:53 +02:00
Tim Graham
1e0cbc72e5
Moved to_language() to django.utils.translation.
Follow up to 1b7d524cfa7b7834af26c99407af66be6813938d.
2018-05-12 15:03:38 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
2018-05-12 19:37:42 +02:00
Tim Graham
1b7d524cfa Consolidated duplicate to_locale() implementations.
Follow up to ac59ec8f1a34ea0e82bdb3c77422694e8016e0a7.
2018-05-12 12:58:21 -04:00
Hasan Ramezani
305dee7bf9 Increased django.utils.translation.trans_null test coverage. 2018-05-12 11:23:44 -04:00
Hasan Ramezani
ac59ec8f1a Aliased trans_null.to_locale() to trans_real.to_locale().
The implementations have unintentionally diverged.
2018-05-12 10:54:22 -04:00
Stefan R. Filipek
a5a2ceeb45 Fixed #27629 -- Added router.allow_relation() calls for assignments between unsaved model instances. 2018-05-10 20:42:44 -04:00
Claude Paroz
9c4ea63e87
Replaced TOKEN_* constants by TokenType enums.
Thanks Tim Graham for the review.
2018-05-10 17:51:51 +02:00
Claude Paroz
1e20fedb35 Upgraded OpenLayers to 4.6.5 for OpenLayersWidget 2018-05-10 16:25:37 +02:00
Maximilian Merz
78912ccd0e Fixed #21408 — German Translation for “3 days ago”
The problem:
“3 days ago” should translate to “vor 3 Tagen” in German, while “3 days” translates to “3 Tage”. #21408 describes that django always translated to “Tage”, even when the dative “Tagen” was correct. The same applies to months (“Monate”/“Monaten”) and years (“Jahre”/“Jahren”).

The solution:
Let `timesince` caller provide the string dict to use for the time-related strings.
2018-05-10 15:53:33 +02:00
Morgan Aubert
704443acac Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). 2018-05-09 11:40:28 -04:00
Hasan Ramezani
7ba040de77 Added tests for trans_null.ngettext(). 2018-05-09 09:54:41 -04:00
Nicolas Noé
c629d4e956 Fixed #29389 -- Made Paginator reject non-integer page numbers of type float. 2018-05-09 09:28:52 -04:00
Nicolas Noé
2134e7d439 Refs #29389 -- Added Paginator test for float page number. 2018-05-09 09:23:05 -04:00
Claude Paroz
3574a6d32f Replaced context by comment in 2 humanize strings. 2018-05-09 09:46:38 +02:00
Tim Graham
7ac3008fe4
Refs #29350 -- Fixed 'invalid escape sequence' warning in SQLite introspection. 2018-05-08 10:42:24 -04:00
Nicolas Noé
c4158d050f Fixed #29370 -- Added choices to LogEntry.action_flag field. 2018-05-07 10:07:45 -04:00
Claude Paroz
523e04dfeb Captured logging in tests with self.assertLogs(). 2018-05-07 09:34:02 -04:00
Claude Paroz
607970f31c Replaced django.test.utils.patch_logger() with assertLogs().
Thanks Tim Graham for the review.
2018-05-07 09:34:00 -04:00
Hasan Ramezani
7d3fe36c62 Alphabetized imports in docs/ref/contrib/postgres/fields.txt. 2018-05-07 07:46:29 -04:00
Sanket Saurav
079f324357 Fixed #28913 -- Fixed error handling when MIGRATIONS_MODULES specifies a nonexistent top-level package. 2018-05-05 18:26:33 -04:00
Samir Shah
10b44e4525 Fixed #26688 -- Fixed HTTP request logging inconsistencies.
* Added logging of 500 responses for instantiated responses.
* Added logging of all 4xx and 5xx responses.
2018-05-04 20:55:03 -04:00
Carlton Gibson
2e1f674897
Fixed #29373 -- Added long_description in setup.py. 2018-05-03 15:43:30 +02:00
Carlton Gibson
21fd8041c1
Refs #29358 -- Corrected wording in primary key check message. 2018-05-03 15:28:37 +02:00
Hasan Ramezani
816b8d9518 Fixed #29358 -- Added a system check to prohibit models with more than one primary_key field. 2018-05-03 09:08:29 +02:00
CHI Cheng
98019df855 Used double quotation marks for csrf form element. 2018-05-03 08:57:18 +02:00
Kelly Hogan
9e86185936 Fixed #29351 -- Doc'd that ModelAdmin.prepopulated_fields removes stop words. 2018-05-02 13:15:39 -04:00
CHI Cheng
4660ce5a69 Fixed #29375 -- Removed empty action attribute on HTML forms. 2018-05-02 09:20:04 -04:00
Tim Graham
c02953ebbc Added stub release notes for 2.0.6. 2018-05-01 22:01:48 -04:00
Tim Graham
6e6efc6c39 Added release date for 2.0.5 and 1.11.13. 2018-05-01 21:18:44 -04:00
Srinivas Reddy Thatiparthy
d0b04c6308 Fixed #29360 -- Removed Fabric examples in docs. 2018-04-29 22:12:40 -04:00
PhrydRhys
5d022eae74 Fixed #29369 -- Mentioned the #django-dev IRC channel in contributing index. 2018-04-28 20:33:53 -04:00
Mariusz Felisiak
483cc1c430
Refs #28859 -- Fixed "no data found" exception handling with cx_Oracle 6.3+. 2018-04-28 19:39:45 +02:00
Zackary Troop
30f8642f2e Fixed #29350 -- Fix get_primary_key_column() method in sqlite3 backend
Thanks Tim Graham and Mariusz Felisiak for the reviews.
2018-04-28 12:01:45 +02:00
priyanshsaxena
6b3d292043 Fixed #29015 -- Added an exception if the PostgreSQL database name is too long. 2018-04-27 21:37:42 -04:00
Oscar Esgalha
6d1f576945 Fixed #29367 -- Fixed model state on objects with a primary key created with QuerySet.bulk_create(). 2018-04-27 17:57:38 -04:00
Nicolas Noé
3246ad1065 Fixed #27480 -- Added cache.touch(). 2018-04-27 17:48:35 -04:00
Claude Paroz
8e960c5aba Removed urllib2 reference in file storage tests 2018-04-27 14:02:39 +02:00
Claude Paroz
a9189d27ef Fixed #29353 -- Made StaticFilesHandler return a 404 response when settings.DEBUG is False 2018-04-25 10:38:13 +02:00
Tim Graham
c591bc3cce Fixed "invalid escape sequence" warning in runtests.py. 2018-04-24 12:06:04 -04:00
Claude Paroz
3aae43d800 Fixed #28973 -- Silenced copying/linking messages in collectstatic's default verbosity. 2018-04-23 23:04:02 -04:00
François Freitag
d1413c5d70 Refs #28312 -- Added an optimized __bool__() to ModelChoiceIterator.
COUNT is more expensive than EXISTS; use the latter when possible.
2018-04-23 13:03:07 -04:00
François Freitag
3fca95e1ad Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient.
Instead of loading all QuerySet results in memory, count the number of
entries. This adds an extra query when list() or tuple() is called on the
choices (because both call __len__() then __iter__()) but uses less
memory since the QuerySet results won't be cached. In most cases, the
choices will only be iterated on, meaning that __len__() won't be called
and only one query will be executed.
2018-04-23 12:39:43 -04:00
Stefan R. Filipek
9ec77f3d66 Fixed #29349 -- Doc'd the default behavior of router.allow_relation(). 2018-04-23 10:21:22 -04:00
adamth
acf9d64045 Fixed typos in docs/topics/auth/passwords.txt. 2018-04-23 07:37:26 -04:00
Hasan Ramezani
b33f10d8cc Refs #29131 -- Made ArrayField error messages index from 1 instead of 0. 2018-04-22 22:18:46 -04:00
Hasan Ramezani
dd68b51e1d Fixed #29295 -- Fixed management command crash when using subparsers.
Thanks Tim Graham for the fix.
2018-04-21 17:33:17 -04:00
orlnub123
21420096c4 Fixed #29247 -- Allowed blank model field choice to be defined in nested choices. 2018-04-20 11:06:14 -04:00
Tim Graham
e35004966b Moved tests for model Field.get_choices(). 2018-04-20 11:05:25 -04:00
Tom
11b8c30b9e Ref #23919 -- Replaced some os.path usage with pathlib.Path. 2018-04-19 21:30:00 -04:00
drd0013
5d923f2d8c Fixed #29313 -- Doc'd how to use F() to sort null values. 2018-04-19 20:07:40 -04:00
Adnan Umer
534d8d875e Fixed #28600 -- Added prefetch_related() support to RawQuerySet. 2018-04-19 13:48:27 -04:00
Adnan Umer
f2026ca5e2 Fixed #29337 -- Added __len__() & __bool__() to RawQuerySet. 2018-04-19 12:46:31 -04:00
Adnan Umer
ec0319ff82 Fixed #29339 -- Added result caching to RawQuerySet. 2018-04-19 11:35:49 -04:00
Tom
c1c163b427 Fixed #28574 -- Added QuerySet.explain(). 2018-04-19 10:52:19 -04:00
Nick Pope
df90e462d9 Fixed #29212 -- Doc'd redirect loop if @permission_required used with redirect_authenticated_user. 2018-04-19 10:21:24 -04:00
Burhanuddin Baharuddin
c2598a6f4d Clarified wording in tutorial text. 2018-04-19 11:09:38 +02:00
Tim Graham
a917a5601f Refs #23890 -- Removed numpy deprecation warning silencing.
Obsolete since numpy 1.12.0.
2018-04-18 22:09:26 -04:00
Tim Graham
c3437f734d Fixed #29174, #29175 -- Doc'd that f-strings and JavaScript template strings can't be translated. 2018-04-18 14:29:21 +02:00
Tim Graham
7a22d9f751
Fixed a test failure with the latest GeoIP2 database. 2018-04-17 21:30:05 -04:00
Brett Cannon
64b74804c5 Fixed #29334 -- Updated pypi.python.org URLs to pypi.org. 2018-04-17 20:24:27 -04:00
Jon Dufresne
b3cffde555 Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is accessed and not set. 2018-04-17 13:02:05 -04:00
Tim Graham
fff689ed98 Added a test for a settings error message. 2018-04-17 12:55:26 -04:00
Mariusz Felisiak
e0a3cfaca0 Simplified Oracle's DatabaseOperations.cache_key_culling_sql() with LIMIT/OFFSET. 2018-04-17 12:50:43 -04:00
Chris Jerdonek
fdc936c913 Fixed #29253 -- Made method_decorator(list) copy attributes. 2018-04-16 13:38:37 -04:00
Tim Graham
a480ef89ad Fixed inconsistent formatting in tests/modeladmin/test_checks.py. 2018-04-16 13:35:40 -04:00
Chris Jerdonek
09f1f0387b Updated decorators test to use subTest(). 2018-04-16 12:48:01 -04:00
GS-14
93331877c8 Fixed #29274 -- Increased the number of common passwords from 1k to 20k. 2018-04-16 11:01:47 -04:00
Daniel Miller
60156750f6 Fixed #29330 -- Fixed crash when pickling BaseExpression.
Regression in cfff2af02be40106d4759cc6f8bfa476ce82421c.
2018-04-16 10:15:13 -04:00
Ben Menesini
1d5d4867f4 Fixed typo in docs/topics/i18n/translation.txt. 2018-04-15 17:07:00 -04:00
Alex Gaynor
9a56b4b13e Fixed #27863 -- Added support for the SameSite cookie flag.
Thanks Alex Gaynor for contributing to the patch.
2018-04-13 20:58:31 -04:00
Matthias Kestenholz
13efbb233a Fixed #29322 -- Made admin check all ModelAdmin fieldsets for duplicates. 2018-04-13 11:08:30 -04:00
Mariusz Felisiak
0b66c3b442
Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection().
Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf.

Thanks Tim Graham and Carlton Gibson for reviews.
2018-04-13 12:15:52 +02:00
Flávio Juvenal
e1f13f1551 Fixed #29320 -- Added an exception when an annotation alias matches a ForeignKey attname. 2018-04-12 21:15:40 -04:00
Tim Graham
78f8b80f9b Fixed schema test failure when running tests in reverse.
Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528.
2018-04-12 13:59:02 -04:00
Paul Donohue
33a0b7ac81 Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object. 2018-04-12 13:11:08 -04:00
Jeremy Bowman
ee17bb8a67 Fixed #29193 -- Prevented unnecessary foreign key drops when altering a unique field.
Stopped dropping and recreating foreign key constraints on other fields
in the same table as the one which is actually being altered in an
AlterField operation.

Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0.
2018-04-11 23:17:11 -04:00
Jeremy Bowman
003334f8af Tested altering a unique field when a reverse M2M relation exists. 2018-04-11 23:17:11 -04:00
Luoxzhg
99539ca319 Fixed typo in docs/topics/db/managers.txt. 2018-04-11 22:24:29 -04:00
David Foster
c3055242c8 Fixed #29301 -- Made management command --help display command-specific arguments before common arguments. 2018-04-11 13:52:20 -04:00
Tim Graham
2919a08c20
Refs #28062 -- Doc'd PostgreSQL server-side cursors as a backwards incompatible change. 2018-04-10 13:26:50 -04:00
Luoxzhg
9d7e2c7b44 Fixed mistakes in docs/topics/db/examples/many_to_one.txt. 2018-04-10 11:16:42 -04:00
Alasdair Nicol
65c44a5c1d Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.
Thanks erindy for the report.
2018-04-10 09:33:05 -04:00
Vinay Karanam
6a1957bb98 Fixed #28950 -- Fixed ArrayField.has_changed() for empty values. 2018-04-07 17:53:33 -04:00
Vinay Karanam
e67dc0fbb2 Added tests for ArrayField.has_changed(). 2018-04-07 17:48:29 -04:00
Tim Graham
3428be3cf9 Updated contributing docs for some latest practices. 2018-04-06 20:46:06 -04:00
Tim Graham
85d853b2d3
Fixed #29289 -- Clarified PasswordResetTokenGenerator comment regarding the data hashed to generate tokens.
Thanks Luke Plant for the draft text.
2018-04-06 11:05:51 -04:00
Faheel Ahmad
5d4d62bf4f Fixed #29248 -- Renamed admin CSS class field-box to fieldBox. 2018-04-05 10:55:36 -04:00
Jon Dufresne
be6ca89396 Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().
Thanks Vladimir Ivanov for the initial patch.
2018-04-04 19:21:50 -04:00
Tim Graham
4f88143649 Fixed ordering in docs/internals/deprecation.txt. 2018-04-04 15:07:51 -04:00
Jon Dufresne
b31a9149e1 Documented InlineModelAdmin.has_(add/change/delete)_permission(). 2018-04-04 14:32:35 -04:00
Jirka Vejrazka
6148dda72f Fixed #29288 -- Made {% widthratio %} assign to as var if an exception occurs. 2018-04-04 14:03:16 -04:00
safu9
9fd9f8bbb2 Fixed #29284 -- Made ImageField render with accept="image/*"' HTML attribute. 2018-04-04 13:16:03 -04:00
Tim Graham
cf8fc47974 Updated intersphinx_mapping URL for sphinx. 2018-04-04 11:32:14 -04:00
Mads Jensen
9c651641f1 Added additional AdminPasswordChangeForm tests. 2018-04-04 11:25:28 -04:00
Dmitry Dygalo
c979c0a2b8 Fixed #25718 -- Made a JSONField lookup value of None match keys that have a null value. 2018-04-04 10:53:46 -04:00
Windson yang
4fe5d84666 Fixed #29278 -- Doc'd that a context manager can't be used with FileResponse. 2018-04-04 09:56:49 -04:00
Daniel Roseman
e6c21217d3 Fixed reference to nonexistent __between lookup. 2018-04-04 09:43:36 -04:00
Mariusz Felisiak
816b386d41
Refs #24791 -- Made PostgreSQL's nodb connection use first PostgresSQL db when 'postgres' db isn't available.
Thanks Tim Graham and Claude Paroz for reviews.
2018-04-03 22:21:47 +02:00
Tim Graham
b2678468ae Added stub release notes for 1.11.13. 2018-04-03 15:03:44 -04:00
Mariusz Felisiak
55cc26941a
Refs #28643 -- Added Repeat database function.
Thanks Tim Graham and Nick Pope for reviews.
2018-04-03 19:36:12 +02:00
Mariusz Felisiak
6141c752fe
Fixed #29251 -- Added bytes to str conversion in LPad/RPad database functions on MySQL.
Thanks Tim Graham for the review.
2018-04-03 18:24:04 +02:00
Tim Graham
4f7467b690
Refs #28577 -- Added check for HStoreField to prevent mutable default. 2018-04-03 11:12:56 -04:00
Jon Dufresne
167d98528a Refs #27728 -- Fixed BytesWarning in admin_views tests. 2018-04-03 10:11:35 -04:00
Tim Graham
87639adcd1 Added stub release notes for 2.0.5. 2018-04-02 23:05:29 -04:00
Jon Dufresne
f3b1c3bd06 Refs #23406 -- Fixed "invalid escape sequence" warning in migrations test. 2018-04-02 22:54:05 -04:00
Tim Graham
597aba6d67 Added release date for 2.0.4 and 1.11.12. 2018-04-02 21:36:23 -04:00
Claude Paroz
2a2ed0e70a Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the widget map's SRID.
Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928.
2018-04-02 10:20:00 -04:00
Tim Graham
09c6d01461 Fixed typo in docs/releases/2.0.4/1.11.12.txt. 2018-04-02 09:37:38 -04:00
Claude Paroz
f3b69f9757 Fixed #29273 -- Prevented initial selection of empty choice in multiple choice widgets.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2018-04-02 08:52:53 -04:00
desigrammer
d31a248c64 Removed unused regexes in django.core.management.templates.
Unused since their introduction in a9a0f0b03f9a02deb03617bf7e9773a307d1328f.
2018-04-02 07:32:24 -04:00
Dan Watson
e163effecc Fixed #29279 -- Added renderer argument to ModelForm. 2018-03-31 20:45:59 -04:00
Wim Feijen
058f607518 Clarified a sentence in docs/topics/i18n/translation.txt. 2018-03-31 19:33:48 -04:00
Chris Lamb
84ad721bd9 Fixed #29275 -- Made assertFormError() output "(actual errors: none)" instead of "(actual errors: )". 2018-03-31 18:35:45 -04:00
Tim Graham
73cb62a331 Fixed links to Sphinx docs. 2018-03-30 14:29:23 -04:00
Malte Gerth
874977d388 Fixed #29270 -- Fixed UserChangeForm crash if password field is excluded. 2018-03-29 15:25:54 -04:00
Mads Jensen
c59aa9e6aa Added test for combining Q objects with non-Q objects. 2018-03-29 13:58:55 -04:00
Daniel Chimeno
fbb9358149 Replaced 'python -Wall' with 'python -Wa'. 2018-03-28 13:25:03 -04:00
Simon Charette
2156565b5b Fixed #29245 -- Made autodetector treat field renames + db_column addition as RenameField. 2018-03-28 12:43:43 -04:00
Tim Graham
ba5f24ea64 Fixed #29265 -- Removed the suggestion to hardcode static URLs. 2018-03-28 11:16:01 -04:00
Quentin Agren
34c5222837 Fixed #29148 -- Doc'd how to use get_or_create() with Q objects. 2018-03-28 10:46:34 -04:00
Abeer Upadhyay
1bf4646f91 Fixed #29258 -- Added type checking for login()'s backend argument. 2018-03-28 10:10:18 -04:00
Hasan Ramezani
76ae1e9a94 Increased test coverage for {% get_admin_log %} and {% static %}. 2018-03-26 13:34:23 -04:00
AK
3990d74018 Added a pagination example to ListView docs. 2018-03-26 11:40:54 -04:00
Mads Jensen
4554f9a783 Increased test coverage for various template tags. 2018-03-24 19:56:46 -04:00
Mads Jensen
623117d1f1 Removed unnecessary variable in Lexer.create_token(). 2018-03-24 19:10:56 -04:00
Dan Watson
29150d5da8 Fixed #23406 -- Allowed migrations to be loaded from .pyc files. 2018-03-23 13:20:38 -04:00
Graham Ullrich
ee7f51c66d Fixed #29250 -- Added 'django_version' context to startapp/project docs. 2018-03-22 21:06:50 -04:00
Tim Graham
de0e54ea00 Bumped minimum Sphinx version to 1.6.0. 2018-03-22 20:30:03 -04:00
Tim Graham
a4f0e9aec7 Fixed #28718 -- Allowed user to request a password reset if their password doesn't use an enabled hasher.
Regression in aeb1389442d0f9669edf6660b747fd10693b63a7.
Reverted changes to is_password_usable() from
703c266682be39f7153498ad0d8031231f12ee79 and documentation changes from
92f48680dbd2e02f2b33f6ad0e35b7d337889fb2.
2018-03-22 10:03:43 -04:00
Melissa Lewis
d97cce3409 isorted import statements in tutorial example 2018-03-22 08:53:56 +01:00
Tim Graham
623139b5d1 Refs #29147 --- Added JSONField serialization tests. 2018-03-21 20:11:06 -04:00
Alasdair Nicol
0c100f8b57 Clarified docs about ISO 8601 week numbering. 2018-03-21 20:00:39 -04:00
Michael Sinov
9aca67bea8 Fixed #27533 -- Fixed inspectdb crash if a unique constraint uses an unsupported type. 2018-03-21 12:28:16 -04:00
Tim Graham
a170dac887 Fixed too many parentheses in inspectdb Meta.unique_together output.
Regression in c76d87427d70f6c91ab855ed688828aa982720d2.
2018-03-21 10:39:36 -04:00
Mads Jensen
bb79e480e1 Increased test coverage for i18n template tags. 2018-03-21 08:38:07 -04:00
Tim Graham
c76d87427d
Refs #23919 -- Removed obsolete comments about u'' prefixes. 2018-03-21 08:15:07 -04:00
Tim Graham
ba76c3c45b Refs #27656 -- Removed "This will" prefix from djanog/templatetags/i18n.py docstrings. 2018-03-21 08:08:40 -04:00
Jezeniel Zapanta
abe6c5defe Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add(). 2018-03-20 21:09:08 -04:00
Denis
1834490a0c Refs #11278 -- Clarified RelatedManager differences between reverse one-to-many and many-to-many relations. 2018-03-20 20:43:33 -04:00
Sergey Fedoseev
27ca5ce19f Used datetime.timezone.utc instead of pytz.utc for better performance. 2018-03-20 15:24:16 -04:00
Nick Pope
281c0223b3 Refs #29227 -- Simplified NullBooleanField by making it subclass BooleanField. 2018-03-20 12:10:10 -04:00
Tim Graham
6421bd702f Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than NullBooleanField. 2018-03-20 12:10:10 -04:00
Tim Graham
5fa4f40f45 Fixed #29227 -- Allowed BooleanField to be null=True.
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-20 12:10:10 -04:00
Peter Inglesby
73f7d1755f Extracted deserialize fk/m2m functions from Deserializer.
In preparation for handling forward references (refs #26291).
2018-03-20 12:07:39 -04:00
Astral
a0c03c62a8 Fixed #29229 -- Fixed column mismatch crash when combining two annotated values_list() querysets with union(), difference(), or intersection().
Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e.
2018-03-19 21:05:43 -04:00
Mariusz Felisiak
cede5111bb
Refs #28643 -- Added LPad and RPad database functions.
Thanks Tim Graham for the review.
2018-03-19 17:35:16 +01:00
Tim Graham
8d67c7cffd Added stub release notes for 1.11.12. 2018-03-19 09:49:16 -04:00
Hasan Ramezani
274e3e27f3 Fixed #29184 -- Made TabularInline respect model form's Meta.labels and help_texts. 2018-03-17 20:51:24 -04:00
Claude Paroz
3c4ff21763 Fixed #29103 -- Removed bad 'b'-prefix added by MySQL's SchemaEditor.quote_value(). 2018-03-17 16:36:54 -04:00
Claude Paroz
aa0ee372cd Added tests for MySQL's SchemaEditor.quote_value(). 2018-03-17 16:36:50 -04:00
Mads Jensen
77609f922e Removed unused args in Index.clone(). 2018-03-17 15:42:09 -04:00
Tim Graham
f8b98f0edc Removed DatabaseFeatures.can_introspect_null.
The only known usage is in the unmaintained django-pymssql project.
2018-03-16 11:43:41 -04:00
Mariusz Felisiak
362813d628
Fixed hanging indentation in various code. 2018-03-16 10:54:34 +01:00
Mattia Procopio
aeb8c38178 Fixed #29206 -- Fixed PasswordResetConfirmView crash when the URL contains a non-UUID where one is expected. 2018-03-15 21:33:15 -04:00
Josh Schneier
b60e5fdbb7 Fixed #28959 -- Fixed 'No, take me back' button on admin's inline popup. 2018-03-15 20:47:18 -04:00
Mariusz Felisiak
9421aee35e
Refs #28643 -- Added LTrim, RTrim, and Trim database functions.
Thanks Tim Graham and Mads Jensen for reviews.
2018-03-15 20:57:23 +01:00
David Sanders
47bb3b68ff Fixed #29219 -- Made admin filters use processed params rather than request.GET. 2018-03-15 11:33:19 -04:00
Artem Tabolin
a2f7433adc Fixed #29221 -- Corrected admin's autocomplete widget to add a space after custom classes. 2018-03-15 10:55:34 -04:00
Mariusz Felisiak
ba3078c92d Refs #29155 -- Fixed LookupTests.test_pattern_lookups_with_substr() crash on Oracle.
Test introduced in feb683c4c2c5ecfb61e4cb490c3e357450c0c0e8 revealed
unexpected behavior on Oracle that allows concatenating NULL with string.
2018-03-15 09:54:24 -04:00
Tim Graham
87dc0844a6 Fixed #29200 -- Fixed label rendering when using RadioSelect and CheckboxSelectMultiple with MultiWidget. 2018-03-15 09:10:23 -04:00
Tim Graham
fb8fd535c0 Moved SchemaLoggingTest to tests/schema. 2018-03-14 10:24:34 -04:00
Mariusz Felisiak
feb683c4c2
Fixed #29155 -- Fixed crash when database functions are used with pattern lookups.
Thanks Tim Graham and Sergey Fedoseev for reviews.
2018-03-14 10:00:07 +01:00
Hajime Nakagami
8f75984c26 Quoted field names in cache db backend SQL.
On Firebird, 'value' is a reserved word and must be quoted.
2018-03-13 22:46:41 -04:00
Mariusz Felisiak
acfc650f2a
Fixed #29199 -- Fixed crash when database user password contains @ sign on Oracle.
Thanks Shane Allgeier for the report and Tim Graham for the review.
2018-03-13 19:06:40 +01:00
ovalseven8
22bcd3a1d8 Fixed #29192 -- Corrected docs regarding overriding fields from abstract base classes. 2018-03-13 12:45:01 -04:00
dzhuang
e17088a108 Fixed #29213 -- Fixed autocomplete widget's translations for zh-hans/zh-hant. 2018-03-13 10:58:34 -04:00
robwa
4ab027b944 Fixed #28988 -- Fixed queries when a GenericRelation is used with multi-table inheritance. 2018-03-12 22:42:48 -04:00
Alejandro Sánchez
b639bcc250 Changed es_MX's THOUSAND_SEPARATOR to a comma. 2018-03-12 22:07:54 -04:00
Sergey Fedoseev
d696fccae6 Fixed #29209 -- Fixed Cast() with TextField on MySQL and Oracle. 2018-03-12 21:57:14 -04:00
Tomer Chachamu
c12745f682 Fixed typo in django/db/backends/base/schema.py. 2018-03-12 13:49:36 -04:00
Simon Charette
3c71fb3909 Added PatternLookup.prepare_rhs to simplify subclasses. 2018-03-12 12:12:46 -04:00
Дилян Палаузов
45aaf6608d Removed unused variable in BaseDatabaseSchemaEditor.effective_default(). 2018-03-12 12:06:06 -04:00
Mariusz Felisiak
c3a1337dfa Refs #29004 -- Optimized InspectDBTransactionalTests.test_include_views() by limiting introspected tables. 2018-03-12 11:22:57 -04:00
Tim Graham
25b97ee170 Added functions for inspectdb table filtering in tests. 2018-03-12 11:15:13 -04:00
Tim Graham
e1cf2a607e Added "Denial-of-service attacks" to the security issue severity classification. 2018-03-12 11:00:47 -04:00
Daniel Musketa
e0eab28f9f Fixed a couple mistakes in docs/ref/forms/widgets.txt. 2018-03-12 09:39:09 -04:00
Sergey Fedoseev
e17776e2cd Removed redundant UploadedFile.DEFAULT_CHUNK_SIZE.
The same value is inherited from File.
2018-03-12 09:12:44 -04:00
Sergey Fedoseev
a5406fe989 Used cached_property for File.size. 2018-03-10 17:21:39 +05:00
Carlton Gibson
5b083a824e Fixed #29180 -- Fixed a regression where migrations already in the plan were readded.
Regression in a38ae914d89809aed6d79337b74a8b31b6d3849a.
2018-03-09 08:59:57 +01:00
Carlton Gibson
4d420a53cf Refs #29180 -- Added MigrationGraph._generate_plan() for testing. 2018-03-09 08:59:57 +01:00
Alex Stovbur
2d9ec4d735 Fixed #29188 -- Fixed ContentFile.size after a write(). 2018-03-08 14:07:29 -05:00
Simon Charette
277ed07209 Fixed #29195 -- Fixed Exists.output_field resolution on single-valued queries.
The Subquery class which Exists inherits from defaulted to using single-valued
querie's field if no output_field was explicitly specified on initialization
which was bypassing the Exists.output_field defined at the class level.

Moving Subquery's dynamic output_field resolution to _resolve_output_field
should make sure the fallback logic is only performed if required.

Regression in 08654a99bbdd09049d682ae57cc94241534b29f0.

Thanks Oli Warner for the detailed report.
2018-03-08 13:30:41 -05:00
Tim Graham
fd9398816e
Fixed #29165 -- Clarified how to load initial data with migrations. 2018-03-08 10:58:19 -05:00
Fabrizio Ettore Messina
10c0fe528a Fixed #29178 -- Allowed Index.fields to accept a tuple. 2018-03-08 10:56:55 -05:00
Richard Oyudo
8411e4a8fe Fixed #28655 -- Added more examples for customizing widgets in a form. 2018-03-07 16:58:55 -05:00
Roy Zwambag
fe32fe1619 Used console directive in "Writing documentation". 2018-03-07 16:19:22 -05:00
Mariusz Felisiak
8b25d546b6 Simplified Contains, StartsWith, and EndsWith lookups. 2018-03-07 14:04:17 -05:00
Tim Graham
f0d6f01fbe Added stub release notes for 2.0.4. 2018-03-06 13:25:20 -05:00
Tim Graham
5bbbdd26d1 Added CVE-2018-7536,7 to the security release archive. 2018-03-06 12:59:36 -05:00
Tim Graham
911af0d24b Added more tests for django.utils.html.urlize(). 2018-03-06 08:30:41 -05:00
Tim Graham
97b7dd59bb Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in django.utils.text.Truncator.
Thanks James Davis for suggesting the fix.
2018-03-06 08:30:40 -05:00
Tim Graham
8618271caa Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize and urlizetrunc template filters.
Thanks Florian Apolloner for assisting with the patch.
2018-03-06 08:30:40 -05:00
Tim Graham
4d2a2c83c7 Added stub release notes for security releases. 2018-03-06 08:30:34 -05:00
Alex Stovbur
d171843f57 Fixed #28981 -- Added an exception if GeoIP database can't be loaded from the path. 2018-03-05 12:20:30 -05:00
jblang94
84398897a7 Improved clarity of docs/topics/install.txt. 2018-03-05 10:17:23 -05:00
ovalseven8
821e304cc4 Corrected User model docstring about required fields.
Follow up to 841a87785a78cc37362a66856025bae2f7ba633c.
2018-03-04 15:24:36 -05:00
Sergey Fedoseev
4ff29a53e6 Refs #17476 -- Removed obsolete simplification of timezone names in cache key generation. 2018-03-03 14:56:39 -05:00
Daniel Hahler
683341db43 Condensed some widgets code. 2018-03-03 13:35:09 -05:00
Almad
3d8fadad0f Added model name to AutoField error message. 2018-03-03 13:22:00 -05:00
Patryk Zawadzki
a20aae414e Fixed #29144 -- Made untranslated strings for territorial language variants use translations from the generic language variant. 2018-03-03 12:08:24 -05:00
Daniel Hahler
939e0a5995 Fixed typo in docs/topics/forms/media.txt. 2018-03-02 14:47:47 -05:00
Alex Tomic
a1a3e51561 Fixed #29133 -- Fixed call_command() crash if a required option is passed in options. 2018-03-02 12:25:08 -05:00
Christophe Mehay
40bac28faa Fixed #29176 -- Fixed AbstractBaseUser.normalize_username() crash if username isn't a string. 2018-03-02 11:32:53 -05:00
François Freitag
a2e97abd81 Fixed #29159 -- Made ModelChoiceIterator reuse QuerySet result cache.
When __len__() is called (e.g. when casting to list or tuple), the
QuerySet is evaluated and the result cache populated. iterator()
shouldn't be called on the QuerySet after that, as it would reset the
result cache and trigger a second query.
2018-03-01 14:17:56 -05:00
François Freitag
40f0aa9885 Fixed #29158 -- Fixed len(choices) crash if ModelChoiceField's queryset is a manager.
Removing all() in __iter__() prevents a duplicate query when choices are
cast to a list and there's a prefetch_related().
2018-03-01 14:12:14 -05:00
François Freitag
06172d7bc2 Consolidated ModelChoiceField tests. 2018-03-01 14:05:35 -05:00
Carlton Gibson
94a180402c Refs #27728 -- Fixed thread safety of admin template tags.
Regression in 5cc28dc752c3ae78456bb835c3ba195489fc26d7.
2018-03-01 11:45:08 -05:00
Tim Graham
4c02e3cda3 Refs #27728 -- Made cosmetic edits to admin template tag template overriding. 2018-03-01 11:45:08 -05:00
Tomáš Ehrlich
fa352626c2 Fixed #29172 -- Fixed crash with Window expression in a subquery. 2018-03-01 10:24:14 -05:00
Sergey Fedoseev
ba4a986240 Refs #28459 -- Improved performance of time difference expressions on MySQL. 2018-03-01 14:42:21 +05:00
Claude Paroz
75527c0f83 Updated translations from Transifex
Forward port of 2126e9317e80a7d4c42e033dd33d7e3378fdfcf8 from stable/2.0.x.
2018-02-28 20:06:52 +01:00
Mariusz Felisiak
54f80430be
Fixed #29166 -- Fixed crash in When() expression with a list argument.
Thanks Matthew Pava for the report and Tim Graham and Carlton Gibson for
reviews.
Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f.
2018-02-28 18:05:23 +01:00
Tim Graham
3fb718f17d Eliminated the need to modify a model forms test when new test files are added. 2018-02-28 10:26:26 -05:00
Raffaele Salmaso
5cc28dc752 Fixed #27728 -- Allowed overriding admin templatetags templates. 2018-02-28 08:49:40 +01:00
René Fleschenberg
6e52e2554d Fixed incorrect regex in re_path() example. 2018-02-26 19:57:52 -05:00
Tim Graham
56a302f338 Fixed #29141 -- Corrected BCryptPasswordHasher's docstring about truncation. 2018-02-26 14:07:38 -05:00
Mariusz Felisiak
074a2f7f58
Refs #28909 -- Simplifed code using unpacking generalizations. 2018-02-26 18:23:31 +01:00
Tim Graham
5b589a47b9
Fixed #29161 -- Removed BCryptPasswordHasher from PASSWORD_HASHERS. 2018-02-26 09:05:18 -05:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
c4fa0143f7 Removed "Remove any old versions of Django" install instructions.
They are obsolete given the prevalence of pip.
2018-02-26 08:58:56 -05:00
Mariusz Felisiak
61596f40ad Removed unnecessary setdefault() from CheckRegistry.register(). 2018-02-26 08:54:55 -05:00
Becky Smith
8116e588db Fixed #17962 -- Added ModelAdmin.get_deleted_objects(). 2018-02-24 20:41:43 -05:00
Tim Graham
9822d88ca0 Removed using argument from admin's get_deleted_objects(). 2018-02-24 09:21:13 -05:00
Tim Graham
0fa6ab8c18 Tested the admin's delete_selected action when it receives nonexistent pks. 2018-02-24 09:21:13 -05:00
a8568730
ba37ee9ef8 Fixed #28635 -- Fixed admin's preserved filters if the URL contains non-ASCII characters. 2018-02-23 15:40:11 -05:00
Sebastian Sangervasi
7905815510 Fixed #27449 -- Added django.utils.translation.get_supported_language_variant(). 2018-02-23 14:49:00 -05:00
Hasan Ramezani
5033999153 Fixed #29154 -- Corrected examples in pluralize docstring and added tests. 2018-02-23 14:20:00 -05:00
bobort
f82de6bfb1 Refs #28643 -- Added Ord, Chr, Left, and Right database functions. 2018-02-23 10:23:22 -05:00
Matthew Schinckel
c412926a2e Fixed #29142 -- Fixed crash when OuterRef is used with an operator. 2018-02-23 09:38:16 -05:00
Jon Dufresne
f5c6fc045a Added backticks around obj argument in admin docs. 2018-02-22 11:15:04 -05:00
Tim Graham
16436f3751 Removed unused opts argument from admin's get_deleted_objects().
Unused since e12b3199d0c01694ca6b09add5e0f27cadffc8ad.
2018-02-21 13:32:13 -05:00
Roger Erens
a94fd8a8d9 Used a CSS positioning in tutorial 6 that doesn't differ across browsers.
Otherwise in Firefox, the <html> and <body> elements take just as much height
is needed for the content and so the image doesn't appear at the bottom of the
window.
2018-02-21 12:07:24 -05:00
Mikhail Porokhovnichenko
14e34dcf8c Fixed #29132 -- Avoided connecting update_last_login() handler if User.last_login isn't a field. 2018-02-21 10:36:31 -05:00
Sebastian Sangervasi
5c4c87e55c Changed "language-code" to the more commonly used "language code". 2018-02-21 09:31:05 -05:00
Tom Forbes
33ac036a6b Fixed #28398 -- Added suggestions for mistyped management commands. 2018-02-21 09:00:49 -05:00
Sebastian Sangervasi
f7b46f0b58 Removed unneeeded inner import in i18n tests. 2018-02-21 08:59:31 -05:00
Oliver Sauder
6f0b8c1c9e Fixed #28442 -- Fixed crash with nested OuterRefs that reference AutoField. 2018-02-20 21:58:43 -05:00
Chillar Anand
e8e0cfa9e5 Fixed #28755 -- Made check_for_language() include apps' locale directories. 2018-02-20 21:34:40 -05:00
Seohong Park
9716860596 Fixed #29146 -- Readded ^ and $ inadvertently removed from re_path() examples. 2018-02-20 21:31:30 -05:00
Douwe Osinga
195610227d Updated project template to use single quotes where appropriate. 2018-02-20 18:52:28 -05:00
Williams Mendez
2691ed7ba1 Fixed #29140 -- Fixed EmailMessage crash when body is None. 2018-02-20 09:34:01 -05:00
Tim Graham
548f78ba46
Removed redundant lookup name in register_lookup() calls. 2018-02-19 13:12:13 -05:00
dizballanze
eb002e7892 Fixed #29135 -- Prevented get_object/list_or_404() from hiding AttributeError raised by QuerySet filtering. 2018-02-19 10:51:15 -05:00
Dylan Verheul
9b1125bfc7 Fixed #28379 -- Made AccessMixin raise Permissiondenied for authenticated users. 2018-02-16 13:58:55 -05:00
Andreas Pelme
e307ff29d2 Fixed #27810 -- Allowed query expressions in admin_order_field. 2018-02-15 21:00:31 -05:00
Herbert Parentes Fortes Neto
d368784bac Fixed #28171 -- Added an exception if Form's empty_permitted and use_required_attribute arguments conflict. 2018-02-15 13:44:26 -05:00
Tim Graham
e917ea6bec Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manually specified pks. 2018-02-15 13:17:37 -05:00
Tomer Chachamu
7ec0fdf62a Fixed #28693 -- Fixed crash in CsrfViewMiddleware when an HTTPS request has an invalid host. 2018-02-14 20:24:01 -05:00
Haki Benita
ff5517988a Fixed #28933 -- Improved the efficiency of ModelAdmin.date_hierarchy queries. 2018-02-14 19:15:41 -05:00
Tim Graham
fe99fb860f
Removed AuthenticationForm.get_user_id().
Unused since aab3a418ac9293bb4abd7670f65d930cb0426d58.
2018-02-14 19:09:06 -05:00
Tim Graham
f5c9bbd3e3
Made cosmetic edits to contrib.admin.filters. 2018-02-14 13:40:24 -05:00
Haki Benita
98dd943893 Added tests for the date_hierarchy template tag. 2018-02-14 13:36:10 -05:00
Haki Benita
2014db50f4 Removed redundant filtering in date_hierarchy template tag.
cl.queryset is already filtered by the current selections.
2018-02-13 14:12:40 -05:00
Sanyam Khurana
5a669ae2f4 Fixed #29106 -- Made DiscoverRunner display selected test tags. 2018-02-13 12:56:31 -05:00
Denys Duchier
cb7860cced Fixed #24607 -- Serialized natural keys in multi-table inheritance models.
Thanks João Paulo Melo de Sampaio for the test.
2018-02-12 21:15:04 -05:00
Tim Graham
9ba3df8240 Refs #29125 -- Made Q.deconstruct() omit 'query_utils' in the path and _connector='AND' since it's a default value. 2018-02-12 15:23:41 -05:00
Tim Graham
b95c49c954 Fixed #29125 -- Made Q.deconstruct() deterministic with multiple keyword arguments. 2018-02-12 14:52:32 -05:00
Tim Graham
a6fb81750a Added a test for Client.generic() data coercion.
The smart_str() call (now force_bytes()) added in
e73838b6ddcc7b37c03f9eee04fa6e6a283fedb3 is otherwise untested.
2018-02-12 12:53:02 -05:00
Tim Graham
b8a41a2872 Refs #27795 -- Removed force_bytes() in django.test.client where possible. 2018-02-12 11:03:11 -05:00
Tim Graham
4206765a5b Refs #20530 -- Added a test for test client query string encoding.
7bb627936034c1b9500a8d250cce75b30f980b23 is only tested in
django-contrib-comments.
2018-02-12 10:20:53 -05:00
Carlton Gibson
43b148f41f Fixed #24270 -- Doc'd that django_bash_completion is only in the source distribution. 2018-02-12 09:42:56 -05:00
Tim Graham
d63c00a428 Corrected doc'd type of some parameters from string to str. 2018-02-12 09:16:57 -05:00
Snow_Poijio
7a715b3881 Fixed typo in tests/one_to_one/tests.py docstring. 2018-02-12 08:44:49 -05:00
Stanislav Karpov
6d794fb762 Fixed #28960 -- Added GEOSGeometry.buffer_with_style(). 2018-02-10 19:45:58 -05:00
Matthew Wilkes
2162f0983d Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields). 2018-02-10 19:08:55 -05:00
Raphael Gaschignard
bf26f66029 Fixed #29118 -- Fixed crash with QuerySet.order_by(Exists(...)). 2018-02-10 18:35:57 -05:00
Manatsawin Hanmongkolchai
1a1264f149 Fixed #29109 -- Fixed the admin time picker widget for the Thai locale. 2018-02-10 16:05:41 -05:00
Tim Graham
b832de869e
Added tests for utils.html.urlize() (lazy string inputs were untested). 2018-02-10 15:45:57 -05:00
Jon Dufresne
919d59811f Refs #27795 -- Removed force_text() usage in django/test/testcases.py. 2018-02-10 11:44:39 -05:00
Jon Dufresne
1f3852b708 Refs #27795 -- Removed force_bytes() usage in django/template/loaders/cached.py. 2018-02-10 11:25:47 -05:00
Jon Dufresne
968329b5c2 Refs #27795 -- Replaced force_text() calls with str() in django.utils.html. 2018-02-09 16:47:45 -08:00
Tim Graham
d4373b6da4 Switched test requirement to new psycopg2-binary package. 2018-02-08 20:02:35 -05:00
Tim Graham
ff61a25081
Fixed #29107 -- Doc'd that ModelForm doesn't actually inherit from Form. 2018-02-08 10:10:28 -05:00
Simon Charette
d61fe24601 Fixed #29108 -- Fixed crash in aggregation of distinct+ordered+sliced querysets.
Regression in 4acae21846f6212aa992763e587c7e201828d7b0.
Thanks Stephen Brooks for the report.
2018-02-08 09:59:25 -05:00
Sergey Fedoseev
01bfa9219b Fixed typo in bulk_create() documentation. 2018-02-08 10:33:45 +01:00
Jonas Haag
8c709d79cb Fixed #17419 -- Added json_tag template filter. 2018-02-07 18:38:12 -05:00
Alexander Gaevsky
ef2512b2ff Fixed #25790 -- Allowed disable column sorting in the admin changelist.
Thanks Ramiro Morales for completing the patch.
2018-02-07 17:46:28 -05:00
Tim Graham
7d96f0c49a Refs #27795 -- Replaced force_bytes() usage in django.http. 2018-02-07 14:28:15 -05:00
Tim Graham
fa75b2cb51
Refs #27795 -- Removed force_bytes/text() usage in tests. 2018-02-07 14:20:04 -05:00
Asif Saifuddin Auvi
b38532cd6b Refs #27795 -- Replaced force_bytes() usage in django.core.signing. 2018-02-07 12:47:34 -05:00
Mariusz Felisiak
34b52f8572
Renamed the allow_sliced_subqueries database feature to allow_sliced_subqueries_with_in.
After 0899d583bdb140910698d00d17f5f1abc8774b07 this database feature is
false only on MySQL which doesn't support sliced subqueries only with
IN/ALL/ANY/SOME.
2018-02-07 08:27:47 +01:00
Nick Sarbicki
47268242b0 Fixed #29082 -- Allowed the test client to encode JSON request data. 2018-02-06 18:29:04 -05:00
shanghui
d968788b57 Fixed #28833 -- Prevented CacheMiddleware from caching responses with "Cache-Control: private". 2018-02-06 09:42:05 -05:00
Tom
272f685794 Fixed #27999 -- Added test client support for HTTP 307 and 308 redirects. 2018-02-06 09:03:43 -05:00
Tim Graham
0f0a07ac27 Refs #28814 -- Fixed migrations crash with namespace packages on Python 3.7.
Due to https://bugs.python.org/issue32303.
2018-02-05 13:29:32 -05:00
Raymond Hettinger
aba9763b51 Refs #28814 -- Imported from collections.abc to fix Python 3.7 deprecation warnings.
https://bugs.python.org/issue25988
2018-02-05 11:42:47 -05:00
Jon Dufresne
8b21878357 Refs #28723 -- Fixed stale prefetch_related cache after add/remove.
Regression in 514b2c989a948e3c59bda0da0c9427acf643cf5b.
2018-02-05 11:02:57 -05:00
Tim Graham
16ee53d7bb
Fixed #29113 -- Simplified django.forms.formsets.all_valid() and clarified docstring. 2018-02-05 10:29:38 -05:00
Simon Charette
7515e1f3fc Added stub release notes for 2.0.3. 2018-02-05 10:12:47 -05:00
Jon Dufresne
f0658ff818 Made prefetch_related tests use assertCountEqual() for unordered sequences. 2018-02-05 10:00:57 -05:00
Raffaele Salmaso
da3df5b878 Fixed #8500 -- Allowed overriding the default admin site instance. 2018-02-03 18:51:10 -05:00
Tim Graham
d0a42a14c0 Fixed imports per isort 4.3.1.
Partially reverted 9bcf73d788866bc93f8248cb2e9d601ecbc4b50c.
2018-02-02 14:44:07 -05:00
Jon Dufresne
6a039800db Refs #27795 -- Replaced force_bytes() usage in django.core.cache. 2018-02-02 08:57:58 +01:00
Mariusz Felisiak
75e45a45e7 Simplified aggregation.tests. 2018-02-02 08:47:32 +01:00
Jon Dufresne
16c5a334ff Refs #27795 -- Replaced force_text/bytes() with decode()/encode() in password hashers. 2018-02-01 12:36:21 -05:00
Tim Graham
66119ed642 Added CVE-2018-6188 to the security release archive. 2018-02-01 10:14:17 -05:00
Tim Graham
af33fb250e Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.
Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (refs #28645).

This is a security fix.
2018-02-01 09:05:14 -05:00
Tim Graham
552abffab1 Fixed #29094 -- Fixed crash when entering an invalid uuid in ModelAdmin.raw_id_fields.
Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89.

Thanks Carel Burger for the report and fix.
2018-02-01 08:36:36 -05:00
Mariusz Felisiak
9bcf73d788 Fixed imports per isort 4.3.0. 2018-02-01 09:29:46 +01:00
danieltatraivertis
9cd313fc2e Fixed #29090 -- Updated Hungarian time formats to use ':' instead of '.'. 2018-01-31 20:03:27 -05:00
Mariusz Felisiak
f73f821143 Removed uneeded comment in DatabaseWrapper.check_constraints() on SQLite/MySQL backends. 2018-01-31 20:02:45 -05:00
Chris Hasbrouck
92fe161e69 Made minor edits and corrections to docs/internals/git.txt. 2018-01-31 13:04:19 -05:00
Rodrigo
4fe0e619e7 Disambiguated "settings" in SpatiaLite note. 2018-01-31 12:20:24 -05:00
Rodrigo
9817add9e0 Doc'd specifying the ENGINE setting as part of configuring contrib.gis. 2018-01-31 12:09:26 -05:00
Rodrigo
7c5cf33127 Fixed location of spatialite_source label. 2018-01-31 11:27:55 -05:00
priyanshsaxena
617d5f410f Fixed #29066 -- Allowed negating query expressions. 2018-01-31 10:54:19 -05:00
Jon Dufresne
6b2f8fb91c Refs #27795 -- Replaced force_text() usage in django.core.management.
Use decode() since Popen.communicate() always returns bytes.
2018-01-31 10:35:08 -05:00
Дилян Палаузов
f427ffcccb Fixed #29093 -- Simplified a few lines in ModelBase.__new__(). 2018-01-31 10:22:56 -05:00
Tim Graham
4775dcb521 Renamed the "Supported versions" label. 2018-01-31 10:17:06 -05:00
Jon Dufresne
8f14ed6c81 Removed unused os_err_exc_type kwarg from core.management.utils.popen_wrapper().
Unused since its introduction in 7fca4416c7f7ce66d528f0d1ad829cf3b8290b89.
2018-01-31 10:02:01 -05:00
Tim Graham
0a37ea56d0 Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't have __init__.py.
Regression in aadd3aeb2ba3153e35bd805c80c901f289a6f333.
2018-01-31 09:36:36 -05:00
Tim Graham
de59132afc Refs #29071 -- Forwardported 2.0.2/1.11.10 release notes. 2018-01-31 09:29:12 -05:00
Tim Graham
c10cb9716f
Refs #29086 -- Doc'd how to detect bytestring mistakes. 2018-01-30 19:58:16 -05:00
Vlastimil Zíma
fbc3c29e7c Fixed #29036 -- Fixed HTML5 required validation on SelectDateWidget if the attribute is added by JavaScript.
Thanks Tim Graham for the initial patch.
2018-01-30 19:09:31 -05:00
Tim Graham
5538729e4e
Fixed #29089 -- Avoided redundant date parsing in SelectDateWidget.format_value(). 2018-01-30 18:11:05 -05:00
Tim Graham
3a4b11873a
Added tests for SelectDateWidget.value_from_datadict(). 2018-01-30 18:10:33 -05:00
Mads Jensen
1500573620 Added test for Apps.get_models() when models_ready=False. 2018-01-30 10:44:58 -05:00
Jon Dufresne
136bf5c214 Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even if the related id doesn't change. 2018-01-30 10:43:53 -05:00
Collin Anderson
46b3e3ffdc Fixed #29065 -- Made django.core.validators only load Pillow if needed. 2018-01-30 09:42:23 -05:00
Christoph Zwerschke
d4bbd3f418 Corrected an explanation in tutorial 5. 2018-01-29 12:48:37 -05:00
Tim Graham
e6f0e324e2 Fixed #29081 -- Clarified comments in QuerySet.select_related() example. 2018-01-29 11:11:43 -05:00
bquinn
c2b969e124 Fixed #29004 -- Added inspectdb --include-views option. 2018-01-27 18:51:40 -05:00
Tim Graham
92f48680db Expanded docs for AbstractBaseUser.has_usable_password(). 2018-01-27 11:03:41 -05:00
Sigurd Ljødal
a455e732a0 Fixed #28650 -- Added TruncWeek database function. 2018-01-27 09:59:13 -05:00
Tim Graham
f229049d6c
Fixed #29055 -- Doc'd that escapejs doesn't make template literals safe. 2018-01-27 09:40:55 -05:00
François Freitag
3aa9ab39cc Refs #28748 -- Reallowed lazy values in model field choices.
Regression in f9844f484186fa13399bf8b96f58616687fe158a.

Thanks Matthias Kestenholz for the report and suggestions.
2018-01-27 09:19:56 -05:00
Mariusz Felisiak
b002a032f9
Fixed #29054 -- Fixed a regression where a queryset that annotates with geometry objects crashes.
Made GEOSGeometryBase hashable.
Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f.

Thanks Tim Graham for the review.
2018-01-27 11:12:11 +01:00
Jon Dufresne
3187c89d6f Fixed #29067 -- Fixed regression in QuerySet.values_list(..., flat=True) followed by annotate(). 2018-01-26 09:35:50 -05:00
Roger Gammans
d0b44c44ef Fixed #29060 -- Made {% firstof %} assign '' to the asvar if all inputs are false. 2018-01-25 13:40:51 -05:00
shanghui
8dc675d90f Fixed #28838 -- Fixed Model.save() crash if the base manager annotates with a related field. 2018-01-25 10:12:04 -05:00
Senthil
cbac11f962 Fixed #28784 -- Clarified how migrate --fake works. 2018-01-24 14:56:40 -05:00
Ashaba
95fd5cf459 Fixed #28403 -- Added missing formats in FORMAT_MODULE_PATH docs. 2018-01-24 13:38:15 -05:00
Grant Jenks
d38a3169a4 Fixed #28977 -- Changed local-memory cache to use LRU culling.
LRU culling turns every read into a kind of write to the cache: cache keys
are moved to the first position in the OrderedDict when they are retrieved.
The RWLock which permitted multiple readers while prioritizing a single
writer is obsolete since all accesses are now writes.
2018-01-24 12:26:19 -05:00
François Freitag
f9844f4841 Fixed #28748 -- Made model field choices check more strict for named groups. 2018-01-24 10:34:24 -05:00
François Freitag
8cdeb8acfc Added more tests for model field choices validation. 2018-01-24 10:27:27 -05:00
Daniel Hones
9d129b72ce Fixed #29047 -- Corrected Substr test to use expressions.
Regression in e2d6e14662d780383e18066a3182155fb5b7747b.
2018-01-24 08:07:28 -05:00
Tim Graham
2870879981 Fixed heading level typo in docs/ref/models/database-functions.txt. 2018-01-23 19:48:57 -05:00
Devin Mork
2e625095fe Made instructions for shell launch in tutorial 5 more explicit. 2018-01-23 18:10:59 -05:00
Jon Dufresne
7d607127e3 Refs #21221 -- Deprecated staticfiles and admin_static template tag libraries. 2018-01-23 10:30:10 -05:00
Tim Graham
f0f383b635 Fixed "template tag" spelling in docs. 2018-01-23 09:40:18 -05:00
Mariusz Felisiak
950171d7b2 Refs #11487 -- Removed redundant test_long_string() test.
Redundant with model_regress.tests.ModelTests.test_long_textfield
since 3ede430b9a94e3c2aed64d2cf898920635bdf4ae.
2018-01-23 08:53:45 -05:00
Jon Dufresne
ff05de760c Fixed #29038 -- Removed closing slash from HTML void tags. 2018-01-21 02:09:10 -05:00
Jon Dufresne
4b0f39d9fb Refs #29041 -- Fixed typo in docs/releases/2.1.txt. 2018-01-21 01:41:40 -05:00
Mariusz Felisiak
aad1833fa0
Refs #20487 -- Added test for querying mixed case fields with common related model.
Thanks Shai Berger for the review.
2018-01-20 20:48:01 +01:00
Ramiro Morales
37c17846ad Fixed #28343 -- Add an OS chooser for docs command line examples. 2018-01-20 12:38:48 -05:00
Tim Graham
a22ef3bb37 Removed library name from file names of admin's JavaScript library licenses. 2018-01-20 12:30:00 -05:00
Jon Dufresne
47d238b696 Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean syntax. 2018-01-20 11:19:06 -05:00
Chris Jerdonek
b98dc1706e Refs #25604 -- Removed docs for makemigrations --exit.
Follow up to e0910dcc9283cd8f782cb97836c291f6f395f3f0.
2018-01-20 10:44:09 -05:00
Mariusz Felisiak
7fbb1bd00d
Fixed #29032 -- Fixed an example of using expressions in QuerySet.values(). 2018-01-19 08:55:29 +01:00
Tim Graham
afd50a3019 Replaced "trunk" with "master branch" in docs. 2018-01-18 16:30:38 -05:00
Jon Dufresne
90ca9412e4 Removed unnecessary microsecond truncation in SplitDateTimeWidget.
The microseconds are already truncated by the TimeInput subwidget.
2018-01-18 11:23:06 -05:00
Jon Dufresne
3c34452ab5 Refs #23668 -- Removed passing default argument of current TZ to make_aware()/naive. 2018-01-18 11:21:12 -05:00
Mads Jensen
65728550bd Refs #28643 -- Added Replace database function. 2018-01-17 20:46:15 -05:00
Vincent Poulailleau
fcd431c6c3 Improved generic detail view error message for when pk or slug is missing. 2018-01-17 10:58:05 -05:00
hayashi
27557a7a99 Fixed #28857 -- Fixed invalid SQL when using Cast with complex expressions on PostgreSQL. 2018-01-17 09:28:03 -05:00
Tim Graham
b902878fd6 Doc'd the latest state of the Jenkins pull request builders. 2018-01-17 08:48:53 -05:00
Peter Wischer
196c257a23 Fixed typo in docs/topics/i18n/translation.txt. 2018-01-17 08:47:37 +01:00
Mads Jensen
999fc0687d Added a few tests for smtp EmailBackend. 2018-01-15 12:25:17 -05:00
Mads Jensen
59b1aaa5a5 Added a couple tests for collectstatic. 2018-01-15 11:15:14 -05:00
Karmen
4fcd28d442 Fixed #28881 -- Doc'd that CommonPasswordValidator's password list must be lowercase. 2018-01-15 10:16:27 -05:00
Tim Martin
02365d3f38 Fixed #28542 -- Fixed deletion of primary key constraint if the new field is unique. 2018-01-13 20:11:55 -05:00
jaywelborn
56e590cc0b Fixed #28761 -- Documented how an inline formset's prefix works. 2018-01-13 16:20:34 -05:00
Étienne Loks
9a621edf62 Fixed #29016 -- Fixed incorrect foreign key nullification on related instance deletion. 2018-01-13 10:31:00 -05:00
Tim Graham
cea5fe94c6 Added stub release notes for 1.11.10. 2018-01-13 09:18:13 -05:00
Botond Béres
52aa26e697 Fixed #28231 -- Doc'd that QuerySet.bulk_create() casts objs to a list. 2018-01-12 19:56:16 -05:00
Himanshu Chauhan
1b753b2d60 Fixed #28885 -- Fixed hidden content at the bottom of the "The install worked successfully!" page for some languages. 2018-01-12 19:09:54 -05:00
Mariusz Felisiak
385e6fb352 Removed Query.split_exclude()'s unused prefix argument.
Unused since b4492a8ca4a7ae4daa3a6b03c3d7a845fad74931.
2018-01-12 19:06:15 -05:00
Tim Graham
b17c1d53fd
Removed unused query log clearing in bulk_create tests. 2018-01-12 18:44:36 -05:00
Tim Graham
b9cec9fa1f Fixed #29017 -- Updated BaseCommand.leave_locale_alone doc per refs #24073. 2018-01-12 14:18:32 -05:00
Дилян Палаузов
a38ae914d8 Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements. 2018-01-12 12:44:50 -05:00
Tim Graham
4bcec02368 Added tests for django.forms.formsets.all_valid(). 2018-01-12 12:40:21 -05:00
Nick Pope
1f0813ca7e Fixed string format specifier for fillfactor in GistIndex. 2018-01-12 08:49:26 -05:00
Tim Graham
a8e492bc81
Removed note in tutorial about bypassing manage.py.
This isn't relevant for beginners.
2018-01-11 19:05:59 -05:00
Jon Dufresne
1e81a4b897 Fixed #28638 -- Made allowed_hosts a required argument of is_safe_url(). 2018-01-11 07:03:50 -05:00
Sergey Fedoseev
1dce629c03 Refs #29006 -- Simplified handling of SNaN values in DecimalField.validate(). 2018-01-11 07:02:46 -05:00
Tim Graham
7c00f9fb1c
Fixed #29002 -- Corrected cached template loader docs about when it's automatically enabled.
Thanks oTree-org for the suggestion.
2018-01-11 06:48:29 -05:00
Fabio Bonelli
f636f0bb86 Fixed #29007 -- Fixed DecimalValidator crash on NaN, SNan, Inf, and Infinity values. 2018-01-10 21:43:32 -05:00
Fabio Bonelli
c886f3dee3 Fixed #29006 -- Fixed DecimalField.clean() crash on sNaN values. 2018-01-10 20:30:44 -05:00
Tim Graham
1c95737ebe Reduced redundancy in DecimalField tests with subTest(). 2018-01-10 20:30:24 -05:00
Tim Graham
db9cd1b37e
Unified construction of WITH SQL in contrib.postgres.indexes. 2018-01-10 14:59:15 -05:00
George-Cristian Bîrzan
5bf62825b5 Fixed #28828 -- Improved performance of HttpRequest.build_absolute_uri(). 2018-01-10 14:05:10 -05:00
Mads Jensen
a613feb5d3 Completed test coverage for ModelDetailView. 2018-01-10 12:13:04 -05:00
George-Cristian Bîrzan
e2908ecb3e Added more tests for HttpRequest.build_absolute_uri(). 2018-01-10 11:32:19 -05:00
Tim Graham
366451880a Updated HttpRequest.build_absolute_uri() tests to use subTest(). 2018-01-10 11:32:15 -05:00
Tim Graham
66d74676e2 Fixed a GeoIP2 test failure with the latest GeoIP2 database. 2018-01-10 09:39:41 -05:00
Tim Graham
d60e8b856b Added DatabaseFeatures.is_postgresql_9_5 to avoid repetition. 2018-01-09 14:09:02 -05:00
Nick Pope
d95f1e711b Allowed indexes in contrib.postgres to have suffixes of any length. 2018-01-09 13:33:53 -05:00
Will Ayd
09530e61a0 Fixed #28869 -- Made tagged test classes and methods inherit tags from parents. 2018-01-08 20:57:33 -05:00
Srinivas Reddy Thatiparthy
acd3baf2ae Improved readability of utils.datetime_safe._findall(). 2018-01-08 14:49:43 -05:00
Alvin Lindstam
47a99d7012 Fixed #28989 -- Fixed HttpResponse.delete_cookie() for cookies that use __Secure/Host prefixes. 2018-01-08 12:32:47 -05:00
Tim Graham
8e94f9f7dd Moved HttpResponse.set_cookie() tests to an appropriate location. 2018-01-08 12:01:59 -05:00
Mariusz Felisiak
7c81b28ebc
Updated various links in docs to use HTTPS. 2018-01-07 14:28:41 +01:00
Sergey Fedoseev
762bd34c36 Fixed #28842 -- Added SpatiaLite support for ForcePolygonCW function. 2018-01-06 19:24:44 -05:00
Mariusz Felisiak
8f8a93a9ae
Fixed #28859 -- Made Oracle backend raise DatabaseError if "no data found" exception is hidden by the Oracle OCI library.
Thanks Tim Graham for the review and Jani Tiainen for the report.
2018-01-06 18:50:54 +01:00
Vasilis Aggelou
777f216d55 Fixed #15522 -- Added ModelAdmin.delete_queryset() to customize "delete selected objects" deletion. 2018-01-05 18:28:45 -05:00
Tim Graham
ec2ce4517a Fixed #28882 -- Fixed cleaning of disabled MultiValueFields.
Thanks avalanchy for the initial patch.
2018-01-05 15:49:54 -05:00
shanghui
3333d935d2 Fixed #28757 -- Allowed using contrib.auth forms without installing contrib.auth.
Also fixed #28608 -- Allowed UserCreationForm and UserChangeForm to
work with custom user models.

Thanks Sagar Chalise and Rômulo Collopy for reports, and Tim Graham
and Tim Martin for reviews.
2018-01-05 14:47:37 -05:00
Sergey Fedoseev
44c5b239e0 Simplified django.utils.feedgenerator.rfc2822_date(). 2018-01-05 10:37:21 -05:00
Sergey Fedoseev
c794b56811 Simplified django.utils.feedgenerator.rfc3339_date(). 2018-01-05 10:36:33 -05:00
Miguel Piedrafita
cd41f7d6b8 Updated Python license for 2018. 2018-01-05 08:13:55 -05:00
Paulo
d1286a8a68 Fixed #28517 -- Fixed admin delete confirmation view crash when related models don't have a delete permission. 2018-01-04 19:07:46 -05:00
Tim Graham
5d5a2bd299 Confirmed support for PostGIS 2.4. 2018-01-04 17:27:14 -05:00
Sergey Fedoseev
2115be616b Refs #28459 -- Improved performance of duration expressions on SQLite. 2018-01-04 17:16:17 -05:00
Tim Graham
8e1a7dab4b Reorganized test_runner test apps. 2018-01-04 15:41:33 -05:00
Дилян Палаузов
d7b2aa24f7 Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
Sergey Fedoseev
c2d0f8c084 Simplified an iterator in core.serializers.sort_dependencies().
Follow up to acc8dd4142ec81def9a73507120c0262ba6b1264.
2018-01-03 18:37:23 -05:00
Jonas Haag
602481d0c9 Fixed #28986 -- Prevented boolean values in admin list display from being formatted with thousand separators. 2018-01-03 15:02:06 -05:00
Jonas Haag
ea10efebfa Added display_for_value() tests for boolean values. 2018-01-03 15:02:00 -05:00
Tim Graham
acc8dd4142
Fixed #28984 -- Made assorted code simplifications. 2018-01-03 13:24:02 -05:00
Дилян Палаузов
d79cf1e9e2 Fixed #28985 -- Removed unneeded None checks before hasattr(). 2018-01-03 11:37:06 -05:00
Claude Paroz
b3cd9fb18b Refs #15902 -- Made set_language() view always set the current language in a cookie.
The plan is to later deprecate/remove storing the language in the session.
2018-01-03 11:25:40 -05:00
я котик пур-пур
ccc25bfe4f Refs #23919 -- Removed obsolete __init__.py files in management command directories. 2018-01-03 11:02:26 -05:00
shanghui
cc6bcc6ff5 Fixed #28867 -- Added system check for a model property that clashes with a related field accessor. 2018-01-03 10:34:31 -05:00
Robin Ramael
fbf647287e Fixed #28811 -- Fixed crash when combining regular and group by annotations. 2018-01-03 08:24:16 -05:00
Alvin Lindstam
2cb6b7732d Fixed #28902 -- Fixed password_validators_help_text_html() double escaping. 2018-01-02 19:51:06 -05:00
Mariusz Felisiak
c86e9b5847 Removed DeferredAttribute.__init__()'s unused model argument.
Unused since a8a81aae20a81e012fddc24f3ede556501af64a2.
2018-01-02 17:54:10 -05:00
Tim Graham
ab7f4c3306 Refs #28965 -- Deprecated unused django.utils.http.cookie_date(). 2018-01-02 11:23:04 -05:00
Alexey
0afffae4ec Fixed #28965 -- Updated Set-Cookie's Expires date format to follow RFC 7231. 2018-01-02 11:22:59 -05:00
Tim Graham
5f456408a0 Refs #28930 -- Simplified schemas test with any(). 2018-01-02 10:11:48 -05:00
Simon Charette
f5a989e603 Fixed #28974 -- Made refresh_from_db() hint routers about its instance. 2018-01-02 09:42:24 -05:00
Tim Graham
0f5a741ada Added stub release notes for 2.0.2. 2018-01-01 20:09:48 -05:00
Tim Graham
3ae2bcc768 Added release date for 2.0.1 and 1.11.9. 2018-01-01 19:34:34 -05:00
Philipp Bosch
248fa208cb Fixed typo in TemplateCommand argument help text. 2018-01-01 19:31:27 -05:00
Tim Graham
d065c92678
Fixed #28918 -- Fixed Model.refresh_from_db() for instances hidden by the default manager. 2017-12-30 18:00:36 -05:00
Simon Charette
dcdd219ee1 Fixed #25817 -- Made RenameField repoint to_field/to_fields references.
Also updated the autodetector to assume the RenameField operation will
perform the required repointing.
2017-12-30 14:59:22 -05:00
Simon Charette
2faeb21d2f Moved _get_model_tuple() to the base Operation class.
This allows field and special operations to use this logic.
2017-12-30 14:50:43 -05:00
Sergey Fedoseev
1490611038 Fixed #28908 -- Allowed ArrayField lookups on ArrayAgg annotations. 2017-12-30 14:46:52 -05:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
58ec55b157 Fixed #28117 -- Added a helpful message in loaddata when psycopg2 can't load a fixture due to NUL characters. 2017-12-30 12:16:11 -05:00
Mariusz Felisiak
51a00749e9
Used Decimal.scaleb() in backends.utils.format_number() and DecimalField.widget_attrs() to improve performance. 2017-12-30 18:05:15 +01:00
Tomer Chachamu
9bc4d90d1a Fixed #14642 -- Fixed generic inline formsets crash when using save_as_new=True. 2017-12-30 11:38:11 -05:00
Jon Dufresne
da82939e5a Fixed #28912 -- Made EmailMessage.message() omit an empty To header. 2017-12-30 09:38:03 -05:00
Jon Dufresne
b03d500295 Fixed #28971 -- Made EmailMessage.message() set Cc from headers dict if it exists. 2017-12-30 09:37:59 -05:00
Jon Dufresne
6334939417 Tested passing To/Cc/Reply-To in EmailMessage(headers=...) without the corresponding argument. 2017-12-29 12:50:31 -05:00
Sergey Fedoseev
98e78ac754 Bumped minimum supported mysqlclient version to 1.3.7.
Follow up to ad9390bba27cb41da92f734db4d0e36ef3dfc58f.
2017-12-29 11:55:29 -05:00
shanghui
b0a2a2b07e Made a few cleanups to invalid_models_tests.test_models. 2017-12-29 10:32:01 -05:00
Sergey Fedoseev
51ae4e1f32 Refs #28459 -- Used default date converter on SQLite for better performance.
See https://docs.python.org/3/library/sqlite3.html#default-adapters-and-converters.
2017-12-29 14:37:00 +05:00
Sergey Fedoseev
ae6fa914aa Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL. 2017-12-28 17:35:41 -05:00
Tim Graham
46d1af2e82
Moved generic_inlineformset_factory() tests to a separate file. 2017-12-28 17:17:47 -05:00
Mariusz Felisiak
83a36ac49a
Removed unnecessary trailing commas and spaces in various code. 2017-12-28 21:07:29 +01:00
Tim Graham
058d112ed2 Refs #27175 -- Removed an obsolete test comment and DEBUG=True.
As of e62165b898785e890661953c3b2c9c36d98aee57, {% include %}
doesn't silence exceptions.
2017-12-28 14:57:06 -05:00
Sergey Fedoseev
47aba5ed1f Linked GIS functions docs to corresponding MySQL docs. 2017-12-28 14:21:19 +05:00
Sergey Fedoseev
aefe624c62 Fixed #28841 -- Added ForcePolygonCW GIS function and deprecated ForceRHR. 2017-12-27 19:26:14 -05:00
Sergey Fedoseev
44908d4d93 Fixed #28967 -- Prevented Cast to FloatField from rounding to integer on MySQL. 2017-12-27 19:16:37 -05:00
hui shang
f1aa58479c Fixed #28714 -- Added system checks for invalid model field names in Meta.indexes.
Thanks Gabriel for the report and Adam Johnson for the review.
2017-12-27 18:56:24 -05:00
Mariusz Felisiak
1d00923848
Refs #28958 -- Added a test for ModelAdmin with query expressions in ordering.
This provides additional test coverage but isn't a regression test for
the ticket's issue.
2017-12-27 19:47:14 +01:00
Mariusz Felisiak
c815213740
Fixed #28958 -- Fixed admin changelist crash when using a query expression in the page's ordering.
Thanks Tim Graham for the review.
2017-12-27 18:38:30 +01:00
Tim Graham
038ea4f859
Fixed #28966 -- Doc'd that the uuid URL path converter requires dashes 2017-12-27 12:23:44 -05:00
Sergey Fedoseev
ae1baa7d1d Refs #28459 -- Improved performance of loading DurationField on SQLite and MySQL. 2017-12-27 12:23:08 -05:00
Mads Jensen
ef6c680f60 Removed unused variable in QuerySet._earliest_or_latest(). 2017-12-27 09:04:46 -05:00
Sergey Fedoseev
d0f569b350 Refs #28459 -- Improved performance of loading DecimalField on SQLite. 2017-12-26 18:12:37 -05:00
Дилян Палаузов
4c599ece57 Fixed #28930 -- Simplified code with any() and all(). 2017-12-26 17:11:15 -05:00
Ran Benita
c21f158295 Fixed #28944 -- Fixed crash when chaining values()/values_list() after QuerySet.select_for_update(of=()). 2017-12-26 11:41:17 -05:00
Tim Martin
5778b5701d Fixed #28731 -- Added an error message when using an empty Q() in a When expression.
Otherwise it generates invalid SQL.
2017-12-26 10:39:47 -05:00
Tim Graham
6deaddcca3 Fixed #28956 -- Updated admin's jQuery to 3.2.1. 2017-12-26 10:21:05 -05:00
Tim Graham
0fc4b1f31f Refs #28956 -- Removed usage of jQuery's deprecated event methods in admin JavaScript. 2017-12-26 10:21:05 -05:00
Tim Graham
b730973fff Refs #28956 -- Removed usage of jQuery's deprecated .selector property in admin JavaScript. 2017-12-26 10:21:05 -05:00
Tim Graham
8dbaeb6138 Updated minified admin JavaScript for the latest closure compiler. 2017-12-26 10:21:05 -05:00
Ramiro Morales
e67733aa65 Fixed #28963 -- Raised minimum Sphinx version. 2017-12-25 14:17:09 -03:00
Claude Paroz
23b21db31b Fixed #28594 -- Removed Jython docs and specific code
Thanks Andrey Martyanov for the reporti, and Tim Graham for the review.
2017-12-23 10:26:32 +01:00
Zac-HD
32ade4d73b Fixed #28878 -- Added python_requires in setup.py and a warning for older pips that don't recognize it. 2017-12-22 18:25:05 -05:00
Cameron Curry
622ead6aaf Fixed #28937 -- Allowed BinaryField to be editable=True. 2017-12-22 16:31:46 -05:00
Simon Charette
9f7772e098 Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model referenced by a ManyToManyField.
Introspected database constraints instead of relying on _meta.related_objects
to determine whether or not a table or a column is referenced on rename
operations.

This has the side effect of ignoring both db_constraint=False and virtual
fields such as GenericRelation which aren't backend by database level
constraints and thus shouldn't prevent the rename operations from being
performed in a transaction.

Regression in 095c1aaa898bed40568009db836aa8434f1b983d.

Thanks Tim for the additional tests and edits, and Mariusz for the review.
2017-12-22 15:19:05 -05:00
Nick Pope
f3a98224e6 Refs #28909 -- Simplifed code using unpacking generalizations. 2017-12-21 21:05:23 -05:00
Sergey Fedoseev
ebc4ee3369 Refs #23941 -- Prevented incorrect rounding of DecimalField annotations on SQLite. 2017-12-21 19:50:56 -05:00
Berker Peksag
ad9390bba2 Updated documented mysqlclient requirement to 1.3.7.
The test requirement was bumped in
2514e044a7fce58176c4e79eec298f3d8f70e89b.
2017-12-21 19:13:12 -05:00
Tilmann Becker
01384ce36c Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
2017-12-20 20:36:41 -05:00
Tim Graham
04d1454350 Moved unnecessary inner imports in admin_scripts tests. 2017-12-20 14:52:20 -05:00
Tim Graham
e7b804c060 Fixed #28941 -- Fixed crash in testserver command startup.
Regression in 2b09e4c88e96cb03b29f5a6b0e4838ab4271e631.
2017-12-20 14:38:06 -05:00
Sergey Fedoseev
c8a85e3e91 Fixed #28932 -- Prevented Oracle from truncating trailing zeros in the fractional part of DecimalField.
Fixes the test added in 6fd6d8383f48ea2fe4e058725fa30529a083e9a5.
Regression in 7c1f3901bcdabb1340a621e7df9b24f3acd0d6f3.
2017-12-20 11:55:51 -05:00
Mariusz Felisiak
fc9eec7bb7 Fixed #28934 -- Prevented Cast from truncating microseconds on Oracle. 2017-12-20 11:05:27 -05:00
Sergey Fedoseev
a7a36bb4d8 Refs #25181 -- Updated timezone.now() docs about obtaining the time in the current time zone. 2017-12-20 10:44:14 -05:00
Mariusz Felisiak
4420761ea9
Fixed #28727 -- Fixed Cast crash on SQLite when casting a Python date/datetime to Date/DateTimeField. 2017-12-19 19:54:58 +01:00
Mariusz Felisiak
78247b80a8 Simplified and improved performance of floatformat filter.
Thanks Sergey Fedoseev for the review.
2017-12-19 05:08:10 -10:00
Tim Graham
770b9ea77f Fixed #25277 -- Restored test dependency to the original python-memcached. 2017-12-18 10:37:43 -10:00
weijunji
1ef8b30abe Fixed #28929 -- Corrected QUnit examples. 2017-12-18 09:49:00 -10:00
Daniel Hepper
4dcd7723d5 Fixed #28938 -- Corrected Python compatibility in the tutorial. 2017-12-18 08:51:36 -10:00
Sergey Fedoseev
9c9ef58352
Removed unused DatabaseOperations.date_interval_sql() on Oracle.
Unused since 5ca82e710e2f92b8c5114492205c8764918407d3.
2017-12-16 23:59:36 +05:00
Sergey Fedoseev
6fd6d8383f Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField.
This reverts commit a146b65628e702a9a3ed5be21542ca45366fbb29 and adds
a test for the regression.
2017-12-12 21:57:41 -10:00
Rodrigo Pinheiro Marques de Araújo
30a389bd77 Fixed #28898 -- Corrected admin check to allow a OneToOneField in ModelAdmin.autocomplete_fields. 2017-12-13 02:39:27 -05:00
Sergey Fedoseev
f9a0766f1c Simplified SQLite converter for bool type. 2017-12-12 22:40:15 -05:00
Sergey Fedoseev
da71e4bb08 Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.
Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188.
2017-12-12 17:12:04 -10:00
Sergey Fedoseev
10bfa876be Refs #27985 -- Reallowed using __exact=None as an alias for __isnull=True if a custom lookup class with lookup_name != None is registered as the exact lookup.
Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188 and prerequisite
for refs #28896.
2017-12-12 17:11:58 -10:00
Daniil
7c7bc6391a Fixed #28874 -- Prevented double escaping of errors on hidden form fields. 2017-12-11 07:30:47 -05:00
Nick Pope
d13a9e44de Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. 2017-12-11 07:08:45 -05:00
Morgan Wahl
a9e5ac823d Refs #28856 -- Added test for caching of a GenericForeignKey pointing to a model that uses more than one level of MTI.
Forwardport of test and release notes of
35222035029863f95769e2e59beeeb953d125689 from stable/1.11.x
2017-12-08 14:06:28 -05:00
Nick Pope
81abece192 Corrected type of MESSAGE_TAGS setting override in tests. 2017-12-08 13:18:31 -05:00
Simon Charette
b43acf22df Refs #27849 -- Removed empty Q() hack in filtered Aggregate.as_sql().
This required allowing WhereNode to be provided as When(condition).

This was made possible by cf12257db23fa248c89a3da3f718aa01a50ca659.
2017-12-08 10:59:49 -05:00
Jozef
fff86cfa46 Made session loading in cached_db engine more DRY. 2017-12-08 10:51:16 -05:00
Sergey Fedoseev
c5a2f48bed Improved performance of loading DateTimeField on Oracle and MySQL. 2017-12-08 09:53:27 -05:00
Sergey Fedoseev
23a27f2c03 Simplified widgets.Select._choice_has_empty_value(). 2017-12-08 08:14:25 +05:00
Tim Graham
2b81faab25
Fixed #28906 -- Removed unnecessary bool() calls. 2017-12-07 17:13:07 -05:00
Tim Graham
02d9419fe3
Fixed #28907 -- Removed unnecessary if statements. 2017-12-07 17:12:00 -05:00
geekodour
c6864a01b2 Fixed #28791 -- Allowed commands that don't require settings to work if the DJANGO_SETTINGS_MODULE doesn't exist. 2017-12-07 14:19:18 -05:00
M Somerville
16bd4964df Fixed #28891 -- Documented Origin's loader attribute. 2017-12-07 12:19:58 -05:00
Sam Collins
2d75e74e18 Fixed typo in docs/ref/contrib/admin/index.txt. 2017-12-07 10:52:46 -05:00
Nick Pope
c68f66e014 Refs #23919 -- Replaced super() calls for old-style classes. 2017-12-07 09:10:32 -05:00
Mohammad Esmaeilbeygi
9d1d0e2b70 Fixed import in docs/ref/models/conditional-expressions.txt example. 2017-12-07 08:57:38 -05:00
Tim Graham
a862af3839
Fixed #28893 -- Removed unnecessary dict.items() calls. 2017-12-06 17:17:59 -05:00
Sergey Fedoseev
183fb7b2b9 Fixed #28870 -- Added support for functools.partialmethod serialization in migrations. 2017-12-06 14:49:37 -05:00
Sergey Fedoseev
b728ab22e1 Simplified BaseModelAdmin.lookup_allowed() a bit. 2017-12-06 23:54:51 +05:00
Tzu-ping Chung
85e6a1c634 Fixed #28877 -- Made ordinal template filter results more localizable.
Marked the whole pattern (e.g. "{value}th") as translatable, instead of
just this suffix, so that languages not using suffixes for ordinals can
use this tag.
2017-12-06 09:42:58 -05:00
Nick Pope
1818d13de7 Added "Python 3 Only" trove classifier. 2017-12-06 09:25:34 -05:00
Tim Graham
4114b441ee
Fixed #28886 -- Updated prefix for example django.contrib.auth.urls URLs. 2017-12-06 09:23:42 -05:00
Tim Graham
bae365e13c
Fixed #28883 -- Doc'd that the uuid URL path converter matches lowercase only letters. 2017-12-06 09:16:32 -05:00
Mariusz Felisiak
fc48047586
Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.
2017-12-05 21:11:20 +01:00
Mariusz Felisiak
f79d9a322c
Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.
2017-12-05 21:05:10 +01:00
Claude Paroz
f2ec896912 Removed 'development' word in contributing docs 2017-12-05 18:42:37 +01:00
Nick Pope
e014f91a70 Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-12-05 11:22:36 -05:00
Tim Graham
dfeb19121b Added stub release notes for 1.11.9. 2017-12-05 10:54:33 -05:00
Igor Starikov
3cc08f4b2b Fixed typo in docs/ref/models/expressions.txt. 2017-12-05 08:39:57 -05:00
Дилян Палаузов
87c76aa116 Fixed #28873 -- Used dict.setdefault() to set model and form field defaults. 2017-12-04 13:28:48 -05:00
Дилян Палаузов
d2afa5eb23 Fixed #28860 -- Removed unnecessary len() calls. 2017-12-04 10:35:23 -05:00
Jozef
3d94ee8500 Simplified django.utils.cache.get_max_age(). 2017-12-04 08:57:55 -05:00
David Szotten
bee4c2baed Fixed grammer in docs/releases/2.0.txt. 2017-12-04 08:55:40 -05:00
Sergey Fedoseev
3922f02dc6
Fixed typo in docs/topics/testing/advanced.txt. (#9416) 2017-12-04 14:23:16 +05:00
Tim Graham
450c933fff Added stub release notes for 2.0.1. 2017-12-02 10:41:35 -05:00
Tim Graham
7664fe2759 Refs #28871 -- Fixed admin_views selenium test failure. 2017-12-02 09:54:31 -05:00
Tim Graham
335aad5d91 Added release dates for 2.0 and 1.11.8. 2017-12-02 08:55:33 -05:00
Tim Graham
81057645f6 Fixed #28871 -- Fixed initialization of autocomplete widgets in "Add another" inlines.
Also allowed autocomplete widgets to work on AdminSites with a name other
than 'admin'.
2017-12-01 22:14:32 -05:00
Simon Charette
095c1aaa89 Fixed #28849 -- Fixed referenced table and column rename on SQLite.
Thanks Ramiro for the input and Tim for the review.
2017-12-01 22:12:24 -05:00
Tim Graham
474bd7a5d4 Used a separate admin site for autocomplete tests. 2017-12-01 21:57:05 -05:00
Sergey Fedoseev
cf12257db2 Fixed #28863 -- Fixed filter on annotation that contains Q. 2017-12-01 21:48:49 -05:00
Tim Graham
c3e0adcad8 Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations.
Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.
2017-12-01 19:07:46 -05:00
Claude Paroz
d6859a1489 Added Kabyle language
Forward port of bfc3fa3d3b291b40ed1e2ce6da3b2675b40f0a54 from stable/2.0.x
2017-12-01 21:52:06 +01:00
Claude Paroz
d0932ce8fc Updated contrib translations from Transifex
Forward port of 765e6de92493aa638555408172597e054e813ce3 from stable/2.0.x
2017-12-01 21:51:30 +01:00
Claude Paroz
b36ed9bf92 Updated core translations from Transifex
Forward port of e886205988db2ee57bab64a6b59135caef8e28a2 from stable/2.0.x
2017-12-01 21:50:49 +01:00
Vasiliy Bolshakov
03974d8122 Fixed #28866 -- Made InlineAdminFormSet include InlineModelAdmin's Media before its formset's Media.
This provides better backwards compatibility following refs #28377.
2017-11-30 20:15:28 -05:00
Simon Charette
e50add6ca1 Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
Regression in b9f8635f58ad743995cad2081b3dc395e55761e5.
2017-11-30 09:28:44 -05:00
Mads Jensen
f0a68c2511 Fixed #28702 -- Made query lookups for CIText fields use citext. 2017-11-29 10:35:37 -05:00
Simon Charette
78c5e7b90e Fixed #28834 -- Followed ancestor links on field cache lookup failure.
Thanks Tim for the review.
2017-11-29 01:28:39 -05:00
Nicolas Delaby
746caf3ef8 Fixed #28837 -- Fixed test client crash if an exception with more than one arg is raised.
Also removed usage of the problematic pattern elsewhere.

Regression in 6e55e1d88a5c4453e25f0caf7ffb68973de5c0ba.
2017-11-28 18:55:23 -05:00
Jon Dufresne
7a6fbf36b1 Fixed #28853 -- Updated connection.cursor() uses to use a context manager. 2017-11-28 11:28:09 -05:00
Дилян Палаузов
3308085838 Fixed #28854 -- Replaced type(True) with bool in sqlite's SchemaEditor. 2017-11-28 10:44:02 -05:00
Claude Paroz
4f5526e346 Fixed #28773 -- Forced pot files to use UNIX-style newlines
Thanks Hendy Irawan for the analysis and report.
2017-11-28 08:52:37 +01:00
Raphael Michel
616f468760 Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last. 2017-11-27 11:35:44 -05:00
Mariusz Felisiak
ad5f33ee03
Refs #27954 -- Fixed typo in django/db/backends/postgresql/client.py comment. 2017-11-26 16:27:37 +01:00
Mariusz Felisiak
fc22a0a214 Removed unused words from docs/spelling_wordlist. 2017-11-24 07:53:40 -05:00
Sergey Fedoseev
31425f71bc Used bytes.hex() and bytes.fromhex() in postgis.pgraster to simplify.
This was missed in 93cdd07e8fb08d7bb3f1e4a7117aa9d0d76581cd.
2017-11-24 07:52:13 -05:00
Luke Plant
e283c1a267 Linked to prefetch_related_objects func in DB optimization docs. 2017-11-23 21:26:39 +03:00
Sergey Fedoseev
93cdd07e8f Used bytes.hex() and bytes.fromhex() to simplify. 2017-11-23 08:52:23 -05:00
Hyunwoo Park
3f237c1a5b Fixed typo in docs/topics/forms/media.txt. 2017-11-22 07:26:18 -05:00
Yan Mitrofanov
54e5c4a00e Fixed #28820 -- Eliminated an extra query with QuerySet.update() on proxy models. 2017-11-21 12:11:47 -05:00
Frédéric Massart
a5f1e5809f Clarified who the AdminEmailHandler emails. 2017-11-21 11:49:15 -05:00
Dražen Odobašić
d97f026a7a Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list(). 2017-11-21 10:33:56 -05:00
Tim Graham
6cb6382639 Added assertion helpers for PostgreSQL's server-side cursor tests. 2017-11-21 08:21:09 -05:00
Tim Graham
e3c852cbd6
Fixed #28804 -- Fixed "Unknown system variable 'transaction_isolation'" on MariaDB.
Regression in 967450a3bf940c43db891fe1e2ef3bcf73456ff8.
2017-11-20 10:08:34 -05:00
Krzysztof Nazarewski
244cc40155 Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields.
Thanks Krzysztof Nazarewski for the initial patch.
2017-11-18 19:33:52 -05:00
Chris Lamb
3af305e8b8 Fixed #28810 -- Replaced '%' style logging formatting with str.format() style. 2017-11-18 19:15:08 -05:00
Benjamin Bach
bf49d9eb0b Fixed #28815 -- Fixed ExtractYear imports in docs/ref/models/expressions.txt. 2017-11-17 17:30:21 -05:00
Tim Graham
9d1d3b2d2f Refs #28814 -- Fixed test_runner failure on Python 3.7.
Due to https://bugs.python.org/issue30399.
2017-11-17 16:13:23 -05:00
Tim Graham
931c60c521 Refs #28814 -- Fixed "SyntaxError: Generator expression must be parenthesized" on Python 3.7.
Due to https://bugs.python.org/issue32012.
2017-11-17 15:38:29 -05:00
Chris Lamb
648957b707 Fixed #28798 -- Removed unused django.utils.dates.WEEKDAYS_REV, MONTHS_3_REV. 2017-11-17 15:37:58 -05:00
Tim Graham
d392fc293c Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt. 2017-11-16 10:37:50 -05:00
Tim Graham
6bf85ff7e3 Fixed #28796 -- Doc'd backwards incompatibility when reverse() receives bytestring args/kwargs.
Due to 301de774c21d055e9e5a7073e5bffdb52bc71079.
2017-11-16 09:07:50 -05:00
Claude Paroz
9549674043 Updated main translation catalog
Forward port of cd6d18abc31902a13013de61aacd0ae92d6f68a2 from stable/2.0.x.
2017-11-15 16:23:18 +01:00
Tim Graham
9bea555d06 Fixed test failures due to ordering differences on PostgreSQL 10. 2017-11-15 09:37:18 -05:00
Simon Charette
ee85ef8315 Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.

Thanks Tim and Mariusz for the review.
2017-11-14 21:36:25 -05:00
Tim Graham
532a4f22ad Fixed invalid escape sequence warning in check_framework test. 2017-11-14 19:05:20 -05:00
Sergey Fedoseev
967450a3bf Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL 5.7.20+. 2017-11-14 15:40:44 -05:00
Tim Graham
bc95314ca6 Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length. 2017-11-14 12:01:24 -05:00
Дилян Палаузов
23bf4ad87f Fixed #28795 -- Removed 'not in' checks and used dict.setdefault(). 2017-11-14 10:52:52 -05:00
Sergey Fedoseev
a2ec1e6b2d Used BaseSimpleSerializer for serializing str and bytes in migrations.
Follow up to c716fe87821df00f9f03ecc761c914d1682591a2.
2017-11-13 14:12:46 -05:00
Sergey Fedoseev
b5ecbf1e12 Simplified choices iterators in tests.model_fields.models. 2017-11-13 13:11:07 -05:00
Mariusz Felisiak
2d3cc94284
Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
Thanks Tim Graham for the review.
2017-11-12 14:28:11 +01:00
Tim Graham
8f8a4d10d3 Refs #26447 -- Removed outdated ETag comment in CommonMiddleware.
Follow up to 48d57788ee56811fa77cd37b9edf40535f82d87e.
2017-11-11 20:45:17 -05:00
shanghui
1907fc9b12 Fixed #28534 -- Made JSONField.has_changed() ignore key order and consider True/1 values as different. 2017-11-11 19:45:23 -05:00
Sergey Fedoseev
bdb747a5f2 Simplified Field.get_choices(). 2017-11-11 19:38:29 -05:00
Sergey Fedoseev
f152678d36 Removed unneeded iter() call in IfNode.nodelist. 2017-11-11 19:36:21 -05:00
Tim Graham
abaf0ab4a4
Fixed #28777 -- Clarified the docs for admin.register's args. 2017-11-09 21:21:43 -05:00
Paulo
ee49306176 Fixed #27710 -- Made Model.save() invalidate cached, stale relations after a primary key assignment. 2017-11-09 11:40:34 -05:00
shanghui
ebb998976e Fixed #28751 -- Corrected the error message for inactive users in AdminAuthenticationForm.
Thanks SeungWon Kang for the report and Tim Graham for the review.
2017-11-08 09:39:12 -05:00
shanghui
359370a8b8 Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive user error when using ModelBackend.
Regression in e0a3d937309a82b8beea8f41b17d8b6298da2a86.

Thanks Guilherme Junqueira for the report and Tim Graham for the review.
2017-11-08 09:39:12 -05:00
Andrei Fokau
3ae9c356c5 Refs #28593 -- Updated old class names in comments following URL routing changes. 2017-11-08 08:43:39 -05:00
Claude Paroz
0cf00769ad Fixed #28585 -- Calculated admin's change form multipart context variable from forms and formsets
Thanks Tim Graham for the review.
2017-11-07 19:06:32 -05:00
Bjorn Kristinsson
ac6a4eb9f9 Fixed #28719 -- Added a helpful exception if MultipleObjectTemplateResponseMixin doesn't generate any template names. 2017-11-07 18:46:52 -05:00
Jonas Haag
a2851f204c Fixed #28720 -- Added HttpRequest.get_full_path_info(). 2017-11-07 15:58:05 -05:00
Imran Iqbal
3e7497a05e Fixed #28758 -- Fixed RangeMax/MinValueValidators crash with unbound ranges. 2017-11-07 15:07:03 -05:00
Claude Paroz
1b7780ea08 Fixed #28544 -- Made unlocalize template filter behave like {% localize off %} tag
Thanks Beda Kosata for the report and Tim Graham for the review.
2017-11-07 20:48:15 +01:00
Tim Graham
327f0f37ce
Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
Thanks Hynek Cernoch for the report and review.
2017-11-07 13:07:12 -05:00
Chris Lamb
998c9dd599 Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes. 2017-11-07 11:39:59 -05:00
Sergey Fedoseev
a4f9ef4fe8 Refs #28518 -- Improved performance of assigning values to GeometryFields. 2017-11-07 09:49:29 -05:00
Дилян Палаузов
c69e4bc691 Fixed #28769 -- Replaced 'x if x else y' with 'x or y'. 2017-11-07 09:08:46 -05:00
Tim Graham
00b93c2b1e Fixed typo in docs/topics/db/aggregation.txt. 2017-11-07 09:03:01 -05:00
Дилян Палаузов
6c0042430e Fixed #28776 -- Fixed a/an/and typos in docs and comments. 2017-11-06 22:41:03 -05:00
Tim Graham
5587485d49
Fixed #28765 -- Clarified docs about what types the __in lookup accepts. 2017-11-06 13:12:14 -05:00
Yusuke Miyazaki
278d66b94b Fixed #28501 -- Fixed "python -m django runserver" crash. 2017-11-06 09:58:15 -05:00
Yusuke Miyazaki
ac21f2e391 Added RestartWithReloaderTests. 2017-11-06 09:54:31 -05:00
Sergey Fedoseev
8869142a4d Fixed #28632 -- Updated docs about using raw SQL with GIS and doc'd changes from refs #28518 in release notes. 2017-11-04 10:50:28 -04:00
Sergey Fedoseev
69922d303d Refs #17448 -- Fixed GeoModelTest.test_raw_sql_query.
The test was a false positive.
2017-11-04 10:08:26 -04:00
Sergey Fedoseev
e9a370bb6a Simplified GeometryField.select_format(). 2017-11-04 10:08:25 -04:00
Tom
b81905bfd4 Fixed #28571 -- Added a prompt to bypass password validation in createsuperuser. 2017-11-03 20:00:08 -04:00
Tim Graham
872be5976d Improved technique for matching input prompts in contrib.auth management tests. 2017-11-03 20:00:08 -04:00
Nick
3d22121a0b Clarified error message for when sqlplarse isn't installed. 2017-11-03 10:09:46 -04:00
Ondrej Kolimar
ba2c4ec7cc Fixed #28768 -- Added Slovak char map for Javascript slug generation. 2017-11-03 09:22:59 -04:00
Mike Hansen
514b2c989a Fixed #28723 -- Fixed RelatedManager's prefetch_related() cache name. 2017-11-02 10:06:00 -04:00
Tim Graham
ef718a72b3 Added stub release notes for 1.11.8. 2017-11-01 21:33:51 -04:00
Tim Graham
5f5425f74e Added release date for 1.11.7. 2017-11-01 21:11:38 -04:00
Tim Graham
c70086473e Fixed #28759 -- Promoted the contributing guide in the docs for the django-developers mailing list. 2017-11-01 20:35:31 -04:00
Sam Morrow
dcc0427c58 Fixed #28745 -- Added first and last page links to paginator docs example. 2017-11-01 20:10:54 -04:00
Michał Pasternak
e554b72a2a Fixed #28749 -- Added subquery support for ArrayField's __in lookup. 2017-11-01 15:12:18 -04:00
Tim Graham
6e8508734b Described how querysets are protected from SQL injection in more detail. 2017-11-01 11:34:17 -04:00
Tim Graham
1e7dbbdec5 Fixed #28680 -- Doc'd Func.__init__()'s **extra and as_sql()'s **extra_context aren't escaped.
Thanks Hynek Cernoch for the report and review.
2017-11-01 11:34:06 -04:00
Adam Johnson
629dde8db1 Made assorted edits to docs/releases/2.0.txt. 2017-11-01 11:22:44 -04:00
Tim Graham
7945bc1d08
Refs #23919 -- Replaced doc references to django.utils.http.urlquote() and urlquote_plus() with standard library alternatives.
Follow up to fee42fd99ee470528858c2ccb3621135c30ec262.
2017-11-01 11:11:12 -04:00
Tim Graham
afd375fc34
Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples. 2017-11-01 10:57:59 -04:00
Charlie Denton
cbe334918a Fixed #28750 -- Allowed models to define Meta.manager_inheritance_from_future for backwards compatibility.
Refs 631f4ab06112aca5bd6a57b81159048f936050bf.
2017-10-31 13:22:27 -04:00
Adam Johnson
acc989f037 Fixed #28760 -- Removed DummyCache's unnecessary get/set/delete_many(). 2017-10-31 12:16:09 -04:00
Ville Skyttä
23e551ce6c Refs #23919 -- Updated references to urllib.quote() to Python 3 location. 2017-10-31 12:05:54 -04:00
Rajesh Veeranki
5e1a356060 Fixed typo in tests/many_to_many/tests.py. 2017-10-31 10:21:02 -04:00
Ville Skyttä
617686e226 Fixed 'a'/'an' mix-ups in docs. 2017-10-30 21:47:09 -04:00
Paulo
fcfcf8aae4 Fixed #28742 -- Fixed AttributeError crash when assigning None to cached reverse relations. 2017-10-30 14:02:03 -04:00
Adam Johnson
f8946fbb5d Removed docs for obsolete compatibility checks. 2017-10-30 12:39:42 -04:00
Adam Johnson
abacd09f07 Refs #27318 -- Made DummyCache.set_many() return a list for consistency with other backends. 2017-10-30 12:13:17 -04:00
Ran Benita
03049fb8d9 Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.
Thanks Adam Chidlow for polishing the patch.
2017-10-28 20:33:42 -04:00
Botond Beres
56b364bacc Fixed #28205 -- Doc'd that ModelAdmin.prepopulated_fields only works on add forms. 2017-10-28 13:08:10 -04:00
Botond Beres
51d7feff87 Fixed #28131 -- Corrected examples of using attribute lookups on the "perms" template variable. 2017-10-28 12:15:07 -04:00
Tim Baxter
73241132f2 Refs #28457 -- Removed unused .next-step CSS in django/views/templates/default_urlconf.html. 2017-10-28 07:59:59 -04:00
Tim Baxter
f6b5cecc71 Refs #28457 -- Updated the colors of the 'Congrats' page for WCAG AA compliance. 2017-10-28 07:57:27 -04:00
Samir Shah
6c98c5abdf Refs #21927 -- Removed docs for include()'s old instance_namespace parameter.
Follow up to ad393beeb71e8774e4bf9ad842b97022e50f1231.
2017-10-28 07:48:31 -04:00
Duarte Fernandes
019c2600a6 Fixed #28747 -- Fixed typos in django/conf/global_settings.py comments. 2017-10-26 21:48:31 -04:00
Botond Beres
ec5f7cb92e Fixed typo in docs/ref/models/querysets.txt. 2017-10-25 19:03:21 -04:00
Botond Beres
95a14cfc47 Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation queries. 2017-10-25 18:46:25 -04:00
Srinivas Reddy Thatiparthy
55b5393bd2 Fixed #28474 -- Made DurationField raise ValidationError for inputs that raised OverflowError. 2017-10-25 18:05:13 -04:00
Mariusz Felisiak
81e357a7e1 Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef.
Regression in f48bc7c3dbd204eefb3c19016b1e4906ac26bee3.
2017-10-25 21:52:38 +02:00
Tim Graham
171c7cc863 Fixed #28737 -- Clarified {% cache %} tag's handling of arguments.
Thanks Tom Aratyn for the report.
2017-10-25 12:46:12 -04:00
Tim Graham
3642c3758b Suggested LoginView rather than @login_required as an alternative to authenticate(). 2017-10-25 11:17:17 -04:00
Ryan Verner
9473a8481a Fixed #28740 -- Added 'continent_code' and 'continent_name' in GeoIP2.city() dict. 2017-10-25 10:07:37 -04:00
medmunds
d1317edad0 Fixed #28739 -- Fixed get_fixed_timezone() for negative timedeltas. 2017-10-24 21:27:53 -04:00
Tim Graham
3576bfe07c Added a link in README.rst for people new to IRC. 2017-10-24 13:59:17 -04:00
Scot Hacker
6642a646f0 Fixed #28735 -- Fixed typo in django/views/templates/default_urlconf.html. 2017-10-24 11:17:47 -04:00
Tim Graham
8b9a163afa Refs #28688 -- Updated a selenium test for admin's URLify.js change.
English words aren't removed if non-ASCII chars are present.
2017-10-24 11:03:36 -04:00
Jon Dufresne
6ed347d851 Fixed #28706 -- Moved AuthenticationFormn invalid login ValidationError to a method for reuse. 2017-10-23 09:10:45 -04:00
Tim Graham
7fb913c805 Removed Python 2 comment in ValidationError. 2017-10-23 08:56:41 -04:00
Claude Paroz
68407e3545 Refs #14807 -- Removed unneeded mark_safe call 2017-10-22 12:10:27 +02:00
Tomer Chachamu
21a3a29dc9 Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last. 2017-10-21 20:55:45 -04:00
Levi Payne
6c3104221b Refs #28721 -- Added test for variations of 'inf'/'infinity' as a template variable names.
Fixed by 9ec7d8e514e09636b0ab4bcac74b5f7a5be335a3.
2017-10-21 20:55:26 -04:00
Claude Paroz
9ec7d8e514 Fixed #28730 -- Fixed loss of precision for large integer literals in templates
Thanks Fraser Nevett for the report and Tim Graham for patch edits.
2017-10-21 17:20:29 +02:00
Mads Jensen
45d5d2dcaa Removed unnecessary tuple()/list() calls. 2017-10-21 09:42:25 -04:00
Mariusz Felisiak
0f722d865e Removed redundant inner imports. 2017-10-20 18:30:41 -04:00
Tim Graham
1a82fc245e Fixed #28613 -- Doc'd the return value for GenericForeignKey when the related object is deleted. 2017-10-20 14:52:48 -04:00
Tim Graham
eb9b56c5b6 Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs. 2017-10-20 14:00:51 -04:00
Flávio Juvenal
f6e1789654 Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable defaults. 2017-10-20 13:17:22 -04:00
Lucas Connors
5ceaf14686 Fixed #27515 -- Made AuthenticationForm's username field use the max_length from the model field.
Thanks Ramin Farajpour Cami for the report.
2017-10-20 11:13:26 -04:00
Lucas Connors
d233391208 Refs #19130 -- Added a test for AuthenticationForm.username max_length.
This will be a more useful regression test after refs #27515.
2017-10-20 11:10:32 -04:00
Mads Jensen
5114669f72 Refs #24031 -- Added test for Case and When constructor arguments. 2017-10-20 10:15:11 -04:00
Mads Jensen
f7036b3e26 Fixed #28662 -- Silenced join template filter error if arg isn't iterable. 2017-10-20 09:46:31 -04:00
Simon Charette
d4fb742094 Refs #28575 -- Made RelatedObjectDoesNotExist classes pickable.
Thanks to Rachel Tobin for the initial __qualname__ work and tests.
2017-10-18 21:43:53 -04:00
Collin Stedman
4a861e8850 Refs #19295 -- Doc'd that ManifestStaticFilesStorage doesn't work with runserver --insecure. 2017-10-18 20:38:30 -04:00
Simon Charette
0a69479b6c Fixed outdated comment in RelatedObjectDoesNotExist. 2017-10-18 20:31:47 -04:00
Tim Graham
1399f8ae77 Refs #28711 -- Replaced ugettext_lazy() with gettext_lazy() in a test.
As per c651331b34b7c3841c126959e6e52879bc6f0834.
2017-10-18 20:07:36 -04:00
Jonas Haag
d997ab7764 Fixed #28711 -- Fixed unordered_list template filter with lazy translations. 2017-10-18 19:45:10 -04:00
Jonas Haag
b21b1b10af Refs #23260 -- Tested nested generator input to unordered_list template filter. 2017-10-18 19:37:30 -04:00
Eneko Illarramendi
2346636b0c Updated Basque (eu) locale formats. 2017-10-17 11:34:46 -04:00
Jozef
3bd69b1261 Fixed typo in docs/ref/models/querysets.txt. 2017-10-17 10:07:20 -04:00
Simon Willison
346eb32861 Made SearchQuery examples less sterotyped. 2017-10-17 09:29:47 -04:00
Simon Meers
f771b24f00 Fixed typos in docs/releases/2.0.txt. 2017-10-17 07:49:33 -04:00
Tim Graham
1b73ccc4bf Fixed #28497 -- Restored the ability to use sliced QuerySets with __exact.
Regression in ec50937bcbe160e658ef881021402e156beb0eaf.

Thanks Simon Charette for review.
2017-10-16 13:56:38 -04:00
Joe Arthur
61a6245dc5 Fixed typo in MessageMiddleware.process_response() docstring. 2017-10-16 10:10:43 -04:00
Yuri Kaszubowski Lopes
d98210c255 Fixed #28713 -- Prevented ModelBackend.get_all_permissions() from mutating get_user_permissions(). 2017-10-14 20:47:49 -04:00
Claude Paroz
c1fa6672dd Refs #28710 -- Simplified l10n format test 2017-10-14 21:07:51 +02:00
k
399a8db33b Fixed #28695 -- Allowed models to use __init_subclass__(). 2017-10-13 21:29:12 -04:00
Simon Charette
9dd405973c Corrected examples in related field descriptor docstrings.
Using lowercased model class names suggested that accessing the attribute
from instances of the class returned an instance of the descriptor, but
this is only the case when accessed from the model class.
2017-10-13 16:06:08 -04:00
Simon Charette
216eda103b Refs #28575 -- Removed unnecessary code for model exception pickling.
Setting __qualname__ is sufficient for pickling of DoesNotExist and
and MultipleObjectsReturned to work correctly.
2017-10-13 15:45:12 -04:00
Tim Graham
f2868f9739 Updated email.Util (Python 2) references to email.utils (Python 3). 2017-10-13 15:36:09 -04:00
Mariusz Felisiak
4f27e475b3 Refs #28643 -- Reorganized database functions.
Thanks Tim Graham for the review.
2017-10-13 21:23:00 +02:00
Claude Paroz
8c538871bd Fixed #28710 -- Fixed the Basque DATE_FORMAT string
Thanks Eneko Illarramendi for the report and initial patch.
2017-10-13 19:48:20 +02:00
Tom
32ade78c55 Refs #28440 -- Fixed server connection closing test on macOS. 2017-10-13 13:29:29 -04:00
Mariusz Felisiak
ad8036d715 Refs #28643 -- Reorganized database functions docs.
Thanks Tim Graham for the review.
2017-10-13 18:20:11 +02:00
LeeHanYeong
3ffbd54566 Removed incorrect reference to ModelChoiceField in Field.choices docs. 2017-10-13 10:37:04 -04:00
Tim Graham
941b0a5b33 Fixed #28708 -- Added constants to detect the Python version. 2017-10-13 10:11:15 -04:00
Tom
abb636c1af Improved performance of utils.html.escape(). 2017-10-13 09:20:13 -04:00
Rachel Tobin
6c92f711ea Refs #28575 -- Allowed pickling Model.DoesNotExist and MultipleObjectsReturned classes. 2017-10-13 09:16:09 -04:00
Paulo
a7b5ad8b19 Fixed #27846 -- Made Model.refresh_from_db() clear cached relations. 2017-10-12 17:04:10 -04:00
Tim Graham
df0aebc893 Simplified IfNode.nodelist 2017-10-12 16:46:31 -04:00
Tim Graham
cf59392e16 Removed unused ForNode.__iter__().
Unknown if it was ever used.
2017-10-12 16:46:31 -04:00
Tim Graham
0edff2107f Refs #28248 -- Clarified the precision of PASSWORD_RESET_TIMEOUT_DAYS. 2017-10-12 14:58:18 -04:00
Sævar Öfjörð Magnússon
f90be0a83e Fixed #28688 -- Made admin's URLify.js skip removal of English words if non-ASCII chars are present. 2017-10-12 11:50:20 -04:00
Mads Jensen
e8649ae368 Added test for FlatPage.__str__(). 2017-10-12 09:45:49 -04:00
Mads Jensen
bd8deeccd5 Added setUp() method to FlatpageModelTests. 2017-10-12 09:45:26 -04:00
François Freitag
41be85862d Fixed #28679 -- Fixed urlencode()'s handling of bytes.
Regression in fee42fd99ee470528858c2ccb3621135c30ec262.

Thanks Claude Paroz, Jon Dufresne, and Tim Graham for the guidance.
2017-10-12 09:08:33 -04:00
Daniel Tao
4d60261b2a Fixed #28601 -- Prevented cache.get_or_set() from caching None if default is a callable that returns None. 2017-10-10 09:20:34 -04:00
François Freitag
0e212a705e Split django.utils.http tests into separate test classes. 2017-10-10 08:53:01 -04:00
Hasan Ramezani
6aec130a4c Fixed #28591 -- Added an error message for createsuperuser --username= (blank). 2017-10-09 21:49:35 -04:00
Mads Jensen
22ff4f81b1 Fixed #28423 -- Expanded docs for indexing contrib.postgres fields. 2017-10-09 12:19:08 -04:00
Mariusz Felisiak
0899d583bd Fixed #28670 -- Added FETCH/OFFSET support on Oracle.
Thanks Tim Graham for the review.
2017-10-09 18:07:03 +02:00
Mads Jensen
81d5320db5 Added tests for Combinable's bitwise logical operation errors. 2017-10-09 11:49:19 -04:00
Tim Graham
50de55f399 Moved link in "Features removed in 2.0" to be more specific. 2017-10-09 09:39:57 -04:00
Johannes Hoppe
3a191bd4ab Fixed #28685 -- Fixed awkward wrapping of Select2 chips. 2017-10-09 09:00:24 -04:00
François Freitag
e3a30f2d16 Refs #23919 -- Corrected django.utils.http.urlencode()'s documented signature.
Follow up to fee42fd99ee470528858c2ccb3621135c30ec262.
2017-10-09 08:54:44 -04:00
Mariusz Felisiak
11ade8eefd Refs #24254 -- Removed unnecessary SQL AS clause in SQLCompiler.as_sql().
Incorrect on Oracle.
2017-10-06 12:47:41 -04:00
Simon Charette
9d93dff333 Fixed #28665 -- Change some database exceptions to NotImplementedError per PEP 249. 2017-10-06 12:47:08 -04:00
Tim Graham
7d8d630e37 Refs #27857 -- Removed Python 3.4 from tox.ini. 2017-10-06 09:09:05 -04:00
Mads Jensen
062684057e Updated link to Tox documentation in tox.ini. 2017-10-06 09:02:17 -04:00
Tim Graham
fd4698fe3f Added stub release notes for 1.11.7. 2017-10-05 14:44:50 -04:00
Tim Graham
a8bcb8b509 Added release date for 1.11.6. 2017-10-05 14:13:32 -04:00
Mariusz Felisiak
1b823b8f18 Fixed #28596 -- Fixed QuerySet.bulk_create() and cascade deletion crash on Oracle when using more than 65535 parameters.
Thanks Tim Graham for the review.
2017-10-05 18:52:37 +02:00
Mads Jensen
86367a11d3 Added tests for invalid {% for %} usage and ForLoop.__repr__(). 2017-10-05 11:33:14 -04:00
Mads Jensen
ee7ab1b6e2 Refs #27546 -- Replaced hardcoded class name in ForNode.__repr__(). 2017-10-05 11:23:35 -04:00
Mariusz Felisiak
03da070f5c Refs #28670 -- Moved LIMIT/OFFSET SQL to DatabaseOperations.limit_offset_sql().
Thanks Tim Graham for the review.
2017-10-04 20:24:38 +02:00
Tim Graham
39eba25f47 Passed ignore_failures as a kwarg for readability in template tags.
Also removed unused VariableDoesNotExist catching where failures are ignored.
2017-10-04 09:26:13 -04:00
Tim Graham
d0c761d3f8 Refs #28584 -- Removed unused DatabaseFeatures.can_share_in_memory_db. 2017-10-03 20:17:12 -04:00
Tim Graham
a2626cb3fe Fixed #28674 -- Removed unused check in QuerySet._batched_insert(). 2017-10-03 19:56:44 -04:00
Tim Graham
27193aea00 Fixed #28584 -- Dropped support for SQLite < 3.7.15. 2017-10-03 10:42:18 -04:00
Tim Graham
51d230e00b Fixed #28675 -- Removed always True variable in SQLInsertCompiler.execute_sql() check.
Unused since 7deb25b8dd5aa1ed02b5e30cbc67cd1fb0c3d6e6.
2017-10-03 10:32:11 -04:00
Tim Graham
491eb56fd4 Refs #28677 -- Doc'd that on_delete is required in migrations. 2017-10-03 09:46:15 -04:00
Joseph Lin
4e725c647f Updated Python license for 2017. 2017-10-02 16:59:05 -04:00
Tom
f1c007bbf2 Fixed #28642 -- Added caching to parse_accept_lang_header(). 2017-10-02 14:07:28 -04:00
Tom
f04e6732c3 Refs #27804 -- Used subTest() in parse_accept_lang_header() test. 2017-10-02 14:04:52 -04:00
Hunter Richards
47016adbf5 Fixed #28490 -- Removed unused code in admin.E108 check. 2017-10-02 13:04:42 -04:00
Дилян Палаузов
5d9b736fd8 Fixed #28652 -- Fixed a few comments in django/db/models/*. 2017-10-02 11:15:26 -04:00
Mads Jensen
aba3467585 Added tests for invalid {% autoescape %} usage. 2017-10-02 11:02:58 -04:00
Mariusz Felisiak
3fb1ad9505 Fixed incorrect integer division in DeletionTests.test_large_delete_related. 2017-10-02 10:11:20 -04:00
Mariusz Felisiak
d896809a3a Refs #23919 -- Removed unneeded float()/int() calls. 2017-10-02 08:49:26 -04:00
Jon Dufresne
f0ffa3f4ea Refs #27025, #28593 -- Fixed "invalid escape sequence" warnings in urls/resolvers.py. 2017-09-30 20:33:07 -04:00
Mads Jensen
41406bf98e Increased test coverage for db/backends/base/operations.py. 2017-09-30 19:48:55 -04:00
Mads Jensen
6d1df84c00 Corrected typos in BaseDatabaseOperations exception messages. 2017-09-30 19:18:51 -04:00
Mads Jensen
25307089bc Completed test coverage for default template filters. 2017-09-30 18:34:51 -04:00
Mads Jensen
77d1b19623 Removed always True if check in stringfilter decorator. 2017-09-30 18:01:35 -04:00
Tim Graham
fd866c25d1 Fixed #28654 -- Dropped support for SpatiaLite 4.0. 2017-09-30 14:13:18 -04:00
Tim Graham
dd82f33271 Fixed #27979 -- Made MySQL raise IntegrityError rather than OperationalError when saving negative numbers in PositiveInteger fields. 2017-09-29 15:20:32 -04:00
Stefan Schneider
08c8c3ead9 Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs. 2017-09-29 11:38:28 -04:00
Mariusz Felisiak
3fa0a824c2 Refs #27067 -- Removed string_concat in django.utils.translation.__all__.
Undefined since 87d2240e6cc594a3bf28dfdb2ec023c54fb76ff7.
2017-09-29 10:32:32 -04:00
Stefan Schneider
293df73fb6 Fixed #28648 -- Corrected typo in docs/topics/db/queries.txt. 2017-09-29 10:31:49 -04:00
Mads Jensen
8d40eb0e89 Used NotSupportedError for some unsupported database opreations per PEP 249. 2017-09-29 09:49:55 -04:00
Mads Jensen
3e72f4b7b6 Completed test coverage for BasePasswordHasher. 2017-09-29 09:28:25 -04:00
Mads Jensen
776f6902d9 Moved BasePasswordHasher tests to its own test case. 2017-09-29 09:28:24 -04:00
Michael Käufl
259fec8de0 Fixed #28651 -- Fixed typo in docs/ref/contrib/postgres/fields.txt. 2017-09-29 08:50:22 -04:00
Simon Charette
f1b713024e Refs #28492 -- Defined aggregates' output_field at the class level.
Missed in 08654a99bbdd09049d682ae57cc94241534b29f0.
2017-09-29 07:44:27 -04:00
Tim Graham
4710753875 Added missing punctuation in django/shortcuts.py docstring. 2017-09-28 14:39:54 -04:00
Mads Jensen
d917c17a3b Completed test coverage for AnonymousUser. 2017-09-28 13:11:23 -04:00
Mads Jensen
7fce4dc5ff Moved AnonymousUser tests to its own test case. 2017-09-28 13:11:07 -04:00
Mariusz Felisiak
2b5a511bd9 Merged hash() calls.
Thanks Simon Charette for the review.
2017-09-28 12:12:47 -04:00
Mariusz Felisiak
fc6528b25a Fixed #28629 -- Made tree.Node instances hashable.
Regression in 508b5debfb16843a8443ebac82c1fb91f15da687 which
added Node.__eq__().
2017-09-28 12:07:19 -04:00
Jon Ribbens
44f08422c8 Fixed #28625 -- Distinguished DATABASES['TIME_ZONE'] from settings.TIME_ZONE. 2017-09-28 09:42:08 -04:00
Mads Jensen
4508fafe16 Simplified various __eq__() methods. 2017-09-28 09:18:37 -04:00
Mads Jensen
129f4900be Added tests for RequestSite.__init__() and __str__(). 2017-09-28 08:16:21 -04:00
Tim Graham
2015f5f134 Added a separate test class for RequestSite. 2017-09-28 08:14:17 -04:00
Tim Graham
1d8cfa3608 Fixed #28626 -- Dropped support for PostgreSQL 9.3.
Thanks Simon Charette for the introspection changes.
2017-09-27 11:00:04 -04:00
Flávio Juvenal
ea7ca5db30 Doc'd contrib.postgres system checks. 2017-09-27 10:58:48 -04:00
Mads Jensen
8ddbe01760 Added a test for pbkdf2()'s default digest algorithm. 2017-09-27 10:36:26 -04:00
Tim Graham
c7e9e22695 Added cleanup for an introspection test. 2017-09-27 09:51:49 -04:00
Josh Schneier
e8c4596329 Fixed #28562 -- Fixed DecimalValidator handling of positive exponent scientific notation. 2017-09-27 09:42:04 -04:00
Miguel
4a908c0cd2 Clarified StrIndex docs example. 2017-09-27 09:08:50 -04:00
Ed Morley
2d4ccac275 Fixed #28603 -- Clarified comment in collectstatic's collect(). 2017-09-27 08:45:10 -04:00
Mads Jensen
4803834aaa Added a test for PermWrapper.__iter__(). 2017-09-26 19:42:50 -04:00
Tim Graham
98706bb35e Refs #27857 -- Replaced json.loads() ValueError exception catching with JSONDecodeError. 2017-09-25 17:11:06 -04:00
Tim Graham
cfff2af02b Fixed #27857 -- Dropped support for Python 3.4. 2017-09-25 17:11:03 -04:00
Tim Graham
a80903b711 Removed DatabaseFeatures.supports_microsecond_precision.
MySQL 5.5 (refs #28552) was the last database to use it.
2017-09-25 14:48:15 -04:00
Tim Graham
8a1768432b Fixed #28552 -- Dropped support for MySQL 5.5. 2017-09-25 14:48:11 -04:00
Christopher Schäpers
6da140724d Fixed #28627 -- Added slug converter to some path() examples in docs. 2017-09-25 13:06:11 -04:00
Mads Jensen
c0d968ea1f Added a test for TranslatableFile.__eq__(). 2017-09-25 10:22:38 -04:00
Mariusz Felisiak
00709d704e Merged startswith() calls. 2017-09-25 09:18:29 -04:00
Tim Graham
67a6ba391b Reverted "Fixed #28248 -- Fixed password reset tokens being valid for 1 day longer than PASSWORD_RESET_TIMEOUT_DAYS."
This reverts commit 95993a89ce6ca5f5e26b1c22b65c57dcb8c005e9.
2017-09-25 09:05:00 -04:00
Claude Paroz
c180abe6f1 Fixed JS linter error
Regression introduced in 1f3dfd783d.
2017-09-24 17:51:50 +02:00
Claude Paroz
1f3dfd783d Updated translation catalogs
Forward port of 600104172a9d3cd7c496855110711785feab555a from stable/2.0.x.
2017-09-24 13:54:54 +02:00
Claude Paroz
fe000ab18d Refs #25006 -- Marked again admin time picker shortcuts for translation 2017-09-24 13:41:51 +02:00
Tim Graham
d90936f41a Refs #27788 -- Corrected minimum supported Oracle version in GIS docs. 2017-09-22 15:09:37 -04:00
Tim Graham
4a461d49c7 Advanced deprecation warnings for Django 2.1. 2017-09-22 12:51:19 -04:00
Tim Graham
5446b72003 Removed versionadded/changed annotations for 1.11. 2017-09-22 12:51:18 -04:00
Tim Graham
2bd207ada0 Refs #15667 -- Removed support for Widget.render() methods without the renderer argument.
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
ba42456c2e Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns.
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
5bcca2a056 Refs #27532 -- Removed Model._meta.has_auto_field per deprecation timeline. 2017-09-22 12:51:18 -04:00
Tim Graham
48d57788ee Refs #26447 -- Removed the USE_ETAGS setting per deprecation timeline. 2017-09-22 12:51:18 -04:00
Tim Graham
4502489a46 Refs #18974 -- Removed @models.permalink() decorator per deprecation timeline. 2017-09-22 12:51:18 -04:00
Tim Graham
5e31be1b96 Refs #25187 -- Required the authenticate() method of authentication backends to have request as the first positional argument.
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
578711c310 Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation timeline. 2017-09-22 12:51:18 -04:00
Tim Graham
e62165b898 Refs #27175 -- Removed exception silencing from the {% include %} template tag.
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
96107e2844 Refs #26956 -- Removed the host parameter of django.utils.http.is_safe_url().
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
e47b56d791 Refs #20892 -- Removed support for passing pylibmc behavior settings as top-level attributes of CACHES['OPTIONS'].
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
87d2240e6c Refs #27067 -- Removed django.utils.translation.string_concat() per deprecation timeline. 2017-09-22 12:51:17 -04:00
Tim Graham
9463a7a8cd Refs #26840 -- Removed django.test.runner.setup_databases() per deprecation timeline. 2017-09-22 12:51:17 -04:00
Tim Graham
6e40b70bf4 Refs #26929 -- Removed extra_context parameter of contrib.auth.views.logout_then_login().
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
4f313e284e Refs #17209 -- Removed login/logout and password reset/change function-based views.
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
deb592b3e3 Added stub 2.1 release notes. 2017-09-22 12:51:17 -04:00
Tim Graham
92fad87958 Bumped version; master is now 2.1 pre-alpha. 2017-09-22 12:51:17 -04:00
Tim Graham
559040f3d3 Removed empty sections in 2.0 release notes. 2017-09-22 12:49:37 -04:00
Tim Graham
3926d5d406 Updated man page for Django 2.0 alpha. 2017-09-22 12:28:56 -04:00
Nicolas Delaby
01d440fa1e Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) support.
Thanks Anssi Kääriäinen for contributing to the patch.
2017-09-22 11:53:17 -04:00
Mariusz Felisiak
3f9d85d95c Removed unused eof argument to BoundaryIter._find_boundary().
Unused since its introduction in d725cc9734272f867d41f7236235c28b3931a1b2.
2017-09-22 10:47:14 -04:00
Daniel Tao
6f7279c4b1 Refs #28593 -- Made URLResolver._populate() more resilient to signal interrupts.
_populate() sets the populating attribute to prevent infinite recursion in
case a urlconf includes itself. The flag is a threadlocal to avoid a race
condition [1] where one thread sets the flag and another checks it, then
proceeds to access data that's supposed to be populated (e.g. _reverse_dict)
but isn't yet.

The potential still exists for a thread to set the threadlocal, then be
interrupted by a signal such as SIGALRM and raise before resetting the
threadlocal flag. In this scenario, subsequent calls to _populate() in the
same thread will short-circuit erroneously.

The bulk of the method was already wrapped in a try/finally in df41b5a, but
since a signal interrupt can occur at any line executed by the interpreter,
this moves up the try to ensure threadlocal gets reset.

[1]: https://groups.google.com/d/msg/django-developers/D_bIeinKHjE/4NmVQUJqAgAJ
2017-09-22 10:16:05 -04:00
Anssi Kääriäinen
771e06af2a Added a test for QuerySet.select_related() reverse caching. 2017-09-21 14:25:42 -04:00
Shai Berger
d612026c37 Refs #28595 -- Added a hook to add execute wrappers for database queries.
Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak,
Michael Manfre, and Tim Graham for discussion and review.
2017-09-21 12:13:09 -04:00
Stefan Sinca
347551c2a1 Fixed #28508 -- Set the foreground color to black in CSRF and 404 error templates. 2017-09-21 10:23:23 -04:00
Mads Jensen
41a7876991 Added test for too large input to django.utils.http.base36_to_int(). 2017-09-21 10:21:02 -04:00
Niall Dalton
4fe6588da3 Fixed #28576 -- Added color interpretation method to GDALBand. 2017-09-21 09:42:38 -04:00
Thomas Schorr
52eb5b289e Fixed #28617 -- Made ogrinspect output pep8 compliant. 2017-09-20 21:03:14 -04:00
Sjoerd Job Postmus
df41b5a05d Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
Florian Apolloner
c4c128d67c Fixed #28488 -- Reallowed error handlers to access CSRF tokens.
Regression in eef95ea96faef0b7dbbe0c8092202b74f68a899b.
2017-09-20 16:22:18 -04:00
Florian Apolloner
77f82c4bf1 Initialized CsrfViewMiddleware once in csrf_tests. 2017-09-20 16:22:12 -04:00
Tim Graham
46dcdf9a29 Added a checks test for valid i18n patterns. 2017-09-20 10:23:28 -04:00
Nicolas Delaby
a30ef353e2 Removed unused list in Query.resolve_lookup_value().
Unneeded since its introduction in 4f138fe5a496a81115c4fba6615a517fc62c3b17.
2017-09-20 09:50:14 -04:00
Tim Graham
f86aa6656a Fixed typo in docs/internals/deprecation.txt. 2017-09-19 10:09:01 -04:00
Johannes Hoppe
f13bd32110 Refs #14370 -- Fixed typo in ModelAdmin.autocomplete_fields docs. 2017-09-19 08:51:46 -04:00
Tim Graham
f7b0532ec0 Refs #28334 -- Fixed crash in hstore/citext oid caching during test db creation. 2017-09-19 07:04:31 -04:00
tk
e7adad27f3 Fixed typo in docs/topics/cache.txt. 2017-09-19 06:52:01 -04:00
Mariusz Felisiak
fb02ebe889 Fixed #28597 -- Fixed crash with the name of a model's autogenerated primary key in an Index's fields. 2017-09-18 14:06:00 -04:00
Johannes Hoppe
94cd8efc50 Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin.
Thanks Florian Apolloner and Tim Graham for review and
contributing to the patch.
2017-09-18 13:48:02 -04:00
Johannes Hoppe
01a294f8f0 Refs #14370 -- Vendored Select2 4.0.3 for use by the admin.
From https://github.com/select2/select2/releases/tag/4.0.3
2017-09-18 13:47:50 -04:00
Claude Paroz
774f5548bd Fixed #28610 -- Skipped test when serializer is not available
Thanks Tim Graham for the review.
2017-09-18 18:22:13 +02:00
Mads Jensen
d549b88050 Fixed #26608 -- Added support for window expressions (OVER clause).
Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes,
Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie
Cockburn for initial patch.
2017-09-18 09:42:29 -04:00
Tim Graham
da1ba03f1d Added test skipping for a PostgreSQL JSONField test. 2017-09-18 09:19:26 -04:00
Mads Jensen
3939e2b4dc Changed default value of DatabaseFeatures.has_bulk_insert to True. 2017-09-18 08:12:35 -04:00
Claude Paroz
256182c43d Revert "Refs #21286 -- Enabled serializer tests with time pk model"
This reverts commit 01c6a3e227b645e8dea97e9befecd23d1d3b8581.
Unfortunately, the YAML serializer is not yet able to cope with time values.
2017-09-18 09:34:21 +02:00
Claude Paroz
01c6a3e227 Refs #21286 -- Enabled serializer tests with time pk model 2017-09-17 19:29:33 +02:00
elky
dc37e8846e Fixed #26818 -- Added responsive CSS for the admin. 2017-09-16 19:11:19 -04:00
Sergey Fedoseev
8f947730ca Removed unneeded StdDev.convert_value() and Variance.convert_value().
Seems unneeded since its introduction in
f59fd15c4928caf3dfcbd50f6ab47be409a43b01.
2017-09-16 15:05:31 -04:00
Sergey Fedoseev
873858009c Simplified Count.convert_value() and RegrCount.convert_value(). 2017-09-16 14:31:51 +05:00
Igor Gumenyuk
86a18dc46a Fixed #28334 -- Added caching for hstore/citext OIDs. 2017-09-15 10:00:12 -04:00
Tim Graham
cb362a6750 Removed unnecessary check in SQLCompiler.get_related_selections(). 2017-09-15 08:37:46 -04:00
Mads Jensen
1dafd8cb0b Refs #24031 -- Added test for When.__repr__(). 2017-09-15 06:13:38 -04:00
Tim Graham
116940e3ef Fixed a Dutch translation in i18n tests. 2017-09-14 08:26:38 -04:00
Tim Graham
7cc8507d9c Added a test for mixing args and kwargs in reverse(). 2017-09-14 07:07:41 -04:00
Mariusz Felisiak
0ec0e5029c Removed unnecessary parens in various code. 2017-09-13 21:20:29 -04:00
Tim Graham
ee4043f735 Refs #28593 -- Moved django.conf.urls.include() to django.urls().
The old location remains for backwards compatibility. Documentation
will be updated separately along with the rest of the URL routing changes.
2017-09-13 16:32:03 -04:00
Mariusz Felisiak
0214f367bc Merged isinstance() calls. 2017-09-13 15:00:45 -04:00
Mariusz Felisiak
c6a1faecc3 Refs #27090 -- Added real database sequence introspection.
Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the
review.
2017-09-13 20:12:32 +02:00
Sergey Fedoseev
c2ecef869c Refs #28569 -- Fixed gis_tests.inspectapp.tests.OGRInspectTest.test_time_field. 2017-09-12 22:19:44 +05:00
Tom
ac756f16c5 Fixed #28440 -- Fixed WSGIServer hang on responses without a Content-Length.
Disabled keep-alive to fix the regression in
e6065c7b8363202c5eb13ba10c97a8c24d014b45.
2017-09-12 10:41:28 -04:00
Tim Graham
2a4b331348 Moved contrib.gis.geometry.regex to contrib.gis.geometry. 2017-09-12 09:51:02 -04:00
Tim Graham
f896eb30f6 Removed django.contrib.gis.geometry.backend.
The layer of indirection is unchanged and undocumented
since its introduction in ff60c5f9de3e8690d1e86f3e9e3f7248a15397c8.
2017-09-12 09:51:02 -04:00
Sergey Fedoseev
f36e5d68d9 Used sqlite3.Connection.load_extension() instead of query execution for SpatiaLite loading. 2017-09-12 09:35:33 -04:00
Josh Schneier
0dbcd0e87f Added tests for DecimalValidator. 2017-09-11 14:18:02 -04:00
Sergey Fedoseev
bd903e8a6e Fixed #28570 -- Dropped support for GEOS 3.3.x.
Removed setting SRID in GEOSGeometry.clone() which was only required
in GEOS 3.3.0.
2017-09-11 13:57:24 -04:00
Simon Charette
08654a99bb Fixed #28492 -- Defined default output_field of expressions at the class level.
This wasn't possible when settings were accessed during Field initialization
time as our test suite setup script was triggering imports of expressions
before settings were configured.
2017-09-11 12:22:39 -04:00
Simon Charette
13be453080 Refs #28492 -- Stopped accessing settings at Field.db_tablespace initialization.
Deferring accesses to settings allows database fields to be initialized before
settings are loaded.
2017-09-11 12:21:49 -04:00
Simon Charette
c466ef3b34 Tested field deconstruction with DEFAULT_DB_TABLESPACE and db_tablespace. 2017-09-11 12:20:45 -04:00
Sergey Fedoseev
3905cfa1a5 Fixed #28353 -- Fixed some GIS functions when queryset is evaluated more than once.
Reverted test for refs #27603 in favor of using FuncTestMixin.
2017-09-11 11:56:39 -04:00
Jon Dufresne
99e65d6488 Fixed #28578 -- Renamed DatabaseCreation number arguments to suffix. 2017-09-11 11:32:40 -04:00
Sergey Fedoseev
a0b4ecce57 Fixed #28392 -- Fixed GIS's WKT regex to match large scientific notation numbers.
Thanks Greg Larmore for report and initial patch.
2017-09-11 09:13:02 -04:00
Tim Graham
4844af90fb Fixed #28579 -- Doc'd upgrade effort expectations for Django 2.0. 2017-09-11 09:07:14 -04:00
Mariusz Felisiak
a4092af3d3
Removed unnecessary parens in _get_app_label_and_model_name(). 2017-09-10 21:26:06 +02:00
Claude Paroz
a599ae6018 Refs #24928 -- Added introspection support for PostgreSQL RangeField 2017-09-09 20:22:47 +02:00
Claude Paroz
0cbb6ac007 Refs #24928 -- Added introspection support for PostgreSQL JSONField
Thanks Adam Johnson and Tim Graham for the reviews.
2017-09-09 18:26:29 +02:00
Luoxzhg
ffbee67f8e Fixed some comments referring to a nonexistent TestClient class. 2017-09-09 11:21:15 -04:00
Sergey Fedoseev
8b5a29800c Fixed #25961 -- Removed handling of non-thread safe GEOS functions. 2017-09-09 10:14:48 -04:00
Sergey Fedoseev
63d2472b10 Fixed capitalization of "Spherical Mercator." 2017-09-09 09:35:30 -04:00
Sergey Fedoseev
0ab1dc0a8b Fixed deepcopy of AreaField and DistanceField. 2017-09-08 14:13:50 -04:00
Tim Graham
0c4ac12a7b Fixed #28546 -- Fixed translation's to_locale() with langauge subtags.
Thanks Brent Hand for the initial patch.
2017-09-08 13:46:00 -04:00
Tim Graham
9829b75d5b Added more tests for translation's to_locale(). 2017-09-08 13:43:06 -04:00
Tim Graham
22a5b8891c Removed to_lower parameter for translation's to_locale().
Unused since 2bab9d6d9ea095c4bcaeede2df576708afd46291.
2017-09-08 13:12:43 -04:00
Sergey Fedoseev
ff17ef1ada Simplified GEOSFuncFactory. 2017-09-08 10:38:30 -04:00
Samir Shah
4ac2ab30f5 Removed obsolete doc references to javascript_catalog. 2017-09-08 07:53:56 -04:00
Tim Graham
6e4c6281db Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better.
2017-09-07 08:16:21 -04:00
Sergey Fedoseev
8b2515a450 Removed unneeded __init__() methods. 2017-09-07 08:10:49 -04:00
Tim Graham
44a6c27fd4 Fixed #28561 -- Removed inaccurate docs about QuerySet.order_by() and joins.
As of ccbba98131ace3beb43790c65e8f4eee94e9631c, both examples don't use
a join.
2017-09-06 19:21:38 -04:00
Sergey Fedoseev
f3c9562143 Fixed #15648 -- Allowed QuerySet.values_list() to return a namedtuple. 2017-09-06 15:32:32 -04:00
Olivier Tabone
a027447f56 Fixed #27318 -- Made cache.set_many() return the list of failed keys. 2017-09-06 14:38:44 -04:00
Sami J. Lehtinen
407c1249c9 Fixed #28032 -- Added Paginator.get_page().
Moved boilerplate from docs to a method.
2017-09-06 14:17:19 -04:00
Sergey Fedoseev
5b1c389603 Refs #23919 -- Replaced usage of django.utils.functional.curry() with functools.partial()/partialmethod(). 2017-09-06 13:11:18 -04:00
Sergey Fedoseev
34f27f910b Replaced @cached_property with class attributes where possible. 2017-09-06 10:13:43 -04:00
Sergey Fedoseev
690fc30d44 Removed DatabaseWrapper.psycopg2_version.
Unused since 3adc5f1ee6618a615db07d4a868b366a15c39f82.
2017-09-06 09:51:56 -04:00
Sergey Fedoseev
379caf397e Replaced deque() with list() in prefetch_related_objects().
deque() isn't needed since algorithm doesn't require FIFO.
2017-09-06 08:13:18 -04:00
Sergey Fedoseev
a8ad1e3216 Replaced get_pointer_arr() with usage of GEOM_PTR for simplicity. 2017-09-06 08:06:36 -04:00
François Freitag
ad4a8acdb5 Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and QuerySet.earliest()/latest(). 2017-09-05 20:14:54 -04:00
Dima Kudosh
093fd479d6 Fixed #28335 -- Allowed query expressions in Meta.ordering. 2017-09-05 19:10:20 -04:00
Tim Graham
3d2c3905a6 Refs #28555 -- Forwardported 1.11.6 release note. 2017-09-05 16:46:55 -04:00
Mads Jensen
15f2d87ceb Removed unneeded __init__() in PostgreSQL DatabaseWrapper. 2017-09-05 16:22:36 -04:00
Tim Graham
1b86088f6f Added stub release notes for 1.11.6. 2017-09-05 16:13:46 -04:00
Boris Burkov
d67cce4da8 Fixed typo in django/db/models/query.py docstring. 2017-09-05 15:28:37 -04:00
Josh Schneier
48c394a6fc Fixed #28555 -- Made CharField convert whitespace-only values to the empty_value when strip is enabled. 2017-09-05 12:41:38 -04:00
Tim Graham
79ae5811c7 Added 2017-12794 to the security release archive. 2017-09-05 12:09:44 -04:00
Tim Graham
46e2b9e059 Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of technical 500 debug page.
This is a security fix.
2017-09-05 10:58:38 -04:00
Tim Graham
73b6d02747 Added stub release notes for security releases. 2017-09-05 10:58:38 -04:00
François Freitag
663946463d Removed hardcoding from get_earliest_or_latest tests' tearDown(). 2017-09-05 10:04:22 -04:00
Sergey Fedoseev
2ef4b4795e Refs #28518 -- Improved performance of loading geometries from DB. 2017-09-05 09:54:57 -04:00
Sergey Fedoseev
c309ec0824 Simplified admin.widgets.url_params_from_lookup_dict(). 2017-09-05 09:47:11 -04:00
Sergey Fedoseev
3633c2a045 Used dict comprehensions in BaseMemcachedCache.get_many() and set_many() for better readability. 2017-09-05 09:14:41 -04:00
Mariusz Felisiak
179b247e07 Removed useless condition from Oracle's NullBooleanField's check constraint.
NULL cannot be compare with standard operators on Oracle, it works only
with IS NULL and IS NOT NULL operators. Therefore 'OR ... IS NULL'
condition in NullBooleanField's check constraint is redundant.
Nullability is checked in a separate constraint.
2017-09-05 11:17:06 +02:00
Mariusz Felisiak
3ba4de59a2 Added tests for BooleanField/NullBooleanField's check constraints on Oracle. 2017-09-05 09:02:56 +02:00
Mads Jensen
f4135783ad Fixed #28126 -- Added GistIndex to contrib.postgres.
Thanks to Marc Tamlyn for the initial patch.
2017-09-04 21:08:02 -04:00
Nick Pope
66657eb01f Improved messages in IndexErrors raised by GDAL objects. 2017-09-04 19:00:32 -04:00
Nick Pope
0d9e1163e8 Fixed #28569 -- Corrected get_layer_by_name prototype to skip error checking.
All other get_*_by_name functions have errcheck=False. This makes it
return None for an invalid name instead of raising a GDALException.
2017-09-04 18:56:23 -04:00
Jonatas CD
c9b22707b0 Fixed #28479 -- Doc'd that transaction rollback doesn't revert model state. 2017-09-04 15:43:29 -04:00
Jeremy Satterfield
0891503fad Fixed #28493 -- Made migrations autodetector find dependencies for model renaming. 2017-09-04 15:15:39 -04:00
Michael
3f2b1d926b Fixed #28568 -- Fixed typo in docs/ref/models/database-functions.txt.
And made an example use naming consistent with the rest of the doc.
2017-09-04 14:40:56 -04:00
Sebastian Sassi
5848305218 Fixed #28082 -- Made BaseDateListView pass context from get_dated_items() to subclasses.
Thanks leon-matthews for the report and fix.
2017-09-04 10:55:18 -04:00
Srinivas Reddy Thatiparthy
0d3f567a7a Corrected YearComparisonLookup.get_bound() signature. 2017-09-04 10:17:51 -04:00
Igor Tokarev
af35c69a3c Fixed #26344 -- Made EmailMessage include alternatives when the body is empty and it has attachments. 2017-09-04 08:46:11 -04:00
Berker Peksag
d81c86d32c Fixed typo in docs/releases/1.10.txt. 2017-09-04 08:40:07 -04:00
Nick Pope
dea4cfb95b Refs #27804 -- Used subTest() in a modeladmin test. 2017-09-03 21:20:43 -04:00
Nick Pope
9397d3add4 Fixed #28558 -- Simplified code to remove OGRIndexError.
The test is a regression for refs #4740 to show that the original fix of
OGRIndexError is no longer needed.

This is similar to the removal of GEOSIndexError in
197b1878105504b5ac7e399e1f52a6093c88baa3.
2017-09-03 21:19:37 -04:00
Mads Jensen
feb1a0a692 Refs #27804 -- Used subTest() in a syndication test. 2017-09-03 20:40:50 -04:00
caleb logan
68f0e8d8b1 Fixed #28500 -- Fixed crash in FileBasedCache._is_expired() if the cache file is empty. 2017-09-03 20:11:49 -04:00
ZachLiuGIS
2dacc2ccd9 Fixed #28550 -- Restored contrib.auth's login() and logout() views' respect of positional arguments.
Regression in 78963495d0caadb77eb97ccf319ef0ba3b204fb5.

Forwardport of f8e0557b01ebbb11478cfb012c4cafc67f1213c1 from stable/1.11.x
2017-09-03 12:06:44 -04:00
Mariusz Felisiak
fe0184b412 Updated EmpytResultSet import not to use the alias. 2017-09-03 11:06:06 -04:00
Nick Pope
35800acf79 Refs #25225 -- Removed test for removed ListMixin._IndexError.
Unused since 197b1878105504b5ac7e399e1f52a6093c88baa3.
2017-09-03 10:44:52 -04:00
Tim Graham
2fc5a5bfe3 Removed stray versionadded/changed annotations for 1.10. 2017-09-02 21:47:01 -04:00
Mariusz Felisiak
2470756de0 Moved select_sql in SQLCompiler.get_extra_select() to improve performance. 2017-09-02 16:39:51 -04:00
jkrzy
48d92fea67 Fixed #28367 -- Doc'd how to override management commands. 2017-09-02 16:21:13 -04:00
LBerrocal
54f7aa04a7 Fixed #28306 -- Completed test coverage for django.utils.lorem_ipsum.
Thanks Idan Melamed for the original patch.
2017-09-02 15:50:43 -04:00
Jeremy Satterfield
473ab4610e Fixed #28332 -- Fixed diamond inheritence example in docs. 2017-09-02 14:10:41 -04:00
Simon Meers
60443e84b3 Fixed #17985 -- Documented ModelAdmin.lookup_allowed(). 2017-09-02 13:54:33 -04:00
Nick Pope
11f4c52ec7 Fixed #28525 -- Documented GDAL and GeoIP exceptions. 2017-09-02 09:10:18 -04:00
Berker Peksag
90fcf0fce7 Fixed typos in docs/releases/1.10.txt. 2017-09-02 09:09:07 -04:00
Nick Pope
adc07e8f90 Simplified index bounds checking in GDAL objects. 2017-09-02 09:04:01 -04:00
Nick Pope
f9c2fd30be Fixed #28559 -- Removed contrib.gis.gdal.OGRException backwards compatibility alias. 2017-09-02 08:52:01 -04:00
François Freitag
18dd9ba481 Fixed test in auth_tests modifying data from setUpTestData(). 2017-09-01 21:43:41 -04:00
Tim Graham
6e4a34580d Fixed #28557 -- Fixed ForeignKey/OneToOneField/ManyToManyField argument name in docs. 2017-09-01 20:03:32 -04:00
Tim Graham
04050bff30 Refs #26522 -- Forwardported 1.11.5 release note. 2017-09-01 16:41:39 -04:00
Nick Pope
cbb27d603b Reordered GeoIP docs be consistent with GDAL/GEOS ordering. 2017-09-01 09:48:25 -04:00
Nick Pope
49017dc13a Made GeoIP docs headers consistent with other GIS docs. 2017-09-01 09:44:41 -04:00
Tim Graham
9075805570 Refs #23276 -- Fixed explanation of how calling views works.
"Importing the view" is no longer applicable after
a9fd740d22bc4fed5fdb280c036618000ee13df1.
2017-08-31 11:57:46 -04:00
Jeremy Kerr
84b7cb7df0 Fixed #28549 -- Fixed QuerySet.defer() with super and subclass fields.
Previously, deferring fields in different classes didn't omit the
superclass' deferred field.

Thanks Simon Charette for the suggested fix.
2017-08-31 09:35:05 -04:00
Tim Graham
e5bd585c6e Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.
Previously, it was a QuerySet which could reevaluate to a new value if the
model's data changes. This is inconsistent with other Field.value_from_object()
methods.

This allows reverting the fix in the admin for refs #27998.
2017-08-31 09:34:44 -04:00
Nick Pope
ec6481246a Fixed #28524 -- Fixed program name in management commands when using 'python -m django'. 2017-08-31 09:22:25 -04:00
Sergey Fedoseev
f0d9ede9e6 Removed useless itertools.chain() call in ChoiceWidget.optgroups(). 2017-08-31 08:04:36 -04:00
Tim Graham
11cd46930e Refs #28487 -- Forwardported 1.11.5 release note. 2017-08-31 08:00:47 -04:00
Sergey Fedoseev
ab3e3658cc Simplified model's Options._get_fields() a bit. 2017-08-31 07:11:30 -04:00
jkrzy
20a761697f Fixed #27701 -- Doc'd staticfiles runserver bypasses middleware when serving static files. 2017-08-30 16:40:19 -04:00
Jkrzy
da3a5cee4f Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs. 2017-08-30 06:25:51 -04:00
caleb logan
9e2bf65d6a Fixed #28530 -- Prevented SelectDateWidget from localizing years in output. 2017-08-29 14:56:08 -04:00
Sergey Fedoseev
44ce308281 Simplified contrib.gis.geos.prototypes by replacing c_char with c_byte. 2017-08-29 14:50:24 -04:00
Claude Paroz
afc06b5625 Fixed #28536 -- Removed old JS cross-browser utilities 2017-08-28 20:31:09 +02:00
Collin Anderson
751f7a6d9b Added Media.__repr__().
It makes it easier to debug MediaOrderConflictWarnings
(refs #28377).
2017-08-26 20:57:45 -04:00
Claude Paroz
8275662a24 Removed lone usage of jQuery in admin's calendar.js 2017-08-26 18:00:44 +02:00
Claude Paroz
4b67e8dc75 Complemented datetime picker selenium test
This includes test coverage for the calendarMonth JS function in calendar.js
2017-08-26 18:00:44 +02:00
Mads Jensen
e016c4c65b Refs #27869 -- Omitted field kwargs from GinIndex.deconstruct() if they're None. 2017-08-26 10:32:03 -04:00
Mads Jensen
fb42d02471 Refs #25809 -- Omitted pages_per_range from BrinIndex.deconstruct() if it's None. 2017-08-26 09:45:45 -04:00
Claude Paroz
3c0b2b80ed Fixed #28532 -- Fixed typo in PostgreSQL field docs
Thanks Andreas Poisel for the report.
2017-08-26 10:20:01 +02:00
Sergey Fedoseev
61da949ff6 Simplified migrations.state.ProjectState.__eq__(). 2017-08-25 13:50:01 +05:00
Sergey Fedoseev
1a85b07bdd Fixed #28518 -- Improved performance of loading geometries from DB. 2017-08-24 14:08:35 -04:00
Sergey Fedoseev
481ba33cd2 Used sets for CheckRegistry.registered_checks and deployment_checks. 2017-08-24 10:37:50 -04:00
hui shang
c0f4c60edd Fixed #28513 -- Added POST request support to LogoutView. 2017-08-24 09:11:16 -04:00
Fabian Schindler
da0fb5b1ec Fixed #28380 -- Excluded null geometries in SpatiaLite geometry lookups. 2017-08-24 08:30:11 -04:00
Sergey Fedoseev
a8bb493556 Simplified migrations.graph.Node.iterative_dfs(), ancestors(), and descendants(). 2017-08-23 18:10:00 -04:00
Claude Paroz
09b3e46635 Fixed #27796 -- Prevented middleware being loaded twice with runserver
Thanks Tim Graham for the review.
2017-08-23 23:05:18 +02:00
Sergey Fedoseev
f2b93b509c Removed unneeded iter() calls.
A few of these were unnecessarily added in 2b281cc35ed9d997614ca3c416928d7fabfef1ad.
2017-08-23 16:48:29 -04:00
Sergey Fedoseev
dca67bb2c2 Refs #28459 -- Improved performance of SQLCompiler.apply_converters(). 2017-08-23 16:26:24 -04:00
Sergey Fedoseev
4302167939 Used frozenset instead of dict for GeoIP2.cache_options for simplicity. 2017-08-23 11:47:47 -04:00
Sergey Fedoseev
fac74b84a3 Used OrderedDict.fromkeys() to initialize OrderedDict with None values. 2017-08-23 11:40:17 -04:00
Mariusz Felisiak
939d923e8e
Refs #28498 -- Forwardported 1.11.5 release note. 2017-08-23 10:08:42 +02:00
Mariusz Felisiak
330e965cd8
Fixed typo in docs/releases/1.11.5.txt. 2017-08-23 08:55:25 +02:00
Kim DoHyeon
f21915bb3a Fixed #27931 -- Clarified the meaning of "django catch-all logger." 2017-08-22 16:24:18 -04:00
Sergey Fedoseev
9ad6071aab Simplified usage of sets in MigrationAutodetector. 2017-08-22 16:23:02 -04:00
Kevin Grinberg
c6a3546093 Fixed #28451 -- Restored pre-Django 1.11 Oracle sequence/trigger naming.
Regression in 69b7d4b116e3b70b250c77829e11038d5d55c2a8.
2017-08-22 15:51:08 -04:00
Sergey Fedoseev
4dfd6b88d5 Refs #28459 -- Improved performance of FlatValuesListIterable. 2017-08-22 11:26:07 -04:00
Harry Moreno
254fb8d1a4 Added "test --keepdb" to testing speedup docs. 2017-08-22 10:26:00 -04:00
Nick Pope
796fde5b79 Fixed incorrect indentation in remove_stale_contenttypes.
It's unnecessary for content_type_display to be constructed from
ct_info in every loop iteration.
2017-08-22 09:10:42 -04:00
Claude Paroz
ed77bea582 Refs #28502 -- Complemented stringformat tuple handling/test.
An additional test and a code change were suggested in a late review.
2017-08-22 08:45:08 -04:00
Simon Meers
7bba82453c Fixed #28496 -- Added ModelAdmin.get_changelist_instance(). 2017-08-22 08:17:26 -04:00
Paulo
fea9cb46aa Fixed #28375 -- Fixed KeyError crash on reverse prefetch of a model with OneToOneField primary key to a non-pk field. 2017-08-21 16:14:13 -04:00
Adrien Brunet
b5ad5c628a Fixed typo in documented number of logging filters. 2017-08-21 16:06:38 -04:00
Sergey Fedoseev
30eb92fc11 Removed need for hasattr(check, 'tags') in CheckRegistry.
It was needed to pass tests because registered checks weren't properly mocked.
2017-08-21 15:34:20 -04:00
Berker Peksag
8d095c6378 Removed redundant backticks in docs/releases/1.8.txt 2017-08-21 09:16:22 +02:00
Mariusz Felisiak
c47747d45a Removed postgresql_psycopg2.version
Uneeded since 29ea9714ee23525000dd8bdb7a9aafb2147de8c7.
2017-08-21 09:13:07 +02:00
Srinivas Reddy Thatiparthy
4ead705cb3 Fixed #28502 -- Made stringformat template filter accept tuples 2017-08-21 09:04:43 +02:00
Allen, Timothy
9229e005aa Django -> django when styled as a logo with font. This was pointed out at DjangoCon US. 2017-08-21 08:00:54 +02:00
Srinivas Reddy Thatiparthy
a64f88f5be Refs #28502 -- Completed stringformat filter tests 2017-08-19 21:22:59 +02:00
Mariusz Felisiak
6784383e93 Fixed #28498 -- Fixed test database creation with cx_Oracle 6. 2017-08-16 18:39:58 +02:00
Sergey Fedoseev
a493424352 Removed unused reference in docs/ref/utils.txt.
Unused since f6acd1d271122d66de8061e75ae26137ddf02658.
2017-08-16 18:42:37 +05:00
Claude Paroz
546412e673 Fixed #28495 -- Converted GDAL Feature.fields to strings 2017-08-15 19:31:22 +02:00
Sergey Fedoseev
41640760df Simplified generation of result in Query.get_aggregation(). 2017-08-15 09:59:31 -04:00
Sergey Fedoseev
8a99a7d2d5 Simplified RelatedPopulator.populate(). 2017-08-15 09:48:07 -04:00
Sergey Fedoseev
6542999c54 Removed redundant condition in QuerySet.resolve_expression(). 2017-08-15 09:44:27 -04:00
Sergey Fedoseev
6141040813 Avoided creation of temporary set in Query.append_annotation_mask(). 2017-08-15 09:43:47 -04:00
Bae KwonHan
0608c24378 Fixed typo in docs/releases/2.0.txt. 2017-08-15 09:41:49 -04:00
Mathieu Hinderyckx
cf5740fbc8 Clarified Concat example in docs. 2017-08-14 14:28:05 -04:00
Martin von Gagern
71d39571f4 Fixed #28485 -- Made ExceptionReporter.get_traceback_frames() include frames without source code. 2017-08-12 20:32:39 -04:00
Alejandro Zamora
90d7b912b9 Fixed #28201 -- Added ProhibitNullCharactersValidator and used it on CharField form field. 2017-08-12 20:14:14 -04:00
Tom
b78d100fa6 Fixed #27849 -- Added filtering support to aggregates. 2017-08-12 17:58:28 -04:00
Mariusz Felisiak
489421b015 Fixed #23546 -- Added kwargs support for CursorWrapper.callproc() on Oracle.
Thanks Shai Berger, Tim Graham and Aymeric Augustin for reviews and
Renbi Yu for the initial patch.
2017-08-12 21:06:49 +02:00
Sergey Fedoseev
47ccefeada Refs #28459 -- Improved performance of BaseExpression.convert_value(). 2017-08-11 18:34:50 -04:00
Tim Graham
d04b324969 Fixed #28421 -- Split some long FormSet tests and made other cosmetic cleanups.
Thanks Windson for the initial patch.
2017-08-11 17:43:50 -04:00
Sergey Fedoseev
5cc7462067 Refs #28459 -- Optimized ModelState instantiation. 2017-08-11 15:41:04 -04:00
Nerl~
97cb3bd16d Fixed #28456 -- Allowed customizing Model pickling by overriding __getstate__(). 2017-08-11 15:27:25 -04:00
Jonatas CD
31f133ea08 Fixed #28252 -- Corrected docs for default file extensions of makemessages. 2017-08-11 15:22:10 -04:00
Tim Graham
abd723c6a0 Fixed #27855 -- Updated docs for Python 3.4 support in Django 2.0. 2017-08-11 11:17:08 -04:00
Sergey Fedoseev
0ec134e340 Simplified calculation of used joins in Query.build_filter(). 2017-08-11 10:46:11 -04:00
Bryan Helmig
68f0bcb012 Made the @cached_property example more consistent. 2017-08-11 09:51:49 -04:00
Sergey Fedoseev
9ecf280394 Removed obsolete DecimalComparisonLookup.
Unneeded since c3c6c92d769d44a98299c462c48a9599c0172e91.
2017-08-11 09:32:32 -04:00
Sergey Fedoseev
f3e350d631 Replaced typecast_decimal() with decimal.Decimal(). 2017-08-11 09:22:40 -04:00
Sergey Fedoseev
7fa92daa99 Removed outdated comment in Query.build_filter(). 2017-08-11 09:19:19 -04:00
Evan Grim
7937cc16f5 Fixed #28386 -- Made operations within non-atomic migrations honor the operation's atomic flag when migrating backwards. 2017-08-10 19:21:14 -04:00
Evan Grim
5893eaddf4 Added missing test for RunPython behavior when unapplying. 2017-08-10 19:19:48 -04:00
Sergey Fedoseev
c3c6c92d76 Refs #18247 -- Fixed filtering on CombinedExpression(output_field=DecimalField()) annotation on SQLite. 2017-08-10 17:42:30 -04:00
Mariusz Felisiak
660d50805b Fixed #23766 -- Doc'd CursorWrapper.callproc().
Thanks Tim Graham for the review.
2017-08-10 22:21:11 +02:00
Sergey Fedoseev
a146b65628 Refs #28459 -- Improved performance of loading DecimalField on SQLite. 2017-08-10 15:32:28 -04:00
Paulo
bfb746f983 Refs #16043 -- Refactored internal fields value cache.
* Removed all hardcoded logic for _{fieldname}_cache.
* Added an internal API for interacting with the field values cache.

Thanks carljm and MarkusH for support.
2017-08-10 12:06:02 -04:00
Sergey Fedoseev
22ff86ec52 Refs #28459 -- Made Oracle get_db_converters() return converter for empty strings only when it's needed. 2017-08-10 10:33:05 -04:00
Srinivas Reddy Thatiparthy
5cb7619995 Simplified Float/DecimalField.validate() with math.isfinite(). 2017-08-09 20:41:39 -04:00
Sergey Fedoseev
5244d7cf54 Simplified SQLite converter for bool type. 2017-08-09 18:10:34 -04:00
Raúl Pedro Fernandes Santos
7104e051c1 Fixed argument name in call_command() docstring.
Follow up to 8f6a1a15516629b30e2fa2c48d5e682f7955868c.
2017-08-09 18:05:05 -04:00
Sergey Fedoseev
bb91c0a4dc Refs #4518 -- Removed handling of empty strings in typecast_decimal().
It's unclear if the original change was needed, but it seems unneeded now.
Reverted 6fc10f50b0c9b877fffcad4893056cb91fa66b4f.
2017-08-09 18:02:16 -04:00
Pavel Karateev
851ef09db9 Fixed typo in docs/releases/2.0.txt. 2017-08-09 20:48:36 +02:00
Mariusz Felisiak
3189a93ceb Refs #23766 -- Added tests for CursorWrapper.callproc().
Thanks Tim Graham for the review.
2017-08-08 22:13:02 +02:00
Sergey Fedoseev
c754bdc45b Refs #7070 -- Improved test for extra(), values(), distinct() and ordering() all together.
Tested that the extra select that appears in the select clause only because of
distinct() and order_by() doesn't appear in the result values.
2017-08-08 14:38:43 -04:00
Sergey Fedoseev
b8731c3fff Refs #28459 -- Improved performance of sql.compiler.cursor_iter(). 2017-08-08 14:07:03 -04:00
Claude Paroz
831358f23d Fixed #28465 -- Unified index SQL creation in DatabaseSchemaEditor
Thanks Tim Graham for the review.
2017-08-08 17:37:43 +02:00
Tim Graham
d18227e341 Fixed #28471 -- Clarified that Meta.indexes is preferred to index_together. 2017-08-08 09:20:42 -04:00
bc500
09423db71a Fixed #28472 -- Optimized a jQuery selector in admin's actions.js. 2017-08-08 08:35:57 -04:00
Sergey Fedoseev
fb0bdff981 Refs #28459 -- Improved performance of ValuesIterable. 2017-08-08 11:02:59 +05:00
Srinivas Reddy Thatiparthy
b5d47b18f1 Removed unnecessary else in SelectDateWidget.id_for_lable(). 2017-08-07 22:01:45 -04:00
Sergey Fedoseev
ba1d82df63 Refs #28459 -- Improved performance of select_related() when model is prefetched from its parent. 2017-08-07 18:55:13 -04:00
Mads Jensen
773c7888d4 Added newline at end of docs/faq/index.txt. 2017-08-07 18:29:06 -04:00
Sergey Fedoseev
ca46f4688c Refs #28459 -- Improved performance of SQLCompiler.results_iter(). 2017-08-07 17:06:15 -04:00
Tim Graham
50a97edc1a Fixed #28466 -- Clarified the definition of a lazy relationship. 2017-08-07 15:51:46 -04:00
Timothy Allen
5fe9b7b40a Fixed #28457 -- Updated the design of the 'Congrats' page for new Django projects.
Developed by Timothy Allen and Chad Whitman of The Wharton School with
shepherding from Aymeric Augustin and Collin Anderson.
2017-08-07 10:33:55 -04:00
Srinivas Reddy Thatiparthy
0a24714b26 Removed unnecessary else clause in TemplateStrings.get_template(). 2017-08-07 10:24:58 -04:00
Srinivas Reddy Thatiparthy
6a793d1788 Removed unnecessary assignment in Oracle's FormatStylePlaceholderCursor._fix_for_params().
Obsolete since fae56427e1987ff8c8bd24d6331007f9c53e7abc.
2017-08-07 10:11:54 -04:00
Mariusz Felisiak
7724879b52 Removed unused _combine() node argument from various combinable classes.
Unused since f59fd15c4928caf3dfcbd50f6ab47be409a43b01 (Combinable) and
since its introduction in 2d877da85526bad0dad7fd6b1d56b1f924c0116a
(SearchVectorCombinable/SearchQueryCombinable/SearchQuery).
2017-08-02 21:21:32 -04:00
Tim Graham
d70432deae Refs #7697 -- Tested escaping of safe strings in the technical 500 debug view.
Tests were omitted in the original commit: a56a226241f5808b2eaf1e4b5a155d35047b8a06.
2017-08-02 15:56:47 -04:00
Tim Graham
293608a2e0 Refs #7697 -- Removed unnecessary force_escape of technical 500 debug view "unicode hint".
The test passes before and after the removal. unicode_hint will never
be SafeText, so normal autoescaping is sufficient.
2017-08-02 15:16:22 -04:00
Tim Graham
74b7a20fe6 Refs #5046 -- Tested the 'unicode hint' in the technical 500 debug view. 2017-08-02 15:07:26 -04:00
Tim Graham
78c155cf2e Fixed #28441 -- Fixed GEOS version parsing with a commit hash at the end. 2017-08-02 09:30:30 -04:00
Sergey Fedoseev
78f7f68021 Refs #28459 -- Improved performance of Model.from_db() when fields are deferred. 2017-08-02 09:16:36 -04:00
Sergey Fedoseev
7bd9639406 Simplified check that pk is fetched in RawQuerySet.__iter__(). 2017-08-02 08:56:16 -04:00
Mariusz Felisiak
5d9034bc92 Removed unused DatabaseOperations.last_insert_id() on PostgreSQL.
Unused since 9eb2afddfa0165d69f3e506122c2aa2b68618591.
2017-08-01 16:53:17 -04:00
Sergey Fedoseev
2d136ede8a Fixed #28459 -- Improved performance of ValuesListIterable. 2017-08-01 14:44:02 -04:00
Matthew Wilkes
32d1bf2bdb Fixed #28454 -- Simplifed use of Query.setup_joins() by returning a named tuple. 2017-08-01 14:25:54 -04:00
Tim Graham
8df7681d0e Removed unneeded escape filter in templates where autoescaping is enabled. 2017-08-01 10:52:29 -04:00
Tim Graham
53d2534b38 Added stub release notes for 1.11.5. 2017-08-01 08:46:23 -04:00
Tim Graham
4c68ef9136 Added release date for 1.11.4. 2017-08-01 08:08:18 -04:00
Sergey Fedoseev
62dee1483d Refs #28370 -- Moved db converters deprecation warning to improve performance. 2017-08-01 08:05:32 -04:00
Sergey Fedoseev
58da81a5a3 Fixed #27985 -- Fixed query for __exact=value when get_prep_value() converts value to None.
Also fixed crash of .filter(field__transform=None).
2017-07-31 15:34:07 -04:00
Anssi Kääriäinen
6155bc4a51 Refs #20880 -- Removed non-cloning logic from Query.clone(). 2017-07-31 15:31:29 -04:00
Anssi Kääriäinen
66933a6619 Refs #20880 -- Removed non-cloning logic from QuerySet._clone(). 2017-07-31 13:57:45 -04:00
Sergey Fedoseev
0baea920c8 Fixed #28453 -- Made __exact=None lookup use transforms. 2017-07-31 13:31:04 -04:00
Tim Graham
e3bd328b0f Removed a primary key value dependency in a multiple_database test.
Follow up to a51c4de1945be2225f20fad794cfb52d8f1f9236.
2017-07-31 13:28:29 -04:00
Sergey Fedoseev
aadd3aeb2b Avoided creating temporary lists for obtaining the first item. 2017-07-31 11:02:23 -04:00
Sergey Fedoseev
0f905e4b44 Removed unneeded TruncBase.arity.
Uneeded since its introduction in 2a4af0ea43512370764303d35bc5309f8abce666.
2017-07-31 13:42:12 +05:00
Mads Jensen
a51c4de194 Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
Sergey Fedoseev
38988f289f Avoided creation of temporary sets. 2017-07-29 10:16:43 -04:00
Srinivas Reddy Thatiparthy
b306c0c1a3 Fixed #28264 -- Made FilePathField sort files and directories when recursive=True. 2017-07-29 09:15:46 -04:00
Sergey Fedoseev
99e7bba443 Prevented query_utils.refs_expression() from looking for empty string in annotations map. 2017-07-28 08:42:52 -04:00
Mariusz Felisiak
b61d5b1991 Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't provided.
Thanks Tim Graham for the review.
2017-07-27 19:36:47 +02:00
Tim Graham
14172cf442 Fixed #28415 -- Clarified what characters ASCII/UnicodeUsernameValidator accept. 2017-07-27 08:42:01 -04:00
Sergey Fedoseev
6ebe3a95ea Fixed #28437 -- Added support for complex geometry expressions in GIS lookups. 2017-07-27 08:06:08 -04:00
Mariusz Felisiak
8e41373c81 Allowed database backends to specify data types for Cast().
A small refactor ahead of refs #28371.
2017-07-26 20:26:58 -04:00
Tim Graham
ef9344b3a5 Removed unused SpatialOperations.from_wkb.
Unused since its introduction in ff60c5f9de3e8690d1e86f3e9e3f7248a15397c8.
2017-07-26 20:03:41 -04:00
Anton Samarchyan
c91dcd36fc Improved test coverage for django.conf. 2017-07-26 20:00:28 -04:00
Anton Samarchyan
0eefda493b Improved test coverage for django.contrib.sitemaps. 2017-07-26 15:01:46 -04:00
Melvyn Sopacua
5bb9b9a388 Fixed #28363 -- Allowed naming the migration generated by squashmigrations. 2017-07-26 13:47:35 -04:00
Sergey Fedoseev
5ccbcc5bf6 Fixed #28433 -- Made GEOSGeometry.__eq__() work correctly with non-canonical EWKT string. 2017-07-26 09:42:02 -04:00
Berker Peksag
c362228556 Replaced "not A== B" with "A != B" in docs/howto/writing-migrations.txt. 2017-07-26 09:34:10 -04:00
Sergey Fedoseev
f3bada9889 Fixed #28436 -- Added support for distance lookups on MySQL. 2017-07-26 08:50:56 -04:00
Sergey Fedoseev
38af496b98 Fixed #28432 -- Allowed geometry expressions to be used with distance lookups.
Distance lookups use the Distance function for decreased code redundancy.
2017-07-25 15:49:35 -04:00
Tim Graham
c7d58c6f43 Fixed #28435 -- Removed inaccurate warning about SECURE_HSTS_PRELOAD. 2017-07-25 15:12:50 -04:00
Sergey Fedoseev
d17eaa868c Removed obsolete references to add_to_query().
Support for it was removed in d3f00bd5706b35961390d3814dd7e322ead3a9a3.
2017-07-25 07:52:05 -04:00
Windson yang
f32d24652b Fixed #28321 -- Prevented FormSet.full_clean() from adding errors from deleted forms. 2017-07-24 18:55:41 -04:00
Mariusz Felisiak
28a02259cb Fixed DatabaseFeatures.has_case_insensitive_like on MySQL and Oracle.
Incorrect since its introduction in 20bab2cf9d02a5c6477d8aac066a635986e0d3f3.
2017-07-24 21:51:29 +02:00
Mariusz Felisiak
fe9f383357 Refs #24996 -- Removed unused BaseDatabaseFeatures.supports_select_related.
Unused since 0c7633178fa9410f102e4708cef979b873bccb76.
2017-07-24 13:46:02 -04:00
Emmanuel
27ef04bb5c Fixed #28349 -- Doc'd how to upgrade Django from LTS to LTS. 2017-07-24 13:33:30 -04:00
Rachel Tobin
f9e5f9ae9f Fixed #28418 -- Fixed queryset crash when using a GenericRelation to a proxy model. 2017-07-21 18:21:13 -04:00
Tim Graham
c6986a4ebf Refs #17453 -- Fixed broken link to #django IRC logs. 2017-07-21 18:09:48 -04:00
Tom Forbes
462f1589cd Refs #23919 -- Updated contrib.admin's compress.py to use pathlib. 2017-07-21 10:24:49 -04:00
Tom Carrick
3159ad4df6 Fixed #27970 -- Allowed QuerySet.in_bulk() to fetch on fields besides primary key. 2017-07-21 08:34:35 -04:00
Simon Charette
76236f0db2 Stopped setting BaseExpression.copied on copy().
Unused since its introduction in f59fd15c4928caf3dfcbd50f6ab47be409a43b01.
2017-07-21 00:23:21 -04:00
Simon Charette
160969d970 Refs #24887 -- Stopped mutating a test expression during as_sql().
Also defined an explicit output_field as it was mixing an expression with an
IntegerField() with one with a DecimalField().
2017-07-21 00:23:01 -04:00
orf
7dfe03f86d Sorted display of options in Func.__repr__(). 2017-07-20 20:51:07 -04:00
Tim Graham
487362fa8f Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value().
Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-07-20 16:30:08 -04:00
Sergey Fedoseev
8d5095d8a3 Added BaseSpatialField.get_db_prep_value() to simplify.
BaseSpatialField.get_db_prep_value() supersedes
BaseSpatialField.get_db_prep_save() and Geometry.get_db_prep_value().
2017-07-20 22:26:22 +05:00
Johannes Hoppe
c19b56f633 Fixed #28377 -- Made combining form Media retain relative asset order.
Thanks Florian Apolloner, Mariusz Felisiak, and Tim Graham for reviews.
2017-07-20 11:06:30 -04:00
Tim Graham
f86b6f351d Refs #25588 -- Removed obsolete bits of RasterField support.
Unused since bbfad84dd980a97174c3b061a3d1b5f1373c380d.
2017-07-20 10:09:36 -04:00
Sergey Fedoseev
3b56f2191d Simplified handling of GIS lookup params. 2017-07-20 10:08:55 -04:00
Sergey Fedoseev
9415fcfef6 Tested the case when the lhs of a raster lookup has an index specified and the rhs doesn't. 2017-07-20 09:05:45 -04:00
Sergey Fedoseev
37fbeb99f9 Removed unused models.DecimalField._format().
Unused since b3b71a0922334c70bbc646a4873010f808196671.
2017-07-20 09:00:18 -04:00
Sergey Fedoseev
81a453ca0f Removed unneeded check in GeometryField.from_db_value().
Unneeded since 6f43b2b8a55d72d1e8e04163ff0c2091cf6b8ce5.
2017-07-20 16:23:56 +05:00
Roman Selivanov
d4da39685b Fixed #28414 -- Fixed ClearableFileInput rendering as a subwidget of MultiWidget. 2017-07-19 14:28:06 -04:00
Sergey Fedoseev
3f7953846e Fixed typo in DistanceLookupBase.process_rhs() error message. 2017-07-19 13:40:56 -04:00
Sergey Fedoseev
196da41ee2 Removed SRID use in PostGISAdapter.__eq__() and __hash__().
EWKB already contains the SRID.
2017-07-19 10:04:15 -04:00
Mariusz Felisiak
e06cab2600 Fixed #28411 -- Used cx_Oracle.Cursor.outputtypehandler instead of _rowfactory() on Oracle.
Thanks Tim Graham for the review.
2017-07-19 08:42:52 +02:00
Sergey Fedoseev
dc738a0c76 Removed redundant lookup values in RasterFieldTest.test_all_gis_lookups_with_rasters.
These values produce already tested lookups and prevent another one from
being tested.
2017-07-18 15:01:09 -04:00
Tomer Chachamu
62917cee5a Doc'd the need to remove default ordering on Subquery aggregates. 2017-07-18 08:48:25 -04:00
Sergey Fedoseev
12812f6b2d Fixed RasterFieldTest.test_all_gis_lookups_with_rasters.
It was inadvertently made a no-op in
378cf689d8772d917f642a80967ab8a2332eb41c.
2017-07-18 08:47:59 -04:00
Tim Graham
259875535b Removed unneeded right quotes in docs to fix spelling errors.
A regression in pyenchant caused a problem:
https://github.com/rfk/pyenchant/issues/93
2017-07-18 08:24:49 -04:00
Sergey Fedoseev
33d453b2a7 Removed unneeded hasattr(self.rhs, 'get_compiler') checks in db/models/lookups.py.
Unneeded since 9ae4362becbde31dc9cc31ae0b1db969e7007431.
2017-07-18 08:24:01 -04:00
Srinivas Reddy Thatiparthy
71ff9a74cb Created a dedicated test directory for FilePathField tests. 2017-07-17 16:40:34 -04:00
Mariusz Felisiak
776cee9749 Fixed #28391 -- Fixed Cast() with CharField and max_length on MySQL.
Thanks Tim Graham for the review.
2017-07-17 21:12:27 +02:00
Tim Graham
feeafdad02 Removed unused enter/exit methods of MySQL's CursorWrapper.
Unused since their introduction in e1d839237f7ce38ef078b7f09cc3a1aeaacc02f0.
2017-07-17 13:16:29 -04:00
jmk
841b464883 Fixed 403 link in docs/ref/contrib/gis/install/spatialite.txt. 2017-07-17 12:26:11 -04:00
Mariusz Felisiak
e5835a7cb8 Allowed Func subclasses to add kwargs to __repr__().
Thanks Tim Graham for the review.
2017-07-17 10:07:19 -04:00
Florian Apolloner
adab280cef Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and intersection() queries. 2017-07-15 08:20:12 -04:00
Sergey Fedoseev
9290f15bb5 Simplified GIS Funcs by using GeoFuncMixin.geo_field. 2017-07-15 15:03:50 +05:00
Sergey Fedoseev
504ce3914f Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from _output_field). 2017-07-14 21:56:01 -04:00
Srinivas Reddy Thatiparthy
5debbdfcc8 Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it. 2017-07-14 13:06:51 -04:00
Tim Graham
2e9ada1551 Fixed #28397 -- Removed django.core.exceptions.DjangoRuntimeWarning. 2017-07-14 12:06:06 -04:00
Sergey Fedoseev
fc2dee6908 Removed unused branch in __getattr__() of Oracle and MySQL cursor wrappers. 2017-07-14 09:14:21 -04:00
Sergey Fedoseev
18db55bb31 Replaced Oracle CursorIterator with generator expression. 2017-07-14 14:15:00 +05:00
Tim Graham
37b2602c89 Refs #28174 -- Added 1.11.4 release note for Python 2 runserver autoreload fix.
Forwardport of fc6b90bdb7a9531e988245942f79518308616b7b from stable/1.11.x
2017-07-13 13:42:27 -04:00
Sergey Fedoseev
59cad72636 Simplified GEOSCoordSeq._checkindex(). 2017-07-13 12:46:59 -04:00
Sergey Fedoseev
be8d5bd703 Added test for GEOSCoordSeq.__getitem__(). 2017-07-13 12:46:59 -04:00
Sergey Fedoseev
8ab2ae4404 Removed unneeded index check in LineString._set_single() as index is already checked in __getitem__().
Unneeded since its introduction in 66e1670efae34d721e374788e4c3f8b5fe5fa481.
2017-07-13 11:41:00 -04:00
Sergey Fedoseev
ce834d0891 Removed unused ListMixin._checkindex() correct kwarg.
Unused since its introduction in 66e1670efae34d721e374788e4c3f8b5fe5fa481.
2017-07-13 11:39:06 +05:00
Tim Graham
e532bf7a90 Removed GeometryField.get_distance(); a GeoQuerySet leftover.
Follow up to a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-07-12 21:23:25 -04:00
Sergey Fedoseev
815a0bb80d Refs #28020 -- Removed obsolete GeometryCollection.json.
Unused since 12d0567aa5e82322543f0c0c126ba18c91a1e439.
2017-07-12 15:11:11 -04:00
Windsooon
e19b9d6015 Merged nested if statements in BaseFormSet.is_valid(). 2017-07-12 14:13:03 -04:00
Sergey Fedoseev
138a78ec8c Made LineString.__iter__() return iter() from internal GEOSCoordSeq both for simplicity and performance. 2017-07-12 22:13:57 +05:00
Sergey Fedoseev
1a742ea33b Added test for LineString.__iter__(). 2017-07-12 22:13:45 +05:00
Sergey Fedoseev
83440a1258 Refs #28389 -- Added release note and test for pickling of LazyObject when wrapped object doesn't have __reduce__().
Forwardport of 30f334cc58e939c7d9bd8455c80bd066fbde9f2b from stable/1.11.x
2017-07-12 09:30:29 -04:00
Sergey Fedoseev
59a4b12a23 Refs #23919 -- Removed LazyObject.__getstate__() needed only on Python 2. 2017-07-12 13:14:49 +05:00
Jon Dufresne
d7881d2020 Fixed #22229 -- Added primary key validation to BaseModelFormSet._construct_form(). 2017-07-11 14:33:21 -04:00
Jon Dufresne
988309a1ae Added ModelFormSet test for validation of a nonexistent PK. 2017-07-11 14:28:56 -04:00
Tim Graham
2457c1866e Refs #28352 -- Corrected another QuerySet.values_list() return type in docs example. 2017-07-11 14:22:46 -04:00
Irindu Indeera
babe9e64a6 Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples. 2017-07-11 14:15:17 -04:00
Adam Johnson
f816ceedf1 Made assertions in invalid_models_tests consistent. 2017-07-11 13:12:17 -04:00
Claude Paroz
169c3b3e07 Fixed #14204 -- Enforced SQLite foreign key constraints.
Thanks Tim Graham for contributing to the patch and
Simon Charette for advice and review.
2017-07-11 09:07:31 -04:00
Sergey Fedoseev
29769a9942 Fixed #28382 -- Prevented BaseExpression._output_field from being set if _resolve_output_field() fails. 2017-07-11 08:29:08 -04:00
Sergey Fedoseev
306b961a4d Fixed #28383 -- Made NumPoints GIS function return None for non-LINESTRING geometries on MySQL. 2017-07-11 08:21:11 -04:00
Tom
719b370b34 Updated name of topics/db/queries link on index. 2017-07-11 08:15:13 -04:00
Samir Shah
d7d0a0c8e9 Fixed rendering of form errors in tests/templates/login.html. 2017-07-11 07:53:06 -04:00
Mariusz Felisiak
ca74e56350 Fixed #28378 -- Fixed union() and difference() when combining with a queryset raising EmptyResultSet.
Thanks Jon Dufresne for the report. Thanks Tim Graham and Simon Charette
for the reviews.
2017-07-10 20:40:08 +02:00
Mariusz Felisiak
9bca0d0b38 Added test for intersection() when combining with a queryset raising EmptyResultSet. 2017-07-10 20:40:08 +02:00
Jaap Roes
408ed9fea4 Fixed typo in tests/i18n/tests.py comment. 2017-07-10 12:08:57 -04:00
Marten Kenbeek
ceb5f1c9bf Refs #27804 -- Used subTest() in urlpatterns_reverse tests. 2017-07-10 09:27:50 -04:00
Mads Jensen
4af88ccbe6 Refs #23919 -- Removed Python 2 reference in django_bash_completion. 2017-07-10 08:54:52 -04:00
Tim Graham
31a2af1c01 Removed useless hasattr in UpdateQuery._setup_query().
The if statement always evaluates to True.
2017-07-08 08:12:46 -04:00
Tim Graham
a8c70abfdf Added a test for QuerySet.update() with a ManyToManyField. 2017-07-08 07:40:45 -04:00
Tim Graham
23c529a774 Removed unused Query.clone() memo kwarg.
Unused since 23ca3a01940c63942885df4709712cebf4df79ec.
2017-07-07 09:29:58 -04:00
Tim Graham
686772c177 Removed unused OrderWrt.deconstruct(). 2017-07-06 18:45:53 -04:00
marton bognar
8274160520 Fixed #28361 -- Fixed possible time-related failure in was_published_recently() tutorial test.
Regression in 268a646353c6fa9e5fc3730e13b386ddabb018ef.
2017-07-06 18:23:49 -04:00
Bruno Alla
604341c85f Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context in as_view(). 2017-07-06 10:34:54 -04:00
Tim Graham
42e91cd6f4 Refs #28355 -- Forwardported 1.11.4 release note. 2017-07-06 08:17:39 -04:00
Peter Inglesby
0ba57c3957 Fixed #27670 -- Prevented shell crash on error in .pythonrc. 2017-07-06 07:50:22 -04:00
Mariusz Felisiak
cf57ecb221 Fixed #28364 -- Removed redundant table joins in Oracle's DatabaseIntrospection.get_relations(). 2017-07-06 07:39:01 -04:00
Mariusz Felisiak
df1106a40f Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value with similar methods. 2017-07-06 07:37:47 -04:00
Sergey Fedoseev
6de2930078 Fixed #28360 -- Fixed test runner crash with --debug-sql on fail/error in subTest. 2017-07-05 16:56:24 -04:00
Claude Paroz
61fd2b494a Refs #21415 -- Fixed contrib.humanize translations for es_AR
Thanks Blas Castro for the report and the patch.
Forward port of 72026fff3963973d607bf0b525a082d20f024406 from stable/1.11.x
2017-07-05 08:41:09 +02:00
Tushar Malik
14251324e6 Added missing import in docs/topics/db/queries.txt. 2017-07-04 20:18:04 -04:00
Mariusz Felisiak
7d8fc65f36
Removed obsolete comment about IntegerField introspection on Oracle.
Obsolete since e9d12bae1e59e51738c11c492c620f56f96106bf.
2017-07-04 14:46:40 +02:00
Matthew Schinckel
493f7e9e1e Fixed #28076 -- Added support for PostgreSQL's interval format to parse_duration(). 2017-07-03 19:53:19 -04:00
Matthew Schinckel
684c0a35f6 Refs #27804 -- Used subTest() in dateparse tests. 2017-07-03 17:08:58 -04:00
Tim Graham
2328f2faf8 Added stub release notes for 1.11.4. 2017-07-01 19:37:43 -04:00
Tim Graham
25cce597d0 Added release date for 1.11.3. 2017-07-01 19:13:35 -04:00
Jon Dufresne
a1be12fe19 Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().
field_for_model() now has an additional keyword argument,
apply_limit_choices_to, allowing it to continue to be used to create
form fields dynamically after ModelForm.__init__() is called.

Thanks Tim Graham for the review.
2017-06-30 15:57:48 -07:00
Simon Charette
5cbcb36839 Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent field.
Thanks Tim for the review.
2017-06-30 12:50:37 -04:00
Ran Benita
b9f7dce84b Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update(). 2017-06-29 16:00:15 -04:00
Sergey Fedoseev
2d18c60fbb Removed unused prototypes for deprecated GEOS functions. 2017-06-29 14:40:21 -04:00
Wil Tan
b94d99af5b Refs #28280 -- Added more tests for utils.numberformat.format(). 2017-06-29 13:31:41 -04:00
Tim Graham
0b00a8988b Fixed crash in i18n tests skip condition if gettext isn't installed. 2017-06-29 13:09:16 -04:00
Mariusz Felisiak
6e228d0b65 Fixed #28277 -- Added validation of QuerySet.annotate() and aggregate() args.
Thanks Tim Graham and Nick Pope for reviews.
2017-06-29 18:25:36 +02:00
Anssi Kääriäinen
f7f5edd50d Removed obsolete Query.tables attribute.
Obsolete since Query.alias_map became an OrderedDict (refs #26522).
2017-06-29 11:09:11 -04:00
Mads Jensen
550cb3a365 Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). 2017-06-28 14:07:55 -04:00
Daniel Hahler
43a4835edf Fixed #27473 -- Added DurationField support to Extract. 2017-06-28 10:10:09 -04:00
Mike Vasiliou
63e9a71ec4 Fixed #28294 -- Doc'd request/args/kwargs attributes of class-based views. 2017-06-28 09:19:52 -04:00
Laura
e58c87cb70 Fixed #28336 -- Fixed typo in docs/ref/settings.txt. 2017-06-27 21:41:10 -04:00
Mariusz Felisiak
3297dede7f Fixed #28046 -- Added the db_tablespace parameter to class-based indexes.
Thanks Markus Holtermann and Tim Graham for reviews.
2017-06-27 21:15:15 +02:00
Mariusz Felisiak
617505ca89 Fixed #28330 -- Prevented passing positional arguments to an Index.
Thanks Tim Graham for the review.
2017-06-27 13:39:37 -04:00
michaldabski
d381914aef Fixed #28313 -- Added model name max length check of 100 characters in contrib.contentttypes. 2017-06-26 18:12:35 -04:00
Sergey Fedoseev
44a7b98abb Fixed #27964 -- Made MySQL backend raise exception if spatial transformation is needed for query. 2017-06-26 15:10:55 -04:00
Sergey Fedoseev
964e490847 Fixed GEOSGeometry reference in GIS tutorial. 2017-06-26 15:10:07 -04:00
Paulo Alvarado
c432927160 Fixed #26362 -- Fixed update of the inherited id field of an object when its parent changes. 2017-06-26 12:11:20 -04:00
Jon Dufresne
fa283067c9 Removed unnecessary empty parentheses in class definitions. 2017-06-26 10:31:32 -04:00
Mariusz Felisiak
081e787160 Refs #23919 -- Stopped inheriting from object to define new style classes.
Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f.
2017-06-26 10:30:31 -04:00
Josh Schneier
fba0eaa5d6 Fixed #28298 -- Prevented a primary key alteration from adding a foreign key constraint if db_constraint=False. 2017-06-22 21:31:56 -04:00
Flávio Juvenal
0af14b2eaa Refs #16870 -- Doc'd that CSRF protection requires the Referer header. 2017-06-22 11:50:00 -04:00
Tim Graham
e1cd5a76d7 Cosmetic edits to tests/view_tests/tests/test_csrf.py. 2017-06-22 09:30:40 -04:00
Mariusz Felisiak
8cb1b1fd8e Reorganized backends tests. 2017-06-21 12:00:47 -04:00
Mariusz Felisiak
0f91ba1adc Fixed #28329 -- Fixed Cast() with Big/Small/Positive/PositiveSmallIntegerField on MySQL. 2017-06-21 10:16:53 -04:00
Andrew Pinkham
a96b981d84 Fixed #28127 -- Allowed UserCreationForm's password validation to check all user fields. 2017-06-21 09:22:15 -04:00
Simon Charette
b1cbbe9267 Refs #25530 -- Deleted deferred SQL references on delete operation. 2017-06-21 00:26:30 -04:00
Simon Charette
b50815ee41 Refs #25530 -- Renamed deferred SQL references on rename operation. 2017-06-21 00:26:30 -04:00
Simon Charette
3b429c9673 Refs #25530 -- Tracked references of deferred SQL statements. 2017-06-21 00:03:31 -04:00
Simon Charette
ea91ad4c13 Refs #25530 -- Changed _create_index_name to take a table as first parameter. 2017-06-20 22:59:22 -04:00
aruseni
ad524980ac Fixed typo in docs/ref/request-response.txt. 2017-06-20 11:22:26 -04:00
Mads Jensen
de42adf4ff Fixed #27869 -- Added fastupdate and gin_pending_list_limit params to GinIndex.
Thanks Tim Graham and Markus Holtermann for review.
2017-06-20 10:54:39 -04:00
Tim Graham
2503ad5154 Fixed #28327 -- Removed contradictory description of mod_wsgi docs. 2017-06-20 07:35:55 -04:00
Tim Graham
bdf20c383f Fixed #28323 -- Removed unneeded normalize() in timezone.localtime() and make_naive(). 2017-06-20 07:12:41 -04:00
Georg Sauthoff
d0f59054d0 Fixed #28324 -- Made feedgenerators write feeds with deterministically ordered attributes. 2017-06-20 05:38:41 -04:00
Paul Tiplady
335a8d7895 Fixed #28322 -- Added dbshell support for MySQL client TLS certs. 2017-06-19 18:11:25 -04:00
Anton Samarchyan
a469e158a9 Added tests for PermissionDenied in admin's delete_selected() view. 2017-06-19 16:01:48 -04:00
Tim Graham
7d52de31af Moved admin's action view tests to a separate file. 2017-06-19 16:00:06 -04:00
Anton Samarchyan
57f4b3ce37 Added tests for AdminSite's add/disable/get action methods. 2017-06-19 15:53:51 -04:00
Anton Samarchyan
90294cc2ae Added a test for ModelAdmin.__str__(). 2017-06-19 15:33:21 -04:00
Mariusz Felisiak
24d7fe4933 Refs #27858 -- Fixed typo in MigrationRecorder.applied_migrations() comment. 2017-06-19 15:24:41 -04:00
Anton Samarchyan
0b9ccf9e60 Completed test coverage for admin's LogEntry model. 2017-06-19 14:12:38 -04:00
Marti Raudsepp
fda55c71a8 Fixed #27858 -- Prevented read-only management commands from creating the django_migrations table.
MigrationRecorder now assumes that if the django_migrations table
doesn't exist, then no migrations are applied.

Reverted documentation change from refs #23808.
2017-06-19 13:04:57 -04:00
François Freitag
4f1eb64ad0 Fixed #18485 -- Doc'd behavior of PostgreSQL when manually setting AutoField. 2017-06-19 08:59:16 -04:00
François Freitag
e36598f963 Refs #27539 -- Fixed typo in TransactionTestCase._pre_setup() comment. 2017-06-18 21:24:20 -04:00
Tim Graham
d1d7348001 Refs #25809 -- Removed BrinIndex.__repr__().
In retrospect, implementing a __repr__() for index subclasses doesn't
seem worthwhile.
2017-06-17 18:41:53 -04:00
Tim Graham
221e6e1817 Fixed #28176 -- Restored the uncasted option value in ChoiceWidget template context. 2017-06-17 18:17:23 -04:00
Maciej Jaworski
dc63ad7ac0 Fixed #28319 -- Made TextField with choices use a Select widget. 2017-06-17 08:23:32 -04:00
Tim Graham
3b050fd0d0 Fixed #28303 -- Prevented localization of attribute values in the DTL attrs.html widget template. 2017-06-17 08:12:05 -04:00
Chandrakant Kumar
2b09e4c88e Fixed #27787 -- Made call_command() validate the options it receives. 2017-06-16 21:28:38 -04:00
reficul31
92e286498a Fixed #27539 -- Made TransactionTestCase._pre_setup() clear the queries_log so it's less likely to overflow.
TransactionTestCase.assertNumQueries() fails in an overflow situation.
2017-06-16 21:06:13 -04:00
Daniel Wiesmann
6f44f714c9 Fixed #28300 -- Allowed GDALRasters to use the vsimem filesystem.
Thanks Tim Graham for the review and edits.
2017-06-16 12:09:05 -04:00
Chandrakant Kumar
f6800a081a Refs #27787 -- Corrected or removed invalid call_command() options. 2017-06-16 11:06:01 -04:00
Pavel Rybintsev
874b1f2cac Fixed #26936 -- Fixed stale ContentType deletion in apps without models. 2017-06-16 09:22:47 -04:00
Claude Paroz
ceca221b31 Fixed #28304 -- Kept SafeData type for pgettext-translated strings 2017-06-15 21:00:50 +02:00
Claude Paroz
a6b5321ce9 Refs #24423 -- Readded inadvertently deleted i18n tests.
Mistake in 97c1931c4f610e80053430d0297d51e1bed1e7ae.
2017-06-14 21:34:33 -04:00
Lincoln Smith
15b465c584 Fixed #27998 -- Made ManyToManyField changes logged in admin's object history. 2017-06-14 13:07:06 -04:00
chillaranand
451b585c2f Refs #27914 -- Used __qualname__ in model operations' deconstruct(). 2017-06-14 10:10:22 -04:00
chillaranand
fb0f987f7d Fixed #27914 -- Added support for nested classes in Field.deconstruct()/__repr__(). 2017-06-14 10:10:17 -04:00
Adam Bogdał
9f4e0fde0a Moved common code to RelatedField.deconstruct(). 2017-06-14 08:57:43 -04:00
Adam Bogdał
bd0c9388c0 Added additional field_construction tests for related fields. 2017-06-14 08:57:43 -04:00
Adam Bogdał
cd2fe829dd Fixed #24195 -- Deconstructed the limit_choices_to option of related fields.
Migrations will now be created for changes to limit_choices_to.
2017-06-14 08:57:24 -04:00
Tim Graham
f2b6986317 Fixed #28308 -- Doc'd removal of Select.render_option() (refs #15667). 2017-06-14 06:11:17 -04:00
Matthias Kestenholz
e8c056c31a Fixed #27434 -- Doc'd how to raise a model validation error for a field not in a model form. 2017-06-13 20:26:36 -04:00
Romulo Furtado
9dd2443942 Fixed #27161 -- Fixed form validation when an ArrayField's base_field has choices. 2017-06-13 19:44:24 -04:00
Mariusz Felisiak
de9294727c Added tel input type to admin CSS. 2017-06-13 16:49:57 -04:00
monotonee
7c4f05fae2 Fixed #28295 -- Made admin's URLify.js trim trailing hyphens. 2017-06-13 14:58:30 -04:00
monotonee
68812ba868 Added JavaScript tests for contrib.admin's URLify.js. 2017-06-13 14:23:38 -04:00
Tim Graham
7acbe89cc2 Refs #23853 -- Updated sql.query.Query.join() docstring.
Follow up to ab89414f40db1598364a7fe4cfac1766cacd2668.
2017-06-13 14:16:52 -04:00
John D'Ambrosio
be68c0bf63 Fixed #28071 -- Fixed {% extends %} origin history. 2017-06-13 12:50:54 -04:00
chillaranand
08bda82c23 Fixed #27830 -- Used distutils.version.LooseVersion for version parsing. 2017-06-13 10:53:39 -04:00
Mikhail Golubev
e7dc39fb65 Fixed #28229 -- Fixed the value of LoginView's "next" template variable. 2017-06-13 09:13:22 -04:00
orf
a118287bca Fixed #28284 -- Prevented Paginator's unordered object list warning from evaluating a QuerySet. 2017-06-13 08:13:17 -04:00
Mariusz Felisiak
82175ead72 Fixed #28293 -- Fixed union(), intersection(), and difference() when combining with an EmptyQuerySet.
Thanks Jon Dufresne for the report and Tim Graham for the review.
2017-06-13 08:16:16 +02:00
Paulo
9dc83c356d Fixed #27967 -- Fixed KeyError in admin's inline form with inherited non-editable pk.
Thanks Robin Anupol for the initial report and workaround.
2017-06-12 21:12:54 -04:00
Tim Graham
c68f5d83c0 Fixed #27655 -- Added some guidelines to the coding style docs. 2017-06-12 15:39:09 -04:00
Tim Graham
3d0a0ecd2c Refs #23919 -- Removed support for broken Model.__str__() in Model.__repr__().
Returning invalid bytestrings in __str__() is unlikely in Python 3.
2017-06-11 15:52:19 -04:00
Tom
3eb3907bb1 Refs #23919 -- Replaced stray super(ClassName, self) with super(). 2017-06-10 20:46:43 -04:00
Collin Anderson
1a49b89470 Fixed #27953 -- Added instance's pk to Model.__str__(). 2017-06-09 13:42:53 -04:00
Collin Anderson
7c9cb1ed37 Refs #27953 -- Removed hardcoded uses of Model.__str__() in tests. 2017-06-09 13:28:50 -04:00
Tim Graham
0877989c94 Fixed typo in docs/ref/models/querysets.txt. 2017-06-09 12:48:24 -04:00
Tim Graham
108ff788cb Fixed typo in docs/ref/contrib/postgres/fields.txt. 2017-06-09 12:42:53 -04:00
Mads Jensen
c7f6ffbdcf Fixed #28103 -- Added quarter extract, truncation, and lookup.
Thanks Mariusz Felisiak, Tim Graham, and Adam Johnson for review.
2017-06-08 15:15:29 -04:00
Thomas Khyn
f6bd00131e Fixed #28241 -- Allowed module_has_submodule()'s module_name arg to be a dotted path. 2017-06-08 14:34:20 -04:00
Claude Paroz
af69f14e7b Removed unused sql.Query.query_terms
Unused since 5008a4db440c8f7d108a6979b959025ffb5789ba.
2017-06-08 13:11:51 -04:00
Daniel Wiesmann
fe5e34a295 Fixed #28288 -- Allowed passing papsz options to GDALRaster initialization. 2017-06-08 12:44:26 -04:00
Jon Dufresne
0c3c37a376 Fixed #28282 -- Fixed class-based indexes name for models that only inherit Model. 2017-06-08 09:36:12 -04:00
Mads Jensen
085c2f94ec Refs #25240 -- Added ExtractWeek examples. 2017-06-08 09:00:57 -04:00
Tim Graham
c16aa69101 Factored shared Inline/ModelAdmin.get_fields() logic into BaseModelAdmin.
BaseModelAdmin.get_fields() was previously unused/untested.
2017-06-07 17:11:02 -04:00
Arne de Laat
681d2599ee Fixed #28165 -- Ignored case in FileExtensionValidator's allowed_extensions. 2017-06-07 16:53:36 -04:00
Arne de Laat
b137add6cf Added FileExtensionValidator tests for uppercase and missing file extensions. 2017-06-07 16:53:10 -04:00
Tim Graham
c01409c789 Corrected FileExtensionValidator doc regarding the value being validated. 2017-06-07 16:52:16 -04:00
Claude Paroz
2862760894 Fixed #28257 -- Confirmed support for GDAL 2.2
Additionally, a test has been updated to account for small SRS WKT differences.
Thanks Tim Graham for writing the doc part.
2017-06-07 21:26:04 +02:00
Daniel Wiesmann
e0b456bee7 Fixed #28232 -- Made raster metadata readable and writable on GDALRaster/Band. 2017-06-07 11:30:35 -04:00
Tim Graham
23825b2494 Simplified tutorial's test names and docstrings. 2017-06-07 09:47:15 -04:00
Tim Graham
49b9c89d40 Fixed #28233 -- Used a simpler example in the aggregation "cheat sheet" docs. 2017-06-06 16:11:48 -04:00
kakulukia
525dc283a6 Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget. 2017-06-06 15:41:23 -04:00
Josh Schneier
37c9b81ebc Fixed #28104 -- Prevented condition decorator from setting ETag/Last-Modified headers for non-safe requests. 2017-06-06 15:37:14 -04:00
Tim Graham
268a646353 Updated was_published_recently() tutorial test to check boundary condition. 2017-06-06 12:16:03 -04:00
Claude Paroz
23142eea85 Fixed #18394 -- Added error for invalid JavaScriptCatalog packages
Thanks Tim Graham for the review.
2017-06-06 18:02:22 +02:00
Tim Graham
41e02ab368 Clarified purpose of "Database backend API" backwards incompatible changes section. 2017-06-06 11:33:09 -04:00
Tim Graham
fc13a697b4 Fixed typo in docs/ref/class-based-views/mixins-single-object.txt. 2017-06-06 11:24:44 -04:00
Florian Apolloner
823d73be3e Fixed #28275 -- Added more hooks to SchemaEditor._alter_field(). 2017-06-06 11:08:40 -04:00
Mariusz Felisiak
5e9f7f1e1c Refs #20483 -- Removed unneeded column from _foreign_key_constraints() on Oracle. 2017-06-06 14:25:53 +02:00
Paulo
4ad2f86284 Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input. 2017-06-06 07:54:31 -04:00
Windson yang
7f238097c0 Fixed #28102 -- Doc'd how to compute path to built-in widget template directories. 2017-06-05 17:26:49 -04:00
Claude Paroz
d02fc8dfd3 Refs #21286 -- Enabled serializer tests with date/datetime pk model 2017-06-05 21:36:25 +02:00
Tim Graham
5a52d932ef Replaced Model._get_pk_val() with pk property.
Model.pk was added after _get_pk_val() and many places weren't simplified.
2017-06-05 15:20:34 -04:00
partizan
ff099f9db8 Fixed #28271 -- Added charset to technical_500_response() AJAX response. 2017-06-05 14:43:40 -04:00
Claude Paroz
6352d06cd0 Fixed #26651 -- Kept original file suffix in TemporaryUploadedFile name
Thanks Tim Graham for the review.
2017-06-05 18:55:44 +02:00
Claude Paroz
45bbb9aae0 Refs #27795 -- Removed force_text() usage in serialization framework 2017-06-05 18:33:45 +02:00
Paulo
b7f99f84bc Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter. 2017-06-05 10:29:54 -04:00
Jon Dufresne
a0f8c52ae2 Fixed ResourceWarnings in tests/servers/tests.py.
e.g. ResourceWarning: unclosed <socket.socket [closed] fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>
2017-06-05 09:56:51 -04:00
Adam Johnson
ed244199c7 Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has an instance only descriptor.
Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86.
2017-06-05 08:40:43 -04:00
Adam Johnson
36f09c8a29 Added a test for Model._meta._property_names. 2017-06-05 08:28:33 -04:00
Jon Dufresne
0a66aa158a Refs #27308, #27753 -- Removed obsolete cookie test mixing bytes with str.
Python 3's SimpleCookie treats all values as strings. Passing a bytes
object coerces to the repr value.
2017-06-03 21:07:11 -04:00
Tim Graham
07a9771b36 Removed unused django.contrib.gis.shortcuts.render_to_text()
Unused since its introduction in 79e68c225b926302ebb29c808dda8afa49856f5c.
2017-06-03 13:15:26 -04:00
Claude Paroz
43b574007e Fixed #28192 -- Required passing optional form field args as keyword args. 2017-06-03 10:49:01 -04:00
Tim Graham
ecae9c7aec Fixed typo in docs/ref/forms/fields.txt. 2017-06-03 10:37:20 -04:00
Claude Paroz
54caca2d34 Refs #28192 -- Fixed documentation of ChoiceField choices requirement
Thanks Tim Graham for noticing the issue.
2017-06-03 16:17:03 +02:00
Tim Graham
8e752d8437 Refs #28192 -- Made MultiValueField/ComboField fields argument required as documented. 2017-06-03 10:15:46 -04:00
Anupam
1f2e4f9cfe Fixed #28190 -- Clarifed how include/extends treat template names. 2017-06-03 08:11:04 -04:00
Anton Samarchyan
0c1355e9bb Completed test coverage for RedirectFallbackMiddleware. 2017-06-02 20:10:27 -04:00
Anton Samarchyan
2b53c8377d Improved test coverage of contrib/admin/checks.py. 2017-06-02 18:47:07 -04:00
Philip James
7c9a833301 Fixed #26028 -- Added overriding templates howto. 2017-06-02 18:17:27 -04:00
Tim Graham
37520d284e Removed useless hasattr() checks in ModelAdmin checks.
These attributes are defined on BaseModelAdmin and thus should always
be there.
2017-06-02 15:27:15 -04:00
Tim Graham
0841a31baf Fixed admin_views IntegrityError test failure.
Regression in 38a5a23c327ab1c816dc56864002ecc66cac4a48.
2017-06-02 14:59:01 -04:00
Tim Graham
38a5a23c32 Fixed admin_views test when run in reverse.
Modifying self.s1 created in setUpTestData() leaked state.

Regression in 45585d3cbbd320a316171b17474b60e3f5fb1fb8.
2017-06-02 13:35:03 -04:00
Mariusz Felisiak
516b7664dc Fixed #28260 -- Allowed customizing the test tablespace initial and autoextend size on Oracle.
Thanks Tim Graham for the review.
2017-06-02 18:35:56 +02:00
Mariusz Felisiak
8149bd00d8 Fixed #28258 -- Optimized Oracle introspection by using LISTAGG.
Thanks Tim Graham and Jani Tiainen for reviews.
2017-06-02 16:54:34 +02:00
Tim Graham
45585d3cbb Removed pk hardcoding in admin_views tests. 2017-06-02 10:01:41 -04:00
Jon Dufresne
29a518006f Fixed #28265 -- Prevented renderer warning on Widget.render() with **kwargs. 2017-06-02 09:46:43 -04:00
Lachlan Musicman
00093daec9 Fixed #28266 -- Fixed typo in docs/ref/models/instances.txt. 2017-06-02 09:17:15 -04:00
Jon Dufresne
2c69824e5a Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. 2017-06-01 19:08:59 -04:00
François Freitag
edee5a8de6 Fixed #27639 -- Added chunk_size parameter to QuerySet.iterator(). 2017-06-01 17:50:41 -04:00
François Freitag
bf50ae8210 Clarified QuerySet.iterator()'s docs on server-side cursors. 2017-06-01 15:38:30 -04:00
Mariusz Felisiak
9af6c97504 Refs #26682 -- Added AutoField introspection on Oracle. 2017-06-01 19:33:48 +02:00
Mariusz Felisiak
924a89e135 Fixed #26682 -- Added support for Oracle identity columns.
Thanks Shai Berger and Tim Graham for reviews.
2017-06-01 19:33:48 +02:00
Tim Graham
cde31daf88 Sorted imports per isort 4.2.9. 2017-06-01 13:23:48 -04:00
Tim Graham
4ef093b0b4 Added stub release notes for 1.11.3. 2017-06-01 11:19:43 -04:00
Tim Graham
162778b8e2 Added release date for 1.11.2. 2017-06-01 11:09:51 -04:00
Manatsawin Hanmongkolchai
a0c07d77fc Fixed #28242 -- Moved ImageField file extension validation to the form field. 2017-06-01 10:13:23 -04:00
Ingo Klöcker
6bb3b2bff4 Refs #27777 -- Improved docs/added test for File context manager change. 2017-05-31 21:02:58 -04:00
Matthias Erll
eee34ef64c Fixed #22550 -- Prohibited QuerySet.last()/reverse() after slicing. 2017-05-31 19:34:56 -04:00
Tim Graham
84fb50df67 Fixed a forms test after updated translations. 2017-05-31 19:29:34 -04:00
Claude Paroz
ae2ac4c400 Updated translations from Transifex
Forward port of 02158a785eff923110cb4c7c7e635d3ce4a928e3 from stable/1.11.x
2017-05-31 21:43:40 +02:00
Derrick Jackson
789c290150 Fixed #28170 -- Fixed file_move_safe() crash when moving files to a CIFS mount. 2017-05-31 14:52:40 -04:00
Chris Lamb
2ec56bb782 Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't writable. 2017-05-31 10:25:09 -04:00
Robert Rollins
b6d4b6e544 Fixed #28212 -- Allowed customizing the port that LiveServerTestCase uses.
Forwardport of 877d7b71ae952b3bc946e5187d6c23039a71614d from stable/1.11.x
2017-05-30 18:49:10 -04:00
René Fleschenberg
a30482a4b6 Refs #26294 -- Fixed typo in docs/ref/django-admin.txt. 2017-05-30 17:15:20 -04:00
Tim Graham
4a251f8bce Fixed AppRegistryNotReady error when running gis_tests in isolation on PostGIS.
Regression in 890537253cf235091816d27a5c2fb64943c8e34a.
2017-05-30 15:14:32 -04:00
Adit Biswas
c2eea61dff Fixed #28209 -- Made date-based generic views return a 404 rather than crash when given an out of range date. 2017-05-30 13:20:35 -04:00
Adam Johnson
c61d1361d0 DRY'd startapp and startproject management commands. 2017-05-30 10:30:32 -04:00
Adam Johnson
b3e55109bd Improved test coverage for startapp/startproject management commands. 2017-05-30 09:40:32 -04:00
Tim Graham
c32476e5ba Refs #28181 -- Corrected detection of GDAL 2.1 on Windows.
Follow up to a404f75f92971634c76330f3742261d33ccecca1.
2017-05-30 09:39:59 -04:00
Adam Johnson
9509268cea Refs #23804 -- Improved value validation in GDALRaster.geotransform setter. 2017-05-30 09:02:50 -04:00
Mariusz Felisiak
037d6540ec Fixed gis_tests.geoapp test with incorrect geodetic coordinates.
The latitude coordinates exceed -90, 90 bounds and caused a test failure
on Oracle 12.2.

Thanks Michał Wierzbowski for help preparing the patch.
2017-05-30 08:22:40 -04:00
Tim Graham
f04495521a Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST.
Thanks Simon Charette for the fix.
2017-05-30 06:40:41 -04:00
Tim Graham
17ed0d36bc Removed incorrect "required" attribute in docs/ref/forms/fields.txt. 2017-05-29 18:00:47 -04:00
Linus Lewandowski
eedc88bd4a Fixed #26823 -- Prevented update_last_login signal receiver from crashing if User model doesn't have last_login field. 2017-05-29 17:31:18 -04:00
Tim Graham
e84034b37a Refs #28204 - Forwardported 1.11.2 release note. 2017-05-29 10:14:45 -04:00
Nick Zaccardi
95993a89ce Fixed #28248 -- Fixed password reset tokens being valid for 1 day longer than PASSWORD_RESET_TIMEOUT_DAYS. 2017-05-29 09:22:22 -04:00
Boris Burkov
8c45b5b903 Added comments to contrib.sitemaps.index() view. 2017-05-27 20:50:35 -04:00
Jon Dufresne
c3e638112d Corrected REPL example in forms docs for Python 3. 2017-05-27 19:28:37 -04:00
Jon Dufresne
21046e7773 Fixed #28249 -- Removed unnecessary dict.keys() calls.
iter(dict) is equivalent to iter(dict.keys()).
2017-05-27 19:08:46 -04:00
Jon Dufresne
2a5708a304 Fixed a test's dict_keys/list comparison that always evaluated as False. 2017-05-27 18:37:16 -04:00
Tom
7afb476469 Fixed #28226 -- Replaced use of str.join() with concatenation. 2017-05-27 13:59:05 -04:00
Tom
94475aab80 Replaced some map() and filter() calls with generators. 2017-05-27 13:58:56 -04:00
Alex
37ab3c3f9d Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/get_or_create() defaults. 2017-05-27 12:41:38 -04:00
Anton Samarchyan
385cf7091e Fixed #25006 -- Allowed custom time shortcuts in admin's time picker. 2017-05-27 10:50:18 -04:00
Tim Heap
5b6181f4d5 Fixed #27922 -- Added ErrorDict.get_json_data(). 2017-05-27 09:19:42 -04:00
Chris Lamb
2f09a28558 Fixed #27881 -- Added diffsettings --output option.
Thanks Haris Ibrahim K. V. for writng docs.
2017-05-27 09:00:06 -04:00
Pavel Kulikov
af1fa5e7da Fixed #27978 -- Allowed loaddata to read data from stdin.
Thanks Squareweave for the django-loaddata-stdin project from which this
is adapted.
2017-05-26 19:54:21 -04:00
jannh
c930c241f8 Fixed #28017 -- Allowed customizing PasswordResetTokenGenerator's secret. 2017-05-26 07:37:36 -04:00
Claude Paroz
2cbb095bec Fixed #28221 -- Fixed plural fallback translations in JavaScriptCatalog view
Thanks Waldemar Kornewald for the report and initial patch.
2017-05-25 22:47:21 +02:00
Edward D'Souza
ed9bc4e576 Made RegexValidator's inverse_match logic clearer. 2017-05-25 14:09:47 -04:00
Eric Theise
1b5b3710f1 Added some shell output in tutorial 2. 2017-05-25 13:43:21 -04:00
Tim Graham
0ea321193a Fixed #28239 -- Removed docs for a removed arg of template.Context. 2017-05-25 13:15:12 -04:00
Tom
bb0b6e5263 Fixed #28211 -- Prevented ORing an empty Q() from reducing query join efficiency. 2017-05-25 09:06:25 -04:00
Tim Graham
1c3a6cec2a Refs #28211 -- Added a test for ANDing empty Q()'s.
This test passes to due some logic in Node.add().
2017-05-25 09:02:13 -04:00
Rajesh Veeranki
67e1afb4a8 Fixed #28224 -- Tested for SuspiciousOperation subclasses in Django's tests. 2017-05-25 08:19:01 -04:00
Yuichi Fujikawa
f8bce94997 Fixed docstring typo in django/contrib/admin/actions.py. 2017-05-25 05:54:51 -04:00
Dima Veselov
01d7ff9a17 Fixed typo in docs/topics/testing/advanced.txt. 2017-05-25 05:44:55 -04:00
Mariusz Felisiak
663d1c3160 Simplified schema.tests with assertForeignKeyExists()/assertForeignKeyNotExists().
Thanks Tim Graham for the review.
2017-05-24 16:43:56 +02:00
Tim Graham
cb16458c4f Removed usage of deprecated sphinx.util.compat.Directive. 2017-05-24 10:39:51 -04:00
Dmitry Shachnev
f370bfb108 Fixed docs build with Sphinx 1.6. 2017-05-24 09:13:26 -04:00
Bruno Alla
6092ea8fa6 Refs #27804 -- Used subTest() in several tests. 2017-05-24 08:36:34 -04:00
Mariusz Felisiak
91b2bc3e70 Fixed #27860 -- Dropped varchar_pattern_ops/text_pattern_ops index before altering char/text field in PostgreSQL.
Thanks Tim Graham for the review.
2017-05-24 07:25:59 +02:00
Mariusz Felisiak
538bf43458 Fixed #27859 -- Ignored db_index for TextField/BinaryField on Oracle and MySQL.
Thanks Zubair Alam for the initial patch and Tim Graham for the review.
2017-05-23 17:02:40 +02:00
Mariusz Felisiak
b3eb6eaf1a Refs #27859 -- Added DatabaseWrapper.display_name.
Thanks Tim Graham for the review.
2017-05-23 09:09:35 -04:00
Tim Graham
5dc6f77423 Refs #28230 -- Forwardported 1.11.2 release note. 2017-05-22 22:00:02 -04:00
R3turnz
502f03d897 Fixed #28112 -- Added 'time_zone' in GeoIP2.city() dict. 2017-05-22 21:07:14 -04:00
Claude Paroz
01f658644a Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:28:44 +02:00
Daniel Hahler
a3ba2662cd Refs #28207 -- Fixed contrib.auth.authenticate() if 'backend' is in the credentials.
Regression in 3008f30f194af386c354416be4c483f0f6b15f33.
2017-05-22 12:24:38 -04:00
Markus Amalthea Magnuson
266b243168 Made docs/topics/migrations.txt use single quotes consistently. 2017-05-22 12:06:49 -04:00
Ling-Xiao Yang
04ab96ec4f Fixed #28015 -- Added makemessages --add-location option.
Thanks François Freitag for review.
2017-05-22 09:03:53 -04:00
Tim Graham
3e9aa29871 Refs #16850 -- Removed obsolete simplejson support in JSON serializer.
cpython's json version is 2.0.9 so this line is never used.
2017-05-20 22:09:08 -04:00
Tom
e9c7f118a7 Fixed #28227 -- Allowed importing BaseRangeField/RangeWidget from contrib.postgres.forms. 2017-05-20 21:17:06 -04:00
Michiel Beijen
48028c6f9a Pointed Dive into Python links to python3 site
The old site handles python2, and is thus no longer relevant for Django.
Also I pointed the search path links to the proper sections.
2017-05-20 15:32:35 +02:00
Claude Paroz
43c65e0eb0 Fixed #28180 -- Numbered queries in assertNumQueries failure output
Thanks Tim Graham for the test part.
2017-05-20 15:11:09 +02:00
Claude Paroz
eb66057c1e Refs #28221 -- Honor plural number in JavaScriptCatalog 2017-05-20 13:23:54 +02:00
Tim Graham
59ab1b2683 Fixed #28210 -- Fixed Model._state.adding on MTI parent model after saving child model.
Regression in 38575b007a722d6af510ea46d46393a4cda9ca29.
2017-05-19 13:22:17 -04:00
Mariusz Felisiak
99df304c85 Fixed #28206 -- Fixed RawQuerySet crash on a model with a mixed case db_column pk on Oracle.
Thanks Tim Graham for the review.
2017-05-18 19:11:23 +02:00
François Freitag
98b3b14a64 Fixed #28203 -- Ignored connection configuration queries in assertNumQueries(). 2017-05-18 11:48:03 -04:00
Jon Dufresne
f599747fc8 Fixed #28152 -- Made migrations serialize sets as set literals rather than set(). 2017-05-18 09:33:40 -04:00
Claude Paroz
912ef7f49d Fixed validity of test django_js.po files 2017-05-18 14:33:18 +02:00
Tim Graham
650bf6714d Refs #27996 -- Skipped RandomUUID test on PostgreSQL 9.3. 2017-05-15 09:26:38 -04:00
Simon Charette
f0d47ab3b6 Corrected cached_property.__get__() docstring. 2017-05-15 09:25:14 -04:00
Adam Alton
f9bae845ea Added a docstring to cached_property.__get__(). 2017-05-15 09:05:42 -04:00
Tim Schneider
3a5299c19c Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL. 2017-05-15 08:33:31 -04:00
Tamas Szabo
3008f30f19 Fixed #28207 -- Fixed contrib.auth.authenticate() if multiple auth backends don't accept a request. 2017-05-15 07:48:15 -04:00
Danilo Bargen
a7975260b5 Fixed #28195 -- Added OSMWidget.default_zoom attribute. 2017-05-14 14:31:17 -04:00
Claude Paroz
d4d812cb56 Refs #28196 -- Removed mentions of bytestrings for EmailMessage
With Python 3, there are no more reasons to special-case EmailMessage
arguments which should be plain strings.
2017-05-14 19:42:32 +02:00
Tim Graham
d3209bf09c Simplified test for OSMWidget.default_lon/lat. 2017-05-14 13:02:09 -04:00
Mariusz Felisiak
5cff2cb4c0 Refs #27859 -- Refactored BaseDatabaseValidation to use check_field_type().
Thanks Tim Graham for the review.
2017-05-14 18:34:45 +02:00
Danilo Bargen
680968b9e4 Documented OSMWidget.default_lat/lon. 2017-05-13 17:24:22 -04:00
Sławek Ehlert
faaf62f616 Improved test coverage for createsuperuser command. 2017-05-12 10:29:56 -04:00
Tim Graham
b0d0dbe280 Fixed widgets module path in docs/ref/contrib/gis/forms-api.txt. 2017-05-12 09:22:59 -04:00
Simon Charette
4acae21846 Fixed #24254 -- Fixed queries using the __in lookup with querysets using distinct() and order_by().
Thanks Tim for the review.
2017-05-11 21:50:07 -04:00
Tim Graham
a9874d48b1 Fixed #28188 -- Fixed crash when pickling model fields.
Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86.

Thanks Adam Alton for the report and test, and Adam Johnson for
suggesting the fix.
2017-05-11 21:04:52 -04:00
Simon Charette
daf2bd3efe Fixed #28107 -- Disabled grouping of selected primary keys for unmanaged models.
The grouping caused an issue with database views as PostgreSQL's query planer
isn't smart enough to introspect primary keys through views. Django doesn't
support database views but documents that unmanaged models should be used to
query them.

Thanks powderflask for the detailed report and investigation.
2017-05-11 20:00:57 -04:00
Riccardo Magliocchetti
bdf192c593 Fixed #28148 -- Doc'd ImageField name validation concerns with the test client. 2017-05-11 13:59:18 -04:00
Alexander Allakhverdiyev
a7c6c705e8 Fixed #28129 -- Allowed custom template tags to use keyword-only arguments. 2017-05-11 10:09:44 -04:00
Claude Paroz
f87256b15e Refs #27795 -- Replaced force_text() with str() in contrib.messages
Thanks Tim Graham for the review.
2017-05-10 22:40:18 +02:00
Claude Paroz
d1e5516c06 Complemented message storage test with explicit None extra_tags value 2017-05-10 22:38:46 +02:00
Florian Apolloner
d611a89238 Decreased max_length for char fields unless absolutely needed. (#8485) 2017-05-10 17:33:46 +02:00
Florian Apolloner
60f5129076 Fixed db backend discovery in admin_scripts tests.
Not all backends have dots in them.
2017-05-10 09:47:20 -04:00
UmanShahzad
856072dd4a Fixed #28142 -- Fixed is_safe_url() crash on invalid IPv6 URLs. 2017-05-10 09:02:20 -04:00
João Silva
3db84b5526 Fixed #28081 -- Stopped setting Content-Length=0 in conditional_content_removal() per RFC 7230. 2017-05-09 14:55:03 -04:00
Florian Apolloner
837259a63f Pass type to sql_alter_column_* where it was missing.
This is a followup to 2b3a9414570af623853ca0f819c7d77d0511f22c
2017-05-09 12:47:35 +02:00
Markus Holtermann
8e352876c3
Refs #22397 -- Removed model in test cleanup
The test was failing when using --keepdb due to a pre-existing
PonyStables model.

Thanks Florian Apolloner for the report
2017-05-09 11:15:41 +02:00
Claude Paroz
a87189fc5e Fixed #28164 -- Improved float conversions in DecimalField.to_python
Thanks Tim Graham and Adam Johnson for the reviews.
2017-05-09 08:40:08 +02:00
Claude Paroz
d842ada305 Refs #27795 -- Stopped converting integer format settings to str in JS/JSON i18n views
Thanks Tim Graham for the review.
2017-05-08 19:32:03 +02:00
Claude Paroz
e3a88c7797 Renamed django.views.i18n test cases 2017-05-08 19:29:27 +02:00
Tim Graham
c2975910a5 Fixed #28178 -- Changed contrib.gis to raise ImproperlyConfigured if gdal isn't installed. 2017-05-08 11:07:00 -04:00
Tim Graham
a404f75f92 Fixed #28181 -- Added detection for GDAL 2.1 and 2.0.
Follow up to:
ffdf507ec0821f0520e315c2e8a6cf231ea3fd5a (adding GDAL 2.0 support)
ebaa2fef27644430e2b9dfa912f02e39582bfc05 (confirming GDAL 2.1 support)
8c7778884bced3e756ce139da781b0c8c8b2395c (removing GDAL 1.8, 1.7 support)
2017-05-08 10:59:16 -04:00
Josh Schneier
5df0ff4155 Fixed #28089 -- Removed requirement to implement get_short_name() and get_full_name() in AbstractBaseUser subclasses. 2017-05-06 17:05:42 -04:00
Tim Graham
e86f4786a7 Fixed #28095 -- Doc'd Widget.build_attrs() signature change in Django 1.11. 2017-05-06 14:45:50 -04:00
Tim Graham
b57dc9268b Added stub release notes for 1.11.2. 2017-05-06 09:42:25 -04:00
Tim Graham
cedaac3428 Added release date for 1.11.1. 2017-05-06 08:19:41 -04:00
François Freitag
88336fdbb5 Fixed #28062 -- Added a setting to disable server-side cursors on PostgreSQL.
When a connection pooler is set up in transaction pooling mode, queries
relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS
setting in DATABASES disables server-side cursors for this use case.
2017-05-06 06:59:04 -04:00
Raphael Michel
504e7782fe Refs #22654 -- Added additional tests and amended release note. 2017-05-05 18:45:07 -04:00
Tim Graham
d66378a8b2 Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign key's parent model as the lookup value.
Thanks Simon Charette for review.
2017-05-05 18:35:08 -04:00
Christoph Schindler
2874531ab5 Fixed typo in docs/ref/forms/fields.txt. 2017-05-05 18:24:27 -04:00
Claude Paroz
e7f75b0b14 Fixed #28085 -- Added missing plural forms in en translation catalogs 2017-05-05 21:25:37 +02:00
Tim Graham
b014de011b Removed obsolete HAS_GEOS variable for test skipping. 2017-05-04 20:45:18 -04:00
Tim Graham
2dc3280254 Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed. 2017-05-04 20:45:18 -04:00
Tim Graham
890537253c Made runtests.py run gis_tests only when using a GIS database backend.
This facilitates other changes like refs #28160.
2017-05-04 20:29:19 -04:00
François Freitag
ec05ff086c Refs #25546 -- Added detailed comments for prefetch_related test. 2017-05-04 09:19:54 -04:00
François Freitag
c0a2b9508a Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nested Prefetches. 2017-05-04 09:17:29 -04:00
Mariusz Felisiak
16121da78d Fixed broken links to Oracle docs. 2017-05-04 09:11:47 -04:00
Simon Charette
b91868507a Fixed #28161 -- Fixed return type of ArrayField(CITextField()).
Thanks Tim for the review.
2017-05-04 00:02:14 -04:00
Simon Charette
f37467ec7a Added a test for ArrayField(HStoreField()). 2017-05-03 23:53:08 -04:00
Tim Graham
67702f3505 Converted sessions_tests to use assertIs() rather than assertTrue/False(). 2017-05-03 20:21:39 -04:00
Tim Graham
578e576c31 Fixed #28167 -- Fixed cache backend's SessionStore.exists() if session_key is None. 2017-05-03 12:39:07 -04:00
Tim Graham
584e10c76e Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child model.
Regression in 38575b007a722d6af510ea46d46393a4cda9ca29.
2017-05-03 12:14:15 -04:00
Alexander Kavanaugh
362fba87c9 Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash when using save_as_new.
Regression in 4a246a02bdcbc13b15480c014f51cb0682af7c1e.
2017-05-03 07:45:51 -04:00
Mariusz Felisiak
9b2d47bcde Fixed broken link to QUnit docs. 2017-05-03 07:31:59 -04:00
Tim Graham
d302e2c09c Fixed #28157 -- Fixed choice ordering in form fields with grouped and non-grouped options.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-05-03 07:21:44 -04:00
Tim Graham
13cd5b0670 Fixed broken link to mysqlclient docs. 2017-05-02 20:17:14 -04:00
Tim Graham
d0e43f225f Refs #28052 -- Cleaned up some indexes in schema tests. 2017-05-01 22:19:05 -04:00
Tim Graham
941280229e Refs #28100 -- Added 1.11.1 release note for e6bfd3d751278d7cfd09af1120c4bbce509c05da. 2017-05-01 21:30:07 -04:00
Tim Graham
05098fa449 Fixed typo in django/db/backends/base/schema.py comment. 2017-05-01 20:45:33 -04:00
Markus Holtermann
663e48947f Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False.
Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review.
2017-05-01 11:31:48 -04:00
Ian Foote
63afe3a2bf Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state. 2017-05-01 09:32:44 -04:00
Tim Graham
4b0211dad5 Fixed #28139 -- Added another level of headings in the topics index. 2017-05-01 08:53:54 -04:00
Jon Dufresne
b39aabc6c6 Refs #27795 -- Reworked get_or_create test erroneously mixing bytes and str.
As CharField.to_python() now always calls str(), assigning bytes to a
CharField is no longer correct usage. Doing so results in a warning:

  django/db/models/fields/__init__.py:1061: BytesWarning: str() on a bytes instance

Use a unique constraint violation to trigger the database error instead.

Warning introduced in 301de774c21d055e9e5a7073e5bffdb52bc71079.
2017-05-01 08:47:49 -04:00
Simon Charette
9ae4362bec Refs #16187 -- Stopped compiling query compilers during lookup rhs processing.
Lookup right hand side processing was compiling query compilers which happened
to work by chance as SQLCompiler defines a as_sql() method with two optional
parameters albeit it doesn't expect the same type of arguments.
2017-05-01 00:41:21 -04:00
Dylan Verheul
75aeebebfe Fixed #28105 -- Fixed crash in BaseGeometryWidget.get_context() when overriding existing attrs. 2017-04-30 20:19:12 -04:00
Tim Graham
1ebd295082 Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.
Thanks Preston Timmons for review.
2017-04-29 19:00:21 -04:00
Tim Graham
c920db1e57 Removed blank line in tests/model_fields/test_decimalfield.py per isort. 2017-04-29 07:42:12 -04:00
shinriyo
d510971088 Fixed typo in docs/topics/auth/default.txt. 2017-04-29 06:56:28 -04:00
Mariusz Felisiak
f3427ccb25 Refs #28138 -- Added release notes for d52577b62b3138674807ac74251fab7faed48331. 2017-04-28 13:15:05 -04:00
Mariusz Felisiak
946775227c Fixed #28138 -- Used ​output type handler instead of numbersAsStrings on Oracle ​cursor.
Thanks Tim Graham for the review.
2017-04-28 16:27:21 +02:00
Tim Graham
f04a404917 Fixed #28130 -- Fixed formset min_num validation with initial, unchanged forms.
Regression in f5c6295797b8332134fd89e0209a18a1d1d45e0c.
2017-04-28 09:32:40 -04:00
Simon Charette
eb4724a063 Reverted "Refs #20939 -- Moved subquery ordering clearing optimization to the __in lookup."
This reverts commit e62ea0bb9cbb54c1eef848871fe3eab2bad268dc since it
broke multi-column __in lookups and _meta.order_wrt on Oracle.
2017-04-28 09:30:35 -04:00
Mariusz Felisiak
f32ee6d0ec Refs #6767 -- Added test for fetching decimal values without rounding error on Oracle. 2017-04-28 06:07:28 +02:00
Alexander Allakhverdiyev
620e9dd31a Replaced django.utils.inspect.getargspec() with inspect.getfullargspec(). 2017-04-27 20:42:49 -04:00
Tim Graham
60dce33ab1 Removed obsolete django.test.utils.strip_quotes().
Django's test runners no longer discover doctests.
2017-04-27 20:32:12 -04:00
Simon Charette
e62ea0bb9c Refs #20939 -- Moved subquery ordering clearing optimization to the __in lookup.
Queries could potentially be resolved in cases where ordering matter.
2017-04-27 16:58:08 -04:00
Tim Graham
8095496a1c Fixed force_text() import in Oracle backend. 2017-04-27 08:47:33 -04:00
Jon Dufresne
7be94e0335 Replaced set |= operator with update() to avoid temporary set. 2017-04-27 08:16:19 -04:00
Claude Paroz
59f8118c86 Refs #23919 -- Removed force_text() in Python deserializer needed only on Python 2 2017-04-27 14:05:25 +02:00
Claude Paroz
a8343fe7bf Refs #27795 -- Replaced force_text() with str() in feed generators 2017-04-27 09:31:08 +02:00
Claude Paroz
301de774c2 Refs #27795 -- Replaced many force_text() with str()
Thanks Tim Graham for the review.
2017-04-27 09:10:02 +02:00
Daniel F Moisset
8ab7ce8558 Fixed #28037 -- Clarified that QueryDict.items()/values() are generators. 2017-04-26 20:51:28 -04:00
Tim Graham
31e0b3b40b Added links and cosmetic edits to docs/ref/request-response.txt. 2017-04-26 20:48:59 -04:00
Josh Schneier
a1b2c1d76e Fixed #28137 -- Deprecated HttpRequest.xreadlines(). 2017-04-26 19:39:22 -04:00
kapil garg
278a09ac1f Fixed #27730 -- Doc'd that template vars created outside a block can't be used in it. 2017-04-26 14:54:57 -04:00
Josh Schneier
9b538badb1 Refs #23919 -- Removed File's Python 2 proxied methods. 2017-04-26 14:44:07 -04:00
Ingo Klöcker
f3ac398dd5 Fixed #27644 -- Doc'd FileSystemStorage.get_created_time(). 2017-04-26 13:33:35 -04:00
Nauman Tariq
6684af1e43 Added content_type filtering in Permission querying example. 2017-04-26 13:28:06 -04:00
Jon Dufresne
92bc727271 Replaced temporary lists used for passing arguments with iterables. 2017-04-26 10:54:20 -04:00
Tim Graham
309c10c2cb Refs #20094 -- Removed obsolete tests/utils_tests/test_itercompat.py
The is_iterator() function was removed in 2456ffa42c33d63b54579eae0f5b9cf2a8cd3714.
2017-04-26 10:54:06 -04:00
Tim Graham
8f50ca11eb Clarified "newly-introduced features" in the supported versions policy. 2017-04-26 09:48:55 -04:00
Tim Graham
19a23fe562 Fixed #28074 -- Doc'd template-based widget rendering changes for contrib.gis. 2017-04-26 09:45:33 -04:00
Tim Graham
bce5cc57e9 Fixed #28125 -- Clarified 1.11 release note about Template.render() prohibiting non-dict context. 2017-04-26 09:40:48 -04:00
Jon Dufresne
8bf96c109f Replaced unneeded *arguments with positional arguments. 2017-04-26 09:39:24 -04:00
Simon Charette
c9159a082e Refs #20939 -- Removed the Query._prepare_as_filter_value() hack. 2017-04-25 23:43:33 -04:00
Simon Charette
ec50937bcb Refs #20939 -- Removed the Query._forced_pk hack. 2017-04-25 23:43:33 -04:00
Paolo Melchiorre
fcb5dbfec0 Fixed #27996 -- Added RandomUUID function and CryptoExtension to contrib.postgres. 2017-04-25 20:21:36 -04:00
Josh Schneier
98ee57e343 Removed nonexistent methods from File's docs.
read() and write() were removed in 68a890e79f660484d05482902663b6168f0bd71e.
2017-04-25 19:49:00 -04:00
Paolo Melchiorre
a78fd2abd4 Alphabetized CITextExtension in test migration. 2017-04-25 19:32:39 -04:00
Tim Graham
56970c5b61 Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s template. 2017-04-25 11:01:21 -04:00
Mariusz Felisiak
84dcd16247 Refs #23919 -- Used "raise from" instead of __cause__ in reraising backend-specific database exceptions.
Thanks Tim Graham for the review.
2017-04-25 08:29:54 +02:00
Mariusz Felisiak
562bca67b9 Added test for reraising backend-specific database exceptions. 2017-04-25 08:03:48 +02:00
Mariusz Felisiak
e776dd2db6 Fixed #28116 -- Used error code filtering in PostgreSQL test database creation.
Thanks Claude Paroz and Tim Graham for reviews.
2017-04-25 06:01:25 +02:00
Michiel Beijen
5e8625ba64 Renamed "Mac OS X" to "macOS" in docs. 2017-04-24 20:16:09 -04:00
Carles Pina Estany
9f2e8b5bb7 Fixed #28120 -- Checked that CharField.max_length is not a boolean. 2017-04-24 18:49:31 -04:00
Tim Graham
851874fe0a Removed obsolete Widget.format_output() in tests.
Obsolete since b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-04-24 13:41:34 -04:00
Simon Charette
8ef35468b6 Fixed #28101 -- Fixed a regression with nested __in subquery lookups and to_field.
Thanks Kristian Klette for the report and Tim for the help.
2017-04-23 00:21:27 -04:00
Claude Paroz
3f1ba76851 Fixed #28115 -- Fixed IP address validation in geoip2 module
Regression in 277a4dd4b4cc2a2cad77139882f084480751a95a.
Thanks Tim Graham for the test.
2017-04-22 20:10:24 +02:00
Claude Paroz
257075d4ad Refs #28115 -- Avoided masking legitimate ImportErrors in geoip2 module 2017-04-22 20:10:24 +02:00
Simon Charette
c0f12a098c Fixed #28109 -- Corrected the stack level of unordered queryset pagination warnings.
Refs #26290.

Thanks Tim for the review.
2017-04-22 14:08:57 -04:00
Claude Paroz
c52ae33a0c Fixed #28100 -- Removed link in UserChangeForm.password's translatable help_text 2017-04-22 15:39:15 +02:00
Jon Dufresne
3e91850dcc Removed unneeded is True|False from bool expressions in widgets.py. 2017-04-21 12:34:18 -04:00
Jon Dufresne
581879a510 Fixed #28075 -- Prevented ChoiceWidget from localizing option values. 2017-04-21 12:14:40 -04:00
Mariusz Felisiak
87f9a3c5b2 Updated Oracle docs links to Oracle 12c. 2017-04-21 16:02:31 +02:00
Tim Graham
b7dc998087 Added "reraising" to docs/spelling_wordlist 2017-04-20 13:03:24 -04:00
Tim Graham
8b767986ba Refs #28091 -- Forwardported 1.11.1 release note. 2017-04-20 12:58:24 -04:00
Tim Graham
d2cb7a2bc1 Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets(). 2017-04-20 11:36:40 -04:00
Markus Holtermann
6d7cbe67f0 Removed inappropriate highlighting in committing-code.txt. 2017-04-20 11:32:56 -04:00
Tim Graham
af1f986360 Fixed #28059 -- Restored class attribute in <ul> of widgets that use multiple_input.html.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
2017-04-20 10:06:34 -04:00
Claude Paroz
43b4a1618e Fixed #28096 -- Allowed prefetch calls with ModelIterable subclasses
Regression in 7ec330eeb96d0874949eacb8ed1bbb97e11807e1.
Thanks Tim Graham for the review.
2017-04-19 19:32:46 +02:00
Tim Graham
dff559ff83 Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget. 2017-04-19 12:59:30 -04:00
Huang Zhiqiang
cd7afcdcac Fix a typo in django/db/transaction.py 2017-04-19 16:36:06 +02:00
Mariusz Felisiak
81f8449402 Refs #28066 -- Fixed nondeterministic ordering test failure in sessions_tests.
Thanks Tim Graham for the review.
2017-04-18 17:56:59 +02:00
Mariusz Felisiak
63b36d6419 Removed unused DatabaseIntrospection._name_to_index() from Oracle backend.
Unused since its introduction in cac7675f247da325cb862a312804fe64845d1155.
2017-04-18 14:17:08 +02:00
InvalidInterrupt
dda596ca32 Fixed #28066 -- Prevented SessionBase.cycle_key() from discarding data. 2017-04-17 09:58:19 -04:00
Tim Graham
c09bf8d767 Fixed #28058 -- Restored empty BoundFields evaluating to True.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
2017-04-17 08:32:29 -04:00
Mariusz Felisiak
e5dce7b0fb Refs #27795 -- Removed unneeded force_text calls from the Oracle backend. 2017-04-17 14:22:00 +02:00
Tim Graham
8c6a3062dd Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML debug page.
Regression in 7b6dccc82fa5b03cf431742c0655e5ac954e228e
2017-04-15 09:21:35 -04:00
Claude Paroz
89a080fc05 Doc'd a release task for translated docs. 2017-04-15 09:19:16 -04:00
Abhishek Gautam
941b869135 Fixed #28008 -- Replaced getElementsByClassName() JavaScript in debug view template. 2017-04-14 08:12:14 -04:00
Tim Graham
83cbb8d080 Fixed #28067 -- Clarified __str__() return type when using python_2_unicode_compatible(). 2017-04-14 08:05:58 -04:00
Claude Paroz
7741d4e878 Double quoted HTML attributes in widget docs 2017-04-14 08:47:50 +02:00
Mariusz Felisiak
e1253bc26f Refs #25406 -- Removed exception hiding in MySQL test database creation during --keepdb.
Thanks Adam Johnson, Simon Charette and Tim Graham for reviews.
2017-04-13 20:20:01 +02:00
Sergey Fedoseev
6d5bb6ae9e Refs #28024 -- Optimized LineString.__init__() by avoiding superfluous index and dimension checks. 2017-04-13 11:30:26 +05:00
Claude Paroz
ea542a9c72 Fixed #28007 -- Moved debug templates to the filesystem
Thanks Tim Graham for the review.
2017-04-12 11:36:47 -04:00
Claude Paroz
2eb1f15f62 Tested template info in debug view's text traceback 2017-04-12 10:38:50 -04:00
Sergey Fedoseev
33421ed10c Corrected docs regarding MySQL support of Length GIS function. 2017-04-12 08:59:47 -04:00
Tim Graham
45d65fc3f2 Fixed #28069 -- Moved setup_test_environment() warning in tutorial 5.
Updated for 17e661641ddaf8266e7430d83cfb2039abc55df7.
2017-04-12 08:17:46 -04:00
Sergey Fedoseev
ebaa08b3ae Refs #28024 -- Optimized GEOSCoordSeq.__setitem__() by avoiding superfluous index and dimension checks. 2017-04-11 12:46:41 -04:00
Sergey Fedoseev
a296a43309 Refs #28024 -- Optimized GEOSCoordSeq.__getitem__() by avoiding superfluous index and dimension checks. 2017-04-11 12:46:41 -04:00
Sergey Fedoseev
d453dfb1da Refs #28024 -- Optimized GEOSCoordSeq.tuple by avoiding superfluous index and dimension checks. 2017-04-11 12:46:41 -04:00
petedmarsh
14671affc3 Fixed #28064 -- Removed double-quoting of key names in MultiValueDictKeyError. 2017-04-11 12:44:52 -04:00
Christoph Schindler
7060f777b0 Fixed outdated TIME_FORMAT in docs/ref/templates/builtins.txt.
The format changed in 22bfc451467ec6e13044a87a97cf00e9f8a845e4.
2017-04-11 12:30:58 -04:00
Ran Benita
2a6b4e6521 Updated docs after changing select_for_update() to raise NotSupportedError.
Follow up to 054a44d6f0f75395bd02a21e31ea904a24750a2b.
2017-04-11 11:52:53 -04:00
Taavi Teska
5dbf1c4b23 Fixed #27947 -- Doc'd that model Field.error_messages often don't propagate to forms. 2017-04-10 14:24:44 -04:00
Sergey Fedoseev
e7afef13f5 Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to another one. 2017-04-10 13:26:26 -04:00
Mariusz Felisiak
64264c9a19 Fixed #25406 -- Removed exception hiding in PostgreSQL test database creation during --keepdb.
Thanks Markus Holtermann and Tim Graham for reviews.
2017-04-10 13:04:00 -04:00
Mariusz Felisiak
054a44d6f0 Used NotSupportedError instead of DatabaseError in SQLCompiler.as_sql(). 2017-04-10 12:49:27 -04:00
Tim Graham
d825ac6dfa Clarified HStoreField model/form difference in 1.11 release notes. 2017-04-10 12:31:36 -04:00
Tim Graham
fce7827101 Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneToOneField pk.
Regression in 1bc249c2a67c24fcd28436c85388eff1d826e305.
2017-04-10 09:51:51 -04:00
Collin Anderson
a19b373d89 Changed assertQuerysetEqual()s that use default Model.__str__() to assertSequenceEqual(). 2017-04-10 08:59:29 -04:00
Tim Graham
eb9a3bd63a Refs #26605 -- Isolated a migrations state test. 2017-04-10 08:13:45 -04:00
Jon Dufresne
b906c3db63 Removed duplicate lines in slugify(). 2017-04-10 08:12:37 -04:00
Paolo Melchiorre
eac396a5d0 Fixed typos in docs/topic/db/search.txt. 2017-04-08 07:26:15 -04:00
kalombo
dd00184892 Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's attachments arg. 2017-04-07 18:02:34 -04:00
kalombo
aedfe0ddd7 Tested EmailMessage(attachments=[MIMEText]) 2017-04-07 18:01:31 -04:00
Simon Charette
a354c69055 Fixed #28038 -- Restored casting to text of builtin lookups on PostgreSQL.
Reverted 658f1e8 which broke code using __icontains's implicit cast to ::text
on ArrayField.

Thanks Peter J. Farrell for the report.
2017-04-07 16:47:52 -04:00
Ingo Klöcker
67b2b1f116 Refs #26605 -- Added migrations state test for a swappable model inheriting an abstract model inheriting concrete model.
Thanks Sébastien Diemer for the report and test.
2017-04-07 13:41:07 -04:00
Sergey Fedoseev
df8f1d018f Fixed #27972 -- Made BaseSpatialField.geodetic() use SpatialReference.geographic. 2017-04-07 12:45:52 -04:00
Sergey Fedoseev
e2bd2539b6 Made get_srid_info() cache use a namedtuple. 2017-04-07 12:24:38 -04:00
Sergey Fedoseev
24ae244a82 Removed connection agnostic SRID info cache from BaseSpatialField. 2017-04-07 12:24:38 -04:00
Markus Holtermann
d3cf75ec6f Fixed #28051 -- Made migrations respect Index's name argument.
Thanks Marc Tamlyn for the report and Tim Graham for the review.
2017-04-07 11:47:53 -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
Ingo Klöcker
c4536c4a54 Fixed #27777 -- Made File.open() work with the with statement (#8310)
Fixed #27777 -- Made File.open() work with the with statement
2017-04-07 14:21:06 +02:00
Mariusz Felisiak
695d4dd790 Fixed #23147 -- Disabled a limit/offset on a query with select_for_update on Oracle.
Thanks Shai Berger and Tim Graham for the reviews.
2017-04-07 14:08:07 +02:00
Sergey Fedoseev
08df3dd937 Removed more GeoQuerySet leftovers.
Follow up to a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-04-07 07:38:56 -04:00
Raphael Michel
bde814142a Fixed #22654 -- Broken decimal validation 2017-04-07 12:45:08 +02:00
Sergey Fedoseev
fd892f3443 Fixed #28006 -- Allowed using D with lookups on Distance annotations. 2017-04-06 19:27:45 -04:00
kapil garg
dbfcedb499 Fixed #28001 -- Updated comment and tested context popping in ForNode.render(). 2017-04-06 19:04:29 -04:00
Richard Barrell
351835f262 Fixed #28031 -- Removed notes about old uWSGI/sentry versions (refs #20537). 2017-04-06 09:09:49 -04:00
Sergey Fedoseev
12d0567aa5 Fixed #28020 -- Made GEOSGeometry.json use OGRGeometry.json for better performance. 2017-04-05 09:03:24 -04:00
Sudhanshu Mishra
9f0c82971d Fixed #28025 -- Fixed typo in docs/ref/models/querysets.txt. 2017-04-05 07:23:40 -04:00
Florian Apolloner
9301504a45 Back to the future.
Forward port of 5da14b257ef438628956663cd279270f6ce4b95d from 1.11.x
2017-04-05 11:17:20 +02:00
Tim Graham
4202ed2437 Added stub release notes for 1.11.1. 2017-04-04 22:20:56 -04:00
Tim Graham
b749c980a0 Added CVE-2017-7233,4 to the security release archive. 2017-04-04 21:51:50 -04: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
Tim Graham
a1f948b468 Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in views.static.serve().
This is a security fix.
2017-04-04 10:42:06 -04:00
Tim Graham
b9ebf6c0c2 Added stub release notes for security releases. 2017-04-04 10:41:57 -04:00
Claude Paroz
389c3ffc04 Updated tests after French translation update 2017-04-04 13:07:47 +02:00
Claude Paroz
2dba812d86 Updated contrib translations from Transifex
Forward port of 290b2849f7ded5d21aa54c16171d806f7c14dfc9 from stable/1.11.x
2017-04-04 12:39:02 +02:00
Claude Paroz
afe4edb4ea Updated core translations from Transifex
Forward port of 96ec72e298cd359648e1cf408d3c506ee3b1f297 from stable/1.11.x
2017-04-04 12:38:20 +02:00
kapil garg
002fe07622 Fixed #27974 -- Kept resolved templates constant during one rendering cycle.
Thanks Florian Apolloner for the initial patch.
2017-04-03 22:29:39 -04:00
Sergey Fedoseev
ef8a339dfb Removed Oracle NULL workaround in AreaField.
Unused since 1b1ea63f6a4784e213c059c69beccaea20bc1a92.
2017-04-03 22:26:33 -04:00
Adam Johnson
7f8a924b45 Refs #27834 -- Removed Value wrapping from StrIndex's substring param. 2017-04-03 08:39:57 -04:00
Aleksej Manaev
7170820b4e Fixed typos in docs/howto/static-files/index.txt. 2017-04-03 08:13:48 -04:00
Sergey Fedoseev
17e078dbf2 Refs #12410 -- Doc'd LineLocatePoint in functions' summary table. 2017-04-03 07:33:43 -04:00
Tim Graham
d4d79d0f20 Refs #27025 -- Fixed "invalid escape sequence" warning in auth_tests on Python 3.6. 2017-04-02 20:02:55 -04:00
Sergey Fedoseev
898e623db0 Fixed #27573 -- Made Distance on geodetic coordinates return a raw value on MySQL. 2017-04-02 17:06:01 -04:00
Simon Charette
35c0025151 Fixed #27928 -- Avoided SET/DROP DEFAULT unless a field changes from null to non-null.
Thanks Christophe Pettus, Matteo Pietro Russo for reports and Tim for review.
2017-04-02 16:34:03 -04:00
Sergey Fedoseev
5e710cf4a5 Fixed #11854 -- Added Azimuth GIS function. (#8286) 2017-04-02 14:24:06 -04:00
Claude Paroz
4f99ba84b3 Removed unused code in i18n view_tests
Unused since 2b20e4148f4f54431834e6a43af6c39dc75e6362.
2017-04-02 19:58:18 +02:00
Jirka Schäfer
73c30b79c0 Clarified meaning of "Optional" in auth.models.User field docs. 2017-04-01 21:24:42 -04:00
Simon Charette
0ad7e8f71f Fixed #28003 -- Doc'd what an auto-created OneToOneField parent_link looks like.
Thanks Simon Charette for the draft patch.
2017-04-01 21:21:15 -04:00
Chris Sinchok
66150f7cf6 Fixed #27954 -- Allowed keyboard interrupt to abort queries in PostgreSQL dbshell.
Thanks Tim Martin for review.
2017-04-01 21:01:08 -04:00
Jon Dufresne
7bbb5161ea Removed implicit default store_true/false argparse args.
argparse automatically sets the default value for store_true/false
arguments to its opposite.
2017-04-01 20:03:56 -04:00
Stefan Wehrmeyer
1aa8e8605c Fixed #27989 -- Preserved empty QueryDicts for form's data/files args. 2017-04-01 18:43:39 -04:00
Sergey Fedoseev
24023c6a8f Fixed #25874 -- Made GEOSGeometry read SRID from GeoJSON input. 2017-04-01 15:35:30 -04:00
Sergey Fedoseev
ede4f6d48c Fixed #12410 -- Added LineLocatePoint GIS function. 2017-04-01 15:02:09 -04:00
Tim Graham
7b53041420 Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory. 2017-04-01 14:26:39 -04:00
Sergey Fedoseev
0a13b249e2 Fixed #26967 -- Added MySQL support for AsGeoJSON, GeoHash, IsValid functions, and isvalid lookup. 2017-04-01 13:43:53 -04:00
Claude Paroz
9a9e228321 Fixed #27848 -- Prevented crash when attaching a .eml file to a message
Thanks Sébastien Ramage for the report.
2017-04-01 16:19:03 +02:00
Sergey Fedoseev
bde86ce9ae Fixed #25605 -- Made GIS DB functions accept geometric expressions, not only values, in all positions. 2017-04-01 09:47:49 -04:00
Claude Paroz
e487ffd3f0 Fixed #27866 -- Made ChoiceWidget.format_value() return a list
Thanks Tim Graham for the review.
2017-04-01 12:24:05 +02:00
Carlton Gibson
6b3724fa11 Fixed #27359 -- Made Engine.get_default() return the first DjangoTemplates engine if multiple are defined. 2017-03-31 17:26:42 -04:00
Carlton Gibson
7019724101 Added tests for template's Engine.get_default(). 2017-03-31 10:59:00 -04:00
heathervm
7d1e237753 Fixed #27993 -- Fixed model form default fallback for SelectMultiple. 2017-03-31 10:10:08 -04:00
Adonys Alea Boffill
a0d29a9abe Fixed #27942 -- Prevented admin from adding "add" buttons to all tables in inlines. 2017-03-30 10:39:59 -04:00
Tim Graham
1fa47dc45a Updated minified admin JavaScript for the latest closure compiler. 2017-03-30 10:06:52 -04:00
Sergey Fedoseev
6ecccad711 Fixed #25873 -- Made GEOSGeometry handle the srid parameter more predictably. 2017-03-30 09:38:26 -04:00
Sergey Fedoseev
068d75688f Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least and Greatest. 2017-03-29 13:29:53 -04:00
Sergey Fedoseev
d5977e492e Refs #25759 -- Fixed some GIS Funcs if different database backends are used. 2017-03-29 13:29:18 -04:00
Sergey Fedoseev
4bc355079c Fixed #27973 -- Fixed GeoJSON representation of LinearRing and custom GEOSGeometry subclasses. 2017-03-29 13:17:31 -04:00
Sergey Fedoseev
9cd6ba991f Made isvalid lookup use IsValid function to decrease code redundancy. 2017-03-29 08:56:58 -04:00
Mariusz Felisiak
1d070d027c Fixed #25414 -- Fixed QuerySet.annotate() with pk in values() on MySQL.
Thanks Tim Graham and Simon Charette for the reviews.
2017-03-29 06:47:07 +02:00
Tim Graham
b59c0d722d Refs #18974 -- Added stacklevel for permalink() deprecation. 2017-03-28 17:58:10 -04:00
Tim Graham
ea36e7454c Fixed #27988 -- Fixed typo in docs/ref/django-admin.txt. 2017-03-28 10:38:00 -04:00
Tim Graham
eca6f91be2 Updated cx_Oracle arraysize comment. 2017-03-28 09:41:45 -04:00
Ionuț Ciocîrlan
78619bcb0a Fixed #27987 -- Added default colors in debug view CSS. 2017-03-28 08:55:16 -04:00
Sergey Fedoseev
d47de2e09d Refs #27736 -- Used decorators for GIS lookup registration. 2017-03-27 22:20:18 -04:00
Paolo Melchiorre
24d53786d4 Made a few cosmetic updates to "Migrations that add unique fields". 2017-03-27 14:07:11 -04:00
Mads Jensen
ed0cbc8d8b Refs #23919 -- Removed some Python 2 compatibility code and comments. 2017-03-27 13:12:27 -04:00
Claude Paroz
6585ebebaa Fixed #27981 -- Doc'd date/time filter l10n changes in refs #25758. 2017-03-27 12:53:03 -04:00
Mariusz Felisiak
1b6f05e91f Fixed #21160 -- Fixed QuerySet.in_bulk() crash on SQLite when requesting more than 999 ids.
Thanks Andrei Picus and Anssi Kääriäinen for the initial patch
and Tim Graham for the review.
2017-03-27 18:43:40 +02:00
Stefano Rivera
899c42cc8e Removed unexpected initial attribute in data migration examples.
Inadvertently added in db97a8849519a3933bf4abd2184efd68ebc21965.
2017-03-25 15:59:17 -04:00
Sergey Fedoseev
7fffe3acc2 Removed unused GISLookup._check_geo_field().
Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-03-25 13:09:34 -04:00
Sergey Fedoseev
24d40e7e0c Removed unused links in docs/internals/contributing/triaging-tickets.txt. 2017-03-25 13:05:48 -04:00
Tim Graham
e643ba8bcf Fixed #27956 -- Fixed display of errors in an {% extends %} child.
Thanks Ling-Xiao Yang for the report and test, and
Preston Timmons for the fix.
2017-03-25 08:22:12 -04:00
Mariusz Felisiak
f42c7cc87b Refs #21160 -- Replaced DatabaseFeatures.supports_1000_query_parameters by a DatabaseFeatures.max_query_params. 2017-03-24 18:37:03 +01:00
Sergey Fedoseev
1b1ea63f6a Fixed #27962 -- Allowed lookups on Area annotations. 2017-03-23 20:06:16 -04:00
Sergey Fedoseev
e9149d3eb0 Fixed #27603 -- Fixed AsKML when queryset is evaluated more than once. 2017-03-23 19:09:04 -04:00
Kapil Garg
7e09fa7f51 Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields with choices. 2017-03-23 13:22:04 -04:00
Sergey Fedoseev
075f13e44f Refs #27556, #27488 -- Updated support backends docs for isvalid lookup. 2017-03-23 13:07:50 -04:00
Sergey Fedoseev
b00ee5471d Simplified handling of expressions in StatAggregate. 2017-03-23 13:05:59 -04:00
Paul
001cf53280 Fixed #27952 -- Added translation hint for RegexValidator error message. 2017-03-23 11:11:01 -04:00
Sergey Fedoseev
40ffabe8dc Removed unneeded Value wraps in Substr.
Unneeded since e2d6e14662d780383e18066a3182155fb5b7747b.
2017-03-23 10:50:56 -04:00
Sergey Fedoseev
7b6524e0ff Linked GIS QuerySet API docs to corresponding PostGIS docs. 2017-03-22 12:21:59 -04:00
Sergey Fedoseev
6052b185ca Clarified backend support of Area GIS function. 2017-03-22 09:53:48 -04:00
James Beith
216bb2e8fb Fixed #27975 -- Fixed crash if ModelChoiceField's queryset=None.
Regression in 9153d8fbd6385db9f48793662de789fc3d686841.
2017-03-22 08:51:12 -04:00
seanfagan
325db2a8c3 Fixed #27945 -- Clarified that RegexValidator searches with the regex. 2017-03-21 12:27:42 -04:00
Mariusz Felisiak
43380e9110 Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.
Thanks Tim Graham for the review.
2017-03-21 17:23:17 +01:00
Sergey Fedoseev
7063a85579 Fixed #27960 -- Set errcheck=False for GDALAllRegister to prevent crash.
GDALAllRegister returns void so errcheck is not needed.
2017-03-21 11:45:12 -04:00
Tim Graham
3d19d1428a Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.
Thanks Markus Holtermann for review.
2017-03-21 10:53:21 -04:00
Tim Graham
4224ecb74e Fixed #27949 -- Doc'd how OpenLayers 3 widgets work. 2017-03-21 10:50:48 -04:00
Tim Graham
93d0770104 Refs #27919 -- Changed contrib widget's get_context() attrs kwarg to an arg.
Follow up to 075e93c16a82ba7869a0b2d572e99fdbd0724042.
2017-03-21 10:15:34 -04:00
Mikkel Munch Mortensen
1e93210f1f Fixed #27963 -- Removed unneeded docstring example in contributing docs. 2017-03-21 10:12:41 -04:00
Tim Graham
075e93c16a Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg. 2017-03-21 09:14:45 -04:00
Tim Graham
6ff356e891 Refs #27919 -- Passed ChoiceWidget.create_option() kwargs as expected. 2017-03-21 09:14:45 -04:00
Sergey Fedoseev
08972528c2 Removed more GeoQuerySet leftovers.
Follow up to a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-03-21 09:13:18 -04:00
Sergey Fedoseev
816c5753ac Fixed #27965 -- Fixed precision comparison in a geoforms test (refs #27939). 2017-03-21 09:04:41 -04:00
Garry Polley
88c003c2bd Removed an obsolete temporal reference in docs/faq/general.txt. 2017-03-21 08:20:54 -04:00
Mariusz Felisiak
a3af8c99d9 Removed extra characters in docs header underlines. 2017-03-20 18:30:32 -04:00
Jon Dufresne
7edeeb74fe Fixed #27957 -- Removed technical terms from InlineForeignKeyField/ModelMultipleChoiceField error messages. 2017-03-20 13:12:55 -04:00
Tim Graham
0c6c859d4e Fixed #27890 -- Fixed FileNotFoundError cleanup exception in runtests.py on Python 3.6+. 2017-03-20 11:35:46 -04:00
Mariusz Felisiak
2867b7eb4b Refs #27935 -- Fixed BrinIndex.max_name_length if a project's default database isn't PostgreSQL.
Thanks Florian Apolloner for the report.
2017-03-20 11:21:01 -04:00
Sergey Fedoseev
6cb0a3ac28 Removed BaseSpatialOperations.truncate_params.
Unused since 32969c3931dea8488ee4ad2849eab43e31e5542e.
2017-03-20 07:59:23 -04:00
Adonys Alea Boffill
cd2ad26cc9 Fixed #27724 -- Fixed SelectDateWidget redisplay if a year isn't chosen. 2017-03-18 15:14:52 -04:00
Adonys Alea Boffill
fb48ad348a Added tests for SelectDateWidget.format_value(). 2017-03-18 14:58:31 -04:00
Mads Jensen
19b8ca5824 Removed unused connector parameter of Query.build_filter().
Unused since 6fe2b001dba45134d7c10729c57959995e241a88.
2017-03-18 09:04:56 -04:00
Mads Jensen
e45633086c Removed unused rest_of_lookups parameter of Query.try_transform().
Unused since 534aaf56f4a8e261e111426b2a709e2f8816192f.
2017-03-18 09:00:59 -04:00
Mads Jensen
82bb4e684f Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters. 2017-03-18 08:12:10 -04:00
Tim Graham
93eca976c1 Fixed #27939 -- Updated OpenLayersWidget.map_srid for OpenLayers 3.
Regression in 2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0 (refs #25004).
2017-03-17 12:03:06 -04:00
Sergey Fedoseev
66bbde6819 Clarified return value of NumGeometries GIS function. 2017-03-17 09:03:30 -04:00
Tim Graham
b536dcf656 Fixed #27948 -- Removed incorrect unquote() in static serving views. 2017-03-17 07:55:00 -04:00
Tim Graham
6b4f018b2b Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-17 07:51:48 -04:00
Sergey Fedoseev
e32265de1a Removed MySQL (unsupported) from Perimeter docs. 2017-03-17 07:48:12 -04:00
Alasdair Nicol
757aefc12b Removed self from method signatures in docs. 2017-03-16 20:33:59 -04:00
Sergey Fedoseev
875aebdb2c Added SpatiaLite NumPoints support for non-LINESTRING geometries. 2017-03-16 20:29:31 -04:00
Sergey Fedoseev
1c3ddc0d27 Linked GIS functions docs to corresponding PostGIS docs. 2017-03-16 14:47:51 -04:00
Mariusz Felisiak
03b2d655c2 Removed unused words from docs/spelling_wordlist. 2017-03-16 14:23:33 -04:00
Tim Graham
5bd7ffc313 Updated postgis.net and gaia-gis.it links to https. 2017-03-16 14:01:45 -04:00
Adi Mukherjee
b00bf52034 Updated Django checkout URL to use https.
It's slightly more compatible than the git protocol.
2017-03-16 13:46:34 -04:00
Mariusz Felisiak
2767ef3ca7 Fixed nondeterministic ordering test failure in model_forms. 2017-03-16 11:14:51 -04:00
Sergey Fedoseev
1bf5e79394 Removed GeoQuerySet leftovers.
Follow up to a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-03-16 09:38:02 -04:00
Josh Schneier
6bc4ff36db Fixed #27897 -- Fixed crash with 'pk' in ModelAdmin.search_filters. 2017-03-15 13:45:18 -04:00
Bo Marchman
7a7b331cd5 Fixed #27882 -- Allowed {% cache %} to cache indefinitely. 2017-03-15 13:01:21 -04:00
Tim Graham
44f9241c48 Refs #27563 -- Fixed ModelChoiceField.__deepcopy__() so forms don't share a queryset cache.
Thanks Luke Benstead for the report Simon Charettes for the fix.
2017-03-15 12:54:26 -04:00
Pavel Kulikov
0d83052e52 Fixed #27918 -- Documented ChoiceWidget.option_template_name 2017-03-15 09:38:06 -04:00
lb1c
36f2262741 Fixed incorrect import in docs/ref/models/expressions.txt. 2017-03-15 08:09:48 -04:00
Brad Melin
b625907a79 Fixed #27834 -- Added StrIndex database function. 2017-03-14 19:58:56 -04:00
Tobias McNulty
3f64fd2f75 Replaced docs/internals/team.txt with DSF teams page. 2017-03-14 16:36:44 -04:00
Claude Paroz
540ae68a5c Fixed #27920 -- Restored empty RadioSelect choice producing value=""
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
Thanks Tim Graham for the review.
2017-03-14 18:23:06 +01:00
Mads Jensen
a7ec7afce1 Fixed typo in docs/topics/db/aggregation.txt header. 2017-03-14 11:11:14 -04:00
Mads Jensen
e7033e00f8
Used constant instead of hard-coded value for max index name length
Refs #26709
2017-03-14 15:50:37 +01:00
Sergey Fedoseev
6f913c0305 Refs #27788 -- Removed Oracle 11 workarounds in GIS tests. 2017-03-13 19:21:20 -04:00
Florian Apolloner
bf0dff4bed Typo fix. 2017-03-13 22:01:42 +01:00
Adam Chainz
a452dddb25 Fixed #27904 -- Added a system check that Field.validators are callable. 2017-03-11 12:27:29 -05:00
Mariusz Felisiak
75503a823f Fixed #27924 -- Added support for cx_Oracle 5.3.
- Fixed Oracle backend due to cx_Oracle 5.3 change in the
Cursor.description behavior i.e. "Use None instead of 0 for items in
the Cursor.description attribute that do not have any validity.".
- Used cx_Oracle.Object.size() instead of len().
Thanks Tim Graham for the review.
2017-03-10 23:02:44 +01:00
Claude Paroz
29592eef19 Decoupled test client encoding tests from JSON handling
Using JSON as non-UTF-8 content is controversial, and the RFC 7159
discourages it.
Thanks Tim Graham for the review.
2017-03-09 22:15:10 +01:00
Tim Graham
c577d8a498 Described DEBUG_PROPAGATE_EXCEPTIONS behavior in more detail. 2017-03-09 12:18:17 -05:00
Tim Graham
dfbdba924f Reverted "Refs #16682 -- Tested transaction.atomic() with KeyboardInterrupt."
This reverts commit d895fc9ac01db3d3420aa7c943949fe17b3ce028 since the
test is problematic as described in the ticket.
2017-03-09 09:55:55 -05:00
David D Lowe
9269dec05e Fixed #27911 -- Doc'd how to register custom User with admin. 2017-03-08 12:14:58 -05:00
Mariusz Felisiak
94d8bea212 Fixed #24365 -- Made inspectdb translate MySQL unsigned integer columns to positive integer fields. 2017-03-08 10:56:00 -05:00
Adam Johnson
af121b08e8 Refs #27624 -- Made many attributes of Query immutable. 2017-03-08 09:25:44 -05:00
Camilo Nova
5db465d5a6 Fixed #27891 -- Added PasswordResetConfirmView.post_reset_login_backend. 2017-03-07 19:52:26 -05:00
Tim Graham
72ff9d53e6 Factored out uid/user tokens in auth_tests urlpatterns. 2017-03-07 18:56:10 -05:00
Raphael Merx
2a3a0eb092 Fixed #27905 -- Added RelatedFieldWidgetWrapper.value_omitted_from_data(). 2017-03-07 13:56:29 -05:00
Tim Graham
6c5348b9d2 Added stub release notes for 1.10.7. 2017-03-07 13:05:35 -05:00
Claude Paroz
145f6c3ed6 Refs #27622 -- Fixed a regression in JSON content-type detection
A JSON Content-Type can contain further content, like charset for example.
2017-03-07 16:44:15 +01:00
Claude Paroz
324c4b6371 Renamed a test variable to prevent possible conflict with imports 2017-03-07 16:31:00 +01:00
Tim Graham
784a53beef Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."
This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
2017-03-07 10:10:32 -05:00
Bo Marchman
9bbb6e2d25 Fixed #26522 -- Fixed a nondeterministic AssertionError in QuerySet combining.
Thanks Andrew Brown for the test case.
2017-03-06 13:40:17 -05:00
Tim Graham
dacdcec767 Fixed #26817 -- Doc'd downsides and alternatives to Jinja2 context processors.
Thanks Aymeric Augustin and Carl Meyer.
2017-03-06 13:34:48 -05:00
Anton Samarchyan
e88d2dfcf4 Fixed #27475 -- Fixed NonExistentTimeError crash in ModelAdmin.date_hierarchy. 2017-03-06 12:01:31 -05: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
Anton Samarchyan
86de930f41 Refs #27656 -- Updated remaining docstring verbs according to PEP 257. 2017-03-04 10:02:06 -05:00
Tim Graham
6ae1b04fb5 Fixed #27900 -- Made escapejs escape backticks for use in ES6 template literals. 2017-03-04 09:04:16 -05:00
Anton Samarchyan
711123e1cd Refs #27656 -- Updated django.views docstring verbs according to PEP 257. 2017-03-03 17:05:42 -05:00
Tim Graham
b23d264046 Fixed #27887 -- Fixed URLs check crash with namespaced URLs inside non-namespaced URLs. 2017-03-03 10:52:20 -05:00
Mariusz Felisiak
6b47431aaf Refs #27860 -- Simplified deleting indexes on PostgreSQL using "IF EXISTS". 2017-03-03 10:50:34 -05:00
David Szotten
d82ee32aac Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'. 2017-03-02 10:25:05 -05:00
Anton Samarchyan
7588d7e439 Improved test coverage for django.contrib.auth. 2017-03-01 17:29:50 -05:00
Grzegorz Tężycki
fede65260a Fixed #26911 -- Removed NoReverseMatch silencing in RedirectView. 2017-03-01 15:56:39 -05:00
albertoconnor
2863e79a5c Fixed typo in docs/howto/custom-template-tags.txt. 2017-03-01 15:42:00 -05:00
Tim Graham
29ea9714ee Removed PostgreSQL version detection for psycopg2 < 2.0.12. 2017-03-01 13:17:34 -05:00
Tim Graham
49a63d08d3 Fixed a backends test with psycopg2 2.7. 2017-03-01 13:14:35 -05:00
Vytis Banaitis
9cbf48693d Refs #27836 -- Fixed cleanup exception in file_storage test.
TemporaryDirectory tries to delete the directory that was already removed.
2017-03-01 12:52:28 -05:00
Adam Johnson
c1d652c62f Fixed typo in docs/releases/1.10.6.txt. 2017-03-01 10:11:32 -05:00
Tim Graham
4f22505a9f Added release date for 1.10.6. 2017-03-01 08:27:08 -05:00
Matthew Schinckel
f48bc7c3db Fixed #27862 -- Fixed incorrectly quoted table aliases in Subquery SQL.
Add aliases from resolved querysets to the parent query's external
aliases to prevent those aliases from being quoted.

Thanks to Vasily Stepanov for the report and Tim Graham for the review.
2017-03-01 07:56:37 -05:00
Alexey Opalev
9f21e35100 Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__(). 2017-02-28 11:48:07 -05:00
Blake Griffith
81957086c1 Clarified HMAC usage in signing.dumps() docstring. 2017-02-28 09:35:41 -05:00
Anton Samarchyan
60e52a047e Refs #27656 -- Updated django.db docstring verbs according to PEP 257. 2017-02-28 09:17:27 -05:00
Tim Graham
d6e26e5b7c Removed obsolete references to form_for_instance(). 2017-02-28 07:37:25 -05:00
Asif Saifuddin Auvi
5f3a689f71 Imported django.http classes instead of django.http. 2017-02-27 14:47:11 -05:00
Tim Graham
6b00af5014 Refs #27802 -- Corrected BaseDatabaseOperations.datetime_extract/trunc_sql() docstrings. 2017-02-27 10:07:24 -05:00
Tim Graham
82026d61a3 Refs #27843 -- Fixed 'invalid escape sequence' warning in truncate_name(). 2017-02-27 09:28:02 -05:00
François Freitag
fba4f831bc Fixed #27176 -- Raised an exception for reentrant calls to apps.populate().
Thanks to Aymeric Augustin, Harry Percival, and Tim Graham.
2017-02-25 15:56:24 -05:00
chex
12745d8a4f Added tests for contrib.sitemaps.GenericSitemap. 2017-02-25 07:54:17 -05:00
Alexkane
b427f0d674 Made a few queryset lookup examples consistent. 2017-02-24 16:35:08 -05:00
chillaranand
e4025563ea Fixed #27836 -- Allowed FileSystemStorage.delete() to remove directories. 2017-02-24 16:02:33 -05:00
Chris Lamb
339d526d55 Fixed #27873 -- Fixed crash in setup_test_environment() if ALLOWED_HOSTS is a tuple.
Regression in 17e661641ddaf8266e7430d83cfb2039abc55df7
2017-02-24 13:58:56 -05:00
Mariusz Felisiak
dc811cf503 Refs #22144 -- Added test for QuerySet.bulk_create() with long non-ASCII text. 2017-02-24 10:54:10 -05:00
Tim Graham
c31e7ab5a4 Refs #25187 -- Fixed AuthBackend.authenticate() compatibility for signatures that accept a request kwarg. 2017-02-24 10:15:41 -05:00
Chris Lamb
8d4885ede5 Fixed #27874 -- Fixed URL namespace warning (urls.W005) for nested namespaces. 2017-02-24 10:13:48 -05:00
Pavlo Kapyshin
b6fbf3e8e5 Fixed #27879 -- Fixed crash if enclosures aren't provided to Atom1Feed.add_item().
Regression in 75cf9b5ac031feb8f94271c9906157c921a14520
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
Ian Foote
19b2dfd1bf Refs #11964, #26167 -- Made Expressions deconstructible. 2017-02-23 20:44:06 -05:00
Vytis Banaitis
3dcc351691 Refs #23919 -- Used yield from. 2017-02-23 20:06:01 -05:00
Chris Lamb
4cffa9a1ff Fixed #27878, refs #23919 -- Used python3 shebangs. 2017-02-23 13:41:10 -05:00
Claude Paroz
eb97af0402 Completed 1.10.6 release note 2017-02-23 10:29:38 +01:00
Claude Paroz
30c984b3f9 Fixed #27868 -- Filtered locale path subdirectories
Thanks Tim Graham for the review.
2017-02-23 09:12:20 +01:00
Claude Paroz
e6065c7b83 Fixed #25619 -- Made runserver serve with HTTP 1.1 protocol
Thanks Tim Graham for the review.
2017-02-23 09:04:53 +01:00
Tim Graham
007d4e030c Completed test coverage for django.utils.encoding. 2017-02-22 20:54:55 -05:00
Tim Graham
098f181e18 Refs #27851 -- Clarified that admin.site.urls can't be passed to include(). 2017-02-22 18:01:56 -05:00
Anton Samarchyan
610876661e Fixed typos in code comments. 2017-02-22 10:25:42 -05:00
Manatsawin Hanmongkolchai
46e51632dc Updated Thai (th) locale formats. 2017-02-22 10:19:02 -05:00
Asif Saifuddin Auvi
9d984f8806 Updated Bengali (bn) locale formats. 2017-02-22 09:27:53 -05:00
Phil Bazun
cc5c1b7568 Fixed #27870 -- Cleaned up ManagementUtility.autocomplete(). 2017-02-22 09:15:50 -05:00
Timothy Allen
7d20a7d88a Used "0" ip shortcut for runserver example. 2017-02-21 19:13:00 -05:00
Tim Graham
0a0c24581e Refs #26285 -- Removed postgresql's unused DatabaseOperations.fulltext_search_sql().
Should have been removed in 5139832398624be75ee5361a6fac9348fdb61093.
2017-02-21 13:10:24 -05:00
Vytis Banaitis
4045fd56cb Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL.
Accuracy was incorrect when dates differ by a month or more.
2017-02-21 12:06:16 -05:00
Anton Samarchyan
5a6f70b428 Refs #27656 -- Updated django.core docstring verbs according to PEP 257. 2017-02-21 11:58:42 -05:00
Anton Samarchyan
3eb679a869 Refs #27656 -- Updated django.forms/http docstring verbs according to PEP 257. 2017-02-20 19:57:33 -05:00
Tim Graham
afcf44c101 Refs #23151 -- Removed RegexField's unused error_message parameter.
Should have been removed in b6ea1961eb6816dee4370fb0ebd49dba29478db1.
2017-02-20 19:09:09 -05:00
Collin Anderson
fb7e0e01af Fixed #27850 -- Made RelatedFieldWidgetWrapper call render() of the wrapped widget. 2017-02-20 08:48:03 -05:00
Alexey Rogachev
c743af82cf Fixed typo in DurationField's docstring. 2017-02-20 08:44:05 -05:00
Tim Graham
75f0070a54 Fixed #27308 -- Fixed BytesWarnings in the test suite. 2017-02-17 16:04:45 -05:00
Anton Samarchyan
4696078832 Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257. 2017-02-17 11:29:38 -05:00
Mariusz Felisiak
b935190572 Fixed #27843 -- Fixed truncate_name() when the name contains a username. 2017-02-17 09:24:55 -05:00
Mariusz Felisiak
1f7ca85866 Added tests for db.backends.utils.truncate_name(). 2017-02-16 17:14:02 -05:00
Vytis Banaitis
d5088f838d Fixed #27828 -- Fixed a crash when subtracting Integer/DurationField from DateField on Oracle/PostgreSQL. 2017-02-16 11:46:32 -05:00
Tim Graham
5729272509 Clarified that creating a pull request for the tutorial isn't necessary. 2017-02-16 11:33:07 -05:00
Tim Graham
80493b0871 Fixed #27829 -- Deprecated settings.DEFAULT_CONTENT_TYPE. 2017-02-16 07:59:44 -05:00
Tim Graham
b008f7cc56 Fixed #27135 -- Made index introspection return Index.suffix. 2017-02-15 20:15:02 -05:00
Joon Hwan 김준환
a7214f0e84 Made a sentence in default_if_none docs consistent with other template filters. 2017-02-15 08:39:39 -05:00
Tim Graham
3d14cbc867 Removed docs/internals/roles.txt.
It's moved to https://www.djangoproject.com/foundation/teams/.
2017-02-15 09:31:41 +01:00
Markus Holtermann
b9b35f9efa
Fixed #27840 -- Fixed KeyError in PasswordResetConfirmView.form_valid().
When a user is already logged in when submitting the password and
password confirmation to reset a password, a KeyError occurred while
removing the reset session token from the session.

Refs #17209

Thanks Quentin Marlats for the report and Florian Apolloner and Tim
Graham for the review.
2017-02-15 00:35:04 +01:00
Tim Graham
103e6cf26c Fixed #27823 -- Updated mod_wsgi example to use WSGIPythonHome. 2017-02-13 19:52:08 -05:00
amalia
2f10216f84 Fixed #27820 -- Fixed RequestDataTooBig/TooManyFieldsSent crash. 2017-02-13 16:19:03 -05:00
Vytis Banaitis
3effe3a9c6 Refs #22669 -- Fixed bulk_create test if Pillow isn't installed. 2017-02-13 08:58:10 -05:00
Tim Graham
3f5a35d6e2 Added TransactionTestCase.multi_db instead of using getattr(). 2017-02-13 08:46:00 -05:00
Anton Samarchyan
9718fa2e8a Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
Robert Roskam
98bcc5d81b Fixed #27367 -- Doc'd and tested reversing of URLs with the same name.
Thanks Reinout van Rees for contributing to the patch.
2017-02-11 08:58:40 -05:00
Mads Jensen
fb5bd38e3b Refs #26610 -- Added CIText mixin and CIChar/Email/TextField. 2017-02-11 07:16:35 -05:00
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 74a575eb7296fb04e1fc2bd4e3f68dee3c66ee0a 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 2ca00faa9137.
2017-02-11 11:16:35 +01:00
ClairePhila
d26413113c Refs #27148 -- Fixed UUIDField.to_python(None) crash.
Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89.
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
Tim Graham
ab83d4d8fe Added multi_db=True to test cases that access the 'other' db connection.
Fixed a failure in the context processors tests when running in
reverse on MySQL due to an extra query after refs #27683.
2017-02-10 08:19:32 -05: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
Tim Graham
ad36e5480d Explained the shell's $ prefix in tutorial 1.
Thanks Luke Sneeringer for the suggestion.
2017-02-09 09:33:42 -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
Tim Graham
545a88fc16 Fixed typo in docs/topics/testing/tools.txt. 2017-02-08 12:33:47 -05:00
Tim Graham
5e303836b6 Used JsonResponse and response.json in file_uploads tests. 2017-02-08 08:42:28 -05:00
Tim Graham
8863c475c5 Fixed #27821 -- Clarified docs of the return value of Form.clean_<fieldname>().
Thanks Christian Ullrich for the report and review.
2017-02-08 08:38:08 -05:00
Anton Samarchyan
b27166b769 Fixed #27356 -- Fixed ModelAdmin.lookup_allowed() for some nested relations. 2017-02-07 19:33:26 -05:00
Tim Graham
27793431cf Fixed #27814 -- Removed an inaccurate sentence about Paginator.orphans. 2017-02-07 14:15:06 -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
Atul Varma
10c47f7b47 Fixed typo in docs/releases/1.11.txt. 2017-02-07 07:49:46 -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
Charlie Denton
8b62e5df86 Fixed typo in docs/releases/2.0.txt. 2017-02-06 07:57:11 -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
Jon Dufresne
3f62d20a9b Fixed running TransactionsPerRequestTests in isolation.
Caused by `contrib/auth/backends.py` changes in
cb7bbf97a74fa7800865e3615f196ad65dc4f281.
2017-02-04 14:19:52 -05:00
orf
b5393028bf Fixed #27767 -- Added distinct argument to ArrayAgg. 2017-02-04 13:57:39 -05:00
Tim Graham
245f209109 Fixed alphabetization of Tom's in AUTHORS. 2017-02-04 13:56:41 -05:00
Mads Jensen
86ae1d51ed Refs #27546 -- Removed hardcoded class names in __repr__() methods. 2017-02-04 11:42:45 -05:00
Mads Jensen
ce69a421f6 Added tests for various __repr__() methods. 2017-02-04 11:29:39 -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 c6a2bd9b962af1cdf46f964589e6023046cfa8ec 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
2f1394c76d Added a test for force_text()'s DjangoUnicodeDecodeError path. 2017-02-03 19:15:50 -05:00
David Sanders
8e3f9d3ee2 Fixed #27741 -- Isolated TestCollectionHashedFilesCache in a tmpdir. 2017-02-03 18:49:08 -05:00
Anton Samarchyan
4d6584000a Refs #27745 -- Improved test coverage of contrib.contenttypes. 2017-02-03 14:17:00 -05:00
Tim Graham
aa14528910 Split up contenttypes_tests. 2017-02-03 13:58:59 -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
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
Tim Graham
597bfcbf8b Removed unused ExceptionReporter.format_exception() method.
Unused since its introduction in e7e4b8b0f774b119bc1c46a62a97e51d7c8a35e3.
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
Tim Graham
c4e18bb1ce Refs #27683 -- Split up MySQL isolation level tests. 2017-02-01 13:12:59 -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 7b2f2e74adb36a4334e83130f6abc2f79d395235.
2017-01-31 18:31:17 -05:00
Daniel Wiesmann
ed3215ad53 Refs #27421 -- Documented GDALRaster creation in detail. 2017-01-31 11:33:04 -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
Ryan Castner
dbf79c5acf Added missing word in docs/howto/error-reporting.txt. 2017-01-30 15:38:55 -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
Arkadiusz Adamski
274ca99982 Fixed incorrect namespace in sitemap example. 2017-01-30 12:07:14 -05: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
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
Subhrajyoti Sen
f5bf11c72b Fixed #26708 -- Updated the contributing tutorial to use a GitHub workflow. 2017-01-28 11:45:04 -05:00
Tim Graham
7d50d2bcb8 Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses."
This reverts commit 91023d79ec70df9289271e63a67675ee51e7dea8 as it
increases memory usage for the test suite.
2017-01-28 10:01:13 -05: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
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
Dmitry Gladkov
b09faa497e Fixed #27748 -- Switched HTTP error handlers to reference callables instead of strings. 2017-01-27 16:13:40 -05:00
Andrew Nester
c8d21f3351 Fixed #27769 -- Documented option naming differences between django-admin and call_command(). 2017-01-27 16:12:45 -05:00
Anton Samarchyan
56ea394dfd Improved test coverage for conf.urls.static. 2017-01-27 16:12:09 -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
andrewnester
d2e40dd8c2 Fixed #27678 -- Warned that the template system isn't safe against untrusted authors. 2017-01-27 10:36:19 -05:00
Anton Samarchyan
110f4bb6a2 Tested AppConfig.__repr__(). 2017-01-27 09:55:08 -05:00
chillaranand
d9aeee205d Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset. 2017-01-26 18:54:55 -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 f0ef0c49e9284f262fbc63e8a497699ca4a248fe.
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
da3aa22d04d6452f87abbb1a0fee8a90a61eff5b.
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
888c1e9bfe Fixed #27776 -- Merged tests/requirements/base.txt into py3.txt. 2017-01-25 16:26:59 -05:00
Tim Graham
1c466994d9 Refs #23919 -- Removed misc Python 2/3 references. 2017-01-25 13:59:25 -05:00
Tim Graham
11856ea44e Refs #27741 -- Fixed staticfiles_tests.test_views when run in isolation. 2017-01-25 13:53:38 -05:00
Ed Morley
bfd42392ab Simplified tests with assertDoesNotOptimize(). 2017-01-25 13:52:44 -05:00
Tim Graham
90db4bb0d7 Corrected http.multipartparser.exhaust() docstring.
MultiPartParserError was removed in
ebf34c3cdcd2c75349c60a064427ac255958bf9b.
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
chillaranand
dc165ec8e5 Refs #23919 -- Replaced super(ClassName, self) with super() in docs. 2017-01-25 11:53:05 -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
Paolo Melchiorre
5890d6ab03 Fixed typo in docs/ref/models/expressions.txt. 2017-01-25 07:46:18 -05:00
Claude Paroz
2366100872 Removed unneeded force_text calls in the test suite 2017-01-24 18:45:54 +01: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: 92c35a0617836b09aef3b6909579ee368004969b
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 b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
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
8249c5b382 Added a missing floatformat test and simplified another. 2017-01-21 13:06:52 -05:00
Arkadiusz Adamski
a76d12ceb4 Removed unused imports in example migrations. 2017-01-21 07:40:33 -05:00
Alasdair Nicol
503e944ac7 Refs #16859 -- Updated CSRF FAQ to mention CSRF_USE_SESSIONS setting. 2017-01-20 18:56:48 -05:00
Tim Graham
1b06d5e6f6 Refs #23919 -- Removed pysqlite support (it's Python 2 only). 2017-01-20 18:21:15 -05:00
Claude Paroz
289fc1bfa5 Refs #23919 -- Removed str_prefix usage 2017-01-20 15:43:28 +01: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
Tim Graham
109b33f64c Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2. 2017-01-20 08:49:47 +01: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
Tim Graham
d4bb37593e Refs #23919 -- Removed obsolete compare_digest() and pbkdf2() implementations. 2017-01-19 11:55:23 -05:00
Simon Charette
9695b14982 Refs #23919 -- Removed str() conversion of type and method __name__. 2017-01-19 11:31:07 -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
Claude Paroz
53f3d53ed4 Updated translation catalogs
Forward port of 518693bef559bb719e68b08904a9250abfd9237c from stable/1.11.x
2017-01-19 17:09:37 +01:00
Tim Graham
e5c67f0991 Refs #23919 -- Removed reset_warning_registry() workaround for Python < 3.4.2. 2017-01-19 10:56:00 -05:00
Tim Graham
56aee8d59f Removed xmlrunner from flake8 exclude.
This is an obsolete thing that Jenkins builds needed.
2017-01-19 09:10:35 -05:00
Tim Graham
5320fa77c3 Refs #23919 -- Removed obsolete contextlib.closing() calls (for Python 2). 2017-01-19 08:50:28 -05:00
james mike dupont
7d20094996 Fixed spelling mistakes in code and comments. 2017-01-19 07:52:41 -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
a556396339 Refs #23919 -- Replaced io.open() with open().
io.open() is an alias for open() on Python 3.
2017-01-18 21:45:12 -05: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
Tim Graham
f6acd1d271 Refs #23919 -- Removed Python 2 notes in docs. 2017-01-18 11:51:29 -05: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
Tim Graham
e63d98b7be Removed formtools from intersphinx_mapping. 2017-01-18 08:33:40 -05:00
Claude Paroz
f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
Claude Paroz
d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
Tim Graham
397b3705c5 Removed settings.TEMPLATES upgrade guide. 2017-01-17 20:52:05 -05:00
Tim Graham
6192bffb13 Refs #26601 -- Removed obsolete system check for MIDDLEWARE_CLASSES setting. 2017-01-17 20:52:05 -05:00
Tim Graham
98760ab0b2 Refs #25079 -- Removed obsolete system check for TEMPLATE_* settings. 2017-01-17 20:52:05 -05:00
Tim Graham
0bf3228eec Increased the default PBKDF2 iterations for the 1.11 release cycle. 2017-01-17 20:52:05 -05:00
Tim Graham
f847308200 Advanced deprecation warnings for Django 2.0. 2017-01-17 20:52:05 -05:00
Tim Graham
e27e4c0339 Removed versionadded/changed annotations for 1.10. 2017-01-17 20:52:05 -05:00
Tim Graham
401c5b2e42 Refs #23957 -- Removed the useless SessionAuthenticationMiddleware. 2017-01-17 20:52:05 -05:00
Tim Graham
d334f46b7a Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES. 2017-01-17 20:52:04 -05:00
Tim Graham
631f4ab061 Removed Manager.use_for_related_fields and Meta.manager_inheritance_from_future.
Per deprecation timeline. Refs ed0ff913c648b16c4471fc9a9441d1ee48cb5420.
2017-01-17 20:52:04 -05:00
Tim Graham
60ca37d2e5 Refs #24046 -- Removed mark_for_escaping() per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
0dfc5479a8 Refs #26058 -- Removed deprecated FileField.get_directory_name()/get_filename(). 2017-01-17 20:52:04 -05:00
Tim Graham
58d3d14aea Refs #26533 -- Removed support for Widget._format_value() per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
9d0e8c1e7f Refs #26320 -- Removed implicit OneToOnField parent_link per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
1691782652 Refs #26509 -- Removed contrib.gis.utils.precision_wkt() per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
2b20e4148f Refs #19567 -- Removed deprecated javascript_catalog() and json_catalog() views. 2017-01-17 20:52:03 -05:00
Tim Graham
933dc62742 Refs #16508 -- Removed virtual aliases of "private fields".
Per deprecation timeline.
2017-01-17 20:52:03 -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
b70094f040 Refs #26226 -- Removed support for related manager classes without a _apply_rel_filters() method.
Per deprecation timeline.
2017-01-17 20:52:03 -05:00
Tim Graham
5139832398 Refs #26285 -- Removed MySQL __search lookup per deprecation timeline. 2017-01-17 20:52:03 -05:00
Tim Graham
bfe0d54514 Refs #26230 -- Removed support for model name query lookups when using Meta.default_related_name.
Per deprecation timeline.
2017-01-17 20:52:03 -05:00
Tim Graham
2d7fb77987 Refs #23832 -- Removed deprecated non-timezone aware Storage API. 2017-01-17 20:52:03 -05:00
Tim Graham
740f63a3df Refs #26263 -- Removed deprecated Context.has_key(). 2017-01-17 20:52:03 -05:00
Tim Graham
bcf3532ede Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
Tim Graham
bc3540ce2c Refs #26013 -- Removed deprecated django.core.urlresolvers module. 2017-01-17 20:52:02 -05:00
Tim Graham
f65b1aee71 Refs #25838 -- Removed the deprecated shell --plain option. 2017-01-17 20:52:02 -05:00
Tim Graham
9d304b26cf Refs #20223 -- Removed deprecated django.utils.functional.allow_lazy(). 2017-01-17 20:52:02 -05:00
Tim Graham
7e63e84572 Refs #25773 -- Removed deprecated geos.MultiPolygon.cascaded_union property. 2017-01-17 20:52:02 -05:00
Tim Graham
997c9f7099 Refs #25665 -- Removed deprecated getter/setter of Point.tuple. 2017-01-17 20:52:02 -05:00
Tim Graham
19d8e64ac3 Refs #25665 -- Removed deprecated getters/setters of Point coordinate properties. 2017-01-17 20:52:02 -05:00
Tim Graham
a0149848f7 Refs #25665 -- Removed GEOSGeometry.get/set_srid() per deprecation timeline. 2017-01-17 20:52:01 -05:00
Tim Graham
ed251246cc Refs #25550 -- Removed support for direct assignment to the reverse side of a related set. 2017-01-17 20:52:01 -05:00
Tim Graham
e0910dcc92 Refs #25604 -- Removed makemigrations --exit option per deprecation timeline. 2017-01-17 20:52:01 -05:00
Tim Graham
ff419de263 Refs #25466 -- Removed aliases for LoaderOrigin and StringOrigin.
Per deprecation timeline.
2017-01-17 20:52:01 -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
d67a46e104 Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.
Per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
7510b872e7 Refs #25190 -- Removed callable_obj parameter to assertRaisesMessages().
Per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
9f9a3d643e Refs #24126 -- Removed auth views' current_app parameter per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham
8377abd59e Refs #25120 -- Removed template.loaders.eggs.Loader per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham
733c7c7030 Refs #24716 -- Removed Field._get_val_from_obj() per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham
ad393beeb7 Refs #21927 -- Removed include()'s app_name argument per deprecation timeline.
Also removed support for passing a 3-tuple to include() and support for
setting an instance namespace without an application namespace.

Thanks Marten Kenbeek for completing the patch.
2017-01-17 20:52:00 -05:00
Tim Graham
c6de8cca20 Refs #24728 - Removed Atom1Feed/RssFeed mime_type attribute.
Per deprecation timeline.
2017-01-17 20:52:00 -05:00
Tim Graham
3cee9edd1b Refs #24733 -- Removed support for error views without the exception parameter.
Per deprecation timeline.
2017-01-17 20:52:00 -05:00
Tim Graham
5d8da093a9 Refs #15053 -- Removed support for non-recursive template loading.
Per deprecation timeline.
2017-01-17 20:52:00 -05:00
Tim Graham
56a5760543 Refs #25184 -- Removed contrib.gis.geoip per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham
a0d166306f Removed GeoManager and GeoQuerySet per deprecation timeline. 2017-01-17 20:51:56 -05:00
Tim Graham
e90c745afd Refs #22993 -- Removed skipIfCustomUser per deprecation timeline. 2017-01-17 14:09:29 -05:00
Tim Graham
e707e4c709 Refs #19738 -- Removed timezone conversion in SQL queries executed outside of the ORM.
Per deprecation timeline.
2017-01-17 14:09:29 -05:00
Tim Graham
b2ffbb00a5 Refs #24215 -- Removed add_lazy_relation() per deprecation timeline. 2017-01-17 14:09:29 -05:00
Tim Graham
ddd3268975 Refs #21127 -- Required on_delete for ForeignKey/OneToOneField.
Per deprecation timeline.
2017-01-17 14:09:28 -05:00
Tim Graham
625e9da9ca Removed Field.rel and Field.remote_field.to per deprecation timeline. 2017-01-17 14:09:28 -05:00
Tim Graham
0f454f5d4d Refs #23960 -- Removed the host parameter for SimpleTestCase.assertRedirects().
Per deprecation timeline.
2017-01-17 14:09:28 -05:00
Tim Graham
f032bbc8b1 Refs #18651 -- Removed assignment_tag per deprecation timeline. 2017-01-17 14:09:28 -05:00
Tim Graham
742d666da5 Refs #24219 -- Removed django.forms.extras per deprecation timeline. 2017-01-17 14:09:28 -05:00
Tim Graham
a3bd8672d8 Refs #24154 -- Removed deprecated BaseDatabaseOperations.check_aggregate_support(). 2017-01-17 14:09:28 -05:00
Tim Graham
03087f80d1 Refs #24205 -- Removed Signal.disconnect()'s weak argument.
Per deprecation timeline.
2017-01-17 14:09:28 -05:00
Tim Graham
e8dac72a55 Added stub 2.0 release notes. 2017-01-17 14:09:28 -05:00
Tim Graham
f32feaa901 Bumped version; master is now 2.0 pre-alpha. 2017-01-17 14:09:28 -05:00
4551 changed files with 125859 additions and 73979 deletions

View File

@ -1,4 +1,4 @@
# http://editorconfig.org
# https://editorconfig.org/
root = true
@ -39,3 +39,6 @@ indent_style = tab
# Batch files use tabs for indentation
[*.bat]
indent_style = tab
[docs/**.txt]
max_line_length = 79

18
.readthedocs.yml Normal file
View File

@ -0,0 +1,18 @@
# Configuration for the Read The Docs (RTD) builds of the documentation.
# Ref: https://docs.readthedocs.io/en/stable/config-file/v2.html
# The python.install.requirements pins the version of Sphinx used.
version: 2
build:
os: ubuntu-20.04
tools:
python: "3.8"
sphinx:
configuration: docs/conf.py
python:
install:
- requirements: docs/requirements.txt
formats: all

154
AUTHORS
View File

@ -8,29 +8,40 @@ answer newbie questions, and generally made Django that much better:
Aaron Cannon <cannona@fireantproductions.com>
Aaron Swartz <http://www.aaronsw.com/>
Aaron T. Myers <atmyers@gmail.com>
Abeer Upadhyay <ab.esquarer@gmail.com>
Abhijeet Viswa <abhijeetviswa@gmail.com>
Abhinav Patil <https://github.com/ubadub/>
Abhishek Gautam <abhishekg1128@yahoo.com>
Adam Allred <adam.w.allred@gmail.com>
Adam Bogdał <adam@bogdal.pl>
Adam Donaghy
Adam Johnson <https://github.com/adamchainz>
Adam Malinowski <http://adammalinowski.co.uk>
Adam Malinowski <https://adammalinowski.co.uk/>
Adam Vandenberg
Adiyat Mubarak <adiyatmubarak@gmail.com>
Adnan Umer <u.adnan@outlook.com>
Adrian Holovaty <adrian@holovaty.com>
Adrien Lemaire <lemaire.adrien@gmail.com>
Afonso Fernández Nogueira <fonzzo.django@gmail.com>
AgarFu <heaven@croasanaso.sytes.net>
Ahmad Alhashemi <trans@ahmadh.com>
Ahmad Al-Ibrahim
Ahmed Eltawela <https://github.com/ahmedabt>
ajs <adi@sieker.info>
Akash Agrawal <akashrocksha@gmail.com>
Akis Kesoglou <akiskesoglou@gmail.com>
Aksel Ethem <aksel.ethem@gmail.com>
Akshesh Doshi <aksheshdoshi+django@gmail.com>
alang@bright-green.com
Alasdair Nicol <http://al.sdair.co.uk/>
Alasdair Nicol <https://al.sdair.co.uk/>
Albert Wang <aywang31@gmail.com>
Alcides Fonseca
Aleksandra Sendecka <asendecka@hauru.eu>
Aleksi Häkli <aleksi.hakli@iki.fi>
Alexander Dutton <dev@alexdutton.co.uk>
Alexander Myodov <alex@myodov.com>
Alexandr Tatarinov <tatarinov1997@gmail.com>
Alex Becker <https://alexcbecker.net/>
Alex Couper <http://alexcouper.com/>
Alex Dedul
Alex Gaynor <alex.gaynor@gmail.com>
@ -39,7 +50,7 @@ answer newbie questions, and generally made Django that much better:
Alex Robbins <alexander.j.robbins@gmail.com>
Alexey Boriskin <alex@boriskin.me>
Aljosa Mohorovic <aljosa.mohorovic@gmail.com>
Amit Chakradeo <http://amit.chakradeo.net/>
Amit Chakradeo <https://amit.chakradeo.net/>
Amit Ramon <amit.ramon@gmail.com>
Amit Upadhyay <http://www.amitu.com/blog/>
A. Murat Eren <meren@pardus.org.tr>
@ -52,7 +63,7 @@ answer newbie questions, and generally made Django that much better:
Andreas Mock <andreas.mock@web.de>
Andreas Pelme <andreas@pelme.se>
Andrés Torres Marroquín <andres.torres.marroquin@gmail.com>
Andrew Brehaut <http://brehaut.net/blog>
Andrew Brehaut <https://brehaut.net/blog>
Andrew Clark <amclark7@gmail.com>
Andrew Durdin <adurdin@gmail.com>
Andrew Godwin <andrew@aeracode.org>
@ -79,6 +90,7 @@ answer newbie questions, and generally made Django that much better:
Artem Gnilov <boobsd@gmail.com>
Arthur <avandorp@gmail.com>
Arthur Koziel <http://arthurkoziel.com>
Arthur Rio <arthur.rio44@gmail.com>
Arvis Bickovskis <viestards.lists@gmail.com>
Aryeh Leib Taurog <http://www.aryehleib.com/>
A S Alam <aalam@users.sf.net>
@ -93,6 +105,7 @@ answer newbie questions, and generally made Django that much better:
Baptiste Mispelon <bmispelon@gmail.com>
Barry Pederson <bp@barryp.org>
Bartolome Sanchez Salado <i42sasab@uco.es>
Bartosz Grabski <bartosz.grabski@gmail.com>
Bashar Al-Abdulhadi
Bastian Kleineidam <calvin@debian.org>
Batiste Bieler <batiste.bieler@gmail.com>
@ -112,13 +125,15 @@ answer newbie questions, and generally made Django that much better:
Bill Fenner <fenner@gmail.com>
Bjørn Stabell <bjorn@exoweb.net>
Bo Marchman <bo.marchman@gmail.com>
Bogdan Mateescu
Bojan Mihelac <bmihelac@mihelac.org>
Bouke Haarsma <bouke@haarsma.eu>
Božidar Benko <bbenko@gmail.com>
Brad Melin <melinbrad@gmail.com>
Brandon Chinn <http://brandonchinn178.github.io>
Brandon Chinn <https://brandonchinn178.github.io/>
Brant Harris
Brendan Hayward <brendanhayward85@gmail.com>
Brendan Quinn <brendan@cluefulmedia.com>
Brenton Simpson <http://theillustratedlife.com>
Brett Cannon <brett@python.org>
Brett Hoerner <bretthoerner@bretthoerner.com>
@ -127,7 +142,7 @@ answer newbie questions, and generally made Django that much better:
Brian Harring <ferringb@gmail.com>
Brian Ray <http://brianray.chipy.org/>
Brian Rosner <brosner@gmail.com>
Bruce Kroeze <http://coderseye.com/>
Bruce Kroeze <https://coderseye.com/>
Bruno Alla <alla.brunoo@gmail.com>
Bruno Renié <buburno@gmail.com>
brut.alll@gmail.com
@ -136,13 +151,18 @@ answer newbie questions, and generally made Django that much better:
bthomas
btoll@bestweb.net
C8E
Caio Ariede <caio.ariede@gmail.com>
Calvin Spealman <ironfroggy@gmail.com>
Cameron Curry
Cameron Knight (ckknight)
Can Burak Çilingir <canburak@cs.bilgi.edu.tr>
Carl Meyer <carl@oddbird.net>
Carles Pina i Estany <carles@pina.cat>
Carlos Eduardo de Paula <carlosedp@gmail.com>
Carlos Matías de la Torre <cmdelatorre@gmail.com>
Carlton Gibson <carlton.gibson@noumenal.es>
cedric@terramater.net
Chad Whitman <chad.whitman@icloud.com>
ChaosKCW
Charlie Leifer <coleifer@gmail.com>
charly.wilhelm@gmail.com
@ -156,13 +176,14 @@ answer newbie questions, and generally made Django that much better:
Chris Jones <chris@brack3t.com>
Chris Lamb <chris@chris-lamb.co.uk>
Chris Streeter <chris@chrisstreeter.com>
Christian Barcenas <christian@cbarcenas.com>
Christian Metts
Christian Oudard <christian.oudard@gmail.com>
Christian Tanzer <tanzer@swing.co.at>
Christophe Pettus <xof@thebuild.com>
Christopher Adams <http://christopheradams.info>
Christopher Babiak <chrisbabiak@gmail.com>
Christopher Lenz <http://www.cmlenz.net/>
Christopher Lenz <https://www.cmlenz.net/>
Christoph Mędrela <chris.medrela@gmail.com>
Chris Wagner <cw264701@ohio.edu>
Chris Wesseling <Chris.Wesseling@cwi.nl>
@ -187,27 +208,29 @@ answer newbie questions, and generally made Django that much better:
dAniel hAhler
Daniel Jilg <daniel@breakthesystem.org>
Daniel Lindsley <daniel@toastdriven.com>
Daniel Poelzleithner <http://poelzi.org/>
Daniel Poelzleithner <https://poelzi.org/>
Daniel Pyrathon <pirosb3@gmail.com>
Daniel Roseman <http://roseman.org.uk/>
Daniel Wiesmann <daniel.wiesmann@gmail.com>
Danilo Bargen
Dan Johnson <danj.py@gmail.com>
Dan Palmer <dan@danpalmer.me>
Dan Poirier <poirier@pobox.com>
Dan Stephenson <http://dan.io/>
Dan Watson <http://danwatson.net/>
dave@thebarproject.com
David Ascher <http://ascher.ca/>
David Ascher <https://ascher.ca/>
David Avsajanishvili <avsd05@gmail.com>
David Blewett <david@dawninglight.net>
David Brenneman <http://davidbrenneman.com>
David Cramer <dcramer@gmail.com>
David Danier <david.danier@team23.de>
David Eklund
David Foster <david@dafoster.net>
David Gouldin <dgouldin@gmail.com>
david@kazserve.org
David Krauth
David Larlet <http://david.larlet.fr>
David Larlet <https://larlet.fr/david/>
David Reynolds <david@reynoldsfamily.org.uk>
David Sanders <dsanders11@ucsbalum.com>
David Schein
@ -234,11 +257,13 @@ answer newbie questions, and generally made Django that much better:
dusk@woofle.net
Ed Morley <https://github.com/edmorley>
eibaan@gmail.com
elky <http://elky.me/>
Emmanuelle Delescolle <https://github.com/nanuxbe>
Emil Stenström <em@kth.se>
enlight
Enrico <rico.bl@gmail.com>
Eric Boersma <eric.boersma@gmail.com>
Eric Brandwein <brandweineric@gmail.com>
Eric Floehr <eric@intellovations.com>
Eric Florenzano <floguy@gmail.com>
Eric Holscher <http://ericholscher.com>
@ -250,6 +275,7 @@ answer newbie questions, and generally made Django that much better:
Esdras Beleza <linux@esdrasbeleza.com>
Espen Grindhaug <http://grindhaug.org/>
Eugene Lazutkin <http://lazutkin.com/blog/>
Evan Grim <https://github.com/egrim>
Fabrice Aneche <akh@nobugware.com>
favo@exoweb.net
fdr <drfarina@gmail.com>
@ -257,9 +283,12 @@ answer newbie questions, and generally made Django that much better:
Filip Noetzel <http://filip.noetzel.co.uk/>
Filip Wasilewski <filip.wasilewski@gmail.com>
Finn Gruwier Larsen <finn@gruwier.dk>
Flávio Juvenal da Silva Junior <flavio@vinta.com.br>
flavio.curella@gmail.com
Florian Apolloner <florian@apolloner.eu>
Florian Moussous <florian.moussous@gmail.com>
Francisco Albarran Cristobal <pahko.xd@gmail.com>
François Freitag <mail@franek.fr>
Frank Tegtmeyer <fte@fte.to>
Frank Wierzbicki
Frank Wiles <frank@revsys.com>
@ -292,7 +321,9 @@ answer newbie questions, and generally made Django that much better:
Gonzalo Saavedra <gonzalosaavedra@gmail.com>
Gopal Narayanan <gopastro@gmail.com>
Graham Carlyle <graham.carlyle@maplecroft.net>
Grant Jenks <contact@grantjenks.com>
Greg Chapple <gregchapple1@gmail.com>
Gregor Allensworth <greg.allensworth@gmail.com>
Gregor Müllegger <gregor@muellegger.de>
Grigory Fateyev <greg@dial.com.ru>
Grzegorz Ślusarek <grzegorz.slusarek@gmail.com>
@ -300,11 +331,15 @@ answer newbie questions, and generally made Django that much better:
Guillaume Pannatier <guillaume.pannatier@gmail.com>
Gustavo Picon
hambaloney
Hannes Ljungberg <hannes.ljungberg@gmail.com>
Hannes Struß <x@hannesstruss.de>
Hasan Ramezani <hasan.r67@gmail.com>
Hawkeye
Helen Sherwood-Taylor <helen@rrdlabs.co.uk>
Henrique Romano <onaiort@gmail.com>
Henry Dang <henrydangprg@gmail.com>
Hidde Bultsma
Himanshu Chauhan <hchauhan1404@outlook.com>
hipertracker@gmail.com
Hiroki Kiyohara <hirokiky@gmail.com>
Honza Král <honza.kral@gmail.com>
@ -319,16 +354,19 @@ answer newbie questions, and generally made Django that much better:
Ian Lee <IanLee1521@gmail.com>
Ibon <ibonso@gmail.com>
Idan Gazit <idan@gazit.me>
Idan Melamed
Ifedapo Olarewaju <ifedapoolarewaju@gmail.com>
Igor Kolar <ike@email.si>
Illia Volochii <illia.volochii@gmail.com>
Ilya Semenov <semenov@inetss.com>
Ingo Klöcker <djangoproject@ingo-kloecker.de>
I.S. van Oostveen <v.oostveen@idca.nl>
ivan.chelubeev@gmail.com
Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
Jaap Roes <jaap.roes@gmail.com>
Jack Moffitt <https://metajack.im/>
Jacob Burch <jacobburch@gmail.com>
Jacob Green
Jacob Kaplan-Moss <jacob@jacobian.org>
Jakub Paczkowski <jakub@paczkowski.eu>
Jakub Wilk <jwilk@jwilk.net>
@ -345,13 +383,14 @@ answer newbie questions, and generally made Django that much better:
Jan Rademaker
Jarek Głowacki <jarekwg@gmail.com>
Jarek Zgoda <jarek.zgoda@gmail.com>
Jason Davies (Esaj) <http://www.jasondavies.com/>
Jason Davies (Esaj) <https://www.jasondavies.com/>
Jason Huggins <http://www.jrandolph.com/blog/>
Jason McBrayer <http://www.carcosa.net/jason/>
jason.sidabras@gmail.com
Jason Yan <tailofthesun@gmail.com>
Javier Mansilla <javimansilla@gmail.com>
Jay Parlar <parlar@gmail.com>
Jay Welborn <jesse.welborn@gmail.com>
Jay Wineinger <jay.wineinger@gmail.com>
J. Clifford Dyer <jcd@sdf.lonestar.org>
jcrasta@gmail.com
@ -361,6 +400,7 @@ answer newbie questions, and generally made Django that much better:
Jeff Hui <jeffkhui@gmail.com>
Jeffrey Gelens <jeffrey@gelens.org>
Jeff Triplett <jeff.triplett@gmail.com>
Jeffrey Yancey <jeffrey.yancey@gmail.com>
Jens Diemer <django@htfx.de>
Jens Page
Jensen Cochran <jensen.cochran@gmail.com>
@ -371,12 +411,14 @@ answer newbie questions, and generally made Django that much better:
Jeremy Dunck <jdunck@gmail.com>
Jeremy Lainé <jeremy.laine@m4x.org>
Jesse Young <adunar@gmail.com>
Jezeniel Zapanta <jezeniel.zapanta@gmail.com>
jhenry <jhenry@theonion.com>
Jim Dalton <jim.dalton@gmail.com>
Jimmy Song <jaejoon@gmail.com>
Jiri Barton
Joachim Jablon <ewjoachim@gmail.com>
Joao Oliveira <joaoxsouls@gmail.com>
Joao Pedro Silva <j.pedro004@gmail.com>
Joe Heck <http://www.rhonabwy.com/wp/>
Joel Bohman <mail@jbohman.com>
Joel Heenan <joelh-django@planetjoel.com>
@ -386,6 +428,7 @@ answer newbie questions, and generally made Django that much better:
Johann Queuniet <johann.queuniet@adh.naellia.eu>
john@calixto.net
John D'Agostino <john.dagostino@gmail.com>
John D'Ambrosio <dambrosioj@gmail.com>
John Huddleston <huddlej@wwu.edu>
John Moses <moses.john.r@gmail.com>
John Paulett <john@paulett.org>
@ -406,6 +449,7 @@ answer newbie questions, and generally made Django that much better:
Josef Rousek <josef.rousek@gmail.com>
Joseph Kocherhans <joseph@jkocherhans.com>
Josh Smeaton <josh.smeaton@gmail.com>
Joshua Cannon <joshdcannon@gmail.com>
Joshua Ginsberg <jag@flowtheory.net>
Jozko Skrablin <jozko.skrablin@gmail.com>
J. Pablo Fernandez <pupeno@pupeno.com>
@ -417,6 +461,7 @@ answer newbie questions, and generally made Django that much better:
Julia Matsieva <julia.matsieva@gmail.com>
Julian Bez
Julien Phalip <jphalip@gmail.com>
Junyoung Choi <cupjoo@gmail.com>
junzhang.jn@gmail.com
Jure Cuhalev <gandalf@owca.info>
Justin Bronn <jbronn@gmail.com>
@ -429,10 +474,12 @@ answer newbie questions, and generally made Django that much better:
Karderio <karderio@gmail.com>
Karen Tracey <kmtracey@gmail.com>
Karol Sikora <elektrrrus@gmail.com>
Katherine “Kati” Michel <kthrnmichel@gmail.com>
Katie Miller <katie@sub50.com>
Keith Bussell <kbussell@gmail.com>
Kenneth Love <kennethlove@gmail.com>
Kent Hauser <kent@khauser.net>
Kevin Grinberg <kevin@kevingrinberg.com>
Kevin Kubasik <kevin@kubasik.net>
Kevin McConnell <kevin.mcconnell@gmail.com>
Kieran Holland <http://www.kieranholland.com>
@ -448,7 +495,7 @@ answer newbie questions, and generally made Django that much better:
Lakin Wecker <lakin@structuredabstraction.com>
Lars Yencken <lars.yencken@gmail.com>
Lau Bech Lauritzen
Laurent Luce <http://www.laurentluce.com>
Laurent Luce <https://www.laurentluce.com/>
Laurent Rahuel <laurent.rahuel@gmail.com>
lcordier@point45.com
Leah Culver <leah.culver@gmail.com>
@ -467,8 +514,10 @@ answer newbie questions, and generally made Django that much better:
Loïc Bistuer <loic.bistuer@sixmedia.com>
Lowe Thiderman <lowe.thiderman@gmail.com>
Luan Pablo <luanpab@gmail.com>
Lucas Connors <https://www.revolutiontech.ca/>
Luciano Ramalho
Ludvig Ericson <ludvig.ericson@gmail.com>
Luis C. Berrocal <luis.berrocal.1942@gmail.com>
Łukasz Langa <lukasz@langa.pl>
Łukasz Rekucki <lrekucki@gmail.com>
Luke Granger-Brown <django@lukegb.com>
@ -494,17 +543,20 @@ answer newbie questions, and generally made Django that much better:
Mario Gonzalez <gonzalemario@gmail.com>
Mariusz Felisiak <felisiak.mariusz@gmail.com>
Mark Biggers <biggers@utsl.com>
Mark Gensler <mark.gensler@protonmail.com>
mark@junklight.com
Mark Lavin <markdlavin@gmail.com>
Mark Sandstrom <mark@deliciouslynerdy.com>
Markus Amalthea Magnuson <markus.magnuson@gmail.com>
Markus Holtermann <https://markusholtermann.eu>
Marten Kenbeek <marten.knbk+django@gmail.com>
Marti Raudsepp <marti@juffo.org>
martin.glueck@gmail.com
Martin Green
Martin Kosír <martin@martinkosir.net>
Martin Mahner <http://www.mahner.org/>
Martin Mahner <https://www.mahner.org/>
Martin Maney <http://www.chipy.org/Martin_Maney>
Martin von Gagern <gagern@google.com>
Mart Sõmermaa <http://mrts.pri.ee/>
Marty Alchin <gulopine@gamemusic.org>
masonsimon+django@gmail.com
@ -516,7 +568,7 @@ answer newbie questions, and generally made Django that much better:
Matt Croydon <http://www.postneo.com/>
Matt Deacalion Stevens <matt@dirtymonkey.co.uk>
Matt Dennenbaum
Matthew Flanagan <http://wadofstuff.blogspot.com>
Matthew Flanagan <https://wadofstuff.blogspot.com/>
Matthew Schinckel <matt@schinckel.net>
Matthew Somerville <matthew-django@dracos.co.uk>
Matthew Tretter <m@tthewwithanm.com>
@ -524,16 +576,19 @@ answer newbie questions, and generally made Django that much better:
Matthias Kestenholz <mk@406.ch>
Matthias Pronk <django@masida.nl>
Matt Hoskins <skaffenuk@googlemail.com>
Matt McClanahan <http://mmcc.cx/>
Matt McClanahan <https://mmcc.cx/>
Matt Riggott
Matt Robenolt <m@robenolt.com>
Mattia Larentis <mattia@laretis.eu>
Mattia Procopio <promat85@gmail.com>
Mattias Loverot <mattias@stubin.se>
mattycakes@gmail.com
Max Burstein <http://maxburstein.com>
Max Derkachev <mderk@yandex.ru>
Max Smolens <msmolens@gmail.com>
Maxime Lorant <maxime.lorant@gmail.com>
Maxime Turcotte <maxocub@riseup.net>
Maximilian Merz <django@mxmerz.de>
Maximillian Dornseif <md@hudora.de>
mccutchen@gmail.com
Meir Kriheli <http://mksoft.co.il/>
@ -545,6 +600,7 @@ answer newbie questions, and generally made Django that much better:
Michael Radziej <mir@noris.de>
Michael Sanders <m.r.sanders@gmail.com>
Michael Schwarz <michi.schwarz@gmail.com>
Michael Sinov <sihaelov@gmail.com>
Michael Thornhill <michael.thornhill@gmail.com>
Michal Chruszcz <troll@pld-linux.org>
michal@plovarna.cz
@ -553,13 +609,14 @@ answer newbie questions, and generally made Django that much better:
Mihai Preda <mihai_preda@yahoo.com>
Mikaël Barbero <mikael.barbero nospam at nospam free.fr>
Mike Axiak <axiak@mit.edu>
Mike Grouchy <http://mikegrouchy.com/>
Mike Grouchy <https://mikegrouchy.com/>
Mike Malone <mjmalone@gmail.com>
Mike Richardson
Mike Wiacek <mjwiacek@google.com>
Mikhail Korobov <kmike84@googlemail.com>
Mikko Hellsing <mikko@sorl.net>
Mikołaj Siedlarek <mikolaj.siedlarek@gmail.com>
milkomeda
Milton Waddams
mitakummaa@gmail.com
mmarshall
@ -569,34 +626,39 @@ answer newbie questions, and generally made Django that much better:
Morten Bagai <m@bagai.com>
msaelices <msaelices@gmail.com>
msundstr
Mushtaq Ali <mushtaak@gmail.com>
Mykola Zamkovoi <nickzam@gmail.com>
Nagy Károly <charlie@rendszergazda.com>
Nasimul Haque <nasim.haque@gmail.com>
Nasir Hussain <nasirhjafri@gmail.com>
Natalia Bidart <nataliabidart@gmail.com>
Nate Bragg <jonathan.bragg@alum.rpi.edu>
Neal Norwitz <nnorwitz@google.com>
Nebojša Dorđević
Ned Batchelder <http://www.nedbatchelder.com/>
Ned Batchelder <https://nedbatchelder.com/>
Nena Kojadin <nena@kiberpipa.org>
Niall Dalton <niall.dalton12@gmail.com>
Niall Kelly <duke.sam.vimes@gmail.com>
Nick Efford <nick@efford.org>
Nick Lane <nick.lane.au@gmail.com>
Nick Pope <nick@nickpope.me.uk>
Nick Presta <nick@nickpresta.ca>
Nick Sandford <nick.sandford@gmail.com>
Nick Sarbicki <nick.a.sarbicki@gmail.com>
Niclas Olofsson <n@niclasolofsson.se>
Nicola Larosa <nico@teknico.net>
Nicolas Lara <nicolaslara@gmail.com>
Nicolas Noé <nicolas@niconoe.eu>
Niran Babalola <niran@niran.org>
Nis Jørgensen <nis@superlativ.dk>
Nowell Strite <http://nowell.strite.org/>
Nowell Strite <https://nowell.strite.org/>
Nuno Mariz <nmariz@gmail.com>
oggie rob <oz.robharvey@gmail.com>
oggy <ognjen.maric@gmail.com>
Oliver Beattie <oliver@obeattie.com>
Oliver Rutherfurd <http://rutherfurd.net/>
Olivier Sels <olivier.sels@gmail.com>
Olivier Tabone <olivier.tabone@ripplemotion.fr>
Orestis Markou <orestis@orestis.gr>
Orne Brocaar <http://brocaar.com/>
Oscar Ramirez <tuxskar@gmail.com>
@ -606,6 +668,7 @@ answer newbie questions, and generally made Django that much better:
Panos Laganakos <panos.laganakos@gmail.com>
Pascal Hartig <phartig@rdrei.net>
Pascal Varet
Patrik Sletmo <patrik.sletmo@gmail.com>
Paul Bissex <http://e-scribe.com/>
Paul Collier <paul@paul-collier.com>
Paul Collins <paul.collins.iii@gmail.com>
@ -616,7 +679,9 @@ answer newbie questions, and generally made Django that much better:
Paulo Poiati <paulogpoiati@gmail.com>
Paulo Scardine <paulo@scardine.com.br>
Paul Smith <blinkylights23@gmail.com>
Pavel Kulikov <kulikovpavel@gmail.com>
pavithran s <pavithran.s@gmail.com>
Pavlo Kapyshin <i@93z.org>
permonik@mesias.brnonet.cz
Petar Marić <http://www.petarmaric.com/>
Pete Crosier <pete.crosier@gmail.com>
@ -639,18 +704,24 @@ answer newbie questions, and generally made Django that much better:
pradeep.gowda@gmail.com
Preston Holmes <preston@ptone.com>
Preston Timmons <prestontimmons@gmail.com>
Priyansh Saxena <askpriyansh@gmail.com>
Przemysław Buczkowski <przemub@przemub.pl>
Przemysław Suliga <http://suligap.net>
Rachel Tobin <rmtobin@me.com>
Rachel Willmer <http://www.willmer.com/kb/>
Radek Švarz <http://www.svarz.cz/translate/>
Radek Švarz <https://www.svarz.cz/translate/>
Raffaele Salmaso <raffaele@salmaso.org>
Rajesh Dhawan <rajesh.dhawan@gmail.com>
Ramez Ashraf <ramezashraf@gmail.com>
Ramin Farajpour Cami <ramin.blackhat@gmail.com>
Ramiro Morales <ramiro@rmorales.net>
Ramon Saraiva <ramonsaraiva@gmail.com>
Ram Rachum <ram@rachum.com>
Randy Barlow <randy@electronsweatshop.com>
Raphaël Barrois <raphael.barrois@m4x.org>
Raphael Michel <mail@raphaelmichel.de>
Raúl Cumplido <raulcumplido@gmail.com>
Rebecca Smith <rebkwok@gmail.com>
Remco Wendt <remco.wendt@gmail.com>
Renaud Parent <renaud.parent@gmail.com>
Renbi Yu <averybigant@gmail.com>
@ -669,10 +740,11 @@ answer newbie questions, and generally made Django that much better:
Roberto Aguilar <roberto@baremetal.io>
Robert Rock Howard <http://djangomojo.com/>
Robert Wittams
Rob Hudson <http://rob.cogit8.org/>
Rob Hudson <https://rob.cogit8.org/>
Robin Munn <http://www.geekforgod.com/>
Rodrigo Pinheiro Marques de Araújo <fenrrir@gmail.com>
Romain Garrigues <romain.garrigues.cs@gmail.com>
Ronny Haryanto <http://ronny.haryan.to/>
Ronny Haryanto <https://ronny.haryan.to/>
Ross Poulton <ross@rossp.org>
Rozza <ross.lawley@gmail.com>
Rudolph Froger <rfroger@estrate.nl>
@ -685,18 +757,23 @@ answer newbie questions, and generally made Django that much better:
ryankanno
Ryan Kelly <ryan@rfk.id.au>
Ryan Niemeyer <https://profiles.google.com/ryan.niemeyer/about>
Ryan Rubin <ryanmrubin@gmail.com>
Ryno Mathee <rmathee@gmail.com>
Sam Newman <http://www.magpiebrain.com/>
Sander Dijkhuis <sander.dijkhuis@gmail.com>
Sanket Saurav <sanketsaurav@gmail.com>
Sanyam Khurana <sanyam.khurana01@gmail.com>
Sarthak Mehrish <sarthakmeh03@gmail.com>
schwank@gmail.com
Scot Hacker <shacker@birdhouse.org>
Scott Barr <scott@divisionbyzero.com.au>
Scott Fitsimones <scott@airgara.ge>
Scott Pashley <github@scottpashley.co.uk>
scott@staplefish.com
Sean Brant
Sebastian Hillig <sebastian.hillig@gmail.com>
Sebastian Spiegel <http://www.tivix.com/>
Sebastian Spiegel <https://www.tivix.com/>
Segyo Myung <myungsekyo@gmail.com>
Selwin Ong <selwin@ui.co.id>
Sengtha Chay <sengtha@e-khmer.com>
Senko Rašić <senko.rasic@dobarkod.hr>
@ -706,7 +783,7 @@ answer newbie questions, and generally made Django that much better:
Sergey Kolosov <m17.admin@gmail.com>
Seth Hill <sethrh@gmail.com>
Shai Berger <shai@platonix.com>
Shannon -jj Behrens <http://jjinux.blogspot.com/>
Shannon -jj Behrens <https://www.jjinux.com/>
Shawn Milochik <shawn@milochik.com>
Silvan Spross <silvan.spross@gmail.com>
Simeon Visser <http://simeonvisser.com>
@ -717,22 +794,28 @@ answer newbie questions, and generally made Django that much better:
Simon Meers <simon@simonmeers.com>
Simon Williams
Simon Willison <simon@simonwillison.net>
Sjoerd Job Postmus
Slawek Mikula <slawek dot mikula at gmail dot com>
sloonz <simon.lipp@insa-lyon.fr>
smurf@smurf.noris.de
sopel
Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
Stanislas Guerra <stan@slashdev.me>
Stanislaus Madueke
Stanislav Karpov <work@stkrp.ru>
starrynight <cmorgh@gmail.com>
Stefan R. Filipek
Stefane Fermgier <sf@fermigier.com>
Stefano Rivera <stefano@rivera.za.net>
Stéphane Raimbault <stephane.raimbault@gmail.com>
Stephan Jaekel <steph@rdev.info>
Stephen Burrows <stephen.r.burrows@gmail.com>
Steven L. Smith (fvox13) <steven@stevenlsmith.com>
Stuart Langridge <http://www.kryogenix.org/>
Steven Noorbergen (Xaroth) <xaroth+django@xaroth.nl>
Stuart Langridge <https://www.kryogenix.org/>
Subhav Gautam <subhavgautam@yahoo.co.uk>
Sujay S Kumar <sujay.skumar141295@gmail.com>
Sune Kirkeby <http://ibofobi.dk/>
Sune Kirkeby <https://ibofobi.dk/>
Sung-Jin Hong <serialx.net@gmail.com>
SuperJared
Susan Tan <susan.tan.fleckerl@gmail.com>
@ -748,6 +831,7 @@ answer newbie questions, and generally made Django that much better:
thebjorn <bp@datakortet.no>
Thejaswi Puthraya <thejaswi.puthraya@gmail.com>
Thijs van Dien <thijs@vandien.net>
Thom Wiggers
Thomas Chaumeny <t.chaumeny@gmail.com>
Thomas Güttler <hv@tbz-pariv.de>
Thomas Kerpe <thomas@kerpe.net>
@ -756,22 +840,24 @@ answer newbie questions, and generally made Django that much better:
Thomas Stromberg <tstromberg@google.com>
Thomas Tanner <tanner@gmx.net>
tibimicu@gmx.net
Tim Allen <tim@pyphilly.org>
Tim Graham <timograham@gmail.com>
Tim Heap <tim@timheap.me>
Tim Saylor <tim.saylor@gmail.com>
Tobias Kunze <rixx@cutebit.de>
Tobias McNulty <http://www.caktusgroup.com/blog>
Tobias McNulty <https://www.caktusgroup.com/blog/>
tobias@neuyork.de
Todd O'Bryan <toddobryan@mac.com>
Tom Christie <tom@tomchristie.com>
Tom Forbes <tom@tomforb.es>
Tom Insam
Tom Tobin
Tomáš Ehrlich <tomas.ehrlich@gmail.com>
Tomáš Kopeček <permonik@m6.cz>
Tom Christie <tom@tomchristie.com>
Tome Cvitan <tome@cvitan.com>
Tomek Paczkowski <tomek@hauru.eu>
Tom Insam
Tomer Chachamu
Tommy Beadle <tbeadle@gmail.com>
Tom Tobin
Tore Lundqvist <tore.lundqvist@gmail.com>
torne-django@wolfpuppy.org.uk
Travis Cline <travis.cline@gmail.com>
@ -792,7 +878,9 @@ answer newbie questions, and generally made Django that much better:
Vasil Vangelovski
Victor Andrée
viestards.lists@gmail.com
Ville Säävuori <http://www.unessa.net/>
Viktor Danyliuk <v.v.danyliuk@gmail.com>
Ville Säävuori <https://www.unessa.net/>
Vinay Karanam <https://github.com/vinayinvicible>
Vinay Sajip <vinay_sajip@yahoo.co.uk>
Vincent Foley <vfoleybourgon@yahoo.ca>
Vitaly Babiy <vbabiy86@gmail.com>
@ -807,12 +895,13 @@ answer newbie questions, and generally made Django that much better:
Wiktor Kołodziej <wiktor@pykonik.org>
Wiley Kestner <wiley.kestner@gmail.com>
Wiliam Alves de Souza <wiliamsouza83@gmail.com>
Will Ayd <william.ayd@icloud.com>
William Schwartz <wkschwartz@gmail.com>
Will Hardy <django@willhardy.com.au>
Wilson Miner <wminer@gmail.com>
Wim Glenn <hey@wimglenn.com>
wojtek
Xia Kai <http://blog.xiaket.org/>
Xia Kai <https://blog.xiaket.org/>
Yann Fouillat <gagaro42@gmail.com>
Yann Malet
Yasushi Masuda <whosaysni@gmail.com>
@ -820,6 +909,7 @@ answer newbie questions, and generally made Django that much better:
ymasuda@ethercube.com
Yoong Kang Lim <yoongkang.lim@gmail.com>
Yusuke Miyazaki <miyazaki.dev@gmail.com>
Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
Zachary Voase <zacharyvoase@gmail.com>
Zach Liu <zachliu@gmail.com>
Zach Thompson <zthompson47@gmail.com>
@ -840,6 +930,6 @@ A big THANK YOU goes to:
Ian Bicking for convincing Adrian to ditch code generation.
Mark Pilgrim for "Dive Into Python" (http://www.diveintopython3.net).
Mark Pilgrim for "Dive Into Python" (https://www.diveinto.org/python3/).
Guido van Rossum for creating Python.

13
INSTALL
View File

@ -1,17 +1,8 @@
Thanks for downloading Django.
To install it, make sure you have Python 2.7 or greater installed. Then run
To install it, make sure you have Python 3.5 or greater installed. Then run
this command from the command prompt:
python setup.py install
If you're upgrading from a previous version, you need to remove it first.
AS AN ALTERNATIVE, you can just copy the entire "django" directory to Python's
site-packages directory, which is located wherever your Python installation
lives. Some places you might check are:
/usr/lib/python2.7/site-packages (Unix, Python 2.7)
C:\\PYTHON\site-packages (Windows)
python -m pip install .
For more detailed instructions, see docs/intro/install.txt.

View File

@ -1,3 +1,14 @@
Django is licensed under the three-clause BSD license; see the file
LICENSE for details.
Django includes code from the Python standard library, which is licensed under
the Python license, a permissive open source license. The copyright and license
is included below for compliance with Python's terms.
----------------------------------------------------------------------
Copyright (c) 2001-present Python Software Foundation; All Rights Reserved
A. HISTORY OF THE SOFTWARE
==========================
@ -74,9 +85,9 @@ analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python alone or in any derivative version,
provided, however, that PSF's License Agreement and PSF's notice of copyright,
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
2011, 2012, 2013, 2014, 2015, 2016 Python Software Foundation; All Rights
Reserved" are retained in Python alone or in any derivative version prepared by
Licensee.
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Python Software Foundation; All
Rights Reserved" are retained in Python alone or in any derivative version
prepared by Licensee.
3. In the event Licensee prepares a derivative work that is based on
or incorporates Python or any part thereof, and wants to make

View File

@ -25,8 +25,9 @@ ticket here: https://code.djangoproject.com/newticket
To get more help:
* Join the ``#django`` channel on irc.freenode.net. Lots of helpful people hang out
there. Read the archives at https://botbot.me/freenode/django/.
* Join the ``#django`` channel on ``irc.libera.chat``. Lots of helpful people
out there. See https://en.wikipedia.org/wiki/Wikipedia:IRC/Tutorial if you're
new to IRC.
* Join the django-users mailing list, or read the archives, at
https://groups.google.com/group/django-users.

View File

@ -1,8 +1,6 @@
from __future__ import unicode_literals
from django.utils.version import get_version
VERSION = (1, 11, 30, 'alpha', 0)
VERSION = (2, 2, 29, 'alpha', 0)
__version__ = get_version(VERSION)
@ -16,12 +14,11 @@ def setup(set_prefix=True):
from django.apps import apps
from django.conf import settings
from django.urls import set_script_prefix
from django.utils.encoding import force_text
from django.utils.log import configure_logging
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
if set_prefix:
set_script_prefix(
'/' if settings.FORCE_SCRIPT_NAME is None else force_text(settings.FORCE_SCRIPT_NAME)
'/' if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME
)
apps.populate(settings.INSTALLED_APPS)

View File

@ -2,23 +2,20 @@ import os
from importlib import import_module
from django.core.exceptions import ImproperlyConfigured
from django.utils._os import upath
from django.utils.module_loading import module_has_submodule
MODELS_MODULE_NAME = 'models'
class AppConfig(object):
"""
Class representing a Django application and its configuration.
"""
class AppConfig:
"""Class representing a Django application and its configuration."""
def __init__(self, app_name, app_module):
# Full Python path to the application eg. 'django.contrib.admin'.
# Full Python path to the application e.g. 'django.contrib.admin'.
self.name = app_name
# Root module for the application eg. <module 'django.contrib.admin'
# from 'django/contrib/admin/__init__.pyc'>.
# Root module for the application e.g. <module 'django.contrib.admin'
# from 'django/contrib/admin/__init__.py'>.
self.module = app_module
# Reference to the Apps registry that holds this AppConfig. Set by the
@ -28,27 +25,26 @@ class AppConfig(object):
# The following attributes could be defined at the class level in a
# subclass, hence the test-and-set pattern.
# Last component of the Python path to the application eg. 'admin'.
# Last component of the Python path to the application e.g. 'admin'.
# This value must be unique across a Django project.
if not hasattr(self, 'label'):
self.label = app_name.rpartition(".")[2]
# Human-readable name for the application eg. "Admin".
# Human-readable name for the application e.g. "Admin".
if not hasattr(self, 'verbose_name'):
self.verbose_name = self.label.title()
# Filesystem path to the application directory eg.
# u'/usr/lib/python2.7/dist-packages/django/contrib/admin'. Unicode on
# Python 2 and a str on Python 3.
# Filesystem path to the application directory e.g.
# '/path/to/django/contrib/admin'.
if not hasattr(self, 'path'):
self.path = self._path_from_module(app_module)
# Module containing models eg. <module 'django.contrib.admin.models'
# from 'django/contrib/admin/models.pyc'>. Set by import_models().
# Module containing models e.g. <module 'django.contrib.admin.models'
# from 'django/contrib/admin/models.py'>. Set by import_models().
# None if the application doesn't have a models module.
self.models_module = None
# Mapping of lower case model names to model classes. Initially set to
# Mapping of lowercase model names to model classes. Initially set to
# None to prevent accidental access before import_models() runs.
self.models = None
@ -59,8 +55,8 @@ class AppConfig(object):
"""Attempt to determine app's filesystem path from its module."""
# See #21874 for extended discussion of the behavior of this method in
# various cases.
# Convert paths to list because Python 3's _NamespacePath does not
# support indexing.
# Convert paths to list because Python's _NamespacePath doesn't support
# indexing.
paths = list(getattr(module, '__path__', []))
if len(paths) != 1:
filename = getattr(module, '__file__', None)
@ -80,7 +76,7 @@ class AppConfig(object):
"The app module %r has no filesystem location, "
"you must configure this app with an AppConfig subclass "
"with a 'path' class attribute." % (module,))
return upath(paths[0])
return paths[0]
@classmethod
def create(cls, entry):
@ -122,8 +118,21 @@ class AppConfig(object):
cls = getattr(mod, cls_name)
except AttributeError:
if module is None:
# If importing as an app module failed, that error probably
# contains the most informative traceback. Trigger it again.
# If importing as an app module failed, check if the module
# contains any valid AppConfigs and show them as choices.
# Otherwise, that error probably contains the most informative
# traceback, so trigger it again.
candidates = sorted(
repr(name) for name, candidate in mod.__dict__.items()
if isinstance(candidate, type) and
issubclass(candidate, AppConfig) and
candidate is not AppConfig
)
if candidates:
raise ImproperlyConfigured(
"'%s' does not contain a class '%s'. Choices are: %s."
% (mod_path, cls_name, ', '.join(candidates))
)
import_module(entry)
else:
raise
@ -157,9 +166,9 @@ class AppConfig(object):
def get_model(self, model_name, require_ready=True):
"""
Returns the model with the given case-insensitive model_name.
Return the model with the given case-insensitive model_name.
Raises LookupError if no model exists with this name.
Raise LookupError if no model exists with this name.
"""
if require_ready:
self.apps.check_models_ready()
@ -173,7 +182,7 @@ class AppConfig(object):
def get_models(self, include_auto_created=False, include_swapped=False):
"""
Returns an iterable of models.
Return an iterable of models.
By default, the following models aren't included:

View File

@ -1,3 +1,4 @@
import functools
import sys
import threading
import warnings
@ -5,16 +6,15 @@ from collections import Counter, OrderedDict, defaultdict
from functools import partial
from django.core.exceptions import AppRegistryNotReady, ImproperlyConfigured
from django.utils import lru_cache
from .config import AppConfig
class Apps(object):
class Apps:
"""
A registry that stores the configuration of installed applications.
It also keeps track of models eg. to provide reverse-relations.
It also keeps track of models, e.g. to provide reverse relations.
"""
def __init__(self, installed_apps=()):
@ -42,9 +42,12 @@ class Apps(object):
# Whether the registry is populated.
self.apps_ready = self.models_ready = self.ready = False
# For the autoreloader.
self.ready_event = threading.Event()
# Lock for thread-safe population.
self._lock = threading.Lock()
self._lock = threading.RLock()
self.loading = False
# Maps ("app_label", "modelname") tuples to lists of functions to be
# called when the corresponding model is ready. Used by this class's
@ -57,11 +60,11 @@ class Apps(object):
def populate(self, installed_apps=None):
"""
Loads application configurations and models.
Load application configurations and models.
This method imports each application module and then each model module.
Import each application module and then each model module.
It is thread safe and idempotent, but not reentrant.
It is thread-safe and idempotent, but not reentrant.
"""
if self.ready:
return
@ -72,10 +75,13 @@ class Apps(object):
if self.ready:
return
# app_config should be pristine, otherwise the code below won't
# guarantee that the order matches the order in INSTALLED_APPS.
if self.app_configs:
# An RLock prevents other threads from entering this section. The
# compare and set operation below is atomic.
if self.loading:
# Prevent reentrant calls to avoid running AppConfig.ready()
# methods twice.
raise RuntimeError("populate() isn't reentrant")
self.loading = True
# Phase 1: initialize app configs and import app modules.
for entry in installed_apps:
@ -116,33 +122,33 @@ class Apps(object):
app_config.ready()
self.ready = True
self.ready_event.set()
def check_apps_ready(self):
"""
Raises an exception if all apps haven't been imported yet.
"""
"""Raise an exception if all apps haven't been imported yet."""
if not self.apps_ready:
from django.conf import settings
# If "not ready" is due to unconfigured settings, accessing
# INSTALLED_APPS raises a more helpful ImproperlyConfigured
# exception.
settings.INSTALLED_APPS
raise AppRegistryNotReady("Apps aren't loaded yet.")
def check_models_ready(self):
"""
Raises an exception if all models haven't been imported yet.
"""
"""Raise an exception if all models haven't been imported yet."""
if not self.models_ready:
raise AppRegistryNotReady("Models aren't loaded yet.")
def get_app_configs(self):
"""
Imports applications and returns an iterable of app configs.
"""
"""Import applications and return an iterable of app configs."""
self.check_apps_ready()
return self.app_configs.values()
def get_app_config(self, app_label):
"""
Imports applications and returns an app config for the given label.
Import applications and returns an app config for the given label.
Raises LookupError if no application exists with this label.
Raise LookupError if no application exists with this label.
"""
self.check_apps_ready()
try:
@ -156,10 +162,10 @@ class Apps(object):
raise LookupError(message)
# This method is performance-critical at least for Django's test suite.
@lru_cache.lru_cache(maxsize=None)
@functools.lru_cache(maxsize=None)
def get_models(self, include_auto_created=False, include_swapped=False):
"""
Returns a list of all installed models.
Return a list of all installed models.
By default, the following models aren't included:
@ -173,20 +179,19 @@ class Apps(object):
result = []
for app_config in self.app_configs.values():
result.extend(list(app_config.get_models(include_auto_created, include_swapped)))
result.extend(app_config.get_models(include_auto_created, include_swapped))
return result
def get_model(self, app_label, model_name=None, require_ready=True):
"""
Returns the model matching the given app_label and model_name.
Return the model matching the given app_label and model_name.
As a shortcut, this function also accepts a single argument in the
form <app_label>.<model_name>.
As a shortcut, app_label may be in the form <app_label>.<model_name>.
model_name is case-insensitive.
Raises LookupError if no application exists with this label, or no
model exists with this name in the application. Raises ValueError if
Raise LookupError if no application exists with this label, or no
model exists with this name in the application. Raise ValueError if
called with a single argument that doesn't contain exactly one dot.
"""
if require_ready:
@ -228,9 +233,9 @@ class Apps(object):
def is_installed(self, app_name):
"""
Checks whether an application with this name exists in the registry.
Check whether an application with this name exists in the registry.
app_name is the full name of the app eg. 'django.contrib.admin'.
app_name is the full name of the app e.g. 'django.contrib.admin'.
"""
self.check_apps_ready()
return any(ac.name == app_name for ac in self.app_configs.values())
@ -241,8 +246,8 @@ class Apps(object):
object_name is the dotted Python path to the object.
Returns the app config for the inner application in case of nesting.
Returns None if the object isn't in any registered app config.
Return the app config for the inner application in case of nesting.
Return None if the object isn't in any registered app config.
"""
self.check_apps_ready()
candidates = []
@ -268,7 +273,7 @@ class Apps(object):
"Model '%s.%s' not registered." % (app_label, model_name))
return model
@lru_cache.lru_cache(maxsize=None)
@functools.lru_cache(maxsize=None)
def get_swappable_settings_name(self, to_string):
"""
For a given model string (e.g. "auth.User"), return the name of the
@ -292,7 +297,7 @@ class Apps(object):
def set_available_apps(self, available):
"""
Restricts the set of installed apps used by get_app_config[s].
Restrict the set of installed apps used by get_app_config[s].
available must be an iterable of application names.
@ -300,10 +305,10 @@ class Apps(object):
Primarily used for performance optimization in TransactionTestCase.
This method is safe is the sense that it doesn't trigger any imports.
This method is safe in the sense that it doesn't trigger any imports.
"""
available = set(available)
installed = set(app_config.name for app_config in self.get_app_configs())
installed = {app_config.name for app_config in self.get_app_configs()}
if not available.issubset(installed):
raise ValueError(
"Available apps isn't a subset of installed apps, extra apps: %s"
@ -318,15 +323,13 @@ class Apps(object):
self.clear_cache()
def unset_available_apps(self):
"""
Cancels a previous call to set_available_apps().
"""
"""Cancel a previous call to set_available_apps()."""
self.app_configs = self.stored_app_configs.pop()
self.clear_cache()
def set_installed_apps(self, installed):
"""
Enables a different set of installed apps for get_app_config[s].
Enable a different set of installed apps for get_app_config[s].
installed must be an iterable in the same format as INSTALLED_APPS.
@ -338,28 +341,26 @@ class Apps(object):
This method may trigger new imports, which may add new models to the
registry of all imported models. They will stay in the registry even
after unset_installed_apps(). Since it isn't possible to replay
imports safely (eg. that could lead to registering listeners twice),
imports safely (e.g. that could lead to registering listeners twice),
models are registered when they're imported and never removed.
"""
if not self.ready:
raise AppRegistryNotReady("App registry isn't ready yet.")
self.stored_app_configs.append(self.app_configs)
self.app_configs = OrderedDict()
self.apps_ready = self.models_ready = self.ready = False
self.apps_ready = self.models_ready = self.loading = self.ready = False
self.clear_cache()
self.populate(installed)
def unset_installed_apps(self):
"""
Cancels a previous call to set_installed_apps().
"""
"""Cancel a previous call to set_installed_apps()."""
self.app_configs = self.stored_app_configs.pop()
self.apps_ready = self.models_ready = self.ready = True
self.clear_cache()
def clear_cache(self):
"""
Clears all internal caches, for methods that alter the app registry.
Clear all internal caches, for methods that alter the app registry.
This is mostly used in tests.
"""
@ -391,7 +392,7 @@ class Apps(object):
# to lazy_model_operation() along with the remaining model args and
# repeat until all models are loaded and all arguments are applied.
else:
next_model, more_models = model_keys[0], model_keys[1:]
next_model, *more_models = model_keys
# This will be executed after the class corresponding to next_model
# has been imported and registered. The `func` attribute provides
@ -415,7 +416,7 @@ class Apps(object):
def do_pending_operations(self, model):
"""
Take a newly-prepared model and pass it to each function waiting for
it. This is called at the very end of `Apps.register_model()`.
it. This is called at the very end of Apps.register_model().
"""
key = model._meta.app_label, model._meta.model_name
for function in self._pending_operations.pop(key, []):

View File

@ -1,21 +1,46 @@
"""
Settings and configuration for Django.
Values will be read from the module specified by the DJANGO_SETTINGS_MODULE environment
variable, and then from django.conf.global_settings; see the global settings file for
a list of all possible variables.
Read values from the module specified by the DJANGO_SETTINGS_MODULE environment
variable, and then from django.conf.global_settings; see the global_settings.py
for a list of all possible variables.
"""
import importlib
import os
import time
import traceback
import warnings
from pathlib import Path
import django
from django.conf import global_settings
from django.core.exceptions import ImproperlyConfigured
from django.utils.deprecation import (
RemovedInDjango30Warning, RemovedInDjango31Warning,
)
from django.utils.functional import LazyObject, empty
ENVIRONMENT_VARIABLE = "DJANGO_SETTINGS_MODULE"
DEFAULT_CONTENT_TYPE_DEPRECATED_MSG = 'The DEFAULT_CONTENT_TYPE setting is deprecated.'
FILE_CHARSET_DEPRECATED_MSG = (
'The FILE_CHARSET setting is deprecated. Starting with Django 3.1, all '
'files read from disk must be UTF-8 encoded.'
)
class SettingsReference(str):
"""
String subclass which references a current settings value. It's treated as
the value in memory but serializes to a settings.NAME attribute reference.
"""
def __new__(self, value, setting_name):
return str.__new__(self, value)
def __init__(self, value, setting_name):
self.setting_name = setting_name
class LazySettings(LazyObject):
"""
@ -26,8 +51,8 @@ class LazySettings(LazyObject):
def _setup(self, name=None):
"""
Load the settings module pointed to by the environment variable. This
is used the first time we need any settings at all, if the user has not
previously configured the settings manually.
is used the first time settings are needed, if the user hasn't
configured settings manually.
"""
settings_module = os.environ.get(ENVIRONMENT_VARIABLE)
if not settings_module:
@ -49,9 +74,7 @@ class LazySettings(LazyObject):
}
def __getattr__(self, name):
"""
Return the value of a setting and cache it in self.__dict__.
"""
"""Return the value of a setting and cache it in self.__dict__."""
if self._wrapped is empty:
self._setup(name)
val = getattr(self._wrapped, name)
@ -67,13 +90,11 @@ class LazySettings(LazyObject):
self.__dict__.clear()
else:
self.__dict__.pop(name, None)
super(LazySettings, self).__setattr__(name, value)
super().__setattr__(name, value)
def __delattr__(self, name):
"""
Delete a setting and clear it from cache if needed.
"""
super(LazySettings, self).__delattr__(name)
"""Delete a setting and clear it from cache if needed."""
super().__delattr__(name)
self.__dict__.pop(name, None)
def configure(self, default_settings=global_settings, **options):
@ -91,13 +112,39 @@ class LazySettings(LazyObject):
@property
def configured(self):
"""
Returns True if the settings have already been configured.
"""
"""Return True if the settings have already been configured."""
return self._wrapped is not empty
@property
def DEFAULT_CONTENT_TYPE(self):
stack = traceback.extract_stack()
# Show a warning if the setting is used outside of Django.
# Stack index: -1 this line, -2 the caller.
filename, _line_number, _function_name, _text = stack[-2]
if not filename.startswith(os.path.dirname(django.__file__)):
warnings.warn(
DEFAULT_CONTENT_TYPE_DEPRECATED_MSG,
RemovedInDjango30Warning,
stacklevel=2,
)
return self.__getattr__('DEFAULT_CONTENT_TYPE')
class Settings(object):
@property
def FILE_CHARSET(self):
stack = traceback.extract_stack()
# Show a warning if the setting is used outside of Django.
# Stack index: -1 this line, -2 the caller.
filename, _line_number, _function_name, _text = stack[-2]
if not filename.startswith(os.path.dirname(django.__file__)):
warnings.warn(
FILE_CHARSET_DEPRECATED_MSG,
RemovedInDjango31Warning,
stacklevel=2,
)
return self.__getattr__('FILE_CHARSET')
class Settings:
def __init__(self, settings_module):
# update this dict from global settings (but only for ALL_CAPS settings)
for setting in dir(global_settings):
@ -128,12 +175,17 @@ class Settings(object):
if not self.SECRET_KEY:
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
if self.is_overridden('DEFAULT_CONTENT_TYPE'):
warnings.warn(DEFAULT_CONTENT_TYPE_DEPRECATED_MSG, RemovedInDjango30Warning)
if self.is_overridden('FILE_CHARSET'):
warnings.warn(FILE_CHARSET_DEPRECATED_MSG, RemovedInDjango31Warning)
if hasattr(time, 'tzset') and self.TIME_ZONE:
# When we can, attempt to validate the timezone. If we can't find
# this file, no check happens and it's harmless.
zoneinfo_root = '/usr/share/zoneinfo'
if (os.path.exists(zoneinfo_root) and not
os.path.exists(os.path.join(zoneinfo_root, *(self.TIME_ZONE.split('/'))))):
zoneinfo_root = Path('/usr/share/zoneinfo')
zone_info_file = zoneinfo_root.joinpath(*self.TIME_ZONE.split('/'))
if zoneinfo_root.exists() and not zone_info_file.exists():
raise ValueError("Incorrect timezone setting: %s" % self.TIME_ZONE)
# Move the time zone info into os.environ. See ticket #2315 for why
# we don't do this unconditionally (breaks Windows).
@ -150,10 +202,8 @@ class Settings(object):
}
class UserSettingsHolder(object):
"""
Holder for user configured settings.
"""
class UserSettingsHolder:
"""Holder for user configured settings."""
# SETTINGS_MODULE doesn't make much sense in the manually configured
# (standalone) case.
SETTINGS_MODULE = None
@ -173,16 +223,20 @@ class UserSettingsHolder(object):
def __setattr__(self, name, value):
self._deleted.discard(name)
super(UserSettingsHolder, self).__setattr__(name, value)
if name == 'DEFAULT_CONTENT_TYPE':
warnings.warn(DEFAULT_CONTENT_TYPE_DEPRECATED_MSG, RemovedInDjango30Warning)
elif name == 'FILE_CHARSET':
warnings.warn(FILE_CHARSET_DEPRECATED_MSG, RemovedInDjango31Warning)
super().__setattr__(name, value)
def __delattr__(self, name):
self._deleted.add(name)
if hasattr(self, name):
super(UserSettingsHolder, self).__delattr__(name)
super().__delattr__(name)
def __dir__(self):
return sorted(
s for s in list(self.__dict__) + dir(self.default_settings)
s for s in [*self.__dict__, *dir(self.default_settings)]
if s not in self._deleted
)
@ -190,7 +244,7 @@ class UserSettingsHolder(object):
deleted = (setting in self._deleted)
set_locally = (setting in self.__dict__)
set_on_default = getattr(self.default_settings, 'is_overridden', lambda s: False)(setting)
return (deleted or set_locally or set_on_default)
return deleted or set_locally or set_on_default
def __repr__(self):
return '<%(cls)s>' % {

View File

@ -1,3 +1,3 @@
{{ unicode_literals }}from django.contrib import admin
from django.contrib import admin
# Register your models here.

View File

@ -1,4 +1,4 @@
{{ unicode_literals }}from django.apps import AppConfig
from django.apps import AppConfig
class {{ camel_case_app_name }}Config(AppConfig):

View File

@ -1,3 +1,3 @@
{{ unicode_literals }}from django.db import models
from django.db import models
# Create your models here.

View File

@ -1,3 +1,3 @@
{{ unicode_literals }}from django.test import TestCase
from django.test import TestCase
# Create your tests here.

View File

@ -1,3 +1,3 @@
{{ unicode_literals }}from django.shortcuts import render
from django.shortcuts import render
# Create your views here.

View File

@ -1,9 +1,7 @@
# -*- coding: utf-8 -*-
"""
Default Django settings. Override these with settings in the module pointed to
by the DJANGO_SETTINGS_MODULE environment variable.
"""
from __future__ import unicode_literals
# This is defined here as a do-nothing function because we can't import
@ -23,11 +21,6 @@ DEBUG = False
# on a live site.
DEBUG_PROPAGATE_EXCEPTIONS = False
# Whether to use the "ETag" header. This saves bandwidth but slows down performance.
# Deprecated (RemovedInDjango21Warning) in favor of ConditionalGetMiddleware
# which sets the ETag regardless of this setting.
USE_ETAGS = False
# People who get code error notifications.
# In the format [('Full Name', 'email@example.com'), ('Full Name', 'anotheremail@example.com')]
ADMINS = []
@ -96,6 +89,7 @@ LANGUAGES = [
('hr', gettext_noop('Croatian')),
('hsb', gettext_noop('Upper Sorbian')),
('hu', gettext_noop('Hungarian')),
('hy', gettext_noop('Armenian')),
('ia', gettext_noop('Interlingua')),
('id', gettext_noop('Indonesian')),
('io', gettext_noop('Ido')),
@ -103,6 +97,7 @@ LANGUAGES = [
('it', gettext_noop('Italian')),
('ja', gettext_noop('Japanese')),
('ka', gettext_noop('Georgian')),
('kab', gettext_noop('Kabyle')),
('kk', gettext_noop('Kazakh')),
('km', gettext_noop('Khmer')),
('kn', gettext_noop('Kannada')),
@ -304,22 +299,18 @@ DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 # i.e. 2.5 MB
# SuspiciousOperation (TooManyFieldsSent) is raised.
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
# Maximum number of files encoded in a multipart upload that will be read
# before a SuspiciousOperation (TooManyFilesSent) is raised.
DATA_UPLOAD_MAX_NUMBER_FILES = 100
# Directory in which upload streamed files will be temporarily saved. A value of
# `None` will make Django use the operating system's default temporary directory
# (i.e. "/tmp" on *nix systems).
FILE_UPLOAD_TEMP_DIR = None
# The numeric mode to set newly-uploaded files to. The value should be a mode
# you'd pass directly to os.chmod; see https://docs.python.org/3/library/os.html#files-and-directories.
# you'd pass directly to os.chmod; see https://docs.python.org/library/os.html#files-and-directories.
FILE_UPLOAD_PERMISSIONS = None
# The numeric mode to assign to newly-created directories, when uploading files.
# The value should be a mode as you'd pass to os.chmod;
# see https://docs.python.org/3/library/os.html#files-and-directories.
# see https://docs.python.org/library/os.html#files-and-directories.
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
# Python module path where user will place custom format definition.
@ -329,39 +320,39 @@ FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
FORMAT_MODULE_PATH = None
# Default formatting for date objects. See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'N j, Y'
# Default formatting for datetime objects. See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATETIME_FORMAT = 'N j, Y, P'
# Default formatting for time objects. See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
TIME_FORMAT = 'P'
# Default formatting for date objects when only the year and month are relevant.
# See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
YEAR_MONTH_FORMAT = 'F Y'
# Default formatting for date objects when only the month and day are relevant.
# See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
MONTH_DAY_FORMAT = 'F j'
# Default short formatting for date objects. See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
SHORT_DATE_FORMAT = 'm/d/Y'
# Default short formatting for datetime objects.
# See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
SHORT_DATETIME_FORMAT = 'm/d/Y P'
# Default formats to be used when parsing dates from input boxes, in order
# See all available format string here:
# http://docs.python.org/library/datetime.html#strftime-behavior
# https://docs.python.org/library/datetime.html#strftime-behavior
# * Note that these format strings are different from the ones to display dates
DATE_INPUT_FORMATS = [
'%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', # '2006-10-25', '10/25/2006', '10/25/06'
@ -373,7 +364,7 @@ DATE_INPUT_FORMATS = [
# Default formats to be used when parsing times from input boxes, in order
# See all available format string here:
# http://docs.python.org/library/datetime.html#strftime-behavior
# https://docs.python.org/library/datetime.html#strftime-behavior
# * Note that these format strings are different from the ones to display dates
TIME_INPUT_FORMATS = [
'%H:%M:%S', # '14:30:59'
@ -384,7 +375,7 @@ TIME_INPUT_FORMATS = [
# Default formats to be used when parsing dates and times from input boxes,
# in order
# See all available format string here:
# http://docs.python.org/library/datetime.html#strftime-behavior
# https://docs.python.org/library/datetime.html#strftime-behavior
# * Note that these format strings are different from the ones to display dates
DATETIME_INPUT_FORMATS = [
'%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
@ -451,12 +442,7 @@ SECURE_PROXY_SSL_HEADER = None
# List of middleware to use. Order is important; in the request phase, these
# middleware will be applied in the order given, and in the response
# phase the middleware will be applied in reverse order.
MIDDLEWARE_CLASSES = [
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
]
MIDDLEWARE = None
MIDDLEWARE = []
############
# SESSIONS #
@ -468,14 +454,17 @@ SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_NAME = 'sessionid'
# Age of cookie, in seconds (default: 2 weeks).
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2
# A string like ".example.com", or None for standard domain cookie.
# A string like "example.com", or None for standard domain cookie.
SESSION_COOKIE_DOMAIN = None
# Whether the session cookie should be secure (https:// only).
SESSION_COOKIE_SECURE = False
# The path of the session cookie.
SESSION_COOKIE_PATH = '/'
# Whether to use the non-RFC standard httpOnly flag (IE, FF3+, others)
# Whether to use the HttpOnly flag.
SESSION_COOKIE_HTTPONLY = True
# Whether to set the flag restricting cookie leaks on cross-site requests.
# This can be 'Lax', 'Strict', or None to disable the flag.
SESSION_COOKIE_SAMESITE = 'Lax'
# Whether to save the session data on every request.
SESSION_SAVE_EVERY_REQUEST = False
# Whether a user's session cookie expires when the Web browser is closed.
@ -527,7 +516,6 @@ PASSWORD_HASHERS = [
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
'django.contrib.auth.hashers.Argon2PasswordHasher',
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
'django.contrib.auth.hashers.BCryptPasswordHasher',
]
AUTH_PASSWORD_VALIDATORS = []
@ -553,6 +541,7 @@ CSRF_COOKIE_DOMAIN = None
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SECURE = False
CSRF_COOKIE_HTTPONLY = False
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False

View File

@ -1,6 +1,3 @@
# -*- encoding: utf-8 -*-
from __future__ import unicode_literals
"""
LANG_INFO is a dictionary structure to provide meta information about languages.
@ -251,6 +248,12 @@ LANG_INFO = {
'name': 'Hungarian',
'name_local': 'Magyar',
},
'hy': {
'bidi': False,
'code': 'hy',
'name': 'Armenian',
'name_local': 'հայերեն',
},
'ia': {
'bidi': False,
'code': 'ia',
@ -293,6 +296,12 @@ LANG_INFO = {
'name': 'Georgian',
'name_local': 'ქართული',
},
'kab': {
'bidi': False,
'code': 'kab',
'name': 'Kabyle',
'name_local': 'taqbaylit',
},
'kk': {
'bidi': False,
'code': 'kk',

View File

@ -1,15 +1,16 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# F Wolff <friedel@translate.org.za>, 2019
# Stephen Cox <stephencoxmail@gmail.com>, 2011-2012
# unklphil <villiers.strauss@gmail.com>, 2014
# unklphil <villiers.strauss@gmail.com>, 2014,2019
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-02-18 22:37+0000\n"
"Last-Translator: unklphil <villiers.strauss@gmail.com>\n"
"Language-Team: Afrikaans (http://www.transifex.com/django/django/language/"
"af/)\n"
"MIME-Version: 1.0\n"
@ -25,7 +26,7 @@ msgid "Arabic"
msgstr "Arabies"
msgid "Asturian"
msgstr ""
msgstr "Asturies"
msgid "Azerbaijani"
msgstr "Aserbeidjans"
@ -61,7 +62,7 @@ msgid "German"
msgstr "Duits"
msgid "Lower Sorbian"
msgstr ""
msgstr "Neder-Sorbies"
msgid "Greek"
msgstr "Grieks"
@ -85,7 +86,7 @@ msgid "Argentinian Spanish"
msgstr "Argentynse Spaans"
msgid "Colombian Spanish"
msgstr ""
msgstr "Kolombiaanse Spaans"
msgid "Mexican Spanish"
msgstr "Meksikaanse Spaans"
@ -118,7 +119,7 @@ msgid "Irish"
msgstr "Iers"
msgid "Scottish Gaelic"
msgstr ""
msgstr "Skots-Gaelies"
msgid "Galician"
msgstr "Galicies"
@ -133,11 +134,14 @@ msgid "Croatian"
msgstr "Kroaties"
msgid "Upper Sorbian"
msgstr ""
msgstr "Opper-Sorbies"
msgid "Hungarian"
msgstr "Hongaars"
msgid "Armenian"
msgstr "Armeens"
msgid "Interlingua"
msgstr "Interlingua"
@ -145,7 +149,7 @@ msgid "Indonesian"
msgstr "Indonesies"
msgid "Ido"
msgstr ""
msgstr "Ido"
msgid "Icelandic"
msgstr "Yslands"
@ -159,6 +163,9 @@ msgstr "Japannees"
msgid "Georgian"
msgstr "Georgian"
msgid "Kabyle"
msgstr "Kabilies"
msgid "Kazakh"
msgstr "Kazakh"
@ -169,7 +176,7 @@ msgid "Kannada"
msgstr "Kannada"
msgid "Korean"
msgstr "Koreaanse"
msgstr "Koreaans"
msgid "Luxembourgish"
msgstr "Luxemburgs"
@ -190,13 +197,13 @@ msgid "Mongolian"
msgstr "Mongools"
msgid "Marathi"
msgstr ""
msgstr "Marathi"
msgid "Burmese"
msgstr "Birmaans"
msgid "Norwegian Bokmål"
msgstr ""
msgstr "Noorweegse Bokmål"
msgid "Nepali"
msgstr "Nepalees"
@ -229,10 +236,10 @@ msgid "Russian"
msgstr "Russiese"
msgid "Slovak"
msgstr "Slowaakse"
msgstr "Slowaaks"
msgid "Slovenian"
msgstr "Sloveens"
msgstr "Sloweens"
msgid "Albanian"
msgstr "Albanees"
@ -259,7 +266,7 @@ msgid "Thai"
msgstr "Thai"
msgid "Turkish"
msgstr "Turkish"
msgstr "Turks"
msgid "Tatar"
msgstr "Tataars"
@ -271,7 +278,7 @@ msgid "Ukrainian"
msgstr "Oekraïens"
msgid "Urdu"
msgstr "Urdu"
msgstr "Oerdoe"
msgid "Vietnamese"
msgstr "Viëtnamees"
@ -280,69 +287,79 @@ msgid "Simplified Chinese"
msgstr "Vereenvoudigde Sjinees"
msgid "Traditional Chinese"
msgstr "Tradisionele Chinese"
msgstr "Tradisionele Sjinees"
msgid "Messages"
msgstr ""
msgstr "Boodskappe"
msgid "Site Maps"
msgstr ""
msgstr "Werfkaarte"
msgid "Static Files"
msgstr ""
msgstr "Statiese lêers"
msgid "Syndication"
msgstr "Sindikasie"
msgid "That page number is not an integer"
msgstr "Daai bladsynommer is nie 'n heelgetal nie"
msgid "That page number is less than 1"
msgstr "Daai bladsynommer is minder as 1"
msgid "That page contains no results"
msgstr "Daai bladsy bevat geen resultate nie"
msgid "Enter a valid value."
msgstr "Sleutel 'n geldige waarde in."
msgstr "Gee 'n geldige waarde."
msgid "Enter a valid URL."
msgstr "Sleutel 'n geldige URL in."
msgstr "Gee n geldige URL."
msgid "Enter a valid integer."
msgstr "Sleutel 'n geldige heelgetal in."
msgstr "Gee n geldige heelgetal."
msgid "Enter a valid email address."
msgstr "Sleutel 'n geldige e-pos adres in."
msgstr "Gee n geldige e-posadres."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Sleutel 'n geldige \"slak\" wat bestaan uit letters, syfers, beklemtoon of "
"koppel."
"Gee n geldige \"slak\" in wat bestaan uit letters, syfers, onderstreep of "
"koppelteken."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Gee n geldige “slak” in wat bestaan uit Unicode-letters, syfers, "
"onderstreep of koppelteken."
msgid "Enter a valid IPv4 address."
msgstr "Sleutel 'n geldige IPv4-adres in."
msgstr "Gee n geldige IPv4-adres."
msgid "Enter a valid IPv6 address."
msgstr "Voer 'n geldige IPv6-adres in."
msgstr "Gee n geldige IPv6-adres."
msgid "Enter a valid IPv4 or IPv6 address."
msgstr "Voer 'n geldige IPv4 of IPv6-adres in."
msgstr "Gee n geldige IPv4- of IPv6-adres."
msgid "Enter only digits separated by commas."
msgstr "Sleutel slegs syfers in wat deur kommas geskei is."
msgstr "Gee slegs syfers in wat deur kommas geskei is."
#, python-format
msgid "Ensure this value is %(limit_value)s (it is %(show_value)s)."
msgstr ""
"Maak seker dat hierdie waarde %(limit_value)s is (dit is %(show_value)s )."
"Maak seker dat hierdie waarde %(limit_value)s is (dit is %(show_value)s)."
#, python-format
msgid "Ensure this value is less than or equal to %(limit_value)s."
msgstr ""
"Maak seker dat hierdie waarde minder as of gelyk aan %(limit_value)s is."
msgstr "Maak seker dat hierdie waarde kleiner of gelyk is aan %(limit_value)s."
#, python-format
msgid "Ensure this value is greater than or equal to %(limit_value)s."
msgstr ""
"Maak seker dat hierdie waarde groter as of gelyk aan %(limit_value)s is."
msgstr "Maak seker dat hierdie waarde groter of gelyk is aan %(limit_value)s."
#, python-format
msgid ""
@ -372,6 +389,9 @@ msgstr[1] ""
"Maak seker hierdie waarde het op die meeste %(limit_value)d karakters (dit "
"het %(show_value)d)."
msgid "Enter a number."
msgstr "Gee n getal."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -394,6 +414,17 @@ msgstr[0] ""
msgstr[1] ""
"Maak seker dat daar nie meer as %(max)s syfers voor die desimale punt is nie."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
"Lêeruitbreiding “%(extension)s” word nie toegelaat nie. Toegelate "
"uitbreidings is: “%(allowed_extensions)s”."
msgid "Null characters are not allowed."
msgstr "Nul-karakters word nie toegelaat nie."
msgid "and"
msgstr "en"
@ -403,7 +434,7 @@ msgstr "%(model_name)s met hierdie %(field_labels)s bestaan alreeds."
#, python-format
msgid "Value %(value)r is not a valid choice."
msgstr "Waarde %(value)r is nie 'n geldige keuse nie."
msgstr "Waarde %(value)r is nie n geldige keuse nie."
msgid "This field cannot be null."
msgstr "Hierdie veld kan nie nil wees nie."
@ -421,50 +452,54 @@ msgstr "%(model_name)s met hierdie %(field_label)s bestaan alreeds."
msgid ""
"%(field_label)s must be unique for %(date_field_label)s %(lookup_type)s."
msgstr ""
"%(field_label)s moet uniek wees vir %(date_field_label)s %(lookup_type)s."
"%(field_label)s moet uniek wees per %(date_field_label)s %(lookup_type)s."
#, python-format
msgid "Field of type: %(field_type)s"
msgstr "Veld van type: %(field_type)s "
msgstr "Veld van tipe: %(field_type)s "
msgid "Integer"
msgstr "Heelgetal"
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "'%(value)s' waarde moet 'n heelgetal wees."
msgstr "Die waarde “%(value)s” moet n heelgetal wees."
msgid "Big (8 byte) integer"
msgstr "Groot (8 greep) heelgetal"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' waarde moet óf True of False wees."
msgstr "Die waarde “%(value)s” moet óf True (waar) óf False (vals) wees."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "Die waarde “%(value)s” moet True, False of None wees."
msgid "Boolean (Either True or False)"
msgstr "Boole (Eder waar of vals)"
msgstr "Boole (True of False)"
#, python-format
msgid "String (up to %(max_length)s)"
msgstr "String (tot %(max_length)s)"
msgstr "String (hoogstens %(max_length)s karakters)"
msgid "Comma-separated integers"
msgstr "Kommas geskeide heelgetalle"
msgstr "Heelgetalle geskei met kommas"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s' waarde het 'n ongeldige datumformaat. Dit met in die JJJJ-MM-DD "
"formaat wees."
"Die waarde “%(value)s” het n ongeldige datumformaat. Dit moet in die "
"formaat JJJJ-MM-DD wees."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"'%(value)s' waarde het die korrekte formaat (JJJJ-MM-DD), maar dit is 'n "
"Die waarde “%(value)s” het die korrekte formaat (JJJJ-MM-DD), maar dit is n "
"ongeldige datum."
msgid "Date (without time)"
@ -475,23 +510,23 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"'%(value)s' waarde se formaat is ongeldig. Dit moet in JJJJ-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] formaat wees."
"Die waarde “%(value)s” se formaat is ongeldig. Dit moet in die formaat JJJJ-"
"MM-DD HH:MM[:ss[.uuuuuu]][TZ] wees."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"'%(value)s' waarde het die korrekte formaat (JJJJ-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) maar dit is 'n ongeldige datum/tyd."
"Die waarde “%(value)s” het die korrekte formaat (JJJJ-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ]) maar dit is n ongeldige datum/tyd."
msgid "Date (with time)"
msgstr "Datum (met die tyd)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "'%(value)s' waarde moet 'n desimale getal wees."
msgstr "Die waarde “%(value)s” moet n desimale getal wees."
msgid "Decimal number"
msgstr "Desimale getal"
@ -501,45 +536,47 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"uuuuuu] format."
msgstr ""
"Die waarde “%(value)s” het n ongeldige formaat. Dit moet in die formaat "
"[DD] [HH:[MM:]]ss[.uuuuuu] wees."
msgid "Duration"
msgstr ""
msgstr "Duur"
msgid "Email address"
msgstr "E-pos adres"
msgstr "E-posadres"
msgid "File path"
msgstr "Lêer pad"
msgstr "Lêerpad"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "'%(value)s' waarde meote 'n dryfpunt getal wees."
msgstr "Die waarde “%(value)s” moete n dryfpuntgetal wees."
msgid "Floating point number"
msgstr "Dryfpunt getal"
msgstr "Dryfpuntgetal"
msgid "IPv4 address"
msgstr "IPv4 adres"
msgstr "IPv4-adres"
msgid "IP address"
msgstr "IP adres"
msgstr "IP-adres"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "'%(value)s' waarde moet óf None, True of False wees."
msgstr "Die waarde “%(value)s” moet None, True of False wees."
msgid "Boolean (Either True, False or None)"
msgstr "Boole (Eder waar, vals of niks)"
msgstr "Boole (True, False, of None)"
msgid "Positive integer"
msgstr "Positiewe heelgetal"
msgid "Positive small integer"
msgstr "Positiewe klein heelgetal"
msgstr "Klein positiewe heelgetal"
#, python-format
msgid "Slug (up to %(max_length)s)"
msgstr "Slug (tot by %(max_length)s)"
msgstr "Slug (tot en met %(max_length)s karakters)"
msgid "Small integer"
msgstr "Klein heelgetal"
@ -552,16 +589,16 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"'%(value)s' waarde se formaat is ongeldig. Dit moet in HH:MM[:ss[.uuuuuu]] "
"formaat wees."
"Die waarde “%(value)s” se formaat is ongeldig. Dit moet in die formaat HH:"
"MM[:ss[.uuuuuu]] wees."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"'%(value)s' waarde het die regte formaat (HH:MM[:ss[.uuuuuu]]) maar is nie "
"'n geldige tyd nie."
"Die waarde “%(value)s” het die regte formaat (HH:MM[:ss[.uuuuuu]]) maar is "
"nie n geldige tyd nie."
msgid "Time"
msgstr "Tyd"
@ -574,7 +611,10 @@ msgstr "Rou binêre data"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr ""
msgstr "“%(value)s” is nie n geldige UUID nie."
msgid "Universally unique identifier"
msgstr "Universeel unieke identifiseerder"
msgid "File"
msgstr "Lêer"
@ -584,7 +624,7 @@ msgstr "Prent"
#, python-format
msgid "%(model)s instance with %(field)s %(value)r does not exist."
msgstr ""
msgstr "%(model)s-objek met %(field)s %(value)r bestaan nie."
msgid "Foreign Key (type determined by related field)"
msgstr "Vreemde sleutel (tipe bepaal deur verwante veld)"
@ -594,11 +634,11 @@ msgstr "Een-tot-een-verhouding"
#, python-format
msgid "%(from)s-%(to)s relationship"
msgstr ""
msgstr "%(from)s-%(to)s-verwantskap"
#, python-format
msgid "%(from)s-%(to)s relationships"
msgstr ""
msgstr "%(from)s-%(to)s-verwantskappe"
msgid "Many-to-many relationship"
msgstr "Baie-tot-baie-verwantskap"
@ -610,29 +650,30 @@ msgid ":?.!"
msgstr ":?.!"
msgid "This field is required."
msgstr "Die veld is verpligtend."
msgstr "Dié veld is verpligtend."
msgid "Enter a whole number."
msgstr "Sleutel 'n hele getal in."
msgid "Enter a number."
msgstr "Sleutel 'n nommer in."
msgstr "Tik n heelgetal in."
msgid "Enter a valid date."
msgstr "Sleutel 'n geldige datum in."
msgstr "Tik n geldige datum in."
msgid "Enter a valid time."
msgstr "Sleutel 'n geldige tyd in."
msgstr "Tik n geldige tyd in."
msgid "Enter a valid date/time."
msgstr "Sleutel 'n geldige datum/tyd in."
msgstr "Tik n geldige datum/tyd in."
msgid "Enter a valid duration."
msgstr ""
msgstr "Tik n geldige tydsduur in."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Die aantal dae moet tussen {min_days} en {max_days} wees."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"Geen lêer is ingedien nie. Maak seker die kodering tipe op die vorm is reg."
"Geen lêer is ingedien nie. Maak seker die koderingtipe op die vorm is reg."
msgid "No file was submitted."
msgstr "Geen lêer is ingedien nie."
@ -645,35 +686,35 @@ msgid "Ensure this filename has at most %(max)d character (it has %(length)d)."
msgid_plural ""
"Ensure this filename has at most %(max)d characters (it has %(length)d)."
msgstr[0] ""
"Maak seker hierdie lêernaam het op die meeste %(max)d karakter (dit het "
"Maak seker hierdie lêernaam het hoogstens %(max)d karakter (dit het "
"%(length)d)."
msgstr[1] ""
"Maak seker hierdie lêernaam het op die meeste %(max)d karakters (dit het "
"Maak seker hierdie lêernaam het hoogstens %(max)d karakters (dit het "
"%(length)d)."
msgid "Please either submit a file or check the clear checkbox, not both."
msgstr "Stuur die lêer of tiek die maak skoon boksie, nie beide nie."
msgstr "Dien die lêer in óf merk die Maak skoon-boksie, nie altwee nie."
msgid ""
"Upload a valid image. The file you uploaded was either not an image or a "
"corrupted image."
msgstr ""
"Laai 'n geldige prent. Die lêer wat jy opgelaai het is nie 'n prent nie of "
"dit is 'n korrupte prent."
"Laai n geldige prent. Die lêer wat jy opgelaai het, is nie n prent nie of "
"dit is n korrupte prent."
#, python-format
msgid "Select a valid choice. %(value)s is not one of the available choices."
msgstr ""
"Kies 'n geldige keuse. %(value)s is nie een van die beskikbare keuses nie."
"Kies 'n geldige keuse. %(value)s is nie een van die beskikbare keuses nie."
msgid "Enter a list of values."
msgstr "Sleatel 'n lys van waardes in."
msgstr "Tik n lys waardes in."
msgid "Enter a complete value."
msgstr "Sleutel 'n volledige waarde in."
msgstr "Tik n volledige waarde in."
msgid "Enter a valid UUID."
msgstr ""
msgstr "Tik n geldig UUID in."
#. Translators: This is the default suffix added to form field labels
msgid ":"
@ -684,7 +725,7 @@ msgid "(Hidden field %(name)s) %(error)s"
msgstr "(Versteekte veld %(name)s) %(error)s"
msgid "ManagementForm data is missing or has been tampered with"
msgstr ""
msgstr "Die ManagementForm-data ontbreek of is mee gepeuter"
#, python-format
msgid "Please submit %d or fewer forms."
@ -706,11 +747,11 @@ msgstr "Verwyder"
#, python-format
msgid "Please correct the duplicate data for %(field)s."
msgstr "Korrigeer die dubbele data vir %(field)s ."
msgstr "Korrigeer die dubbele data vir %(field)s."
#, python-format
msgid "Please correct the duplicate data for %(field)s, which must be unique."
msgstr "Korrigeer die dubbele data vir %(field)s , dit moet uniek wees."
msgstr "Korrigeer die dubbele data vir %(field)s, dit moet uniek wees."
#, python-format
msgid ""
@ -718,31 +759,33 @@ msgid ""
"for the %(lookup)s in %(date_field)s."
msgstr ""
"Korrigeer die dubbele data vir %(field_name)s, dit moet uniek wees vir die "
"%(lookup)s in %(date_field)s ."
"%(lookup)s in %(date_field)s."
msgid "Please correct the duplicate values below."
msgstr "Korrigeer die dubbele waardes hieronder."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"Die inlyn vreemde sleutel stem nie ooreen met die ouer primêre sleutel."
msgid "The inline value did not match the parent instance."
msgstr "Die waarde inlyn pas nie by die ouerobjek nie."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Kies 'n geldige keuse. Daardie keuse is nie een van die beskikbare keuses "
"Kies n geldige keuse. Daardie keuse is nie een van die beskikbare keuses "
"nie."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" is nie 'n geldige waarde vir 'n primêre sleutel nie."
msgid "\"%(pk)s\" is not a valid value."
msgstr "“%(pk)s” is nie 'n geldige waarde nie."
#, python-format
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"%(datetime)s kon nie in tydsone %(current_timezone)s vertolk word nie; dit "
"mag dubbelsinnig wees, of nie bestaan nie."
"%(datetime)s kon nie in die tydsone %(current_timezone)s vertolk word nie; "
"dit is dalk dubbelsinnig, of bestaan nie."
msgid "Clear"
msgstr "Maak skoon"
msgid "Currently"
msgstr "Tans"
@ -750,9 +793,6 @@ msgstr "Tans"
msgid "Change"
msgstr "Verander"
msgid "Clear"
msgstr "Maak skoon"
msgid "Unknown"
msgstr "Onbekend"
@ -792,10 +832,10 @@ msgid "%s PB"
msgstr "%s PB"
msgid "p.m."
msgstr "nm"
msgstr "nm."
msgid "a.m."
msgstr "vm"
msgstr "vm."
msgid "PM"
msgstr "NM"
@ -894,7 +934,7 @@ msgid "feb"
msgstr "feb"
msgid "mar"
msgstr "mar"
msgstr "mrt"
msgid "apr"
msgstr "apr"
@ -1020,19 +1060,19 @@ msgid "December"
msgstr "Desember"
msgid "This is not a valid IPv6 address."
msgstr "HIerdie is nie 'n geldige IPv6-adres nie."
msgstr "Hierdie is nie n geldige IPv6-adres nie."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "of"
#. Translators: This string is used as a separator between list elements
msgid ", "
msgstr ","
msgstr ", "
#, python-format
msgid "%d year"
@ -1074,10 +1114,10 @@ msgid "0 minutes"
msgstr "0 minute"
msgid "Forbidden"
msgstr "Verbied"
msgstr "Verbode"
msgid "CSRF verification failed. Request aborted."
msgstr ""
msgstr "CSRF-verifikasie het misluk. Versoek is laat val."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
@ -1085,57 +1125,67 @@ msgid ""
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"U sien hierdie boodskap omdat dié HTTPS-werf vereis dat u blaaier n "
"“Referer header” moet stuur, maar dit is nie gestuur nie. Hierdie header is "
"vir sekuriteitsredes nodig om te verseker dat u blaaier nie deur derde "
"partye gekaap is nie."
msgid ""
"If you have configured your browser to disable 'Referer' headers, please re-"
"enable them, at least for this site, or for HTTPS connections, or for 'same-"
"origin' requests."
msgstr ""
"As “Referer headers” in u blaaier gedeaktiveer is, heraktiveer hulle asb. "
"ten minste vir dié werf, of vir HTTPS-verbindings, of vir “same-origin”-"
"versoeke."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Indien u die <meta name=\"referrer\" content=\"no-referrer\">-etiket gebruik "
"of die “Referrer-Policy: no-referrer header” gebruik, verwyder hulle asb. "
"Die CSRF-beskerming vereis die “Referer header” om streng kontrole van die "
"verwysende bladsy te doen. Indien u besorg is oor privaatheid, gebruik "
"alternatiewe soos <a rel=\"noreferrer\" ...> vir skakels na "
"derdepartywebwerwe."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
"that your browser is not being hijacked by third parties."
msgstr ""
"U sien hierdie boodskap omdat dié werf n CSRF-koekie benodig wanneer vorms "
"ingedien word. Dié koekie word vir sekuriteitsredes benodig om te te "
"verseker dat u blaaier nie deur derde partye gekaap word nie."
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
msgstr ""
"Indien koekies in u blaaier gedeaktiveer is, heraktiveer hulle asb ten "
"minste vir dié werf, of vir “same-origin”-versoeke."
msgid "More information is available with DEBUG=True."
msgstr "Meer inligting is beskikbaar met DEBUG=True."
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Of course, you haven't actually done any work yet. Next, start your first "
"app by running <code>python manage.py startapp [app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "Geen jaar gespesifiseer"
msgstr "Geen jaar gespesifiseer nie"
msgid "Date out of range"
msgstr "Datum buite omvang"
msgid "No month specified"
msgstr "Geen maand gespesifiseer"
msgstr "Geen maand gespesifiseer nie"
msgid "No day specified"
msgstr "Geen dag gespesifiseer"
msgstr "Geen dag gespesifiseer nie"
msgid "No week specified"
msgstr "Geen week gespesifiseer"
msgstr "Geen week gespesifiseer nie"
#, python-format
msgid "No %(verbose_name_plural)s available"
@ -1146,13 +1196,12 @@ msgid ""
"Future %(verbose_name_plural)s not available because %(class_name)s."
"allow_future is False."
msgstr ""
"Toekomstige %(verbose_name_plural)s is nie beskikbaar nie, omdat "
"Toekomstige %(verbose_name_plural)s is nie beskikbaar nie, omdat "
"%(class_name)s.allow_future vals is."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr ""
"Ongeldige datum string '%(datestr)s' die formaat moet wees '%(format)s'"
msgstr "Ongeldige datumstring “%(datestr)s” vir formaat “%(format)s”"
#, python-format
msgid "No %(verbose_name)s found matching the query"
@ -1160,8 +1209,7 @@ msgstr "Geen %(verbose_name)s gevind vir die soektog"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr ""
"Bladsy is nie 'laaste' nie, en dit kan nie omgeskakel word na 'n heelgetal "
"nie."
"Bladsy is nie “last” nie, en dit kan nie omgeskakel word na n heelgetal nie."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
@ -1169,15 +1217,59 @@ msgstr "Ongeldige bladsy (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Leë lys en ' %(class_name)s.allow_empty' is vals."
msgstr "Leë lys en “%(class_name)s.allow_empty” is vals."
msgid "Directory indexes are not allowed here."
msgstr "Gids indekse word nie hier toegelaat nie."
msgstr "Gidsindekse word nie hier toegelaat nie."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" bestaan nie"
msgstr "“%(path)s” bestaan nie"
#, python-format
msgid "Index of %(directory)s"
msgstr "Indeks van %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: die webraamwerk vir perfeksioniste met sperdatums."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Sien die <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">vrystellingsnotas</a> vir Django "
"%(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "Die installasie was suksesvol! Geluk!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"U sien dié bladsy omdat <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> in die settings-lêer is en geen URLe opgestel is nie."
msgid "Django Documentation"
msgstr "Django-dokumentasie"
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr "Kom aan die gang met Django"
msgid "Django Community"
msgstr "Django-gemeenskap"
msgid "Connect, get help, or contribute"
msgstr "Kontak, kry hulp om dra by"

View File

@ -10,8 +10,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-20 09:03+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Arabic (http://www.transifex.com/django/django/language/ar/)\n"
"MIME-Version: 1.0\n"
@ -318,6 +318,7 @@ msgstr "أدخل رقم صالح."
msgid "Enter a valid email address."
msgstr "أدخل عنوان بريد إلكتروني صحيح."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr "أدخل اختصار 'slug' صحيح يتكوّن من أحرف، أرقام، شرطات سفلية وعاديّة."
@ -441,6 +442,9 @@ msgid ""
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "و"
@ -787,15 +791,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "رجاءً صحّح القيم المُكرّرة أدناه."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "حقل foreign key المحدد لا يطابق الحقل الرئيسي له."
msgid "The inline value did not match the parent instance."
msgstr ""
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "انتق خياراً صحيحاً. اختيارك ليس أحد الخيارات المتاحة."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" قيمة غير صحيحة للرقم المرجعي."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
msgid ""
@ -1187,6 +1191,14 @@ msgstr ""
"بالنسبة لهذا الموقع، أو لاتصالات HTTPS، أو للطلبات من نفس المنشأ 'same-"
"origin'."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1206,30 +1218,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "يتوفر مزيد من المعلومات عند ضبط الخيار DEBUG=True."
msgid "Welcome to Django"
msgstr "مرحبا بك في جانغو"
msgid "It worked!"
msgstr "أنه فعّال!"
msgid "Congratulations on your first Django-powered page."
msgstr "تهانينا على صفحتك الأولى بدعم من جانغو."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"تظهر لك هذه الرسالة لأنه لديك <code>DEBUG = True</code> في ملف إعدادات جانغو "
"الخاص بك، و ايضا لعدم تكوين أي عناوين المواقع. إبدأ العمل!"
msgid "No year specified"
msgstr "لم تحدد السنة"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "لم تحدد الشهر"
@ -1280,3 +1274,41 @@ msgstr "المسار \"%(path)s\" غير موجود."
#, python-format
msgid "Index of %(directory)s"
msgstr "فهرس لـ %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F، Y'
TIME_FORMAT = 'g:i A'
# DATETIME_FORMAT =
@ -15,7 +12,7 @@ SHORT_DATE_FORMAT = 'd/m/Y'
# FIRST_DAY_OF_WEEK =
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
# DATE_INPUT_FORMATS =
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 08:31+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Asturian (http://www.transifex.com/django/django/language/"
"ast/)\n"
@ -293,6 +293,15 @@ msgstr ""
msgid "Syndication"
msgstr ""
msgid "That page number is not an integer"
msgstr ""
msgid "That page number is less than 1"
msgstr ""
msgid "That page contains no results"
msgstr ""
msgid "Enter a valid value."
msgstr "Introduz un valor válidu."
@ -305,6 +314,7 @@ msgstr ""
msgid "Enter a valid email address."
msgstr "Introduz una direición de corréu válida."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -390,6 +400,15 @@ msgstr[0] ""
msgstr[1] ""
"Asegúrate que nun hai más de %(max)s díxitos enantes del puntu decimal."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "y"
@ -707,9 +726,8 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Por favor, igua los valores duplicaos embaxo"
msgid "The inline foreign key did not match the parent instance primary key."
msgid "The inline value did not match the parent instance."
msgstr ""
"La calve foriata en llinia nun concasa cola clave primaria d'instancia pá."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
@ -717,8 +735,8 @@ msgstr ""
"disponibles."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" nun ye un valor válidu pa la clave primaria."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
msgid ""
@ -728,15 +746,15 @@ msgstr ""
"Nun pudo interpretase %(datetime)s nel fusu horariu %(current_timezone)s; "
"pue ser ambiguu o pue nun esistir."
msgid "Clear"
msgstr "Llimpiar"
msgid "Currently"
msgstr "Anguaño"
msgid "Change"
msgstr "Camudar"
msgid "Clear"
msgstr "Llimpiar"
msgid "Unknown"
msgstr "Desconocíu"
@ -1076,6 +1094,14 @@ msgid ""
"origin' requests."
msgstr ""
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1090,28 +1116,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr ""
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Of course, you haven't actually done any work yet. Next, start your first "
"app by running <code>python manage.py startapp [app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "Nun s'especificó l'añu"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Nun s'especificó'l mes"
@ -1162,3 +1172,41 @@ msgstr "\"%(path)s\" nun esiste"
#, python-format
msgid "Index of %(directory)s"
msgstr "Índiz de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,15 +1,16 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Emin Mastizada <emin@linux.com>, 2018
# Emin Mastizada <emin@linux.com>, 2015-2016
# Metin Amiroff <amiroff@gmail.com>, 2011
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-20 09:03+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-09-09 12:46+0000\n"
"Last-Translator: Emin Mastizada <emin@linux.com>\n"
"Language-Team: Azerbaijani (http://www.transifex.com/django/django/language/"
"az/)\n"
"MIME-Version: 1.0\n"
@ -159,6 +160,9 @@ msgstr "Yaponca"
msgid "Georgian"
msgstr "Gürcücə"
msgid "Kabyle"
msgstr "Kabile"
msgid "Kazakh"
msgstr "Qazax"
@ -295,13 +299,13 @@ msgid "Syndication"
msgstr "Sindikasiya"
msgid "That page number is not an integer"
msgstr ""
msgstr "Səhifə nömrəsi rəqəm deyil"
msgid "That page number is less than 1"
msgstr ""
msgstr "Səhifə nömrəsi 1-dən balacadır"
msgid "That page contains no results"
msgstr ""
msgstr "Səhifədə nəticə yoxdur"
msgid "Enter a valid value."
msgstr "Düzgün qiymət daxil edin."
@ -315,6 +319,7 @@ msgstr "Düzgün rəqəm daxil edin."
msgid "Enter a valid email address."
msgstr "Düzgün e-poçt ünvanı daxil edin."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -382,6 +387,9 @@ msgstr[1] ""
"Bu dəyərin ən çox %(limit_value)d simvol olduğuna əmin olun (%(show_value)d "
"var)"
msgid "Enter a number."
msgstr "Ədəd daxil edin."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -407,6 +415,11 @@ msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
"'%(extension)s' fayl uzantısına icazə verilmir. İcazə verilən fayl "
"uzantıları: '%(allowed_extensions)s'"
msgid "Null characters are not allowed."
msgstr "Null simvollara icazə verilmir."
msgid "and"
msgstr "və"
@ -456,6 +469,10 @@ msgstr "Böyük (8 bayt) tam ədəd"
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' dəyəri True və ya False olmalıdır."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "'%(value)s' dəyəri True, False və ya None olmalıdır."
msgid "Boolean (Either True or False)"
msgstr "Bul (ya Doğru, ya Yalan)"
@ -471,15 +488,14 @@ msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s' dəyəri səhv tarix formatındadır. Bu İİİİ-AA-GG formatında "
"olmalıdır."
"'%(value)s' dəyəri səhv tarix formatındadır. Formatı YYYY-MM-DD olmalıdır."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"'%(value)s dəyəri düzgün formatdadır (İİİİ-AA-GG) amma bu xətalı tarixdir."
"'%(value)s dəyəri düzgün formatdadır (YYYY-MM-DD) amma bu xətalı tarixdir."
msgid "Date (without time)"
msgstr "Tarix (saatsız)"
@ -489,19 +505,23 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"'%(value)s' dəyərinin formatı səhvdir. Formatı YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ] olmalıdır."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"'%(value)s' dəyərinin formatı düzgündür (YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]) "
"ancaq tarix səhvdir."
msgid "Date (with time)"
msgstr "Tarix (vaxt ilə)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr ""
msgstr "'%(value)s' dəyəri decimal rəqəm olmalıdır."
msgid "Decimal number"
msgstr "Rasional ədəd"
@ -511,6 +531,8 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"uuuuuu] format."
msgstr ""
"'%(value)s' dəyərinin formatı səhvdir. Formatı [DD] [HH:[MM:]]ss[.uuuuuu] "
"olmalıdır."
msgid "Duration"
msgstr "Müddət"
@ -523,7 +545,7 @@ msgstr "Faylın ünvanı"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr ""
msgstr "'%(value)s' dəyəri float olmalıdır."
msgid "Floating point number"
msgstr "Sürüşən vergüllü ədəd"
@ -536,7 +558,7 @@ msgstr "IP ünvan"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr ""
msgstr "'%(value)s' dəyəri None, True və ya False olmalıdır."
msgid "Boolean (Either True, False or None)"
msgstr "Bul (Ya Doğru, ya Yalan, ya da Heç nə)"
@ -562,12 +584,15 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"'%(value)s' dəyərinin formatı səhvdir. Formatı HH:MM[:ss[.uuuuuu]] olmalıdır."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"'%(value)s' dəyəri düzgün formatdadır (HH:MM[:ss[.uuuuuu]]), ancaq vaxtı "
"səhvdir."
msgid "Time"
msgstr "Vaxt"
@ -576,7 +601,7 @@ msgid "URL"
msgstr "URL"
msgid "Raw binary data"
msgstr ""
msgstr "Düz ikili (binary) məlumat"
#, python-format
msgid "'%(value)s' is not a valid UUID."
@ -590,7 +615,7 @@ msgstr "Şəkil"
#, python-format
msgid "%(model)s instance with %(field)s %(value)r does not exist."
msgstr ""
msgstr "%(field)s dəyəri %(value)r olan %(model)s mövcud deyil."
msgid "Foreign Key (type determined by related field)"
msgstr "Xarici açar (bağlı olduğu sahəyə uyğun tipi alır)"
@ -600,11 +625,11 @@ msgstr "Birin-birə münasibət"
#, python-format
msgid "%(from)s-%(to)s relationship"
msgstr ""
msgstr "%(from)s-%(to)s əlaqəsi"
#, python-format
msgid "%(from)s-%(to)s relationships"
msgstr ""
msgstr "%(from)s-%(to)s əlaqələri"
msgid "Many-to-many relationship"
msgstr "Çoxun-çoxa münasibət"
@ -621,9 +646,6 @@ msgstr "Bu sahə vacibdir."
msgid "Enter a whole number."
msgstr "Tam ədəd daxil edin."
msgid "Enter a number."
msgstr "Ədəd daxil edin."
msgid "Enter a valid date."
msgstr "Düzgün tarix daxil edin."
@ -636,6 +658,10 @@ msgstr "Düzgün tarix/vaxt daxil edin."
msgid "Enter a valid duration."
msgstr "Keçərli müddət daxil edin."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Günlərin sayı {min_days} ilə {max_days} arasında olmalıdır."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Fayl göndərilməyib. Vərəqənin (\"form\") şifrələmə tipini yoxlayın."
@ -650,7 +676,9 @@ msgid "Ensure this filename has at most %(max)d character (it has %(length)d)."
msgid_plural ""
"Ensure this filename has at most %(max)d characters (it has %(length)d)."
msgstr[0] ""
"Bu fayl adının ən çox %(max)d simvol olduğuna əmin olun (%(length)d var)."
msgstr[1] ""
"Bu fayl adının ən çox %(max)d simvol olduğuna əmin olun (%(length)d var)."
msgid "Please either submit a file or check the clear checkbox, not both."
msgstr ""
@ -685,7 +713,7 @@ msgid "(Hidden field %(name)s) %(error)s"
msgstr "(Gizli %(name)s sahəsi) %(error)s"
msgid "ManagementForm data is missing or has been tampered with"
msgstr ""
msgstr "ManagementForm məlumatları əksikdir və ya korlanıb"
#, python-format
msgid "Please submit %d or fewer forms."
@ -726,15 +754,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Aşağıda təkrarlanan qiymətlərə düzəliş edin."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Xarici açar ana obyektin əsas açarı ilə üst-üstə düşmür."
msgid "The inline value did not match the parent instance."
msgstr "Sətiriçi dəyər ana nüsxəyə uyğun deyil."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Düzgün seçim edin. Bu seçim mümkün deyil."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" əsas açar üçün keçərli dəyər deyil."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" düzgün dəyər deyil."
#, python-format
msgid ""
@ -1085,49 +1113,57 @@ msgid ""
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Bu HTTPS sayt səyyahınız tərəfindən 'Referer header' göndərilməsini tələb "
"edir, amma göndərilmir. Bu başlıq səyyahınızın üçüncü biri tərəfindən hack-"
"lənmədiyinə əmin olmaq üçün istifadə edilir."
msgid ""
"If you have configured your browser to disable 'Referer' headers, please re-"
"enable them, at least for this site, or for HTTPS connections, or for 'same-"
"origin' requests."
msgstr ""
"Əgər səyyahınızın 'Referer' başlığını göndərməsini söndürmüsünüzsə, lütfən "
"bu sayt üçün, HTTPS əlaqələr üçün və ya 'same-origin' sorğular üçün aktiv "
"edin."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Əgər <meta name=\"referrer\" content=\"no-referrer\"> etiketini və ya "
"'Referrer-Policy: no-referrer' başlığını işlədirsinizsə, lütfən silin. CSRF "
"qoruma dəqiq yönləndirən yoxlaması üçün 'Referer' başlığını tələb edir. Əgər "
"məxfilik üçün düşünürsünüzsə, üçüncü tərəf sayt keçidləri üçün <a rel="
"\"noreferrer\" ...> kimi bir alternativ işlədin."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
"that your browser is not being hijacked by third parties."
msgstr ""
"Bu sayt formaları göndərmək üçün CSRF çərəzini işlədir. Bu çərəz "
"səyyahınızın üçüncü biri tərəfindən hack-lənmədiyinə əmin olmaq üçün "
"istifadə edilir. "
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
msgstr ""
"Əgər səyyahınızda çərəzlər söndürülübsə, lütfən bu sayt və ya 'same-origin' "
"sorğular üçün aktiv edin."
msgid "More information is available with DEBUG=True."
msgstr "Daha ətraflı məlumat DEBUG=True ilə mövcuddur."
msgid "Welcome to Django"
msgstr "Djangoya Xoş Gəldiniz"
msgid "It worked!"
msgstr "İşlədi!"
msgid "Congratulations on your first Django-powered page."
msgstr "İlk Django ilə işləyən səhifəniz münasibəti ilə təbrik edirik."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "İl göstərilməyib"
msgid "Date out of range"
msgstr "Tarix aralığın xaricindədir"
msgid "No month specified"
msgstr "Ay göstərilməyib"
@ -1178,3 +1214,47 @@ msgstr "\"%(path)s\" mövcud deyil"
#, python-format
msgid "Index of %(directory)s"
msgstr "%(directory)s-nin indeksi"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: tələsən mükəmməlləkçilər üçün Web framework."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Django %(version)s üçün <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/releases/\" target=\"_blank\" rel=\"noopener\">buraxılış "
"qeydlərinə</a> baxın"
msgid "The install worked successfully! Congratulations!"
msgstr "Quruluş uğurla tamamlandı! Təbriklər!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Tənzimləmə faylınızda <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> və heç bir URL qurmadığınız üçün bu səhifəni görürsünüz."
msgid "Django Documentation"
msgstr "Django Sənədləri"
msgid "Topics, references, &amp; how-to's"
msgstr "Mövzular, istinadlar və nümunələr"
msgid "Tutorial: A Polling App"
msgstr "Məşğələ: Səsvermə Tətbiqi"
msgid "Get started with Django"
msgstr "Django-ya başla"
msgid "Django Community"
msgstr "Django İcması"
msgid "Connect, get help, or contribute"
msgstr "Qoşul, kömək al və dəstək ol"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j E Y'
TIME_FORMAT = 'G:i'
DATETIME_FORMAT = 'j E Y, G:i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd.m.Y H:i'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d.%m.%Y', # '25.10.2006'
'%d.%m.%y', # '25.10.06'

View File

@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-02-15 07:12+0000\n"
"POT-Creation-Date: 2017-12-01 21:10+0100\n"
"PO-Revision-Date: 2017-12-02 06:40+0000\n"
"Last-Translator: znotdead <zhirafchik@gmail.com>\n"
"Language-Team: Belarusian (http://www.transifex.com/django/django/language/"
"be/)\n"
@ -162,6 +162,9 @@ msgstr "Японская"
msgid "Georgian"
msgstr "Грузінская"
msgid "Kabyle"
msgstr "Кабільскі"
msgid "Kazakh"
msgstr "Казаская"
@ -318,6 +321,7 @@ msgstr "Увядзіце цэлы лік."
msgid "Enter a valid email address."
msgstr "Увядзіце сапраўдны адрас электроннай пошты."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr "Бірка можа зьмяшчаць літары, лічбы, знакі падкрэсьліваньня ды злучкі."
@ -429,6 +433,9 @@ msgstr ""
"Пашырэнне файла '%(extension)s' не дапускаецца. Дапушчальныя пашырэння: "
"'%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Null сімвалы не дапускаюцца."
msgid "and"
msgstr "і"
@ -770,15 +777,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Выпраўце зьвесткі, якія паўтараюцца (гл. ніжэй)."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Вонкавы ключ не супадае з бацькоўскім першасным ключом."
msgid "The inline value did not match the parent instance."
msgstr "Убудаванае значэнне не супадае з бацькоўскім значэннем."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Абярыце дазволенае. Абранага няма ў даступных значэньнях."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" мае недапушчальнае значэнне для першаснага ключа."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" не сапраўднае значэнне"
#, python-format
msgid ""
@ -1157,6 +1164,19 @@ msgstr ""
"загалоўкамі, калі ласка дазвольце іх хаця б для гэтага сайту, ці для HTTPS "
"злучэнняў, ці для 'same-origin' запытаў."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Калі вы выкарыстоўваеце <meta name=\"referrer\" content=\"no-referrer\"> тэг "
"ці дадалі загаловак 'Referrer-Policy: no-referrer', калі ласка выдаліце іх. "
"CSRF абароне неабходны 'Referer' загаловак для строгай праверкі. Калі Вы "
"турбуецеся аб прыватнасці, выкарыстоўвайце альтэрнатывы, напрыклад <a rel="
"\"noreferrer\" ...>, для спасылкі на сайты трэціх асоб."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1176,33 +1196,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Больш падрабязная інфармацыя даступная з DEBUG=True."
msgid "Welcome to Django"
msgstr "Вітаем у Django"
msgid "It worked!"
msgstr "Гэта спрацавала!"
msgid "Congratulations on your first Django-powered page."
msgstr "Віншуем Вас з першай старонкай на базе Django."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Затым пачніце сваю першую праграму, выканаўшы <code>python manage.py "
"startapp [app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Вы бачыце гэта паведамленне, таму што вы маеце <code>DEBUG = True</code> у "
"вашым файлу настройцы Django і вы не сканфігуравалі ніякіх спасылак URL. За "
"працу!"
msgid "No year specified"
msgstr "Не пазначылі год"
msgid "Date out of range"
msgstr "Дата выходзіць за межы дыяпазону"
msgid "No month specified"
msgstr "Не пазначылі месяц"
@ -1256,3 +1255,47 @@ msgstr "Шлях «%(path)s» не існуе."
#, python-format
msgid "Index of %(directory)s"
msgstr "Файлы каталёґа «%(directory)s»"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Джанга: Web рамкі для перфекцыяністаў з крайнімі тэрмінамі."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Паглядзець <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/"
"\" target=\"_blank\" rel=\"noopener\">заўвагі да выпуску</a> для Джангі "
"%(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "Усталяванне прайшло паспяхова! Віншаванні!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Вы бачыце гэту старонку таму што <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True </a> у вашым файле налад і вы не сканфігурыравалі ніякіх URL."
msgid "Django Documentation"
msgstr "Дакументацыя Джангі"
msgid "Topics, references, &amp; how-to's"
msgstr "Тэмы, спасылкі, &amp; як зрабіць"
msgid "Tutorial: A Polling App"
msgstr "Падручнік: Дадатак для галасавання"
msgid "Get started with Django"
msgstr "Пачніце з Джангаю"
msgid "Django Community"
msgstr "Джанга супольнасць"
msgid "Connect, get help, or contribute"
msgstr "Злучайцеся, атрымлівайце дапамогу, ці спрыяйце"

View File

@ -12,8 +12,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-25 23:04+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-17 09:05+0000\n"
"Last-Translator: Venelin Stoykov <vkstoykov@gmail.com>\n"
"Language-Team: Bulgarian (http://www.transifex.com/django/django/language/"
"bg/)\n"
@ -300,13 +300,13 @@ msgid "Syndication"
msgstr "Syndication"
msgid "That page number is not an integer"
msgstr ""
msgstr "Номерът на страницата не е цяло число"
msgid "That page number is less than 1"
msgstr ""
msgstr "Номерът на страницата е по-малък от 1"
msgid "That page contains no results"
msgstr ""
msgstr "В тази страница няма резултати"
msgid "Enter a valid value."
msgstr "Въведете валидна стойност. "
@ -320,6 +320,7 @@ msgstr "Въведете валидно число."
msgid "Enter a valid email address."
msgstr "Въведете валиден имейл адрес."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -416,6 +417,9 @@ msgstr ""
"Не са разрешени файлове с раширение '%(extension)s'. Позволените разширения "
"са: '%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "и"
@ -748,15 +752,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Моля, коригирайте повтарящите се стойности по-долу."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Невалидна избрана стойност."
msgid "The inline value did not match the parent instance."
msgstr ""
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Направете валиден избор. Този не е един от възможните избори. "
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" не е валидна стойност за първичен ключ."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
msgid ""
@ -1121,6 +1125,14 @@ msgstr ""
"ги активирате отново, поне за този сайт, или за HTTPS връзки, или за 'same-"
"origin' заявки."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1141,28 +1153,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Повече информация е на разположение с DEBUG=True."
msgid "Welcome to Django"
msgstr "Добре дошли в Django"
msgid "It worked!"
msgstr "Той работи!"
msgid "Congratulations on your first Django-powered page."
msgstr "Поздравления за първата си Django страница."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "Не е посочена година"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Не е посочен месец"
@ -1213,3 +1209,45 @@ msgstr "\"%(path)s\" не съществува"
#, python-format
msgid "Index of %(directory)s"
msgstr "Индекс %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: Фреймуоркът за перфекционисти с крайни срокове."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Вие виждате тази страница защото <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> е във вашият settings файл и не сте конфигурирали никакви "
"URL-и"
msgid "Django Documentation"
msgstr "Django Документация"
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr "Започнете с Django"
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'd F Y'
TIME_FORMAT = 'H:i'
# DATETIME_FORMAT =
@ -15,7 +12,7 @@ SHORT_DATE_FORMAT = 'd.m.Y'
# FIRST_DAY_OF_WEEK =
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
# DATE_INPUT_FORMATS =
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =

View File

@ -2,15 +2,15 @@
#
# Translators:
# Jannis Leidel <jannis@leidel.info>, 2011
# nsmgr8 <nasim.haque@gmail.com>, 2013
# M Nasimul Haque <nasim.haque@gmail.com>, 2013
# Tahmid Rafi <rafi.tahmid@gmail.com>, 2012-2013
# Tahmid Rafi <rafi.tahmid@gmail.com>, 2013
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-20 09:03+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Bengali (http://www.transifex.com/django/django/language/"
"bn/)\n"
@ -317,6 +317,7 @@ msgstr ""
msgid "Enter a valid email address."
msgstr "একটি বৈধ ইমেইল ঠিকানা লিখুন."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -398,6 +399,9 @@ msgid ""
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "এবং"
@ -707,14 +711,14 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr ""
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "ইনলাইন ফরেন কি টি প্যারেন্ট ইনস্ট্যান্সের প্রাইমারি কি এর সমান নয়।"
msgid "The inline value did not match the parent instance."
msgstr ""
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "এটি বৈধ নয়। অনুগ্রহ করে আরেকটি সিলেক্ট করুন।"
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
@ -1071,6 +1075,14 @@ msgid ""
"origin' requests."
msgstr ""
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1085,28 +1097,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr ""
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "কোন বছর উল্লেখ করা হয়নি"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "কোন মাস উল্লেখ করা হয়নি"
@ -1155,3 +1151,41 @@ msgstr "\"%(path)s\" এর অস্তিত্ব নেই"
#, python-format
msgid "Index of %(directory)s"
msgstr "%(directory)s এর ইনডেক্স"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F, Y'
TIME_FORMAT = 'g:i A'
# DATETIME_FORMAT =
@ -15,7 +12,7 @@ SHORT_DATE_FORMAT = 'j M, Y'
FIRST_DAY_OF_WEEK = 6 # Saturday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d/%m/%Y', # 25/10/2016
'%d/%m/%y', # 25/10/16

View File

@ -6,15 +6,19 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 08:31+0000\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-05-18 00:21+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Breton (http://www.transifex.com/django/django/language/br/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: br\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Plural-Forms: nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !"
"=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n"
"%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > "
"19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 "
"&& n % 1000000 == 0) ? 3 : 4);\n"
msgid "Afrikaans"
msgstr "Afrikaneg"
@ -157,6 +161,9 @@ msgstr "Japaneg"
msgid "Georgian"
msgstr "Jorjianeg"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "kazak"
@ -292,6 +299,15 @@ msgstr "Restroù statek"
msgid "Syndication"
msgstr "Sindikadur"
msgid "That page number is not an integer"
msgstr ""
msgid "That page number is less than 1"
msgstr ""
msgid "That page contains no results"
msgstr ""
msgid "Enter a valid value."
msgstr "Merkit un talvoud reizh"
@ -304,6 +320,7 @@ msgstr ""
msgid "Enter a valid email address."
msgstr "Merkit ur chomlec'h postel reizh"
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -350,6 +367,9 @@ msgid_plural ""
"%(show_value)d)."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
#, python-format
msgid ""
@ -360,18 +380,30 @@ msgid_plural ""
"%(show_value)d)."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
msgid "Enter a number."
msgstr "Merkit un niver."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
#, python-format
msgid "Ensure that there are no more than %(max)s decimal place."
msgid_plural "Ensure that there are no more than %(max)s decimal places."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
#, python-format
msgid ""
@ -380,6 +412,18 @@ msgid_plural ""
"Ensure that there are no more than %(max)s digits before the decimal point."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "ha"
@ -427,6 +471,10 @@ msgstr "Anterin bras (8 okted)"
msgid "'%(value)s' value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Boulean (gwir pe gaou)"
@ -589,9 +637,6 @@ msgstr "Rekis eo leuniañ ar vaezienn."
msgid "Enter a whole number."
msgstr "Merkit un niver anterin."
msgid "Enter a number."
msgstr "Merkit un niver."
msgid "Enter a valid date."
msgstr "Merkit un deiziad reizh"
@ -604,6 +649,10 @@ msgstr "Merkit un eur/deiziad reizh"
msgid "Enter a valid duration."
msgstr ""
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr ""
msgid "No file was submitted. Check the encoding type on the form."
msgstr "N'eus ket kaset restr ebet. Gwiriit ar seurt enkodañ evit ar restr"
@ -619,6 +668,9 @@ msgid_plural ""
"Ensure this filename has at most %(max)d characters (it has %(length)d)."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
msgid "Please either submit a file or check the clear checkbox, not both."
msgstr "Kasit ur restr pe askit al log riñsañ; an eil pe egile"
@ -659,12 +711,18 @@ msgid "Please submit %d or fewer forms."
msgid_plural "Please submit %d or fewer forms."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
#, python-format
msgid "Please submit %d or more forms."
msgid_plural "Please submit %d or more forms."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
msgid "Order"
msgstr "Urzh"
@ -693,16 +751,14 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Reizhañ ar roadennoù e doubl zo a-is"
msgid "The inline foreign key did not match the parent instance primary key."
msgid "The inline value did not match the parent instance."
msgstr ""
"Ne glot ket an alc'hwez estren enlinenn gant alc'hwez-mamm an urzhiataer "
"galloudel kar"
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Diuzit un dibab reizh. N'emañ ket an dibab-mañ e-touez ar re bosupl."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
@ -713,15 +769,15 @@ msgstr ""
"N'eo ket bete komprenet an talvoud %(datetime)s er werzhid eur "
"%(current_timezone)s; pe eo amjestr pe n'eus ket anezhañ."
msgid "Clear"
msgstr "Riñsañ"
msgid "Currently"
msgstr "Evit ar mare"
msgid "Change"
msgstr "Kemmañ"
msgid "Clear"
msgstr "Riñsañ"
msgid "Unknown"
msgstr "Dianav"
@ -739,6 +795,9 @@ msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d okted"
msgstr[1] "%(size)d okted"
msgstr[2] "%(size)d okted"
msgstr[3] "%(size)d okted"
msgstr[4] "%(size)d okted"
#, python-format
msgid "%s KB"
@ -1008,36 +1067,54 @@ msgid "%d year"
msgid_plural "%d years"
msgstr[0] "%d bloaz"
msgstr[1] "%d bloaz"
msgstr[2] "%d bloaz"
msgstr[3] "%d bloaz"
msgstr[4] "%d bloaz"
#, python-format
msgid "%d month"
msgid_plural "%d months"
msgstr[0] "%d miz"
msgstr[1] "%d miz"
msgstr[2] "%d miz"
msgstr[3] "%d miz"
msgstr[4] "%d miz"
#, python-format
msgid "%d week"
msgid_plural "%d weeks"
msgstr[0] "%d sizhun"
msgstr[1] "%d sizhun"
msgstr[2] "%d sizhun"
msgstr[3] "%d sizhun"
msgstr[4] "%d sizhun"
#, python-format
msgid "%d day"
msgid_plural "%d days"
msgstr[0] "%d deiz"
msgstr[1] "%d deiz"
msgstr[2] "%d deiz"
msgstr[3] "%d deiz"
msgstr[4] "%d deiz"
#, python-format
msgid "%d hour"
msgid_plural "%d hours"
msgstr[0] "%d eur"
msgstr[1] "%d eur"
msgstr[2] "%d eur"
msgstr[3] "%d eur"
msgstr[4] "%d eur"
#, python-format
msgid "%d minute"
msgid_plural "%d minutes"
msgstr[0] "%d munud"
msgstr[1] "%d munud"
msgstr[2] "%d munud"
msgstr[3] "%d munud"
msgstr[4] "%d munud"
msgid "0 minutes"
msgstr "0 munud"
@ -1061,6 +1138,14 @@ msgid ""
"origin' requests."
msgstr ""
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1075,28 +1160,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr ""
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Of course, you haven't actually done any work yet. Next, start your first "
"app by running <code>python manage.py startapp [app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "N'eus bet resisaet bloavezh ebet"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "N'eus bet resisaet miz ebet"
@ -1150,3 +1219,41 @@ msgstr "N'eus ket eus \"%(path)s\""
#, python-format
msgid "Index of %(directory)s"
msgstr "Meneger %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-20 09:03+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Bosnian (http://www.transifex.com/django/django/language/"
"bs/)\n"
@ -316,6 +316,7 @@ msgstr ""
msgid "Enter a valid email address."
msgstr ""
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -404,6 +405,9 @@ msgid ""
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "i"
@ -719,15 +723,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Ispravite duple vrijednosti dole."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Strani ključ se nije poklopio sa instancom roditeljskog ključa."
msgid "The inline value did not match the parent instance."
msgstr ""
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Odabrana vrijednost nije među ponuđenima. Odaberite jednu od ponuđenih."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
@ -1091,6 +1095,14 @@ msgid ""
"origin' requests."
msgstr ""
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1105,28 +1117,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr ""
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "Godina nije naznačena"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Mjesec nije naznačen"
@ -1175,3 +1171,41 @@ msgstr ""
#, python-format
msgid "Index of %(directory)s"
msgstr ""
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. N Y.'
TIME_FORMAT = 'G:i'
DATETIME_FORMAT = 'j. N. Y. G:i T'
@ -15,7 +12,7 @@ SHORT_DATE_FORMAT = 'Y M j'
# FIRST_DAY_OF_WEEK =
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
# DATE_INPUT_FORMATS =
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =

View File

@ -4,6 +4,7 @@
# Antoni Aloy <aaloy@apsl.net>, 2012,2015-2017
# Carles Barrobés <carles@barrobes.com>, 2011-2012,2014
# duub qnnp, 2015
# Gil Obradors Via <gil.obradors@gmail.com>, 2019
# Jannis Leidel <jannis@leidel.info>, 2011
# Manuel Miranda <manu.mirandad@gmail.com>, 2015
# Roger Pons <rogerpons@gmail.com>, 2015
@ -11,9 +12,9 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-02-14 07:18+0000\n"
"Last-Translator: Antoni Aloy <aaloy@apsl.net>\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-01-28 21:13+0000\n"
"Last-Translator: Gil Obradors Via <gil.obradors@gmail.com>\n"
"Language-Team: Catalan (http://www.transifex.com/django/django/language/"
"ca/)\n"
"MIME-Version: 1.0\n"
@ -142,6 +143,9 @@ msgstr "Upper Sorbian"
msgid "Hungarian"
msgstr "hongarès"
msgid "Armenian"
msgstr "Armeni"
msgid "Interlingua"
msgstr "Interlingua"
@ -163,6 +167,9 @@ msgstr "japonès"
msgid "Georgian"
msgstr "georgià"
msgid "Kabyle"
msgstr "Cabilenc"
msgid "Kazakh"
msgstr "Kazakh"
@ -319,6 +326,7 @@ msgstr "Introduïu un enter vàlid."
msgid "Enter a valid email address."
msgstr "Introdueix una adreça de correu electrònic vàlida"
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -386,6 +394,9 @@ msgstr[1] ""
"Assegureu-vos que aquest valor té com a molt %(limit_value)d caràcters (en "
"té %(show_value)d)."
msgid "Enter a number."
msgstr "Introduïu un número."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -416,6 +427,9 @@ msgstr ""
"L'extensió d'arxiu '%(extension)s' no es permesa. Les extensions permeses "
"són: '%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Caràcters nul no estan permesos."
msgid "and"
msgstr "i"
@ -463,6 +477,10 @@ msgstr "Enter gran (8 bytes)"
msgid "'%(value)s' value must be either True or False."
msgstr "El valor '%(value)s' ha de ser \"True\" o \"False\"."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "El valor '%(value)s' ha de ser cert, fals o cap."
msgid "Boolean (Either True or False)"
msgstr "Booleà (Cert o Fals)"
@ -600,6 +618,9 @@ msgstr "Dades binàries"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' no és un UUID vàlid."
msgid "Universally unique identifier"
msgstr "Identificador únic universal"
msgid "File"
msgstr "Arxiu"
@ -639,9 +660,6 @@ msgstr "Aquest camp és obligatori."
msgid "Enter a whole number."
msgstr "Introduïu un número sencer."
msgid "Enter a number."
msgstr "Introduïu un número."
msgid "Enter a valid date."
msgstr "Introduïu una data vàlida."
@ -654,6 +672,10 @@ msgstr "Introduïu una data/hora vàlides."
msgid "Enter a valid duration."
msgstr "Introdueixi una durada vàlida."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "El número de dies ha de ser entre {min_days} i {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"No s'ha enviat cap fitxer. Comproveu el tipus de codificació del formulari."
@ -750,18 +772,16 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Si us plau, corregiu els valors duplicats a sota."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"La clau forana en línia no coincideix amb la clau primària de la instància "
"mare."
msgid "The inline value did not match the parent instance."
msgstr "El valor en línia no coincideix la instancia mare ."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Esculli una opció vàlida. Aquesta opció no és una de les opcions disponibles."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" no és un valor vàlid per a una clau primària."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" no és un valor vàlid"
#, python-format
msgid ""
@ -1051,7 +1071,7 @@ msgstr "Aquesta no és una adreça IPv6 vàlida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s..."
msgid "or"
@ -1126,6 +1146,20 @@ msgstr ""
"sisplau torna-les a habilitar, com a mínim per a aquest lloc, o per a "
"connexions HTTPs, o per a peticions amb el mateix orígen."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Si utilitza l'etiqueta <meta name=\"referrer\" content=\"no-referrer\">o "
"inclou la capçalera 'Referrer-Policy: no-referrer' , si et plau elimina-la. "
"La protecció CSRF requereix la capçalera 'Referer' per a fer una "
"comprovació estricte. Si està preocupat en quan a la privacitat, utilitzi "
"alternatives com <a rel=\"noreferrer\" ...>per enllaçar a aplicacions de "
"tercers."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1147,32 +1181,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Més informació disponible amb DEBUG=True."
msgid "Welcome to Django"
msgstr "Benvingut a Django"
msgid "It worked!"
msgstr "Funciona!"
msgid "Congratulations on your first Django-powered page."
msgstr "Enhorabona per la teva primera plana amb Django."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Seguidament, inicii la seva primera aplicación executant <code>python manage."
"py startapp [app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Veieu aquest missatge perquè teniu <code>DEBUG = True</code> a la "
"configuració del Django settings i no heu configurat cap URL. A treballar!"
msgid "No year specified"
msgstr "No s'ha especificat any"
msgid "Date out of range"
msgstr "Data fora de rang"
msgid "No month specified"
msgstr "No s'ha especificat mes"
@ -1223,3 +1237,48 @@ msgstr "\"%(path)s\" no existeix"
#, python-format
msgid "Index of %(directory)s"
msgstr "Índex de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: l'entorn de treball per a perfeccionistes de temps rècord."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Visualitza <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/"
"\" target=\"_blank\" rel=\"noopener\">notes de llançament</a> per Django "
"%(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "La instal·lació ha estat un èxit! Felicitats!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Està veient aquesta pàgina degut a que el paràmetre <a href=\"https://docs."
"djangoproject.com/en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel="
"\"noopener\">DEBUG=True</a>consta al fitxer de configuració i no teniu "
"direccions URLs configurades."
msgid "Django Documentation"
msgstr "Documentació de Django"
msgid "Topics, references, &amp; how-to's"
msgstr "Temes, referències, &amp; Com es fa"
msgid "Tutorial: A Polling App"
msgstr "Programa d'aprenentatge: Una aplicació enquesta"
msgid "Get started with Django"
msgstr "Primers passos amb Django"
msgid "Django Community"
msgstr "Comunitat Django"
msgid "Connect, get help, or contribute"
msgstr "Connecta, obté ajuda, o col·labora"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'G:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\e\s G:i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd/m/Y G:i'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
# '31/12/2009', '31/12/09'
'%d/%m/%Y', '%d/%m/%y'

View File

@ -6,20 +6,21 @@
# Jirka Vejrazka <Jirka.Vejrazka@gmail.com>, 2011
# Tomáš Ehrlich <tomas.ehrlich@gmail.com>, 2015
# Vláďa Macek <macek@sandbox.cz>, 2012-2014
# Vláďa Macek <macek@sandbox.cz>, 2015-2017
# Vláďa Macek <macek@sandbox.cz>, 2015-2019
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-02-21 09:47+0000\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-02-19 07:53+0000\n"
"Last-Translator: Vláďa Macek <macek@sandbox.cz>\n"
"Language-Team: Czech (http://www.transifex.com/django/django/language/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
msgid "Afrikaans"
msgstr "afrikánsky"
@ -28,10 +29,10 @@ msgid "Arabic"
msgstr "arabsky"
msgid "Asturian"
msgstr "Asturian"
msgstr "asturštinou"
msgid "Azerbaijani"
msgstr "Ázerbájdžánština"
msgstr "ázerbájdžánštinou"
msgid "Bulgarian"
msgstr "bulharsky"
@ -64,7 +65,7 @@ msgid "German"
msgstr "německy"
msgid "Lower Sorbian"
msgstr "Dolnolužická srbština"
msgstr "dolnolužickou srbštinou"
msgid "Greek"
msgstr "řecky"
@ -91,10 +92,10 @@ msgid "Colombian Spanish"
msgstr "kolumbijskou španělštinou"
msgid "Mexican Spanish"
msgstr "Mexická španělština"
msgstr "mexickou španělštinou"
msgid "Nicaraguan Spanish"
msgstr "Nikaragujskou španělštinou"
msgstr "nikaragujskou španělštinou"
msgid "Venezuelan Spanish"
msgstr "venezuelskou španělštinou"
@ -136,11 +137,14 @@ msgid "Croatian"
msgstr "chorvatsky"
msgid "Upper Sorbian"
msgstr "Hornolužická srbština"
msgstr "hornolužickou srbštinou"
msgid "Hungarian"
msgstr "maďarsky"
msgid "Armenian"
msgstr "arménštinou"
msgid "Interlingua"
msgstr "interlingua"
@ -160,7 +164,10 @@ msgid "Japanese"
msgstr "japonsky"
msgid "Georgian"
msgstr "gruzínsky"
msgstr "gruzínštinou"
msgid "Kabyle"
msgstr "kabylštinou"
msgid "Kazakh"
msgstr "kazašsky"
@ -193,13 +200,13 @@ msgid "Mongolian"
msgstr "mongolsky"
msgid "Marathi"
msgstr "Marathi"
msgstr "marathi"
msgid "Burmese"
msgstr "barmštinou"
msgid "Norwegian Bokmål"
msgstr "Bokmål Norština"
msgstr "bokmål norštinou"
msgid "Nepali"
msgstr "nepálsky"
@ -274,7 +281,7 @@ msgid "Ukrainian"
msgstr "ukrajinsky"
msgid "Urdu"
msgstr "Urdština"
msgstr "urdsky"
msgid "Vietnamese"
msgstr "vietnamsky"
@ -318,6 +325,7 @@ msgstr "Zadejte platné celé číslo."
msgid "Enter a valid email address."
msgstr "Zadejte platnou e-mailovou adresu."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -368,6 +376,8 @@ msgstr[1] ""
"Tato hodnota má mít nejméně %(limit_value)d znaky (nyní má %(show_value)d)."
msgstr[2] ""
"Tato hodnota má mít nejméně %(limit_value)d znaků (nyní má %(show_value)d)."
msgstr[3] ""
"Tato hodnota má mít nejméně %(limit_value)d znaků (nyní má %(show_value)d)."
#, python-format
msgid ""
@ -382,6 +392,11 @@ msgstr[1] ""
"Tato hodnota má mít nejvýše %(limit_value)d znaky (nyní má %(show_value)d)."
msgstr[2] ""
"Tato hodnota má mít nejvýše %(limit_value)d znaků (nyní má %(show_value)d)."
msgstr[3] ""
"Tato hodnota má mít nejvýše %(limit_value)d znaků (nyní má %(show_value)d)."
msgid "Enter a number."
msgstr "Zadejte číslo."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
@ -389,6 +404,7 @@ msgid_plural "Ensure that there are no more than %(max)s digits in total."
msgstr[0] "Ujistěte se, že pole neobsahuje celkem více než %(max)s číslici."
msgstr[1] "Ujistěte se, že pole neobsahuje celkem více než %(max)s číslice."
msgstr[2] "Ujistěte se, že pole neobsahuje celkem více než %(max)s číslic."
msgstr[3] "Ujistěte se, že pole neobsahuje celkem více než %(max)s číslic."
#, python-format
msgid "Ensure that there are no more than %(max)s decimal place."
@ -396,6 +412,7 @@ msgid_plural "Ensure that there are no more than %(max)s decimal places."
msgstr[0] "Ujistěte se, že pole neobsahuje více než %(max)s desetinné místo."
msgstr[1] "Ujistěte se, že pole neobsahuje více než %(max)s desetinná místa."
msgstr[2] "Ujistěte se, že pole neobsahuje více než %(max)s desetinných míst."
msgstr[3] "Ujistěte se, že pole neobsahuje více než %(max)s desetinných míst."
#, python-format
msgid ""
@ -411,6 +428,9 @@ msgstr[1] ""
msgstr[2] ""
"Ujistěte se, že hodnota neobsahuje více než %(max)s míst před desetinnou "
"čárkou (tečkou)."
msgstr[3] ""
"Ujistěte se, že hodnota neobsahuje více než %(max)s míst před desetinnou "
"čárkou (tečkou)."
#, python-format
msgid ""
@ -420,6 +440,9 @@ msgstr ""
"Přípona souboru '%(extension)s' není povolena. Povolené jsou tyto: "
"'%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Nulové znaky nejsou povoleny."
msgid "and"
msgstr "a"
@ -471,6 +494,10 @@ msgstr "Velké číslo (8 bajtů)"
msgid "'%(value)s' value must be either True or False."
msgstr "Hodnota '%(value)s' musí být buď True nebo False."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "Hodnota '%(value)s' musí být buď True, False nebo None."
msgid "Boolean (Either True or False)"
msgstr "Pravdivost (buď Ano (True), nebo Ne (False))"
@ -605,6 +632,9 @@ msgstr "Přímá binární data"
msgid "'%(value)s' is not a valid UUID."
msgstr "\"%(value)s\" není platná hodnota typu UUID."
msgid "Universally unique identifier"
msgstr "Všeobecně jedinečný identifikátor"
msgid "File"
msgstr "Soubor"
@ -645,9 +675,6 @@ msgstr "Toto pole je třeba vyplnit."
msgid "Enter a whole number."
msgstr "Zadejte celé číslo."
msgid "Enter a number."
msgstr "Zadejte číslo."
msgid "Enter a valid date."
msgstr "Zadejte platné datum."
@ -660,6 +687,10 @@ msgstr "Zadejte platné datum a čas."
msgid "Enter a valid duration."
msgstr "Zadejte platnou délku trvání."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Počet dní musí být mezi {min_days} a {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"Soubor nebyl odeslán. Zkontrolujte parametr \"encoding type\" formuláře."
@ -680,6 +711,8 @@ msgstr[1] ""
"Tento název souboru má mít nejvýše %(max)d znaky (nyní má %(length)d)."
msgstr[2] ""
"Tento název souboru má mít nejvýše %(max)d znaků (nyní má %(length)d)."
msgstr[3] ""
"Tento název souboru má mít nejvýše %(max)d znaků (nyní má %(length)d)."
msgid "Please either submit a file or check the clear checkbox, not both."
msgstr "Musíte vybrat cestu k souboru nebo vymazat výběr, ne obojí."
@ -720,6 +753,7 @@ msgid_plural "Please submit %d or fewer forms."
msgstr[0] "Odešlete %d nebo méně formulářů."
msgstr[1] "Odešlete %d nebo méně formulářů."
msgstr[2] "Odešlete %d nebo méně formulářů."
msgstr[3] "Odešlete %d nebo méně formulářů."
#, python-format
msgid "Please submit %d or more forms."
@ -727,6 +761,7 @@ msgid_plural "Please submit %d or more forms."
msgstr[0] "Odešlete %d nebo více formulářů."
msgstr[1] "Odešlete %d nebo více formulářů."
msgstr[2] "Odešlete %d nebo více formulářů."
msgstr[3] "Odešlete %d nebo více formulářů."
msgid "Order"
msgstr "Pořadí"
@ -753,16 +788,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Odstraňte duplicitní hodnoty níže."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"Cizí klíč typu inline neodpovídá primárnímu klíči v rodičovské položce."
msgid "The inline value did not match the parent instance."
msgstr "Hodnota typu inline neodpovídá rodičovské položce."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Vyberte platnou možnost. Tato není k dispozici."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "Hodnota \"%(pk)s\" není platný primární klíč."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" není platná hodnota."
#, python-format
msgid ""
@ -799,6 +833,7 @@ msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d bajt"
msgstr[1] "%(size)d bajty"
msgstr[2] "%(size)d bajtů"
msgstr[3] "%(size)d bajtů"
#, python-format
msgid "%s KB"
@ -1053,8 +1088,8 @@ msgstr "Toto není platná adresa typu IPv6."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "nebo"
@ -1069,6 +1104,7 @@ msgid_plural "%d years"
msgstr[0] "%d rok"
msgstr[1] "%d roky"
msgstr[2] "%d let"
msgstr[3] "%d let"
#, python-format
msgid "%d month"
@ -1076,6 +1112,7 @@ msgid_plural "%d months"
msgstr[0] "%d měsíc"
msgstr[1] "%d měsíce"
msgstr[2] "%d měsíců"
msgstr[3] "%d měsíců"
#, python-format
msgid "%d week"
@ -1083,6 +1120,7 @@ msgid_plural "%d weeks"
msgstr[0] "%d týden"
msgstr[1] "%d týdny"
msgstr[2] "%d týdnů"
msgstr[3] "%d týdnů"
#, python-format
msgid "%d day"
@ -1090,6 +1128,7 @@ msgid_plural "%d days"
msgstr[0] "%d den"
msgstr[1] "%d dny"
msgstr[2] "%d dní"
msgstr[3] "%d dní"
#, python-format
msgid "%d hour"
@ -1097,6 +1136,7 @@ msgid_plural "%d hours"
msgstr[0] "%d hodina"
msgstr[1] "%d hodiny"
msgstr[2] "%d hodin"
msgstr[3] "%d hodin"
#, python-format
msgid "%d minute"
@ -1104,6 +1144,7 @@ msgid_plural "%d minutes"
msgstr[0] "%d minuta"
msgstr[1] "%d minuty"
msgstr[2] "%d minut"
msgstr[3] "%d minut"
msgid "0 minutes"
msgstr "0 minut"
@ -1134,6 +1175,19 @@ msgstr ""
"alespoň pro tento web nebo pro spojení typu HTTPS nebo pro požadavky typu "
"\"stejný původ\" (same origin)."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Pokud používáte značku <meta name=\"referrer\" content=\"no-referrer\"> nebo "
"záhlaví 'Referrer-Policy: no-referrer', odeberte je. Ochrana typu CSRF "
"vyžaduje, aby záhlaví zajišťovalo striktní hlídání refereru. Pokud je pro "
"vás soukromí důležité, použije k odkazům na cizí weby alternativní možnosti "
"jako například <a rel=\"noreferrer\" ...>."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1153,33 +1207,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "V případě zapnutí volby DEBUG=True bude k dispozici více informací."
msgid "Welcome to Django"
msgstr "Vítejte v systému Django"
msgid "It worked!"
msgstr "Funguje to!"
msgid "Congratulations on your first Django-powered page."
msgstr "Gratulujeme, toto je vaše první stránka generována v prostředí Django."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Nyní můžete začít práce na své první aplikaci spuštěním příkazu <code>python "
"manage.py startapp [identifikátor_aplikace]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Tuto zprávu vidíte, protože máte v nastavení Djanga zapnutý vývojový režim "
"<code>DEBUG = True</code> a zatím nemáte nastavena žádná URL. S chutí do "
"práce!"
msgid "No year specified"
msgstr "Nebyl specifikován rok"
msgid "Date out of range"
msgstr "Datum je mimo rozsah"
msgid "No month specified"
msgstr "Nebyl specifikován měsíc"
@ -1230,3 +1263,48 @@ msgstr "\"%(path)s\" neexistuje"
#, python-format
msgid "Index of %(directory)s"
msgstr "Index adresáře %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: Webový framework pro perfekcionisty, kteří mají termín"
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Zobrazit <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">poznámky k vydání</a> frameworku Django "
"%(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "Instalace proběhla úspěšně, gratulujeme!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Tuto zprávu vidíte, protože máte v nastavení Djanga zapnutý vývojový režim "
"<a href=\"https://docs.djangoproject.com/en/%(version)s/ref/settings/#debug"
"\" target=\"_blank\" rel=\"noopener\">DEBUG=True</a> a zatím nemáte "
"nastavena žádná URL."
msgid "Django Documentation"
msgstr "Dokumentace frameworku Django"
msgid "Topics, references, &amp; how-to's"
msgstr "Témata, odkazy &amp; how-to"
msgid "Tutorial: A Polling App"
msgstr "Tutoriál: Hlasovací aplikace"
msgid "Get started with Django"
msgstr "Začínáme s frameworkem Django"
msgid "Django Community"
msgstr "Komunita kolem frameworku Django"
msgid "Connect, get help, or contribute"
msgstr "Propojte se, získejte pomoc, podílejte se"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. E Y'
TIME_FORMAT = 'G:i'
DATETIME_FORMAT = 'j. E Y G:i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd.m.Y G:i'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d.%m.%Y', '%d.%m.%y', # '05.01.2006', '05.01.06'
'%d. %m. %Y', '%d. %m. %y', # '5. 1. 2006', '5. 1. 06'

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-20 09:03+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Welsh (http://www.transifex.com/django/django/language/cy/)\n"
"MIME-Version: 1.0\n"
@ -315,6 +315,7 @@ msgstr "Rhowch gyfanrif dilys."
msgid "Enter a valid email address."
msgstr "Rhowch gyfeiriad ebost dilys."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -423,6 +424,9 @@ msgid ""
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "a"
@ -758,10 +762,8 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Cywirwch y gwerthoedd dyblyg isod."
msgid "The inline foreign key did not match the parent instance primary key."
msgid "The inline value did not match the parent instance."
msgstr ""
"Nid yw'r allwedd estron mewnlin yn cydfynd gyda allwedd gynradd enghraifft y "
"rhiant."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
@ -769,8 +771,8 @@ msgstr ""
"gael."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "Nid yw \"%(pk)s\" yn werth dilys ar gyfer allwedd cynradd."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
msgid ""
@ -1148,6 +1150,14 @@ msgstr ""
"oleiaf ar gyfer y safle hwn neu ar gyfer cysylltiadau HTTPS neu ar gyfer "
"ceisiadau 'same-origin'."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1167,28 +1177,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Mae mwy o wybodaeth ar gael gyda DEBUG=True"
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "Dim blwyddyn wedii bennu"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Dim mis wedii bennu"
@ -1240,3 +1234,41 @@ msgstr "Nid yw \"%(path)s\" yn bodoli"
#, python-format
msgid "Index of %(directory)s"
msgstr "Mynegai %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y' # '25 Hydref 2006'
TIME_FORMAT = 'P' # '2:30 y.b.'
DATETIME_FORMAT = 'j F Y, P' # '25 Hydref 2006, 2:30 y.b.'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd/m/Y P' # '25/10/2006 2:30 y.b.'
FIRST_DAY_OF_WEEK = 1 # 'Dydd Llun'
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
]

View File

@ -3,7 +3,7 @@
# Translators:
# Christian Joergensen <christian@gmta.info>, 2012
# Danni Randeris <danniranderis+djangocore@gmail.com>, 2014
# Erik Wognsen <r4mses@gmail.com>, 2013-2017
# Erik Wognsen <r4mses@gmail.com>, 2013-2019
# Finn Gruwier Larsen, 2011
# Jannis Leidel <jannis@leidel.info>, 2011
# jonaskoelker <jonaskoelker@gnu.org>, 2012
@ -13,8 +13,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-20 22:58+0000\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-01-18 07:05+0000\n"
"Last-Translator: Erik Wognsen <r4mses@gmail.com>\n"
"Language-Team: Danish (http://www.transifex.com/django/django/language/da/)\n"
"MIME-Version: 1.0\n"
@ -143,6 +143,9 @@ msgstr "øvresorbisk"
msgid "Hungarian"
msgstr "ungarsk"
msgid "Armenian"
msgstr "armensk"
msgid "Interlingua"
msgstr "interlingua"
@ -164,6 +167,9 @@ msgstr "japansk"
msgid "Georgian"
msgstr "georgisk"
msgid "Kabyle"
msgstr "kabylsk"
msgid "Kazakh"
msgstr "kasakhisk"
@ -320,6 +326,7 @@ msgstr "Indtast et gyldigt heltal."
msgid "Enter a valid email address."
msgstr "Indtast en gyldig e-mail-adresse."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -381,6 +388,9 @@ msgstr[0] ""
msgstr[1] ""
"Denne værdi må højst have %(limit_value)d tegn (den har %(show_value)d)."
msgid "Enter a number."
msgstr "Indtast et tal."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -409,6 +419,9 @@ msgstr ""
"Filendelse '%(extension)s' er ikke tilladt. Tilladte filendelser er: "
"'%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Null-tegn er ikke tilladte."
msgid "and"
msgstr "og"
@ -456,6 +469,10 @@ msgstr "Stort heltal (8 byte)"
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s'-værdien skal være enten True eller False."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "'%(value)s' værdien skal være enten True, False eller None."
msgid "Boolean (Either True or False)"
msgstr "Boolsk (enten True eller False)"
@ -593,6 +610,9 @@ msgstr "Rå binære data"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' er ikke et gyldigt UUID."
msgid "Universally unique identifier"
msgstr "Universelt unik identifikator"
msgid "File"
msgstr "Fil"
@ -632,9 +652,6 @@ msgstr "Dette felt er påkrævet."
msgid "Enter a whole number."
msgstr "Indtast et heltal."
msgid "Enter a number."
msgstr "Indtast et tal."
msgid "Enter a valid date."
msgstr "Indtast en gyldig dato."
@ -647,6 +664,10 @@ msgstr "Indtast gyldig dato/tid."
msgid "Enter a valid duration."
msgstr "Indtast en gyldig varighed."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Antallet af dage skal være mellem {min_days} og {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Ingen fil blev indsendt. Kontroller kodningstypen i formularen."
@ -738,9 +759,8 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Ret venligst de duplikerede data herunder."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"Den indlejrede fremmednøgle passede ikke med forælderinstansens primærnøgle."
msgid "The inline value did not match the parent instance."
msgstr "Den indlejrede værdi passede ikke med forældreinstansen."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
@ -748,8 +768,8 @@ msgstr ""
"tilgængelige valgmuligheder."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" er ikke en gyldig værdi for en primærnøgle."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" er ikke en gyldig værdi."
#, python-format
msgid ""
@ -1039,8 +1059,8 @@ msgstr "Dette er ikke en gyldig IPv6-adresse."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "eller"
@ -1114,6 +1134,19 @@ msgstr ""
"dig slå dem til igen, i hvert fald for denne webside, eller for HTTPS-"
"forbindelser, eller for 'same-origin'-forespørgsler."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Hvis du bruger tagget <meta name=\"referrer\" content=\"no-referrer\"> eller "
"inkluderer headeren 'Referrer-Policy: no-referrer', så fjern dem venligst. "
"CSRF-beskyttelsen afhænger af at 'Referer'-headeren udfører stringent "
"referer-kontrol. Hvis du er bekymret om privatliv, så brug alternativer så "
"som <a rel=\"noreferrer\" ...> for links til tredjepartswebsider."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1133,32 +1166,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Mere information er tilgængeligt med DEBUG=True."
msgid "Welcome to Django"
msgstr "Velkommen til Django"
msgid "It worked!"
msgstr "Det virkede!"
msgid "Congratulations on your first Django-powered page."
msgstr "Tillykke med din første Django-drevne side."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Start derefter din første app ved at køre <code>python manage.py startapp "
"[app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Du ser denne besked fordi du har <code>DEBUG = True</code> i din Django "
"indstillingsfil og du har ikke konfigureret nogen URLs endnu. Kom i sving!"
msgid "No year specified"
msgstr "Intet år specificeret"
msgid "Date out of range"
msgstr "Dato uden for rækkevidde"
msgid "No month specified"
msgstr "Ingen måned specificeret"
@ -1209,3 +1222,46 @@ msgstr "\" %(path)s\" eksisterer ikke"
#, python-format
msgid "Index of %(directory)s"
msgstr "Indeks for %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: Webframework'et for perfektionister med deadlines."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Vis <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">udgivelsesnoter</a> for Django %(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "Installationen virkede! Tillykke!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Du ser denne side fordi du har <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> i din settings-fil og ikke har opsat nogen URL'er."
msgid "Django Documentation"
msgstr "Django-dokumentation"
msgid "Topics, references, &amp; how-to's"
msgstr "Emner, referencer &amp; how-to's"
msgid "Tutorial: A Polling App"
msgstr "Gennemgang: En afstemnings-app"
msgid "Get started with Django"
msgstr "Kom i gang med Django"
msgid "Django Community"
msgstr "Django-fællesskabet"
msgid "Connect, get help, or contribute"
msgstr "Forbind, få hjælp eller bidrag"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. F Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = 'j. F Y H:i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd.m.Y H:i'
FIRST_DAY_OF_WEEK = 1
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d.%m.%Y', # '25.10.2006'
]

View File

@ -3,18 +3,19 @@
# Translators:
# André Hagenbruch, 2011-2012
# Florian Apolloner <florian@apolloner.eu>, 2011
# Dunedan <dunedan@phoenitydawn.de>, 2016
# Jannis, 2011,2013
# Jannis Leidel <jannis@leidel.info>, 2013-2017
# Jannis, 2016
# Markus Holtermann <inyoka@markusholtermann.eu>, 2013,2015
# Daniel Roschka <dunedan@phoenitydawn.de>, 2016
# Florian Apolloner <florian@apolloner.eu>, 2018
# Jannis Vajen, 2011,2013
# Jannis Leidel <jannis@leidel.info>, 2013-2018
# Jannis Vajen, 2016
# Markus Holtermann <info@markusholtermann.eu>, 2013,2015
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-03-22 10:43+0000\n"
"Last-Translator: Markus Holtermann <inyoka@markusholtermann.eu>\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-08-14 08:25+0000\n"
"Last-Translator: Florian Apolloner <florian@apolloner.eu>\n"
"Language-Team: German (http://www.transifex.com/django/django/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -163,6 +164,9 @@ msgstr "Japanisch"
msgid "Georgian"
msgstr "Georgisch"
msgid "Kabyle"
msgstr "Kabylisch"
msgid "Kazakh"
msgstr "Kasachisch"
@ -319,6 +323,7 @@ msgstr "Bitte eine gültige Ganzzahl eingeben."
msgid "Enter a valid email address."
msgstr "Bitte gültige E-Mail-Adresse eingeben."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -348,7 +353,7 @@ msgstr "Bitte nur durch Komma getrennte Ziffern eingeben."
msgid "Ensure this value is %(limit_value)s (it is %(show_value)s)."
msgstr ""
"Bitte sicherstellen, dass der Wert %(limit_value)s ist. (Er ist "
"%(show_value)s)"
"%(show_value)s.)"
#, python-format
msgid "Ensure this value is less than or equal to %(limit_value)s."
@ -367,10 +372,10 @@ msgid_plural ""
"%(show_value)d)."
msgstr[0] ""
"Bitte sicherstellen, dass der Wert aus mindestens %(limit_value)d Zeichen "
"besteht. (Er besteht aus %(show_value)d Zeichen)."
"besteht. (Er besteht aus %(show_value)d Zeichen.)"
msgstr[1] ""
"Bitte sicherstellen, dass der Wert aus mindestens %(limit_value)d Zeichen "
"besteht. (Er besteht aus %(show_value)d Zeichen)."
"besteht. (Er besteht aus %(show_value)d Zeichen.)"
#, python-format
msgid ""
@ -381,10 +386,13 @@ msgid_plural ""
"%(show_value)d)."
msgstr[0] ""
"Bitte sicherstellen, dass der Wert aus höchstens %(limit_value)d Zeichen "
"besteht. (Er besteht aus %(show_value)d Zeichen)."
"besteht. (Er besteht aus %(show_value)d Zeichen.)"
msgstr[1] ""
"Bitte sicherstellen, dass der Wert aus höchstens %(limit_value)d Zeichen "
"besteht. (Er besteht aus %(show_value)d Zeichen)."
"besteht. (Er besteht aus %(show_value)d Zeichen.)"
msgid "Enter a number."
msgstr "Bitte eine Zahl eingeben."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
@ -419,9 +427,12 @@ msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
"Dateiendung „%(extension)s“ ist nicht erlaubt. Erlaubte Dateiendungen: sind: "
"Dateiendung „%(extension)s“ ist nicht erlaubt. Erlaubte Dateiendungen sind: "
"„%(allowed_extensions)s“."
msgid "Null characters are not allowed."
msgstr "Nullzeichen sind nicht erlaubt."
msgid "and"
msgstr "und"
@ -469,6 +480,10 @@ msgstr "Große Ganzzahl (8 Byte)"
msgid "'%(value)s' value must be either True or False."
msgstr "„%(value)s“ Wert muss entweder True oder False sein."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "„%(value)s“ Wert muss True, False oder None sein."
msgid "Boolean (Either True or False)"
msgstr "Boolescher Wert (True oder False)"
@ -644,9 +659,6 @@ msgstr "Dieses Feld ist zwingend erforderlich."
msgid "Enter a whole number."
msgstr "Bitte eine ganze Zahl eingeben."
msgid "Enter a number."
msgstr "Bitte eine Zahl eingeben."
msgid "Enter a valid date."
msgstr "Bitte ein gültiges Datum eingeben."
@ -659,6 +671,10 @@ msgstr "Bitte ein gültiges Datum und Uhrzeit eingeben."
msgid "Enter a valid duration."
msgstr "Bitte eine gültige Zeitspanne eingeben."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Die Anzahl der Tage muss zwischen {min_days} und {max_days} sein."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"Es wurde keine Datei übertragen. Überprüfen Sie das Encoding des Formulars."
@ -675,10 +691,10 @@ msgid_plural ""
"Ensure this filename has at most %(max)d characters (it has %(length)d)."
msgstr[0] ""
"Bitte sicherstellen, dass der Dateiname aus höchstens %(max)d Zeichen "
"besteht. (Er besteht aus %(length)d Zeichen)."
"besteht. (Er besteht aus %(length)d Zeichen.)"
msgstr[1] ""
"Bitte sicherstellen, dass der Dateiname aus höchstens %(max)d Zeichen "
"besteht. (Er besteht aus %(length)d Zeichen)."
"besteht. (Er besteht aus %(length)d Zeichen.)"
msgid "Please either submit a file or check the clear checkbox, not both."
msgstr ""
@ -755,17 +771,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Bitte die unten aufgeführten doppelten Werte korrigieren."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"Der Inline-Fremdschlüssel passt nicht zum Primärschlüssel der übergeordneten "
"Instanz."
msgid "The inline value did not match the parent instance."
msgstr "Der Inline-Wert passt nicht zur übergeordneten Instanz."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Bitte eine gültige Auswahl treffen. Dies ist keine gültige Auswahl."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "„%(pk)s“ ist kein gültiger Wert für einen Primärschlüssel."
msgid "\"%(pk)s\" is not a valid value."
msgstr "„%(pk)s“ ist kein gültiger Wert."
#, python-format
msgid ""
@ -1131,6 +1145,19 @@ msgstr ""
"für sichere HTTPS-Verbindungen oder für „Same-Origin“-Verbindungen "
"reaktivieren."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Wenn der Tag „<meta name=\"referrer\" content=\"no-referrer\">“ oder der "
"„Referrer-Policy: no-referrer“-Header verwendet wird, entfernen Sie sie "
"bitte. Der „Referer“-Header wird zur korrekten CSRF-Verifizierung benötigt. "
"Falls es datenschutzrechtliche Gründe gibt, benutzen Sie bitte Alternativen "
"wie „<a rel=\"noreferrer\" ...>“ für Links zu Drittseiten."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1151,32 +1178,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Mehr Information ist verfügbar mit DEBUG=True."
msgid "Welcome to Django"
msgstr "Willkommen zu Django"
msgid "It worked!"
msgstr "Es hat geklappt!"
msgid "Congratulations on your first Django-powered page."
msgstr "Herzlichen Glückwunsch zur ersten Django-basierten Seite."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Bitte als Nächstes eine neue Anwendung durch Ausführen von <code>python "
"manage.py startapp [app_label]</code> anlegen."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Diese Mitteiling ist sichtbar weil in der settings.py-Datei <code>DEBUG = "
"True</code> steht und die URLs noch nicht konfiguriert sind."
msgid "No year specified"
msgstr "Kein Jahr angegeben"
msgid "Date out of range"
msgstr "Datum außerhalb des zulässigen Bereichs"
msgid "No month specified"
msgstr "Kein Monat angegeben"
@ -1229,3 +1236,48 @@ msgstr "„%(path)s“ ist nicht vorhanden"
#, python-format
msgid "Index of %(directory)s"
msgstr "Verzeichnis %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: Das Webframework für Perfektionisten mit Termindruck."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"<a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" target="
"\"_blank\" rel=\"noopener\">Versionshinweise</a> für Django %(version)s "
"anzeigen"
msgid "The install worked successfully! Congratulations!"
msgstr "Die Installation war erfolgreich. Herzlichen Glückwunsch!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Diese Seite ist sichtbar weil in der Settings-Datei <a href=\"https://docs."
"djangoproject.com/en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel="
"\"noopener\">DEBUG = True</a> steht und die URLs noch nicht konfiguriert "
"sind."
msgid "Django Documentation"
msgstr "Django-Dokumentation"
msgid "Topics, references, &amp; how-to's"
msgstr "Themen, Referenz, &amp; Kurzanleitungen"
msgid "Tutorial: A Polling App"
msgstr "Tutorial: Eine Umfrage-App"
msgid "Get started with Django"
msgstr "Los geht's mit Django"
msgid "Django Community"
msgstr "Django-Community"
msgid "Connect, get help, or contribute"
msgstr "Nimm Kontakt auf, erhalte Hilfe oder arbeite an Django mit"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. F Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = 'j. F Y H:i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd.m.Y H:i'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06'
# '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006'

View File

@ -1,11 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
from __future__ import unicode_literals
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. F Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = 'j. F Y H:i'
@ -16,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd.m.Y H:i'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06'
# '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006'

View File

@ -1,13 +1,13 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Michael Wolf <milupo@sorbzilla.de>, 2016-2017
# Michael Wolf <milupo@sorbzilla.de>, 2016-2019
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-02-08 20:42+0000\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-02-19 10:16+0000\n"
"Last-Translator: Michael Wolf <milupo@sorbzilla.de>\n"
"Language-Team: Lower Sorbian (http://www.transifex.com/django/django/"
"language/dsb/)\n"
@ -138,6 +138,9 @@ msgstr "Górnoserbšćina"
msgid "Hungarian"
msgstr "Hungoršćina"
msgid "Armenian"
msgstr "Armeńšćina"
msgid "Interlingua"
msgstr "Interlingua"
@ -159,6 +162,9 @@ msgstr "Japańšćina"
msgid "Georgian"
msgstr "Georgišćina"
msgid "Kabyle"
msgstr "Kabylšćina"
msgid "Kazakh"
msgstr "Kazachšćina"
@ -315,6 +321,7 @@ msgstr "Zapódajśo płaśiwu cełu licbu."
msgid "Enter a valid email address."
msgstr "Zapódajśo płaśiwu e-mailowu adresu."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -394,6 +401,9 @@ msgstr[3] ""
"Zawěććo, až toś ta gódnota ma maksimalnje %(limit_value)d znamuškow (ma "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Zapódajśo licbu."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -428,6 +438,9 @@ msgstr ""
"Datajowy sufiks ' %(extension)s' njejo dowólony. Dowólone sufikse su: ' "
"%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Znamuška nul njejsu dowólone."
msgid "and"
msgstr "a"
@ -475,6 +488,10 @@ msgstr "Big (8 bajtow) integer"
msgid "'%(value)s' value must be either True or False."
msgstr "Gódnota '%(value)s musy pak True pak False byś."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "Gódnota '%(value)s' musy pak True, False pak None byś."
msgid "Boolean (Either True or False)"
msgstr "Boolean (pak True pak False)"
@ -611,6 +628,9 @@ msgstr "Gropne binarne daty"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' njejo płaśiwy UUID."
msgid "Universally unique identifier"
msgstr "Uniwerselnje jadnorazowy identifikator"
msgid "File"
msgstr "Dataja"
@ -650,9 +670,6 @@ msgstr "Toś to pólo jo trěbne."
msgid "Enter a whole number."
msgstr "Zapódajśo cełu licbu."
msgid "Enter a number."
msgstr "Zapódajśo licbu."
msgid "Enter a valid date."
msgstr "Zapódajśo płaśiwy datum."
@ -665,6 +682,10 @@ msgstr "Zapódajśo płaśiwy datum/cas."
msgid "Enter a valid duration."
msgstr "Zapódaśe płaśiwe traśe."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Licba dnjow musy mjazy {min_days} a {max_days} byś."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"Dataja njejo se wótpósłała. Pśeglědujśo koděrowański typ na formularje. "
@ -772,10 +793,8 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Pšosym korigěrujśo slědujuce dwójne gódnoty."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"Nutśkowny cuzy kluc njejo primarnemu klucoju nadrědowaneje instance "
"wótpowědował."
msgid "The inline value did not match the parent instance."
msgstr "Gódnota inline nadrědowanej instance njewótpowědujo."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
@ -783,8 +802,8 @@ msgstr ""
"wóleńskich móžnosćow."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" njejo płaśiwa gódnota za primarny kluc."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" njejo płaśiwa gódnota."
#, python-format
msgid ""
@ -1076,8 +1095,8 @@ msgstr "To njejo płaśiwa IPv6-adresa."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "abo"
@ -1163,6 +1182,19 @@ msgstr ""
"znjemóžnili, zmóžniśo je pšosym zasej, nanejmjenjej za toś to sedło, za "
"HTTPS-zwiski abo za napšašowanja 'same-origin'."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Jolic woznamjenje <meta name=\"referrer\" content=\"no-referrer\"> wužywaśo "
"abo głowu 'Referrer-Policy: no-referrer' zapśimujośo, wótwónoźćo je. CSRF-"
"šćit pomina se głowu 'Referer', aby striktnu kontrolu referera pśewjasć. "
"Jolic se wó swóju priwatnosć staraśo, wužywajśo alternatiwy ako <a rel="
"\"noreferrer\" ...> za wótkazy k sedłam tśeśich."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1183,32 +1215,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Dalšne informacije su k dispoziciji z DEBUG=True."
msgid "Welcome to Django"
msgstr "Witajśo k Django"
msgid "It worked!"
msgstr "Jo funkcioněrowało!"
msgid "Congratulations on your first Django-powered page."
msgstr "Glukužycenje za waš prědny bok, kótaryž spěchujo se wót Django."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Wuwjeźćo ako pśiduce <code>python manage.py startapp [app_label]</code>, aby "
"swójo prědne nałoženje startował."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Wiźiśo toś tu powěźeńku, dokulaž maśo <code>DEBUG = True</code> w swójej "
"dataji nastajenjow Django a njejsćo URL konfigurěrował. Dajśo se na źěło!"
msgid "No year specified"
msgstr "Žedno lěto pódane"
msgid "Date out of range"
msgstr "Datum zwenka wobcerka"
msgid "No month specified"
msgstr "Žeden mjasec pódany"
@ -1260,3 +1272,48 @@ msgstr "\"%(path)s\" njeeksistěrujo"
#, python-format
msgid "Index of %(directory)s"
msgstr "Indeks %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django? Web-framework za perfekcionisty z terminami."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"<a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" target="
"\"_blank\" rel=\"noopener\">Wersijowe informacije</a> za Django %(version)s "
"pokazaś"
msgid "The install worked successfully! Congratulations!"
msgstr "Instalacija jo była wuspěšna! Gratulacija!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Wiźiśo toś ten bok, dokulaž <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> jo w swójej dataji nastajenjow a njejsćo konfigurěrował "
"URL."
msgid "Django Documentation"
msgstr "Dokumentacija Django"
msgid "Topics, references, &amp; how-to's"
msgstr "Temy, reference a rozpokazanja"
msgid "Tutorial: A Polling App"
msgstr "Rozpokazanje: Napšašowańske nałoženje"
msgid "Get started with Django"
msgstr "Prědne kšace z Django"
msgid "Django Community"
msgstr "Zgromaźeństwo Django"
msgid "Connect, get help, or contribute"
msgstr "Zwězajśo, wobsarajśo se pomoc abo źěłajśo sobu"

View File

@ -2,10 +2,10 @@
#
# Translators:
# Apostolis Bessas <mpessas+txc@transifex.com>, 2013
# Dimitris Glezos <glezos@transifex.com>, 2011,2013
# Dimitris Glezos <glezos@transifex.com>, 2011,2013,2017
# Giannis Meletakis <meletakis@gmail.com>, 2015
# Jannis Leidel <jannis@leidel.info>, 2011
# Nick Mavrakis <mavrakis.n@gmail.com>, 2017
# Nick Mavrakis <mavrakis.n@gmail.com>, 2017-2019
# Nikolas Demiridis <nikolas@demiridis.gr>, 2014
# Nick Mavrakis <mavrakis.n@gmail.com>, 2016
# Pãnoș <panos.laganakos@gmail.com>, 2014
@ -17,8 +17,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-21 10:58+0000\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-05-23 19:25+0000\n"
"Last-Translator: Nick Mavrakis <mavrakis.n@gmail.com>\n"
"Language-Team: Greek (http://www.transifex.com/django/django/language/el/)\n"
"MIME-Version: 1.0\n"
@ -147,6 +147,9 @@ msgstr "Άνω Σορβικά"
msgid "Hungarian"
msgstr "Ουγγρικά"
msgid "Armenian"
msgstr "Αρμενικά"
msgid "Interlingua"
msgstr "Ιντερλίνγκουα"
@ -168,6 +171,9 @@ msgstr "Γιαπωνέζικα"
msgid "Georgian"
msgstr "Γεωργιανά"
msgid "Kabyle"
msgstr "Kabyle"
msgid "Kazakh"
msgstr "Καζακστά"
@ -324,6 +330,7 @@ msgstr "Εισάγετε έναν έγκυρο ακέραιο."
msgid "Enter a valid email address."
msgstr "Εισάγετε μια έγκυρη διεύθυνση ηλ. ταχυδρομείου."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -391,6 +398,9 @@ msgstr[1] ""
"Βεβαιωθείτε πως η τιμή έχει το πολύ %(limit_value)d χαρακτήρες (έχει "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Εισάγετε έναν αριθμό."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -423,6 +433,9 @@ msgstr ""
"Η επέκταση '%(extension)s' του αρχείου δεν επιτρέπεται. Οι επιτρεπόμενες "
"επεκτάσεις είναι: '%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Δεν επιτρέπονται null (μηδενικοί) χαρακτήρες"
msgid "and"
msgstr "και"
@ -471,6 +484,10 @@ msgstr "Μεγάλος ακέραιος - big integer (8 bytes)"
msgid "'%(value)s' value must be either True or False."
msgstr "Η τιμή '%(value)s' πρέπει να είναι είτε True ή False."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "Η τιμή '%(value)s' πρέπει να είναι True, False, ή None."
msgid "Boolean (Either True or False)"
msgstr "Boolean (Είτε Αληθές ή Ψευδές)"
@ -608,6 +625,9 @@ msgstr "Δυαδικά δεδομένα"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' δεν είναι ένα έγκυρο UUID."
msgid "Universally unique identifier"
msgstr "Καθολικά μοναδικό αναγνωριστικό"
msgid "File"
msgstr "Αρχείο"
@ -648,9 +668,6 @@ msgstr "Αυτό το πεδίο είναι απαραίτητο."
msgid "Enter a whole number."
msgstr "Εισάγετε έναν ακέραιο αριθμό."
msgid "Enter a number."
msgstr "Εισάγετε έναν αριθμό."
msgid "Enter a valid date."
msgstr "Εισάγετε μια έγκυρη ημερομηνία."
@ -663,6 +680,10 @@ msgstr "Εισάγετε μια έγκυρη ημερομηνία/ώρα."
msgid "Enter a valid duration."
msgstr "Εισάγετε μια έγκυρη διάρκεια."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Ο αριθμός των ημερών πρέπει να είναι μεταξύ {min_days} και {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"Δεν έχει υποβληθεί κάποιο αρχείο. Ελέγξτε τον τύπο κωδικοποίησης στη φόρμα."
@ -762,10 +783,8 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Έχετε ξαναεισάγει την ίδια τιμη. Βεβαιωθείτε ότι είναι μοναδική."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"Το inline foreign key δεν αντιστοιχεί με το primary κλειδί του γονικού "
"object."
msgid "The inline value did not match the parent instance."
msgstr "Η τιμή δεν είναι ίση με την αντίστοιχη τιμή του γονικού object."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
@ -773,8 +792,8 @@ msgstr ""
"επιλογές."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "Το \"%(pk)s\" δεν είναι έγκυρη τιμή για πρωτεύων κλειδί"
msgid "\"%(pk)s\" is not a valid value."
msgstr "Το \"%(pk)s\" δεν είναι έγκυρη τιμή."
#, python-format
msgid ""
@ -1064,8 +1083,8 @@ msgstr "Αυτή δεν είναι έγκυρη διεύθυνση IPv6."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "ή"
@ -1139,6 +1158,20 @@ msgstr ""
"παρακαλούμε να τους ξανά-ενεργοποιήσετε, τουλάχιστον για αυτό το site ή για "
"τις συνδέσεις HTTPS ή για τα 'same-origin' requests."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Αν χρησιμοποιείτε την ετικέτα <meta name=\"referrer\" content=\"no-referrer"
"\"> ή συμπεριλαμβάνετε την κεφαλίδα (header) 'Referrer-Policy: no-referrer', "
"παρακαλούμε αφαιρέστε τα. Η προστασία CSRF απαιτεί την κεφαλίδα 'Referer' να "
"κάνει αυστηρό έλεγχο στον referer. Αν κύριο μέλημα σας είναι η ιδιωτικότητα, "
"σκεφτείτε να χρησιμοποιήσετε εναλλακτικές μεθόδους όπως <a rel=\"noreferrer"
"\" ...> για συνδέσμους από άλλες ιστοσελίδες."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1159,33 +1192,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Περισσότερες πληροφορίες είναι διαθέσιμες με DEBUG=True."
msgid "Welcome to Django"
msgstr "Καλωσήρθατε στο Django"
msgid "It worked!"
msgstr "Δούλεψε!"
msgid "Congratulations on your first Django-powered page."
msgstr "Συγχαρητήρια στην πρώτη Django-τροφοδοτούμενη σελίδα σας."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Επόμενο βήμα, είναι να ξεκινήσετε την πρώτη σας εφαρμογή εκτελώντας την "
"εντολή <code>python manage.py startapp [app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Βλέπετε αυτό το μήνυμα επείδη έχετε <code>DEBUG = True</code> στο αρχείο "
"settings του Django σας και δεν έχετε ρυθμίσει καμία URL. Στρωθείτε στην "
"δουλειά!"
msgid "No year specified"
msgstr "Δεν έχει οριστεί χρονιά"
msgid "Date out of range"
msgstr "Ημερομηνία εκτός εύρους"
msgid "No month specified"
msgstr "Δεν έχει οριστεί μήνας"
@ -1240,3 +1252,48 @@ msgstr "Το \"%(path)s\" δεν υπάρχει"
#, python-format
msgid "Index of %(directory)s"
msgstr "Ευρετήριο του %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: το Web framework για τελειομανείς με προθεσμίες."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Δείτε τις <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/"
"\" target=\"_blank\" rel=\"noopener\">σημειώσεις κυκλοφορίας</a> για το "
"Django %(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "Η εγκατάσταση δούλεψε με επιτυχία! Συγχαρητήρια!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Βλέπετε αυτό το μήνυμα επειδή έχετε <a href=\"https://docs.djangoproject.com/"
"en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> στο αρχείο settings και δεν έχετε ρυθμίσει κανένα URL στο "
"αρχείο urls.py. Στρωθείτε στην δουλειά!"
msgid "Django Documentation"
msgstr "Εγχειρίδιο Django"
msgid "Topics, references, &amp; how-to's"
msgstr "Θέματα, αναφορές &amp; \"πως να...\""
msgid "Tutorial: A Polling App"
msgstr "Εγχειρίδιο: Ένα App Ψηφοφορίας"
msgid "Get started with Django"
msgstr "Ξεκινήστε με το Django"
msgid "Django Community"
msgstr "Κοινότητα Django"
msgid "Connect, get help, or contribute"
msgstr "Συνδεθείτε, λάβετε βοήθεια, ή συνεισφέρετε"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'd/m/Y'
TIME_FORMAT = 'P'
DATETIME_FORMAT = 'd/m/Y P'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd/m/Y P'
FIRST_DAY_OF_WEEK = 0 # Sunday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d/%m/%Y', '%d/%m/%y', '%Y-%m-%d', # '25/10/2006', '25/10/06', '2006-10-25',
]

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'N j, Y'
TIME_FORMAT = 'P'
DATETIME_FORMAT = 'N j, Y, P'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'm/d/Y P'
FIRST_DAY_OF_WEEK = 0 # Sunday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
# Kept ISO formats as they are in first position
DATE_INPUT_FORMATS = [
'%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', # '2006-10-25', '10/25/2006', '10/25/06'

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 08:31+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: English (Australia) (http://www.transifex.com/django/django/"
"language/en_AU/)\n"
@ -293,6 +293,15 @@ msgstr ""
msgid "Syndication"
msgstr ""
msgid "That page number is not an integer"
msgstr ""
msgid "That page number is less than 1"
msgstr ""
msgid "That page contains no results"
msgstr ""
msgid "Enter a valid value."
msgstr "Enter a valid value."
@ -305,6 +314,7 @@ msgstr ""
msgid "Enter a valid email address."
msgstr "Enter a valid email address."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -389,6 +399,15 @@ msgstr[0] ""
msgstr[1] ""
"Ensure that there are no more than %(max)s digits before the decimal point."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "and"
@ -701,16 +720,16 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Please correct the duplicate values below."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "The inline foreign key did not match the parent instance primary key."
msgid "The inline value did not match the parent instance."
msgstr ""
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Select a valid choice. That choice is not one of the available choices."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" is not a valid value for a primary key."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
msgid ""
@ -720,15 +739,15 @@ msgstr ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgid "Clear"
msgstr "Clear"
msgid "Currently"
msgstr "Currently"
msgid "Change"
msgstr "Change"
msgid "Clear"
msgstr "Clear"
msgid "Unknown"
msgstr "Unknown"
@ -1068,6 +1087,14 @@ msgid ""
"origin' requests."
msgstr ""
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1082,28 +1109,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr ""
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Of course, you haven't actually done any work yet. Next, start your first "
"app by running <code>python manage.py startapp [app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "No year specified"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "No month specified"
@ -1154,3 +1165,41 @@ msgstr "\"%(path)s\" does not exist"
#, python-format
msgid "Index of %(directory)s"
msgstr "Index of %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j M Y' # '25 Oct 2006'
TIME_FORMAT = 'P' # '2:30 p.m.'
DATETIME_FORMAT = 'j M Y, P' # '25 Oct 2006, 2:30 p.m.'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd/m/Y P' # '25/10/2006 2:30 p.m.'
FIRST_DAY_OF_WEEK = 0 # Sunday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
# '%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006'

View File

@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-20 09:03+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/django/"
"django/language/en_GB/)\n"
@ -316,6 +316,7 @@ msgstr ""
msgid "Enter a valid email address."
msgstr ""
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -396,6 +397,9 @@ msgid ""
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "and"
@ -706,15 +710,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Please correct the duplicate values below."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "The inline foreign key did not match the parent instance primary key."
msgid "The inline value did not match the parent instance."
msgstr ""
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Select a valid choice. That choice is not one of the available choices."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
@ -1073,6 +1077,14 @@ msgid ""
"origin' requests."
msgstr ""
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1087,28 +1099,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr ""
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "No year specified"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "No month specified"
@ -1159,3 +1155,41 @@ msgstr "\"%(path)s\" does not exist"
#, python-format
msgid "Index of %(directory)s"
msgstr "Index of %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j M Y' # '25 Oct 2006'
TIME_FORMAT = 'P' # '2:30 p.m.'
DATETIME_FORMAT = 'j M Y, P' # '25 Oct 2006, 2:30 p.m.'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd/m/Y P' # '25/10/2006 2:30 p.m.'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
# '%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006'

View File

@ -2,19 +2,20 @@
#
# Translators:
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2012-2013
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2013-2017
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2013-2019
# batisteo <bapdarth@yahoo·fr>, 2011
# Dinu Gherman <gherman@darwin.in-berlin.de>, 2011
# kristjan <kristjan.schmidt@googlemail.com>, 2011
# Nikolay Korotkiy <sikmir@gmail.com>, 2017
# Nikolay Korotkiy <sikmir@gmail.com>, 2017-2018
# Robin van der Vliet <info@robinvandervliet.nl>, 2019
# Adamo Mesha <adam.raizen@gmail.com>, 2012
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-03-22 00:08+0000\n"
"Last-Translator: Baptiste Darthenay <baptiste+transifex@darthenay.fr>\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-02-04 21:34+0000\n"
"Last-Translator: Robin van der Vliet <info@robinvandervliet.nl>\n"
"Language-Team: Esperanto (http://www.transifex.com/django/django/language/"
"eo/)\n"
"MIME-Version: 1.0\n"
@ -143,6 +144,9 @@ msgstr "Suprasoraba"
msgid "Hungarian"
msgstr "Hungara"
msgid "Armenian"
msgstr "Armena"
msgid "Interlingua"
msgstr "Interlingvaa"
@ -164,6 +168,9 @@ msgstr "Japana"
msgid "Georgian"
msgstr "Kartvela"
msgid "Kabyle"
msgstr "Kabila"
msgid "Kazakh"
msgstr "Kazaĥa"
@ -320,6 +327,7 @@ msgstr "Enigu validan entjero."
msgid "Enter a valid email address."
msgstr "Enigu validan retpoŝtan adreson."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -365,10 +373,10 @@ msgid_plural ""
"Ensure this value has at least %(limit_value)d characters (it has "
"%(show_value)d)."
msgstr[0] ""
"Certigu, ke tiu valuto havas %(limit_value)d karaktero (ĝi havas "
"Certigu, ke tiu valoro havas %(limit_value)d signon (ĝi havas "
"%(show_value)d)."
msgstr[1] ""
"Certigu, ke tiu valuto havas %(limit_value)d karakteroj (ĝi havas "
"Certigu, ke tiu valoro havas %(limit_value)d signojn (ĝi havas "
"%(show_value)d)."
#, python-format
@ -382,9 +390,12 @@ msgstr[0] ""
"Certigu, ke tio valuto maksimume havas %(limit_value)d karakterojn (ĝi havas "
"%(show_value)d)."
msgstr[1] ""
"Certigu, ke tio valuto maksimume havas %(limit_value)d karakterojn (ĝi havas "
"Certigu, ke tiu valoro maksimume havas %(limit_value)d signojn (ĝi havas "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Enigu nombron."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -413,6 +424,9 @@ msgstr ""
"dosiersufikso '%(extension)s' ne estas permesita. Permesitaj dosiersufiksoj "
"estas: '%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Nulsignoj ne estas permesitaj."
msgid "and"
msgstr "kaj"
@ -460,6 +474,10 @@ msgstr "Granda (8 bitoka) entjero"
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' valoro devas esti Vera aŭ Malvera"
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "“%(value)s” valoro devas esti Vera, Malvera aŭ Neniu."
msgid "Boolean (Either True or False)"
msgstr "Bulea (Vera aŭ Malvera)"
@ -597,6 +615,9 @@ msgstr "Kruda binara datumo"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' ne estas valida UUID."
msgid "Universally unique identifier"
msgstr "Universe unika identigilo"
msgid "File"
msgstr "Dosiero"
@ -636,9 +657,6 @@ msgstr "Ĉi tiu kampo estas deviga."
msgid "Enter a whole number."
msgstr "Enigu plenan nombron."
msgid "Enter a number."
msgstr "Enigu nombron."
msgid "Enter a valid date."
msgstr "Enigu validan daton."
@ -651,6 +669,10 @@ msgstr "Enigu validan daton/tempon."
msgid "Enter a valid duration."
msgstr "Enigu validan daŭron."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "La nombro da tagoj devas esti inter {min_days} kaj {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"Neniu dosiero estis alŝutita. Kontrolu la kodoprezentan tipon en la "
@ -670,7 +692,7 @@ msgstr[0] ""
"Certigu, ke tio dosiernomo maksimume havas %(max)d karakteron (ĝi havas "
"%(length)d)."
msgstr[1] ""
"Certigu, ke tio dosiernomo maksimume havas %(max)d karakterojn (ĝi havas "
"Certigu, ke tiu dosiernomo maksimume havas %(max)d signojn (ĝi havas "
"%(length)d)."
msgid "Please either submit a file or check the clear checkbox, not both."
@ -746,15 +768,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Bonvolu ĝustigi la duoblan valoron sube."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "La enteksta fremda ŝlosilo ne egalis la ĉefŝlosilon de patra apero."
msgid "The inline value did not match the parent instance."
msgstr "La enteksta valoro ne egalas la patran aperon."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Elektu validan elekton. Ĉi tiu elekto ne estas el la eblaj elektoj."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" ne estas valida valuto por la ĉefa ŝlosilo."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" ne estas valida valoro."
#, python-format
msgid ""
@ -1044,8 +1066,8 @@ msgstr "Tiu ne estas valida IPv6-adreso."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "aŭ"
@ -1119,6 +1141,19 @@ msgstr ""
"reaktivigi ilin, almenaŭ por tiu ĉi retejo, aŭ por HTTPS rilatoj, aŭ por "
"“samoriginaj” petoj."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Se vi uzas la <meta name=\"referrer\" content=\"no-referrer\">markon aŭ "
"inkluzivante la 'Referrer-Policy: no-referrer' titolo, bonvolu forigi ilin. "
"La CSRFa protekto postulas ke la 'Referer' titolo faru striktan "
"referencantan kontroladon. Se vi estas koncernita pri privateco, uzu "
"alternativojn kiel <a rel=\"noreferrer\" ...> por ligoj al aliaj retejoj."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1138,32 +1173,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Pliaj informoj estas videblaj kun DEBUG=True."
msgid "Welcome to Django"
msgstr "Bonvenon en Dĵango"
msgid "It worked!"
msgstr "Sukcesis!"
msgid "Congratulations on your first Django-powered page."
msgstr "Gratulojn por via unua Dĵanga paĝo."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Poste, komencu vian unuan aplikaĵon rulante <code>python manage.py startapp "
"[app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Vi vidas ĉi tiun mesaĝon ĉar vi havas <code>DEBUG = True</code> en viaj "
"Dĵangaj agordaj dosieron kaj vi ne agordis ajna URLoj. Eklaboru!"
msgid "No year specified"
msgstr "Neniu jaro specifita"
msgid "Date out of range"
msgstr "Dato ne en la intervalo"
msgid "No month specified"
msgstr "Neniu monato specifita"
@ -1216,3 +1231,46 @@ msgstr "\"%(path)s\" ne ekzistas"
#, python-format
msgid "Index of %(directory)s"
msgstr "Indekso de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Dĵango: la retframo por perfektemuloj kun limdatoj"
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Vidu <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">eldonajn notojn</a> por Dĵango %(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "La instalado sukcesis! Gratulojn!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Vi vidas ĉi tiun paĝon ĉar <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener\">DEBUG = "
"True</a> estas en via agorda dosiero kaj vi ne agordis ajnan URL."
msgid "Django Documentation"
msgstr "Djanga dokumentaro"
msgid "Topics, references, &amp; how-to's"
msgstr "Temoj, referencoj &amp; manlibroj"
msgid "Tutorial: A Polling App"
msgstr "Instruilo: apo pri enketoj"
msgid "Get started with Django"
msgstr "Komencu kun Dĵango"
msgid "Django Community"
msgstr "Djanga komunumo"
msgid "Connect, get help, or contribute"
msgstr "Konektiĝu, ricevu helpon aŭ kontribuu"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j\-\a \d\e F Y' # '26-a de julio 1887'
TIME_FORMAT = 'H:i' # '18:59'
DATETIME_FORMAT = r'j\-\a \d\e F Y\, \j\e H:i' # '26-a de julio 1887, je 18:59'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'Y-m-d H:i' # '1887-07-26 18:59'
FIRST_DAY_OF_WEEK = 1 # Monday (lundo)
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%Y-%m-%d', # '1887-07-26'
'%y-%m-%d', # '87-07-26'

View File

@ -9,26 +9,29 @@
# Diego Schulz <dschulz@gmail.com>, 2012
# Ernesto Avilés Vázquez <whippiii@gmail.com>, 2015-2016
# Ernesto Avilés Vázquez <whippiii@gmail.com>, 2014
# Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com>, 2017
# franchukelly <inactive+franchukelly@transifex.com>, 2011
# Ignacio José Lizarán Rus <ilizaran@gmail.com>, 2019
# Igor Támara <igor@tamarapatino.org>, 2015
# Jannis Leidel <jannis@leidel.info>, 2011
# Yusuf (Josè) Luis <alagunajs@gmail.com>, 2016
# José Luis <alagunajs@gmail.com>, 2016
# Josue Naaman Nistal Guerra <josuenistal@hotmail.com>, 2014
# Leonardo J. Caballero G. <leonardocaballero@gmail.com>, 2011,2013
# Luigy, 2019
# Marc Garcia <garcia.marc@gmail.com>, 2011
# monobotsoft <monobot.soft@gmail.com>, 2012
# ntrrgc <ntrrgc@gmail.com>, 2013
# ntrrgc <ntrrgc@gmail.com>, 2013
# Pablo, 2015
# Sebastián Ramírez Magrí <sebasmagri@gmail.com>, 2013
# Sebastián Magrí, 2013
# Veronicabh <vero.blazher@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-03-22 14:20+0000\n"
"Last-Translator: Amanda Copete\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-02-19 08:50+0000\n"
"Last-Translator: Ignacio José Lizarán Rus <ilizaran@gmail.com>\n"
"Language-Team: Spanish (http://www.transifex.com/django/django/language/"
"es/)\n"
"MIME-Version: 1.0\n"
@ -157,6 +160,9 @@ msgstr "Alto sorbio"
msgid "Hungarian"
msgstr "Húngaro"
msgid "Armenian"
msgstr "Armenio/a"
msgid "Interlingua"
msgstr "Interlingua"
@ -178,6 +184,9 @@ msgstr "Japonés"
msgid "Georgian"
msgstr "Georgiano"
msgid "Kabyle"
msgstr "Cabilio"
msgid "Kazakh"
msgstr "Kazajo"
@ -334,6 +343,7 @@ msgstr "Introduzca un número entero válido."
msgid "Enter a valid email address."
msgstr "Introduzca una dirección de correo electrónico válida."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -400,6 +410,9 @@ msgstr[1] ""
"Asegúrese de que este valor tenga menos de %(limit_value)d caracteres (tiene "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Introduzca un número."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -430,6 +443,9 @@ msgstr ""
"La extensión de fichero '%(extension)s' no está permitida. Únicamente se "
"permiten: '%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Los caracteres nulos no están permitidos."
msgid "and"
msgstr "y"
@ -477,6 +493,10 @@ msgstr "Entero grande (8 bytes)"
msgid "'%(value)s' value must be either True or False."
msgstr "El valor '%(value)s' debe ser verdadero o falso."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "El valor '%(value)s' debe ser Verdadero, Falso o Ninguno"
msgid "Boolean (Either True or False)"
msgstr "Booleano (Verdadero o Falso)"
@ -614,6 +634,9 @@ msgstr "Data de binarios brutos"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' no es un UUID válido."
msgid "Universally unique identifier"
msgstr "Identificador universal único"
msgid "File"
msgstr "Archivo"
@ -653,9 +676,6 @@ msgstr "Este campo es obligatorio."
msgid "Enter a whole number."
msgstr "Introduzca un número entero."
msgid "Enter a number."
msgstr "Introduzca un número."
msgid "Enter a valid date."
msgstr "Introduzca una fecha válida."
@ -668,6 +688,10 @@ msgstr "Introduzca una fecha/hora válida."
msgid "Enter a valid duration."
msgstr "Introduzca una duración válida."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "El número de días debe estar entre {min_days} y {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"No se ha enviado ningún fichero. Compruebe el tipo de codificación en el "
@ -764,17 +788,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Por favor, corrija los valores duplicados abajo."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"La clave foránea en linea no coincide con la clave primaria de la instancia "
"padre."
msgid "The inline value did not match the parent instance."
msgstr "El valor en línea no coincide con la instancia principal."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Escoja una opción válida. Esa opción no está entre las disponibles."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" no es un valor válido para una llave primaria."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" no es un valor válido."
#, python-format
msgid ""
@ -1064,7 +1086,7 @@ msgstr "Esta no es una dirección IPv6 válida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s..."
msgid "or"
@ -1139,6 +1161,20 @@ msgstr ""
"favor vuélvelas a activar, al menos para esta web, o para conexiones HTTPS, "
"o para peticiones 'mismo-origen'."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Si estás usando la etiqueta <meta name=\"referrer\" content=\"no-referrer\"> "
"o incluyendo el encabezamiento 'Referrer-Policy: no-referrer' , por favor "
"retíralos. La protección CSRF requiere del encabezamiento 'Referer' para "
"hacer control estricto de referencia . Si estás preocupado por la "
"privacidad, usa alternativas como <a rel=\"noreferrer\" ...> para enlaces a "
"sitios de terceros."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1158,32 +1194,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Se puede ver más información si se establece DEBUG=True."
msgid "Welcome to Django"
msgstr "Bienvenido a Django"
msgid "It worked!"
msgstr "¡Funcionó!"
msgid "Congratulations on your first Django-powered page."
msgstr "Enhorabuena por tu primer página hecha en Django."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Seguidamente, inicie su primera aplicación ejecutando <code>python manage.py "
"startapp [app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Ves este mensaje porque tienes <code>DEBUG = True</code> en el archivo de "
"configuración de Django y no has configurado ninguna URL. ¡A trabajar!"
msgid "No year specified"
msgstr "No se ha indicado el año"
msgid "Date out of range"
msgstr "Fecha fuera de rango"
msgid "No month specified"
msgstr "No se ha indicado el mes"
@ -1234,3 +1250,48 @@ msgstr "\"%(path)s\" no existe"
#, python-format
msgid "Index of %(directory)s"
msgstr "Índice de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: el marco web para perfeccionistas con plazos."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Ve <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">la notas de la versión</a> de Django "
"%(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "¡La instalación funcionó con éxito! ¡Felicitaciones!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Estás viendo esta página porque <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> está en tu archivo de configuración y no has configurado "
"ningún URL."
msgid "Django Documentation"
msgstr "Documentación de Django"
msgid "Topics, references, &amp; how-to's"
msgstr "Temas, referencias y cómo hacerlos"
msgid "Tutorial: A Polling App"
msgstr "Tutorial: Una aplicación de encuesta"
msgid "Get started with Django"
msgstr "Comienza con Django"
msgid "Django Community"
msgstr "Comunidad Django"
msgid "Connect, get help, or contribute"
msgstr "Conéctate, obtén ayuda o contribuye"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
# '31/12/2009', '31/12/09'
'%d/%m/%Y', '%d/%m/%y'

View File

@ -4,13 +4,13 @@
# Jannis Leidel <jannis@leidel.info>, 2011
# lardissone <lardissone@gmail.com>, 2014
# poli <poli@devartis.com>, 2014
# Ramiro Morales, 2013-2017
# Ramiro Morales, 2013-2019
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-02-23 14:26+0000\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-03-20 14:07+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Spanish (Argentina) (http://www.transifex.com/django/django/"
"language/es_AR/)\n"
@ -140,6 +140,9 @@ msgstr "alto sorabo"
msgid "Hungarian"
msgstr "húngaro"
msgid "Armenian"
msgstr "Armenio"
msgid "Interlingua"
msgstr "Interlingua"
@ -161,6 +164,9 @@ msgstr "japonés"
msgid "Georgian"
msgstr "georgiano"
msgid "Kabyle"
msgstr "cabilio"
msgid "Kazakh"
msgstr "kazajo"
@ -317,6 +323,7 @@ msgstr "Introduzca un valor numérico entero válido."
msgid "Enter a valid email address."
msgstr "Introduzca una dirección de email válida."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -384,6 +391,9 @@ msgstr[1] ""
"Asegúrese de que este valor tenga como máximo %(limit_value)d caracteres "
"(tiene %(show_value)d)."
msgid "Enter a number."
msgstr "Introduzca un número."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -414,6 +424,9 @@ msgstr ""
"La extensión de archivo '%(extension)s' no está permitida. Las extensiones "
"aceptadas son: '%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "No se admiten caracteres nulos."
msgid "and"
msgstr "y"
@ -462,6 +475,10 @@ msgstr "Entero grande (8 bytes)"
msgid "'%(value)s' value must be either True or False."
msgstr "El valor de '%(value)s' debe ser Verdadero o Falso."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "El valor de '%(value)s' debe ser Verdadero, Falso o None."
msgid "Boolean (Either True or False)"
msgstr "Booleano (Verdadero o Falso)"
@ -599,6 +616,9 @@ msgstr "Datos binarios crudos"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' no es un UUID válido."
msgid "Universally unique identifier"
msgstr "Identificador universalmente único"
msgid "File"
msgstr "Archivo"
@ -638,9 +658,6 @@ msgstr "Este campo es obligatorio."
msgid "Enter a whole number."
msgstr "Introduzca un número entero."
msgid "Enter a number."
msgstr "Introduzca un número."
msgid "Enter a valid date."
msgstr "Introduzca una fecha válida."
@ -653,6 +670,10 @@ msgstr "Introduzca un valor de fecha/hora válido."
msgid "Enter a valid duration."
msgstr "Introduzca una duración válida."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "La cantidad de días debe tener valores entre {min_days} y {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"No se envió un archivo. Verifique el tipo de codificación en el formulario."
@ -750,10 +771,8 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Por favor, corrija los valores duplicados detallados mas abajo."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"La clave foránea del modelo inline no coincide con la clave primaria de la "
"instancia padre."
msgid "The inline value did not match the parent instance."
msgstr "El valor inline no coincide con el de la instancia padre."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
@ -761,8 +780,8 @@ msgstr ""
"disponibles."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" no es un valor válido para una clave primaria."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" no es un valor válido."
#, python-format
msgid ""
@ -1001,59 +1020,59 @@ msgstr "Dic."
msgctxt "alt. month"
msgid "January"
msgstr "Enero"
msgstr "enero"
msgctxt "alt. month"
msgid "February"
msgstr "Febrero"
msgstr "febrero"
msgctxt "alt. month"
msgid "March"
msgstr "Marzo"
msgstr "marzo"
msgctxt "alt. month"
msgid "April"
msgstr "Abril"
msgstr "abril"
msgctxt "alt. month"
msgid "May"
msgstr "Mayo"
msgstr "mayo"
msgctxt "alt. month"
msgid "June"
msgstr "Junio"
msgstr "junio"
msgctxt "alt. month"
msgid "July"
msgstr "Julio"
msgstr "julio"
msgctxt "alt. month"
msgid "August"
msgstr "Agosto"
msgstr "agosto"
msgctxt "alt. month"
msgid "September"
msgstr "Setiembre"
msgstr "setiembre"
msgctxt "alt. month"
msgid "October"
msgstr "Octubre"
msgstr "octubre"
msgctxt "alt. month"
msgid "November"
msgstr "Noviembre"
msgstr "noviembre"
msgctxt "alt. month"
msgid "December"
msgstr "Diciembre"
msgstr "diciembre"
msgid "This is not a valid IPv6 address."
msgstr "Esta no es una direción IPv6 válida."
msgstr "Esta no es una dirección IPv6 válida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "o"
@ -1128,6 +1147,20 @@ msgstr ""
"favor activelas al menos para este sitio, o para conexiones HTTPS o para "
"peticiones generadas desde el mismo origen."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Si está usando la etiqueta <meta name=\"referrer\" content=\"no-referrer\"> "
"o está incluyendo el encabezado 'Referrer-Policy: no-referrer' por favor "
"quítelos. La protección CSRF necesita el encabezado 'Referer' para realizar "
"una comprobación estricta de los referers. Si le preocupa la privacidad "
"tiene alternativas tales como usar <a rel=\"noreferrer\" ...> en los enlaces "
"a sitios de terceros."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1149,33 +1182,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Hay mas información disponible. Para ver la misma use DEBUG=True."
msgid "Welcome to Django"
msgstr "Bienvenido a Django"
msgid "It worked!"
msgstr "¡Funcionó!"
msgid "Congratulations on your first Django-powered page."
msgstr "Felicitationes por tu primera página Django-powered."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"A continuación cree su primera aplicación ejecutando <code>python manage.py "
"startapp [app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Estás viendo este mensaje porque tienes <code>DEBUG = True</code> en tu "
"archivo de settings Django y porque no has configurado ninguna URL. ¡A "
"trabajar!"
msgid "No year specified"
msgstr "No se ha especificado el valor año"
msgid "Date out of range"
msgstr "Fecha fuera de rango"
msgid "No month specified"
msgstr "No se ha especificado el valor mes"
@ -1228,3 +1240,46 @@ msgstr "\"%(path)s\" no existe"
#, python-format
msgid "Index of %(directory)s"
msgstr "Listado de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: El framework Web para perfeccionistas con deadlines."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Ver las <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> de Django %(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "La instalación ha sido exitosa. ¡Felicitaciones!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Está viendo esta página porque el archivo de configuración contiene <a href="
"\"https://docs.djangoproject.com/en/%(version)s/ref/settings/#debug\" target="
"\"_blank\" rel=\"noopener\">DEBUG=True</a> y no ha configurado ninguna URL."
msgid "Django Documentation"
msgstr "Documentación de Django"
msgid "Topics, references, &amp; how-to's"
msgstr "Tópicos, referencia &amp; how-to's"
msgid "Tutorial: A Polling App"
msgstr "Tutorial: Una app de encuesta"
msgid "Get started with Django"
msgstr "Comience a aprender Django"
msgid "Django Community"
msgstr "Comunidad Django"
msgid "Connect, get help, or contribute"
msgstr "Conéctese, consiga ayuda o contribuya"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j N Y'
TIME_FORMAT = r'H:i'
DATETIME_FORMAT = r'j N Y H:i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = r'd/m/Y H:i'
FIRST_DAY_OF_WEEK = 0 # 0: Sunday, 1: Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d/%m/%Y', # '31/12/2009'
'%d/%m/%y', # '31/12/09'

View File

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 08:31+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Spanish (Colombia) (http://www.transifex.com/django/django/"
"language/es_CO/)\n"
@ -293,6 +293,15 @@ msgstr "Archivos estáticos"
msgid "Syndication"
msgstr "Sindicación"
msgid "That page number is not an integer"
msgstr ""
msgid "That page number is less than 1"
msgstr ""
msgid "That page contains no results"
msgstr ""
msgid "Enter a valid value."
msgstr "Ingrese un valor válido."
@ -305,6 +314,7 @@ msgstr "Ingrese un entero válido."
msgid "Enter a valid email address."
msgstr "Ingrese una dirección de correo electrónico válida."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -392,6 +402,15 @@ msgstr[0] ""
msgstr[1] ""
"Asegúrese de que no hayan más de %(max)s dígitos antes del punto decimal"
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "y"
@ -726,17 +745,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Por favor, corrija los valores duplicados abajo."
msgid "The inline foreign key did not match the parent instance primary key."
msgid "The inline value did not match the parent instance."
msgstr ""
"La clave foránea en linea no coincide con la clave primaria de la instancia "
"padre."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Escoja una opción válida. Esa opción no está entre las disponibles."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" no es un valor válido para una llave primaria."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
msgid ""
@ -746,15 +763,15 @@ msgstr ""
"%(datetime)s no puede interpretarse en el huso horario %(current_timezone)s; "
"puede ser ambiguo o puede no existir."
msgid "Clear"
msgstr "Limpiar"
msgid "Currently"
msgstr "Actualmente"
msgid "Change"
msgstr "Cambiar"
msgid "Clear"
msgstr "Limpiar"
msgid "Unknown"
msgstr "Desconocido"
@ -1101,6 +1118,14 @@ msgstr ""
"favor vuélvelas a activar, al menos para esta web, o para conexiones HTTPS, "
"o para peticiones 'same-origin'."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1120,33 +1145,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Se puede ver más información si se establece DEBUG=True."
msgid "Welcome to Django"
msgstr "Bienvenido a Django"
msgid "It worked!"
msgstr "¡Funcionó!"
msgid "Congratulations on your first Django-powered page."
msgstr "Enhorabuena por tu primer página hecha en Django."
msgid ""
"Of course, you haven't actually done any work yet. Next, start your first "
"app by running <code>python manage.py startapp [app_label]</code>."
msgstr ""
"Por supuesto, todavía no has hecho ningún trabajo. Para continuar, inicia tu "
"primera aplicación ejecutando <code>python manage.py startapp [app_label]</"
"code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Ves este mensaje porque tienes <code>DEBUG = True</code> en el archivo de "
"configuración de Django y no has configurado ninguna URL. ¡A trabajar!"
msgid "No year specified"
msgstr "No se ha indicado el año"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "No se ha indicado el mes"
@ -1197,3 +1201,41 @@ msgstr "\"%(path)s\" no existe"
#, python-format
msgid "Index of %(directory)s"
msgstr "Índice de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'

View File

@ -1,14 +1,14 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Abraham Estrada <abraham.estrada@gmail.com>, 2011-2013
# Abraham Estrada, 2011-2013
# zodman <zodman@gmail.com>, 2011
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 08:31+0000\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Spanish (Mexico) (http://www.transifex.com/django/django/"
"language/es_MX/)\n"
@ -294,6 +294,15 @@ msgstr ""
msgid "Syndication"
msgstr ""
msgid "That page number is not an integer"
msgstr ""
msgid "That page number is less than 1"
msgstr ""
msgid "That page contains no results"
msgstr ""
msgid "Enter a valid value."
msgstr "Introduzca un valor válido."
@ -306,6 +315,7 @@ msgstr ""
msgid "Enter a valid email address."
msgstr "Introduzca una dirección de correo electrónico válida."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -385,6 +395,15 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "y"
@ -699,10 +718,8 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Por favor, corrija los valores duplicados detallados mas abajo."
msgid "The inline foreign key did not match the parent instance primary key."
msgid "The inline value did not match the parent instance."
msgstr ""
"La clave foránea del modelo inline no coincide con la clave primaria de la "
"instancia padre."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
@ -710,7 +727,7 @@ msgstr ""
"disponibles."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
@ -721,15 +738,15 @@ msgstr ""
"La fecha %(datetime)s no puede se interpretada en la zona horaria "
"%(current_timezone)s; ya que puede ser ambigua o que no pueden existir."
msgid "Clear"
msgstr "Borrar"
msgid "Currently"
msgstr "Actualmente"
msgid "Change"
msgstr "Modificar"
msgid "Clear"
msgstr "Borrar"
msgid "Unknown"
msgstr "Desconocido"
@ -1069,6 +1086,14 @@ msgid ""
"origin' requests."
msgstr ""
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1083,28 +1108,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr ""
msgid "Welcome to Django"
msgstr ""
msgid "It worked!"
msgstr ""
msgid "Congratulations on your first Django-powered page."
msgstr ""
msgid ""
"Of course, you haven't actually done any work yet. Next, start your first "
"app by running <code>python manage.py startapp [app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
msgid "No year specified"
msgstr "No se ha especificado el valor año"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "No se ha especificado el valor mes"
@ -1155,3 +1164,41 @@ msgstr "\"%(path)s\" no existe"
#, python-format
msgid "Index of %(directory)s"
msgstr "Índice de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'
@ -24,5 +21,5 @@ DATETIME_INPUT_FORMATS = [
'%d/%m/%y %H:%M',
]
DECIMAL_SEPARATOR = '.' # ',' is also official (less common): NOM-008-SCFI-2002
THOUSAND_SEPARATOR = '\xa0' # non-breaking space
THOUSAND_SEPARATOR = ','
NUMBER_GROUPING = 3

View File

@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'

View File

@ -1,8 +1,5 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\a\s H:i'

View File

@ -3,15 +3,15 @@
# Translators:
# Eduardo <edos21@gmail.com>, 2017
# Leonardo J. Caballero G. <leonardocaballero@gmail.com>, 2016
# Sebastián Ramírez Magrí <sebasmagri@gmail.com>, 2011
# Sebastián Magrí <sebasmagri@gmail.com>, 2011
# Yoel Acevedo, 2017
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-02-14 12:14+0000\n"
"Last-Translator: Eduardo <edos21@gmail.com>\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 01:13+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: Spanish (Venezuela) (http://www.transifex.com/django/django/"
"language/es_VE/)\n"
"MIME-Version: 1.0\n"
@ -317,6 +317,7 @@ msgstr "Ingrese un valor válido."
msgid "Enter a valid email address."
msgstr "Ingrese una dirección de correo electrónico válida."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -412,6 +413,9 @@ msgstr ""
"La extensión de archivo '%(extension)s' no está permitida. Las extensiones "
"permitidas son ' %(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "y"
@ -744,18 +748,16 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Por favor, corrija los valores duplicados abajo."
msgid "The inline foreign key did not match the parent instance primary key."
msgid "The inline value did not match the parent instance."
msgstr ""
"La clave foránea en linea no coincide con la clave primaria de la instancia "
"padre."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Escoja una opción válida. Esa opción no está entre las opciones disponibles."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" no es un valor válido para una llave primaria."
msgid "\"%(pk)s\" is not a valid value."
msgstr ""
#, python-format
msgid ""
@ -1120,6 +1122,14 @@ msgstr ""
"favor vuélvelas a activar, al menos para esta web, o para conexiones HTTPS, "
"o para peticiones 'same-origin'."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1139,32 +1149,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Se puede ver más información si se establece DEBUG=True."
msgid "Welcome to Django"
msgstr "Bienvenido a Django"
msgid "It worked!"
msgstr "¡Funcionó!"
msgid "Congratulations on your first Django-powered page."
msgstr "Felicitaciones por su primera página con Django."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Luego, inicia tu primera app corriendo <code>python manage.py startapp "
"[app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Ves este mensaje porque tienes <code>DEBUG = True</code> en el archivo de "
"configuración de Django y no has configurado ninguna URL. ¡A trabajar!"
msgid "No year specified"
msgstr "No se ha indicado el año"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "No se ha indicado el mes"
@ -1215,3 +1205,41 @@ msgstr "\"%(path)s\" no existe"
#, python-format
msgid "Index of %(directory)s"
msgstr "Índice de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
msgid "Django Documentation"
msgstr ""
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -6,14 +6,14 @@
# Janno Liivak <jannolii@gmail.com>, 2013-2015
# madisvain <madisvain@gmail.com>, 2011
# Martin Pajuste <martinpajuste@gmail.com>, 2014-2015
# Martin Pajuste <martinpajuste@gmail.com>, 2016-2017
# Martin Pajuste <martinpajuste@gmail.com>, 2016-2017,2019
# Marti Raudsepp <marti@juffo.org>, 2014,2016
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-03-22 19:46+0000\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-01-18 16:27+0000\n"
"Last-Translator: Martin Pajuste <martinpajuste@gmail.com>\n"
"Language-Team: Estonian (http://www.transifex.com/django/django/language/"
"et/)\n"
@ -143,6 +143,9 @@ msgstr "ülemsorbi"
msgid "Hungarian"
msgstr "ungari"
msgid "Armenian"
msgstr "armeenia"
msgid "Interlingua"
msgstr "interlingua"
@ -164,6 +167,9 @@ msgstr "jaapani"
msgid "Georgian"
msgstr "gruusia"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "kasahhi"
@ -320,6 +326,7 @@ msgstr "Sisestage korrektne täisarv."
msgid "Enter a valid email address."
msgstr "Sisestage korrektne e-posti aadress."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -384,6 +391,9 @@ msgstr[1] ""
"Väärtuses võib olla kõige rohkem %(limit_value)d tähemärki (praegu on "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Sisestage arv."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -414,6 +424,9 @@ msgstr ""
"Faililaiend '%(extension)s' ei ole lubatud. Lubatud laiendid on: "
"'%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Tühjad tähemärgid ei ole lubatud."
msgid "and"
msgstr "ja"
@ -462,6 +475,10 @@ msgstr "Suur (8 baiti) täisarv"
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' väärtus peab olema kas Tõene või Väär."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Tõeväärtus (Kas tõene või väär)"
@ -598,6 +615,9 @@ msgstr "Töötlemata binaarandmed"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' ei ole korrektne UUID."
msgid "Universally unique identifier"
msgstr ""
msgid "File"
msgstr "Fail"
@ -637,9 +657,6 @@ msgstr "See lahter on nõutav."
msgid "Enter a whole number."
msgstr "Sisestage täisarv."
msgid "Enter a number."
msgstr "Sisestage arv."
msgid "Enter a valid date."
msgstr "Sisestage korrektne kuupäev."
@ -652,6 +669,10 @@ msgstr "Sisestage korrektne kuupäev ja kellaaeg."
msgid "Enter a valid duration."
msgstr "Sisestage korrektne kestus."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Päevade arv peab jääma vahemikku {min_days} kuni {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Ühtegi faili ei saadetud. Kontrollige vormi kodeeringutüüpi."
@ -744,15 +765,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Palun parandage allolevad duplikaat-väärtused"
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Pesastatud välisvõti ei sobi ülemobjekti primaarvõtmega."
msgid "The inline value did not match the parent instance."
msgstr "Pesastatud väärtus ei sobi ülemobjektiga."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Valige korrektne väärtus. Valitud väärtus ei ole valitav."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" ei ole sobiv väärtus primaarvõtmeks."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" ei ole korrektne väärtus."
#, python-format
msgid ""
@ -1042,8 +1063,8 @@ msgstr "See ei ole korrektne IPv6 aadress."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "või"
@ -1117,6 +1138,14 @@ msgstr ""
"lülitage need taas sisse vähemalt antud lehe jaoks või HTTPS üheduste jaoks "
"või 'sama-allika' päringute jaoks."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1136,32 +1165,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Saadaval on rohkem infot kasutades DEBUG=True"
msgid "Welcome to Django"
msgstr "Teretulemast Django juurde"
msgid "It worked!"
msgstr "See töötas!"
msgid "Congratulations on your first Django-powered page."
msgstr "Õnnitleme Teie esimese Django-põhise lehe puhul."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Järgmiseks käivita oma rakendus käsuga <code>python manage.py startapp "
"[app_label]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Näete seda teadet, kuna teil on määratud <code>DEBUG = True</code> Django "
"seadete failis ja te ei ole ühtki URLi seadistanud. Ruttu tööle!"
msgid "No year specified"
msgstr "Aasta on valimata"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Kuu on valimata"
@ -1212,3 +1221,44 @@ msgstr "\"%(path)s\" ei eksisteeri"
#, python-format
msgid "Index of %(directory)s"
msgstr "%(directory)s sisuloend"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
msgid "The install worked successfully! Congratulations!"
msgstr ""
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Näete seda lehte, kuna teil on määratud <a href=\"https://docs.djangoproject."
"com/en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> Django seadete failis ja te ei ole ühtki URLi seadistanud."
msgid "Django Documentation"
msgstr "Django dokumentatsioon"
msgid "Topics, references, &amp; how-to's"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr ""
msgid "Get started with Django"
msgstr ""
msgid "Django Community"
msgstr ""
msgid "Connect, get help, or contribute"
msgstr ""

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. F Y'
TIME_FORMAT = 'G:i'
# DATETIME_FORMAT =
@ -15,7 +12,7 @@ SHORT_DATE_FORMAT = 'd.m.Y'
# FIRST_DAY_OF_WEEK =
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
# DATE_INPUT_FORMATS =
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =

View File

@ -3,19 +3,20 @@
# Translators:
# Aitzol Naberan <anaberan@codesyntax.com>, 2013,2016
# Ander Martínez <ander.basaundi@gmail.com>, 2013-2014
# Eneko Illarramendi <eneko@illarra.com>, 2017
# Eneko Illarramendi <eneko@illarra.com>, 2017-2019
# Jannis Leidel <jannis@leidel.info>, 2011
# jazpillaga <jazpillaga@codesyntax.com>, 2011
# julen <julenx@gmail.com>, 2011-2012
# julen <julenx@gmail.com>, 2013,2015
# julen, 2011-2012
# julen, 2013,2015
# totorika93 <totorika93@gmail.com>, 2012
# Unai Zalakain <inactive+unaizalakain@transifex.com>, 2013
# Urtzi Odriozola <urtzi.odriozola@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-03-22 15:06+0000\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-01-22 10:02+0000\n"
"Last-Translator: Eneko Illarramendi <eneko@illarra.com>\n"
"Language-Team: Basque (http://www.transifex.com/django/django/language/eu/)\n"
"MIME-Version: 1.0\n"
@ -144,6 +145,9 @@ msgstr "Goi-sorbiera"
msgid "Hungarian"
msgstr "Hungariera"
msgid "Armenian"
msgstr "Armeniera"
msgid "Interlingua"
msgstr "Interlingua"
@ -165,6 +169,9 @@ msgstr "Japoniera"
msgid "Georgian"
msgstr "Georgiera"
msgid "Kabyle"
msgstr "Kabylera"
msgid "Kazakh"
msgstr "Kazakhera"
@ -321,6 +328,7 @@ msgstr "Idatzi baleko zenbaki bat."
msgid "Enter a valid email address."
msgstr "Idatzi baleko helbide elektroniko bat."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -386,6 +394,9 @@ msgstr[1] ""
"Ziurtatu balio honek gehienez %(limit_value)d karaktere dituela "
"(%(show_value)d ditu)."
msgid "Enter a number."
msgstr "Idatzi zenbaki bat."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -414,6 +425,9 @@ msgstr ""
"'%(extension)s' fitxategi-luzapena ez da balekoa. Hauek dira onartutako "
"fitxategi-luzapenak: '%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Null karaktereak ez daude baimenduta."
msgid "and"
msgstr "eta"
@ -461,6 +475,10 @@ msgstr "Zenbaki osoa (handia 8 byte)"
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' balioak True edo False izan behar du."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "'%(value)s' balioak True, False edo None izan behar du."
msgid "Boolean (Either True or False)"
msgstr "Boolearra (True edo False)"
@ -549,7 +567,7 @@ msgstr "IP helbidea"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "'%(value)s' balioak True, False edo None izan behar du."
msgstr "'%(value)s' balioak None, True, edo False izan behar du."
msgid "Boolean (Either True, False or None)"
msgstr "Boolearra (True, False edo None)"
@ -600,6 +618,9 @@ msgstr "Datu bitar gordinak"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' ez da baleko UUID bat."
msgid "Universally unique identifier"
msgstr "\"Universally unique identifier\""
msgid "File"
msgstr "Fitxategia"
@ -641,9 +662,6 @@ msgstr "Eremu hau beharrezkoa da."
msgid "Enter a whole number."
msgstr "Idatzi zenbaki oso bat."
msgid "Enter a number."
msgstr "Idatzi zenbaki bat."
msgid "Enter a valid date."
msgstr "Idatzi baleko data bat."
@ -656,6 +674,10 @@ msgstr "Idatzi baleko data/ordu bat."
msgid "Enter a valid duration."
msgstr "Idatzi baleko iraupen bat."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Egun kopuruak {min_days} eta {max_days} artean egon behar du."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Ez da fitxategirik bidali. Egiaztatu formularioaren kodeketa-mota."
@ -747,15 +769,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Zuzendu hurrengo balio bikoiztuak."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Barneko gakoa eta gurasoaren gakoa ez datoz bat."
msgid "The inline value did not match the parent instance."
msgstr "Barneko balioa eta gurasoaren instantzia ez datoz bat."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Hautatu aukera zuzen bat. Hautatutakoa ez da zuzena."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" ez da balio egokia lehen mailako gakoentzat."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" ez da balio egokia."
#, python-format
msgid ""
@ -1045,8 +1067,8 @@ msgstr "Hau ez da baleko IPv6 helbide bat."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "edo"
@ -1120,6 +1142,19 @@ msgstr ""
"baduzu, mesedez, gune honetarako, HTTPS konexio edo 'same-origin' "
"eskaeretarako gaitu berriro."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"<meta name=\"referrer\" content=\"no-referrer\"> etiketa erabiltzen ari "
"bazara edo 'Referrer-Policy: no-referrer' goiburukoa, mesedez ezabatu "
"itzazu. CSRF babesak 'Referer' goiburukoa behar du egiaztapen zorrotza "
"egiteko. Pribatutasunaz kezkatuta bazaude, erabili <a rel=\"noreferrer\" ..."
"> bezalako alternatibak hirugarrenen webgune loturentzat."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1139,32 +1174,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Informazio gehiago erabilgarri dago DEBUG=True ezarrita."
msgid "Welcome to Django"
msgstr "Ongi etorri Djangora"
msgid "It worked!"
msgstr "Badabil!"
msgid "Congratulations on your first Django-powered page."
msgstr "Zorionak Djangorekin egindako zure lehen orrian."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Jarraian sortu zure lehen aplikazioa <code>python manage.py startapp "
"[aplikazioaren_etiketa]</code> exekutatuz."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Mezu hay Djangoren settings fitxategian code>DEBUG = True</code> jarrita "
"daukazulako eta oraindik URLrik gehitu ez duzulako agertzen da. Lanera!"
msgid "No year specified"
msgstr "Ez da urterik zehaztu"
msgid "Date out of range"
msgstr "Data baliozko tartetik kanpo"
msgid "No month specified"
msgstr "Ez da hilabeterik zehaztu"
@ -1215,3 +1230,48 @@ msgstr "\"%(path)s\" ez da existitzen"
#, python-format
msgid "Index of %(directory)s"
msgstr "%(directory)s zerrenda"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: epeekin perfekzionistak direnentzat Web frameworka."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Ikusi Django %(version)s-ren <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/releases/\" target=\"_blank\" rel=\"noopener\">argitaratze "
"oharrak</a>"
msgid "The install worked successfully! Congratulations!"
msgstr "Instalazioak arrakastaz funtzionatu du! Zorionak!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Zure settings fitxategian <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> jarrita eta URLrik konfiguratu gabe duzulako ari zara "
"ikusten orrialde hau."
msgid "Django Documentation"
msgstr "Django dokumentazioa"
msgid "Topics, references, &amp; how-to's"
msgstr "Gaiak, erreferentziak, &amp; laguntzak"
msgid "Tutorial: A Polling App"
msgstr "Tutoriala: Galdetegi aplikazioa"
msgid "Get started with Django"
msgstr "Hasi Djangorekin"
msgid "Django Community"
msgstr "Django Komunitatea"
msgid "Connect, get help, or contribute"
msgstr "Konektatu, lortu laguntza edo lagundu"

View File

@ -1,24 +1,21 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'Y\k\o N j\a'
TIME_FORMAT = 'H:i'
# DATETIME_FORMAT =
# YEAR_MONTH_FORMAT =
# MONTH_DAY_FORMAT =
SHORT_DATE_FORMAT = 'Y M j'
# SHORT_DATETIME_FORMAT =
# FIRST_DAY_OF_WEEK =
DATETIME_FORMAT = r'Y\k\o N j\a, H:i'
YEAR_MONTH_FORMAT = r'Y\k\o F'
MONTH_DAY_FORMAT = r'F\r\e\n j\a'
SHORT_DATE_FORMAT = 'Y-m-d'
SHORT_DATETIME_FORMAT = 'Y-m-d H:i'
FIRST_DAY_OF_WEEK = 1 # Astelehena
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
# DATE_INPUT_FORMATS =
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
DECIMAL_SEPARATOR = ','
THOUSAND_SEPARATOR = '.'
# NUMBER_GROUPING =
NUMBER_GROUPING = 3

View File

@ -3,9 +3,12 @@
# Translators:
# Ali Vakilzade <ali.vakilzade@gmail.com>, 2015
# Arash Fazeli <a.fazeli@gmail.com>, 2012
# Eric Hamiter <ehamiter@gmail.com>, 2019
# Jannis Leidel <jannis@leidel.info>, 2011
# Mazdak Badakhshan <geraneum@gmail.com>, 2014
# Mohammad Hossein Mojtahedi <Mhm5000@gmail.com>, 2013
# Milad Hazrati <miladhazrati75@gmail.com>, 2019
# MJafar Mashhadi <raindigital2007@gmail.com>, 2018
# Mohammad Hossein Mojtahedi <Mhm5000@gmail.com>, 2013,2019
# Pouya Abbassi, 2016
# Reza Mohammadi <reza@teeleh.ir>, 2013-2016
# Saeed <sd.javadi@gmail.com>, 2011
@ -14,16 +17,16 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-01-20 09:03+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-03-22 09:42+0000\n"
"Last-Translator: Milad Hazrati <miladhazrati75@gmail.com>\n"
"Language-Team: Persian (http://www.transifex.com/django/django/language/"
"fa/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fa\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "Afrikaans"
msgstr "آفریکانس"
@ -92,7 +95,7 @@ msgid "Argentinian Spanish"
msgstr "اسپانیایی آرژانتینی"
msgid "Colombian Spanish"
msgstr "کلمبیائی اسپانیایی"
msgstr "اسپانیایی کلمبیایی"
msgid "Mexican Spanish"
msgstr "اسپانیولی مکزیکی"
@ -145,6 +148,9 @@ msgstr "صربستانی بالا"
msgid "Hungarian"
msgstr "مجاری"
msgid "Armenian"
msgstr "ارمنی"
msgid "Interlingua"
msgstr "اینترلینگوا"
@ -166,6 +172,9 @@ msgstr "ژاپنی"
msgid "Georgian"
msgstr "گرجی"
msgid "Kabyle"
msgstr "قبایلی"
msgid "Kazakh"
msgstr "قزاقستان"
@ -302,13 +311,13 @@ msgid "Syndication"
msgstr "پیوند"
msgid "That page number is not an integer"
msgstr ""
msgstr "شمارهٔ صفحه باید یک عدد باشد"
msgid "That page number is less than 1"
msgstr ""
msgstr "شمارهٔ صفحه باید بزرگتر از ۱ باشد"
msgid "That page contains no results"
msgstr ""
msgstr "این صفحه خالی از اطلاعات است"
msgid "Enter a valid value."
msgstr "یک مقدار معتبر وارد کنید."
@ -322,6 +331,7 @@ msgstr "یک عدد معتبر وارد کنید."
msgid "Enter a valid email address."
msgstr "یک ایمیل آدرس معتبر وارد کنید."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr "یک 'slug' معتبر شامل حروف، ارقام، خط زیر و یا خط تیره وارد کنید."
@ -365,6 +375,9 @@ msgid_plural ""
msgstr[0] ""
"طول این مقدار باید حداقل %(limit_value)d کاراکتر باشد (طولش %(show_value)d "
"است)."
msgstr[1] ""
"طول این مقدار باید حداقل %(limit_value)d کاراکتر باشد (طولش %(show_value)d "
"است)."
#, python-format
msgid ""
@ -376,16 +389,24 @@ msgid_plural ""
msgstr[0] ""
"طول این مقدار باید حداکثر %(limit_value)d کاراکتر باشد (طولش %(show_value)d "
"است)."
msgstr[1] ""
"طول این مقدار باید حداکثر %(limit_value)d کاراکتر باشد (طولش %(show_value)d "
"است)."
msgid "Enter a number."
msgstr "یک عدد وارد کنید."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
msgstr[0] "نباید در مجموع بیش از %(max)s رقم داشته باشد."
msgstr[1] "نباید در مجموع بیش از %(max)s رقم داشته باشد."
#, python-format
msgid "Ensure that there are no more than %(max)s decimal place."
msgid_plural "Ensure that there are no more than %(max)s decimal places."
msgstr[0] "نباید بیش از %(max)s رقم اعشار داشته باشد."
msgstr[1] "نباید بیش از %(max)s رقم اعشار داشته باشد."
#, python-format
msgid ""
@ -393,12 +414,18 @@ msgid ""
msgid_plural ""
"Ensure that there are no more than %(max)s digits before the decimal point."
msgstr[0] "نباید بیش از %(max)s رقم قبل ممیز داشته باشد."
msgstr[1] "نباید بیش از %(max)s رقم قبل ممیز داشته باشد."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
"استفاده از پرونده با پسوند '%(extension)s' مجاز نیست. پسوند‌های مجاز عبارتند "
"از: '%(allowed_extensions)s'"
msgid "Null characters are not allowed."
msgstr "کاراکترهای تهی مجاز نیستند."
msgid "and"
msgstr "و"
@ -447,6 +474,10 @@ msgstr "بزرگ (8 بایت) عدد صحیح"
msgid "'%(value)s' value must be either True or False."
msgstr "مقدار «%(value)s» باید یا True باشد و یا False."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "مقدار «%(value)s» باید یا None باشد یا True و یا False."
msgid "Boolean (Either True or False)"
msgstr "بولی (درست یا غلط)"
@ -584,6 +615,9 @@ msgstr "دادهٔ دودویی خام"
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' یک UUID معتبر نیست."
msgid "Universally unique identifier"
msgstr "شناسه منحصر به فرد سراسری"
msgid "File"
msgstr "پرونده"
@ -623,9 +657,6 @@ msgstr "این فیلد لازم است."
msgid "Enter a whole number."
msgstr "به طور کامل یک عدد وارد کنید."
msgid "Enter a number."
msgstr "یک عدد وارد کنید."
msgid "Enter a valid date."
msgstr "یک تاریخ معتبر وارد کنید."
@ -638,6 +669,10 @@ msgstr "یک تاریخ/زمان معتبر وارد کنید."
msgid "Enter a valid duration."
msgstr "یک بازهٔ زمانی معتبر وارد کنید."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "عدد روز باید بین {min_days} و {max_days} باشد."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "پرونده‌ای ارسال نشده است. نوع کدگذاری فرم را بررسی کنید."
@ -653,6 +688,8 @@ msgid_plural ""
"Ensure this filename has at most %(max)d characters (it has %(length)d)."
msgstr[0] ""
"طول عنوان پرونده باید حداقل %(max)d کاراکتر باشد (طولش %(length)d است)."
msgstr[1] ""
"طول عنوان پرونده باید حداقل %(max)d کاراکتر باشد (طولش %(length)d است)."
msgid "Please either submit a file or check the clear checkbox, not both."
msgstr "لطفا یا فایل ارسال کنید یا دکمه پاک کردن را علامت بزنید، نه هردو."
@ -692,11 +729,13 @@ msgstr "اطلاعات ManagementForm ناقص است و یا دستکاری ش
msgid "Please submit %d or fewer forms."
msgid_plural "Please submit %d or fewer forms."
msgstr[0] "لطفاً %d یا کمتر فرم بفرستید."
msgstr[1] "لطفاً %d یا کمتر فرم بفرستید."
#, python-format
msgid "Please submit %d or more forms."
msgid_plural "Please submit %d or more forms."
msgstr[0] "لطفاً %d یا بیشتر فرم بفرستید."
msgstr[1] "لطفاً %d یا بیشتر فرم بفرستید."
msgid "Order"
msgstr "ترتیب:"
@ -723,15 +762,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "لطفا مقدار تکراری را اصلاح کنید."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "کلید های درون خطی خارجی با هم مطابقت ندارند ."
msgid "The inline value did not match the parent instance."
msgstr "مقدار درون خطی موجود با نمونه والد آن مطابقت ندارد."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "یک گزینهٔ معتبر انتخاب کنید. آن گزینه از گزینه‌های موجود نیست."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "‏«‎%(pk)s» مقدار معتبری برای کلید اصلی نیست."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" یک مقدار معتبر نیست."
#, python-format
msgid ""
@ -766,6 +805,7 @@ msgstr "بله،خیر،شاید"
msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d بایت"
msgstr[1] "%(size)d بایت"
#, python-format
msgid "%s KB"
@ -1020,8 +1060,8 @@ msgstr "این مقدار آدرس IPv6 معتبری نیست."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "یا"
@ -1034,31 +1074,37 @@ msgstr "،"
msgid "%d year"
msgid_plural "%d years"
msgstr[0] "%d سال"
msgstr[1] "%d سال"
#, python-format
msgid "%d month"
msgid_plural "%d months"
msgstr[0] "%d ماه"
msgstr[1] "%d ماه"
#, python-format
msgid "%d week"
msgid_plural "%d weeks"
msgstr[0] "%d هفته"
msgstr[1] "%d هفته"
#, python-format
msgid "%d day"
msgid_plural "%d days"
msgstr[0] "%d روز"
msgstr[1] "%d روز"
#, python-format
msgid "%d hour"
msgid_plural "%d hours"
msgstr[0] "%d ساعت"
msgstr[1] "%d ساعت"
#, python-format
msgid "%d minute"
msgid_plural "%d minutes"
msgstr[0] "%d دقیقه"
msgstr[1] "%d دقیقه"
msgid "0 minutes"
msgstr "0 دقیقه"
@ -1075,27 +1121,41 @@ msgid ""
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"شما این پیغام را میبینید چون این سایتِ HTTPS نیازمند یک «تیتر ارجاع» برای "
"ارسال به بروزر شماست، ولی هیچ چیزی ارسال نشده است. این تیتر به دلایل امنیتی "
"مورد نیاز است، برای اینکه از هایجک نشدن بروزر اطمینان حاصل شود."
"شما این پیام را می‌بینید چون این سایتِ HTTPS نیازمند یک «تیتر ارجاع (Referer "
"header)» برای ارسال به مرورگر شماست اما هیچ چیزی ارسال نشده است. این تیتر "
"برای امنیت شما با حصول اطمینان از اینکه کنترل مرورگرتان به دست شخص ثالثی "
"نیفتاده باشد ضروری است."
msgid ""
"If you have configured your browser to disable 'Referer' headers, please re-"
"enable them, at least for this site, or for HTTPS connections, or for 'same-"
"origin' requests."
msgstr ""
"اگر بزوزر خود را برای غیر فعال کردن تیترهای «ارجاع» تنظیم کرده‌اید، لطفا "
"مجددا این ویژگی را فعال کنید، حداقل برای این وبسایت، یا برای اتصالات HTTPS، "
"یا برای درخواستهایی با «مبدا یکسان»."
"اگر تیترهای «ارجاع (Referer)» را در مرورگرتان غیرفعال کرده‌اید، لطفاً مجدداً "
"این ویژگی را فعال کنید، حداقل برای این وبسایت، یا برای اتصالات HTTPS، یا "
"برای درخواستهایی با «مبدا یکسان (same-origin)»."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"اگر از تگ <meta name=\"referrer\" content=\"no-referrer\"> یا هدر "
"'Referrer-Policy: no-referrer' استفاده می کنید، لطفا حذفشان کنید. محافظ CSRF "
"به هدر 'Referer' برای بررسی قوی ارجاع دهنده نیازمند است. اگر شما نگران حریم "
"خصوصی هستید، از جایگزین هایی مانند <a rel=\"noreferrer\" ...> پیوندهای به "
"سایت های دیگر استفاده کنید. "
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
"that your browser is not being hijacked by third parties."
msgstr ""
"شما این پیغام را میبینید چون این سایت نیازمند کوکی «جعل درخواست میان وبگاهی» "
"در زمان ارائه ی فورم میباشد. این کوکی‌ها برای مسائل امنیتی ضروری هستند، برای "
"اطمینان از اینکه بروزر شما توسط شخص ثالثی هایجک نشده باشد."
"شما این پیام را میبینید چون این سایت نیازمند کوکی «جعل درخواست میان وبگاهی "
"(CSRF)» است. این کوکی برای امنیت شما ضروری است. با این کوکی می‌توانیم از "
"اینکه شخص ثالثی کنترل مرورگرتان را به دست نگرفته است اطمینان پیدا کنیم."
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
@ -1107,30 +1167,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "اطلاعات بیشتر با DEBUG=True ارائه خواهد شد."
msgid "Welcome to Django"
msgstr "به Django خوش آمدید"
msgid "It worked!"
msgstr "کار کرد!"
msgid "Congratulations on your first Django-powered page."
msgstr "تبریک فراوان بابت اولین صفحهٔ Djangoایتان."
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"شما این پیغام را میبینید چون <code>DEBUG = True</code> در فایل تنظیمات جنگو "
"تنیظم شده و هیچ URLـی تنظیم نکرده اید. به کار خود ادامه دهید."
msgid "No year specified"
msgstr "هیچ سالی مشخص نشده است"
msgid "Date out of range"
msgstr "تاریخ غیرمجاز است"
msgid "No month specified"
msgstr "هیچ ماهی مشخص نشده است"
@ -1181,3 +1223,48 @@ msgstr "\"%(path)s\" وجود ندارد"
#, python-format
msgid "Index of %(directory)s"
msgstr "فهرست %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "جنگو: فریمورک وب برای کمال گرایانی که محدودیت زمانی دارند."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"نمایش <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> برای نسخه %(version)s "
"جنگو"
msgid "The install worked successfully! Congratulations!"
msgstr "نصب درست کار کرد. تبریک می گویم!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"شما این صفحه را به این دلیل مشاهده می کنید که <a href=\"https://docs."
"djangoproject.com/en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel="
"\"noopener\">DEBUG=True</a> در فایل تنظیمات شما وجود دارد و شما هیچ URL "
"تنظیم نکرده اید."
msgid "Django Documentation"
msgstr "مستندات جنگو"
msgid "Topics, references, &amp; how-to's"
msgstr "مباحث، ارجاعات و سوالات آغاز شونده با \"چگونه؟\""
msgid "Tutorial: A Polling App"
msgstr "آموزش گام به گام: برنامکی برای رأی‌گیری"
msgid "Get started with Django"
msgstr "شروع به کار با جنگو"
msgid "Django Community"
msgstr "جامعهٔ جنگو"
msgid "Connect, get help, or contribute"
msgstr "متصل شوید، کمک بگیرید یا مشارکت کنید"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j F Y'
TIME_FORMAT = 'G:i'
DATETIME_FORMAT = 'j F Y، ساعت G:i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'Y/n/j، G:i'
FIRST_DAY_OF_WEEK = 6
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
# DATE_INPUT_FORMATS =
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =

View File

@ -1,18 +1,19 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Aarni Koskela, 2015,2017
# Aarni Koskela, 2015,2017-2018
# Antti Kaihola <antti.15+transifex@kaihola.fi>, 2011
# Jannis Leidel <jannis@leidel.info>, 2011
# Lasse Liehu <larso@gmx.com>, 2015
# Mika Mäkelä <mika.m.makela@gmail.com>, 2018
# Klaus Dahlén <klaus.dahlen@gmail.com>, 2011
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 16:49+0100\n"
"PO-Revision-Date: 2017-02-08 12:03+0000\n"
"Last-Translator: Aarni Koskela\n"
"POT-Creation-Date: 2019-01-16 20:42+0100\n"
"PO-Revision-Date: 2019-01-18 00:44+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Finnish (http://www.transifex.com/django/django/language/"
"fi/)\n"
"MIME-Version: 1.0\n"
@ -141,6 +142,9 @@ msgstr "Yläsorbi"
msgid "Hungarian"
msgstr "unkari"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "interlingua"
@ -162,6 +166,9 @@ msgstr "japani"
msgid "Georgian"
msgstr "georgia"
msgid "Kabyle"
msgstr "Kabyle"
msgid "Kazakh"
msgstr "kazakin kieli"
@ -318,6 +325,7 @@ msgstr "Syötä kelvollinen kokonaisluku."
msgid "Enter a valid email address."
msgstr "Syötä kelvollinen sähköpostiosoite."
#. Translators: "letters" means latin letters: a-z and A-Z.
msgid ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgstr ""
@ -383,6 +391,9 @@ msgstr[1] ""
"Varmista, että tämä arvo on enintään %(limit_value)d merkkiä pitkä (tällä "
"hetkellä %(show_value)d)."
msgid "Enter a number."
msgstr "Syötä luku."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -413,6 +424,9 @@ msgstr ""
"Pääte \"%(extension)s\" ei ole sallittu. Sallittuja päätteitä ovat "
"\"%(allowed_extensions)s\"."
msgid "Null characters are not allowed."
msgstr "Tyhjiä merkkejä (null) ei sallita."
msgid "and"
msgstr "ja"
@ -461,6 +475,10 @@ msgstr "Suuri (8-tavuinen) kokonaisluku"
msgid "'%(value)s' value must be either True or False."
msgstr "%(value)s-arvo pitää olla joko tosi tai epätosi."
#, python-format
msgid "'%(value)s' value must be either True, False, or None."
msgstr "%(value)s-arvo pitää olla joko tosi, epätosi tai ei mitään."
msgid "Boolean (Either True or False)"
msgstr "Totuusarvo: joko tosi (True) tai epätosi (False)"
@ -594,6 +612,9 @@ msgstr "Raaka binaaridata"
msgid "'%(value)s' is not a valid UUID."
msgstr "%(value)s ei ole kelvollinen UUID."
msgid "Universally unique identifier"
msgstr ""
msgid "File"
msgstr "Tiedosto"
@ -633,9 +654,6 @@ msgstr "Tämä kenttä vaaditaan."
msgid "Enter a whole number."
msgstr "Syötä kokonaisluku."
msgid "Enter a number."
msgstr "Syötä luku."
msgid "Enter a valid date."
msgstr "Syötä oikea päivämäärä."
@ -648,6 +666,10 @@ msgstr "Syötä oikea pvm/kellonaika."
msgid "Enter a valid duration."
msgstr "Syötä oikea kesto."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Päivien määrä täytyy olla välillä {min_days} ja {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Tiedostoa ei lähetetty. Tarkista lomakkeen koodaus (encoding)."
@ -738,15 +760,15 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Korjaa allaolevat kaksoisarvot."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Liittyvä perusavain ei vastannut vanhemman perusavainta."
msgid "The inline value did not match the parent instance."
msgstr "Liittyvä arvo ei vastannut vanhempaa instanssia."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Valitse oikea vaihtoehto. Valintasi ei löydy vaihtoehtojen joukosta."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" ei ole kelvollinen pääavainarvo."
msgid "\"%(pk)s\" is not a valid value."
msgstr "\"%(pk)s\" ei ole kelvollinen arvo."
#, python-format
msgid ""
@ -1036,8 +1058,8 @@ msgstr "Tämä ei ole kelvollinen IPv6-osoite."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s…"
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "tai"
@ -1111,6 +1133,19 @@ msgstr ""
"hyvä ja kytke otsake takaisin päälle ainakin tälle sivulle, HTTPS-"
"yhteyksille tai saman lähteen (\"same-origin\") pyynnöille."
msgid ""
"If you are using the <meta name=\"referrer\" content=\"no-referrer\"> tag or "
"including the 'Referrer-Policy: no-referrer' header, please remove them. The "
"CSRF protection requires the 'Referer' header to do strict referer checking. "
"If you're concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" ...> for links to third-party sites."
msgstr ""
"Jos käytät <meta name=\"referrer\" content=\"no-referrer\">-tagia tai "
"\"Referrer-Policy: no-referrer\" -otsaketta, ole hyvä ja poista ne. CSRF-"
"suojaus vaatii Referer-otsakkeen tehdäkseen tarkan referer-tarkistuksen. Jos "
"vaadit yksityisyyttä, käytä vaihtoehtoja kuten <a rel=\"noreferrer\" ..."
">linkittääksesi kolmannen osapuolen sivuille."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1131,32 +1166,12 @@ msgstr ""
msgid "More information is available with DEBUG=True."
msgstr "Lisätietoja `DEBUG=True`-konfiguraatioasetuksella."
msgid "Welcome to Django"
msgstr "Tervetuloa Djangoon"
msgid "It worked!"
msgstr "Kappas, sehän toimi!"
msgid "Congratulations on your first Django-powered page."
msgstr "Onnittelut ensimmäisestä Django-sivustasi!"
msgid ""
"Next, start your first app by running <code>python manage.py startapp "
"[app_label]</code>."
msgstr ""
"Seuraavaksi voit aloittaa ensimmäisen sovelluksesi ajamalla <code>python "
"manage.py startapp [sovelluksen_nimike]</code>."
msgid ""
"You're seeing this message because you have <code>DEBUG = True</code> in "
"your Django settings file and you haven't configured any URLs. Get to work!"
msgstr ""
"Näet tämän viestin, koska asetuksissasi on <code>DEBUG = True</code> etkä "
"ole konfiguroinut yhtään URL-osoitetta. Töihin siitä!"
msgid "No year specified"
msgstr "Vuosi puuttuu"
msgid "Date out of range"
msgstr "Päivämäärä ei alueella"
msgid "No month specified"
msgstr "Kuukausi puuttuu"
@ -1207,3 +1222,46 @@ msgstr "\"%(path)s\" ei ole olemassa"
#, python-format
msgid "Index of %(directory)s"
msgstr "Hakemistolistaus: %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Katso Django %(version)s <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/releases/\" target=\"_blank\" rel=\"noopener\">julkaisutiedot</a>"
msgid "The install worked successfully! Congratulations!"
msgstr "Asennus toimi! Onneksi olkoon!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Näet tämän viestin, koska asetuksissasi on <a href=\"https://docs."
"djangoproject.com/en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel="
"\"noopener\">DEBUG = True</a> etkä ole konfiguroinut yhtään URL-osoitetta."
msgid "Django Documentation"
msgstr "Django-dokumentaatio"
msgid "Topics, references, &amp; how-to's"
msgstr "Aiheet, viittaukset &amp; how-tot"
msgid "Tutorial: A Polling App"
msgstr "Tutoriaali: kyselyapplikaatio"
msgid "Get started with Django"
msgstr "Miten päästä alkuun Djangolla"
msgid "Django Community"
msgstr "Django-yhteisö"
msgid "Connect, get help, or contribute"
msgstr "Verkostoidu, saa apua tai jatkokehitä"

View File

@ -1,10 +1,7 @@
# -*- encoding: utf-8 -*-
# This file is distributed under the same license as the Django package.
#
from __future__ import unicode_literals
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j. E Y'
TIME_FORMAT = 'G.i'
DATETIME_FORMAT = r'j. E Y \k\e\l\l\o G.i'
@ -15,7 +12,7 @@ SHORT_DATETIME_FORMAT = 'j.n.Y G.i'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = [
'%d.%m.%Y', # '20.3.2014'
'%d.%m.%y', # '20.3.14'

Some files were not shown because too many files have changed in this diff Show More