Compare commits

...

2321 Commits

Author SHA1 Message Date
Carlton Gibson
df59146825 [2.1.x] Removed issue reporter name from 2.1.15 release notes.
Backport of 368b8d20aaa16f0ef763759a0a87d986ef460584 from master
2019-12-02 10:04:16 +01:00
Carlton Gibson
98c7dacecf [2.1.x] Post-release version bump. 2019-12-02 09:29:11 +01:00
Carlton Gibson
3baf68b4ef [2.1.x] Bumped version for 2.1.5 release. 2019-12-02 09:20:52 +01:00
Carlton Gibson
2fc998e3ba [2.1.x] Added release date for 2.1.15.
Backport of e31d1852671866f6e52d55f9b7925ecad711fcf5 from master
2019-12-02 09:14:54 +01:00
Carlton Gibson
103ebe2b5f 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:35 +01:00
Mariusz Felisiak
f57f81a7fe [2.1.x] Refs #30953 -- Added 2.1.15 release note for 0107e3d1058f653f66032f7fd3a0bd61e96bf782.
Backport of 39e39d0ac1b720e7460ec8ccf45926c78edb2047 from master
2019-12-02 08:19:18 +01:00
Mariusz Felisiak
015fab76ad [2.1.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 08:13:13 +01:00
Sergey Fedoseev
ed50f6c424 [2.1.x] Made versionadded/versionchanged annotations without a content end with ".".
Regression in d2afa5eb2308e672b6313876856e32e2561b90f3.
Backport of 5032556483f16b0b5f182e393eb5c6548fc505be from master
2019-11-21 09:04:30 +01:00
Mariusz Felisiak
0423ea1fa8 [2.1.x] Added stub release notes for 2.1.15.
Backport of e9def97d1095efed15a109d82fe0498ebd56fa04 from master
2019-11-19 12:45:25 +01:00
Mariusz Felisiak
cfc0378224 [2.1.x] Post-release version bump. 2019-11-04 09:19:48 +01:00
Mariusz Felisiak
11f29b6e17 [2.1.x] Bumped version for 2.1.14 release. 2019-11-04 09:12:34 +01:00
Mariusz Felisiak
341b2aa658 [2.1.x] Added release dates for 2.1.14 and 1.11.26.
Backport of 126cfefce2b59900138f2bf1ef6ad966cddc55d4 from master
2019-11-04 08:28:19 +01:00
Louise Grandjonc
522af9d673 [2.1.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:57:16 +02:00
Mariusz Felisiak
608b787135 [2.1.x] Added stub release notes for 1.11.26 and 2.1.14.
Backport of 84322a29ce9b0940335f8ab3d60e55192bef1e50 from master
2019-10-02 07:56:33 +02:00
Carlton Gibson
cd0a7709f1 [2.1.x] Post-release version bump. 2019-10-01 10:25:59 +02:00
Carlton Gibson
32163d893f [2.1.x] Bumped version for 2.1.13 release. 2019-10-01 10:21:12 +02:00
Carlton Gibson
27e7e1c8ee [2.1.x] Added release dates for 2.1.13, and 1.11.25.
Backport of 3826aed46d7d4310c2ab6777a4f92165ca4d8d4f from master.
2019-10-01 09:00:01 +02:00
David Vaz
1556a67c65 [2.1.x] Fixed #30216 -- Doc'd that BooleanField is no longer blank=True in Django 2.1.
Backport of a6972e88547ad5a51592f2b6d5046754c4b59394 from stable/2.2.x
2019-09-27 13:02:08 +02:00
Simon Charette
db181f4b7c [2.1.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:55:16 +02:00
Mariusz Felisiak
0cdd27de1a [2.1.x] Added stub release notes for 1.11.25 and 2.1.13.
Backport of bd7e0f81f8590eadcb820c976ba03c9b75bbcad6 from master
2019-09-16 07:44:19 +02:00
Mariusz Felisiak
e48e08e01b [2.1.x] Post-release version bump. 2019-09-02 09:03:12 +02:00
Mariusz Felisiak
1d1713c477 [2.1.x] Bumped version for 2.1.12 release. 2019-09-02 08:38:07 +02:00
Mariusz Felisiak
df853647d7 [2.1.x] Added release dates for 2.1.12 and 1.11.24.
Backport of 47f49adc11c0d39be3f41f92becc1f606c49d8ce from master.
2019-09-02 07:46:49 +02:00
Mariusz Felisiak
2a996a4a19 [2.1.x] Fixed test_json.TestQuerying.test_key_transform_expression() on Python 3.5.
Backport of 6624a3de286ccebf2dafba5a3e9b5ee91ae43cf9 from stable/2.2.x
2019-08-15 19:40:31 +02:00
Mariusz Felisiak
968b9af9b7 [2.1.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:37:01 +02:00
Carlton Gibson
46c2856543 [2.1.x] Added CVE-2019-14235 to security release archive.
Backport of a5652eb795e896df0c0f2515201f35f9cd86b99b from master
2019-08-01 12:06:02 +02:00
Carlton Gibson
8403afd843 [2.1.x] Added CVE-2019-14234 to security release archive.
Backport of 3a6a2f5eaf74200a9591a6311fdb0ea78ee305ee from master
2019-08-01 12:05:56 +02:00
Carlton Gibson
8ffd075373 [2.1.x] Added CVE-2019-14233 to security release archive.
Backport of 9600f63885d2d240f85d59bff6acbe200f890298 from master
2019-08-01 12:05:49 +02:00
Carlton Gibson
dbecd71e43 [2.1.x] Added CVE-2019-14232 to the security release archive.
Backport of 87750787d1e464b7143f366d9485ba20fefc9c94 from master
2019-08-01 12:05:42 +02:00
Carlton Gibson
d974492c31 [2.1.x] Post-release version bump. 2019-08-01 10:53:28 +02:00
Carlton Gibson
ff9dcc0867 [2.1.x] Bumped version for 2.1.11 release. 2019-08-01 10:48:48 +02:00
Florian Apolloner
5d50a2e5fa [2.1.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-31 12:43:32 +02:00
Mariusz Felisiak
f74b3ae362 [2.1.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-31 12:43:32 +02:00
Florian Apolloner
5ff8e79114 [2.1.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:12:53 +02:00
Florian Apolloner
c23723a155 [2.1.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:09:18 +02:00
Carlton Gibson
24eba901eb [2.1.x] Added stub release notes for security releases.
Backport of f13147c8de725eed7038941758469aeb9bd66503 from master
2019-07-25 10:54:51 +02:00
Mariusz Felisiak
765dac3d76 [2.1.x] Added CVE-2019-12781 to the security release archive.
Backport of 868cd56f058ca203419ad0886353173b74c3bcf1 from master
2019-07-01 10:21:48 +02:00
Mariusz Felisiak
fafde97fd7 [2.1.x] Post-release version bump. 2019-07-01 08:37:24 +02:00
Mariusz Felisiak
90a1cfd600 [2.1.x] Bumped version for 2.1.10 release. 2019-07-01 08:27:38 +02:00
Carlton Gibson
1e40f427bb [2.1.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 08:24:47 +02:00
Mariusz Felisiak
87be9c9626 [2.1.x] Added stub release notes for security releases.
Backport of 30b3ee9d0b33bb440f9c73d1ce9e0e7303887a9f from master
2019-07-01 07:04:03 +02:00
Mariusz Felisiak
757c226fd6 [2.1.x] Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database.
Backport of 4305fbe8b11f44ab5d6759346488026c1e9677b2 from master
2019-06-30 20:17:44 +02:00
Markus Holtermann
20968e3eae [2.1.x] Bumped minimum ESLint version to 4.18.2.
Backport of ad7b438002f1ab2a0ccb321012182991737ea84e from master.
2019-06-21 18:04:44 +02:00
Nick Pope
d58f8e4235 [2.1.x] Added CVE-2019-12308 to the security release archive.
Backport of 21b1d239125f1228e579b1ce8d94d4d5feadd2a6 from master
2019-06-03 21:46:58 +02:00
Nick Pope
8827e09944 [2.1.x] Added CVE-2019-11358 to the security release archive.
Backport of 8fb0ea55830321852a4a051a478f78e24d4f6889 from master
2019-06-03 21:46:54 +02:00
Mariusz Felisiak
73158f19f1 [2.1.x] Fixed typos in 1.11.21, 2.1.9, 2.2.2 release notes.
Backport of 100ec901aebebe56b61f101af38a228414098dd5 from master
2019-06-03 14:12:40 +02:00
Carlton Gibson
eecf5a1474 [2.1.x] Post-release version bump. 2019-06-03 12:00:09 +02:00
Carlton Gibson
60ebd195c9 [2.1.x] Bumped version for 2.1.9 release. 2019-06-03 11:55:22 +02:00
Carlton Gibson
95649bc085 [2.1.x] Applied jQuery patch for CVE-2019-11358.
Backport of 34ec52269ade54af31a021b12969913129571a3f from master.
2019-06-03 11:39:15 +02:00
Carlton Gibson
09186a13d9 [2.1.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before rendering clickable link.
Backport of deeba6d92006999fee9adfbd8be79bf0a59e8008 from master.
2019-06-03 11:37:57 +02:00
Carlton Gibson
f6e2b556e0 [2.1.x] Added stub release notes for security releases.
Backport of 98c0fe19ee2cba9726708ac9336e1dc0d43cca69 from master
2019-06-03 10:51:40 +02:00
Tim Graham
fb2b4253f9 [2.1.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:54 -04:00
Mariusz Felisiak
0a8617a5b1
[2.1.x] Refs #30331 -- Doc'd that psycopg2 < 2.8 is required. 2019-04-05 12:06:04 +02:00
Carlton Gibson
32561b84f7 [2.1.x] Post-release version bump. 2019-04-01 11:20:12 +02:00
Carlton Gibson
e49b2ae361 [2.1.x] Bumped version for 2.1.8 release. 2019-04-01 11:08:23 +02:00
Tim Graham
aafdf62921 [2.1.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:56:50 -04:00
Tim Graham
6bfad83c2a [2.1.x] Added stub 2.1.8 release notes.
Backport of e245046bb6e8b32360aa48b8a41fb7050f0fc730 from master
2019-03-30 13:04:45 -04:00
Tim Graham
28fb3ea827 [2.1.x] Fixed #30277 -- Fixed broken links to packaging.python.org.
Backport of 8f1cc7e9e61758475ddd6586e0fede4af1ca0e8d from master.
2019-03-21 10:08:29 -04:00
Tim Graham
bb880e17eb [2.1.x] Fixed serializers test crash if PyYAML isn't installed.
Follow up to a57c783dd4e6dc73847081221827a1902eede88b.

Backport of 55490ac7469a3647ce163bee323f7fe4a06fcaa6 from master
2019-03-20 16:09:01 +01:00
Mariusz Felisiak
e12cf38ae9
[2.1.x] Fixed serializers tests for PyYAML 5.1+.
Backport of a57c783dd4e6dc73847081221827a1902eede88b from master
2019-03-14 18:39:06 +01:00
Mariusz Felisiak
1999c0a00a
[2.1.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:37:25 +01:00
Tobias Bengfort
4fd6e09fdc [2.1.x] Clarified permission-related docs.
Backport of 632d4861ddb99a2c9d11642fcfa4ad542b427d6b from master
2019-02-28 15:29:32 +01:00
Tim Graham
0c295a7570 [2.1.x] Refs #29683 -- Updated multi-db docs for view permission.
Backport of 50f09264ae8ab04824fcc6554e8c184378ad2f81 from master
2019-02-25 14:57:27 -05:00
Mariusz Felisiak
7514a6cc95
[2.1.x] Fixed documentation of database representation for ManyToManyField.
Backport of b0799f5d86b6c0ccb1dcba6e0d2eee336f7f5928 from master
2019-02-25 20:10:22 +01:00
Mariusz Felisiak
068952d694
[2.1.x] Fixed relative paths imports per isort 4.3.5.
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master
2019-02-25 19:53:01 +01:00
Mariusz Felisiak
8fe63dc4cd
[2.1.x] Fixed #30187 -- Moved "install Django" command to a console box.
Backport of edec11ce86a1a0d9e4c5a2a0df6acaf655041c24 from master.
2019-02-16 08:10:14 +01:00
Tim Graham
e1b55f2d3f [2.1.x] Added CVE-2019-6975 to the security release archive.
Backport of d6e5aad5c7eba3d8061c09902de16cd2b22619af from master.
2019-02-11 16:14:58 -05:00
Tim Graham
5c2b94af2a [2.1.x] Refs #30177 -- Forwardported 2.0.13 release notes.
Backport of 1b8f552b08eb7642be598ba7512e7eaecefbdc6d from master.
2019-02-11 15:55:12 -05:00
Tim Graham
11d7f58a17 [2.1.x] Post-release version bump. 2019-02-11 15:53:48 -05:00
Carlton Gibson
dd0aa9dcca [2.1.x] Bumped version for 2.1.7 release. 2019-02-11 16:06:17 +01:00
Carlton Gibson
168bfdd92b [2.1.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:48:23 +01:00
Carlton Gibson
79a6e7798f [2.1.x] Bumped version for 2.1.6 release. 2019-02-11 11:26:29 +01:00
Carlton Gibson
40cd190557 [2.1.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:11:55 +01:00
Mariusz Felisiak
657bbb139a
[2.1.x] Removed extra characters in docs header underlines.
Backport of 25829197bb94585e94695360065ac614aa9e6a56 from master
2019-02-08 21:41:10 +01:00
Carlton Gibson
5e5ecadaa3 [2.1.x] Added stub release notes for security releases.
Backport of 5cc6f02f91e8860c867cc68cf42e66b5bb54c63d from master
2019-02-07 15:49:51 +01:00
Daniel Hahler
893b80d95d [2.1.x] Fixed duplicate word in docs/releases/2.0.txt.
Backport of fdc4518fe296c169cf54f23fdad2e0fc8785c059 from master.
2019-02-04 18:30:48 -05:00
Tim Graham
f30467fe1d [2.1.x] Used extlinks for GitHub commits.
Backport of c34c6d0a2fc6d9bc55fb2db94b9ed40141babb15 from master.
2019-02-01 15:49:47 -05:00
Sergey Fedoseev
86f0779d09 [2.1.x] Corrected output of Prefetch.to_attr example.
Backport of ba7a420012799b26ec9e969d0276d2ccee93c1f5 from master.
2019-01-31 09:09:48 -05:00
Mariusz Felisiak
cd21b1a228
[2.1.x] Fixed E117 and F405 flake8 warnings.
Backport of 5a5c77d55dc85c7e6cf910243257e408887f412a from master
2019-01-30 13:10:44 +01:00
Mariusz Felisiak
03219b5f70
[2.1.x] Fixed #30117 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.4.0+.
Backport of f05c02c4b8d4e423e57d453c4bd699dc5ff7eaa7 from master
2019-01-19 13:36:46 +01:00
Tim Graham
1bb31708a0 [2.1.x] Refs #30097 -- Fixed typos in InlineModelAdmin.has_add_permission() deprecation comments.
Backport of ee9bd8c31024ec424157798b2a60a7f52f9353ee from stable/2.2.x.
2019-01-17 18:41:43 -05:00
Simon Charette
f77dd56ead [2.1.x] Refs #29004 -- Prevented inspectdb tests from flushing all tables data.
This is a costly operation on most database backends.

Backport of 64f9776bc4a27a665032ac15f5176ced66e996e3 from master
2019-01-14 21:37:48 -05:00
Mariusz Felisiak
9c64761294 [2.1.x] Relaxed assertions to fix GIS test failures on Oracle 18c.
Backport of 1508e71c5b056ba099097a849b13187dcbfa26a1 from master
2019-01-14 19:04:43 -05:00
MaximZemskov
3df13847d5 [2.1.x] Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
Restored backwards compatibility after refs #27991.
Regression in be6ca89396c031619947921c81b8795d816e3285.

Backport of 3c01fe30f3dd4dc1c8bb4fec816bd277d1ae5fa6 from master.
2019-01-11 18:03:23 -05:00
Tim Graham
7470595459 [2.1.x] Added stub 2.1.6 release notes.
Backport of 36fceeec883c5082168714a0eb14a2fe40f9d79b from master.
2019-01-08 08:57:48 -05:00
Tim Graham
ee1cad4908 [2.1.x] Added CVE-2019-3498 to the security release archive.
Backport of 162ae9c9143aa85eb27ea69b446a28973eea4854 from master.
2019-01-04 09:25:20 -05:00
Tim Graham
bbb87e3da3 [2.1.x] Post-release version bump. 2019-01-04 08:54:01 -05:00
Tim Graham
066f26fe8b [2.1.x] Bumped version for 2.1.5 release. 2019-01-04 08:45:30 -05:00
Tom Hacohen
64d2396e83 [2.1.x] Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in the default 404 page.
Co-Authored-By: Tim Graham <timograham@gmail.com>
Backport of 1ecc0a395be721e987e8e9fdfadde952b6dee1c7 from master.
2019-01-03 21:22:14 -05:00
Tim Graham
e45d466d37 [2.1.x] Added __init__.py for db_utils tests.
Backport of b5fe97a34ea527d4254b58c2e828450e7c32157f from master.
2019-01-02 18:20:08 -05:00
Jozef
fcb4d4dd9d [2.1.x] Fixed typo in docs/ref/migration-operations.txt.
Backport of 5bbf31634faad13658dc7bcaeb8139d8625e4349 from master.
2019-01-02 17:56:41 -05:00
Tim Graham
cca7ce609d [2.1.x] 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.

Backport of e4a714b259125423059b9f65f5e0ab70d78521ba from master.
2019-01-02 17:36:57 -05:00
Tim Graham
4e4b952123 [2.1.x] Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
Thanks andreage for the report and suggested fix.

Backport of 02c07be95c47efaab9da7422c33ee76142f11336 from master.
2019-01-01 09:53:28 -05:00
Adam Johnson
65ccb1b7e4 [2.1.x] Added examples to HttpRequest.build_absolute_uri() docs.
Backport of b71e3d635a5731ec02469822694d06d964007f9b from master.
2018-12-29 19:45:01 -05:00
Vedran Karačić
400dac7b69 [2.1.x] Updated OWASP Top 10 link to the latest version.
Backport of 293db9eb36e42e8ba976c2639800020d04b95deb from master.
2018-12-27 10:04:41 -05:00
CHI Cheng
6f4130f358 [2.1.x] Fixed broken links to PyYAML page.
Backport of b7dbd5ff68bb9d2235ca081c0bd0b8baa65f8c77 from master.
2018-12-27 10:49:57 +01:00
Marten Kenbeek
a79789e232 [2.1.x] Added import locations to contrib.postgres aggregates and validators docs.
Backport of 7a6dbbb655850bff56cd717a3bfa0975e200d15f from master.
2018-12-24 16:36:14 -05:00
Konstantin Alekseev
08f78a4fc8 [2.1.x] Fixed #30015 -- Ensured request body is properly consumed for keep-alive connections.
Backport of b514dc14f4e1c364341f5931b354e83ef15ee12d and
bbe28fa07658f00786dc1d91ee281b4daac22d07 from master.
2018-12-20 22:17:21 -05:00
Tim Graham
60398f0e39 [2.1.x] Removed unused imports in tests/test_runner/tests.py. 2018-12-20 22:12:18 -05:00
Simon Charette
7cf9d15cf8 [2.1.x] 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.

Backport of 315357ad25a6590e7f4564ec2e56a22132b09001 from master.
2018-12-17 10:01:35 -05:00
Carlton Gibson
8d741bd88f [2.1.x] Fixed #30036 -- Removed unused imports in pagination example.
Backport of a394289b58b1773c4959ed768fdb325c91b2b589 from master
2018-12-12 18:50:53 +01:00
Simon Charette
fc8c2284e9 [2.1.x] 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.

Backport of c8ffdbe514b55ff5c9a2b8cb8bbdf2d3978c188f from master.
2018-12-07 14:22:27 -05:00
Rodrigo
4c506730b5 [2.1.x] Fixed #29895 -- Doc'd why MySQL's atomic DDL statements don't work for atomic migrations.
Backport of ad191d9e011f37d79a7f2df3da881b06539aaaea from master.
2018-12-06 16:45:39 -05:00
Tim Graham
389ef05b1b [2.1.x] Refs #30013 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.3.14+.
Backport of 734ce71824180740f2318750ae2436f4b60c30b1 from master.
2018-12-05 15:10:36 -05:00
Tim Graham
1084906927 [2.1.x] Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with mysqlclient 1.3.14+.
Backport of 284b3221a2c17af5bfe2edbf851ac0a9901f91a0 from master.
2018-12-05 15:09:19 -05:00
Carlton Gibson
878744586b [2.1.x] Added stub release notes for 2.1.5 release.
Backport of 196b420fcb0cbdd82970e2b9aea80251bde82056 from master
2018-12-04 16:23:16 +01:00
Carlton Gibson
2a99d476c6 [2.1.x] Post-release version bump. 2018-12-03 18:11:58 +01:00
Carlton Gibson
f1374f34da [2.1.x] Bumped version for 2.1.4 release. 2018-12-03 17:37:53 +01:00
Carlton Gibson
c74e53f1c9 [2.1.x] Added release date for 2.1.4.
Backport of 346721a0389657e800ef917cfee063c1f49ae0b3 from master
2018-12-03 17:34:59 +01:00
Carlton Gibson
27f5b0aff3 [2.1.x] Fixed #29930 -- Allowed editing in admin with view-only inlines.
Co-authored-by: Tim Graham <timograham@gmail.com>
Backport of 8245c99ee6032c2748ba46583d8cab15b2f9438e from master
2018-12-03 17:34:36 +01:00
Carlton Gibson
b623c49c39 [2.1.x] Added release date for 1.11.17.
Backport of 950112548e61098f442d37a8ded4ef9f83ff8fda from master
2018-12-03 15:21:57 +01:00
raratiru
8f8be2a8d7 [2.1.x] Fixed #29991 -- Doc'd logger propogation for the default logging config.
Backport of 793a71b7be9970bee8cbac68985684628e99ad23 from master.
2018-11-29 20:32:49 -05:00
Basil Dubyk
381bdd4898 [2.1.x] Fixed #29929 -- Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields.
Backport of 7d1123e5ada60963ba3c708a8932e57342278706 from master.
2018-11-28 15:50:30 -05:00
Tim Graham
a9d9680ea3 [2.1.x] Refs #28205 -- Corrected ModelAdmin.prepopulated_fields docs regarding when they're populated.
Backport of 682cdf6cab8cb76ef1808df45631c39748052e13 from master.
2018-11-28 15:12:31 -05:00
Tim Graham
7e9d5a0aca [2.1.x] Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.
Backport of 926fa7116fd633b69277c3ad9b3370ca45163231 from master.
2018-11-27 16:26:18 -05:00
Simon Charette
5760e05375 [2.1.x] Corrected Aggregate docs to reflect that it accepts multiple expressions.
Backport of 9a7d336c3866c5226ed11868be0234c7e2fa47fa from master.
2018-11-27 09:28:49 -05:00
Damian Dimmich
0d4bbd3f33 [2.1.x] Updated docs for fast column creation with defaults in PostgreSQL 11.
Backport of 133e79399a0aeecaca7379dd79cc1cc3f8b5e7ae from master.
2018-11-26 10:13:29 -05:00
takaaki shimbo
4e6285c490 [2.1.x] Fixed typo in patch_logger() docstring.
Backport of 6275b50ac26ea6c026aa7b2aae9192f5792e8a94 from master
2018-11-25 14:43:44 -05:00
andreage
d18e14e1d9 [2.1.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 78fc64578a8715b9812075bbebc829c1251c07fa from master
2018-11-23 10:13:17 +01:00
Florian Apolloner
e1721ece48 [2.1.x] Fixed #29849 -- Fixed keep-alive support in 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.

Regression in ac756f16c5bbbe544ad82a8f3ab2eac6cccdb62e.
Backport of 934acf1126995f6e6ccba5947ec8f7561633c27f from master.
2018-11-20 17:44:03 -05:00
Tim Graham
ab2b86c124 [2.1.x] Doc'd purpose of "Database backend API" backwards incompatible changes section.
Backport of f436c82637dafa3a9abbd65a3be77bf7ad431213 from master.
2018-11-17 16:04:59 -05:00
Tim Graham
b94279dd26 [2.1.x] Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x.
Backport of 2fd21a18584dc62cfad65cc112465ce68db5561a from master.
2018-11-17 16:04:33 -05:00
Claude Paroz
0991940c88 [2.1.x] Fixed #29959 -- Cached GEOS version in WKBWriter class.
Regression in f185d929fa1c0caad8c03fccde899b647d7248c6.

Backport of e7e55059027ae2f644c852e0ba60dc9307b425e1 from master.
2018-11-16 15:12:19 -05:00
Tim Graham
c0c7bda525 [2.1.x] Removed release date for 2.0.10 and 1.11.17.
Backport of 97cec6f75d9d9b86892829f784e5e9dabfd1242a from master.
2018-11-16 09:34:39 -05:00
Prabakaran Kumaresshan
24a85f44c2 [2.1.x] Fixed #29864 -- Added link targets for low-level cache API.
Backport of 8250538bfc9792c87cd42c27fa778f12e14350cb from master.
2018-11-15 18:46:27 -05:00
Mathew Payne
2128c508a2 [2.1.x] Fixed #29952 -- Lowercased all passwords in contrib.auth's auth/common-passwords.txt.gz.
Backport of 26bb2611a567d43bc258aa7806eef766b7adcfe5 from master.
2018-11-15 14:11:24 -05:00
Daniel Musketa
793e26bc4f [2.1.x] Fixed typo in docs/ref/middleware.txt.
Backport of ca2856fb6297378c40622521d21539097c28eb0b from master.
2018-11-14 09:48:06 -05:00
Katie McLaughlin
353afec70d [2.1.x] Fixed #29940 -- Recommended using the ORM rather than raw SQL.
Backport of 9886dffdf45873a5ce427eded9277f37d4a30ef1 from master.
2018-11-13 18:15:35 -05:00
Tobias Bengfort
b2ede89337 [2.1.x] Doc'd PermissionsMixin's usage of User.is_active and is_superuser.
Backport of b1243a55a5916ed08a726b011bc05d40f717ef40 from master.
2018-11-12 10:44:43 -05:00
Sergey Fedoseev
ae35cd3dcb [2.1.x] Corrected docs regarding RegisterLookupMixin subclasses.
Backport of d48662122c7f539efca3949f4d9fea82416fbb1a from master.
2018-11-12 10:20:50 -05:00
Mads Jensen
747253ce84 [2.1.x] Updated some links to https and new locations.
Backport of 961f8e99850ecb334d63a943b53b3cb1180ef538 from master.
2018-11-10 17:41:02 -05:00
Tim Graham
da84fbfcb5 [2.1.x] Removed dead links to botbot.me.
Backport of d293d68f6a6d3b8006c919c54729a724835321a4 from master.
2018-11-10 17:25:47 -05:00
Tom Forbes
497d825dde [2.1.x] Removed obsolete and flaky GeoIP tests.
Backport of 8f90593e6f8197148c8f86e598bfef6792f3f4bf from master.
2018-11-10 08:22:56 -05:00
Tim Graham
8bc244bd57 [2.1.x] Fixed #29941 -- Fixed missing variable in docs/ref/contrib/contenttypes.txt.
Regression in b47552b445547e60cc89213f79e02333cb63f270.

Backport of 0b98e8fdad48a33aa34cc84d9bf0c3cd41c56ec6 from master.
2018-11-09 19:50:24 -05:00
minusf
5d0de5852a [2.1.x] Fixed signing.dumps() example for Python 3.
Backport of 545dae24fd01a9165d869a13aad04f5b88d626c1 from master
2018-11-09 07:27:03 -05:00
mentix02
ec28343628 [2.1.x] Fixed #29933 -- Fixed typo in docs/intro/contributing.txt.
Backport of 413583e2e27af89e3ffaa4f8e34ee018fb77173c from master.
2018-11-08 17:12:31 -05:00
Tobias Bengfort
bd375f503e [2.1.x] Fixed inconsistent indentation in docs/ref/contrib/auth.txt.
Backport of 9a63d840ffaac291afd443eec89ac9c9d04b49dd from master.
2018-11-03 11:07:58 -04:00
Mice Pápai
394af709db [2.1.x] Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
Backport of 5a2dd5ec5330938e9afb77faf6ca89abf39c018c from master
2018-11-02 16:00:26 +01:00
Carlton Gibson
28702011a0 [2.1.x] Updated expected date for 2.1.4 release.
Backport of 7e5cb4633020e3943a88d9752f719381b10d7de1 from master
2018-11-01 16:19:49 +01:00
Theofanis Despoudis
082833c969 [2.1.x] Fixed #27994 -- Documented ManifestFilesMixin.
Backport of 084536a9bec1237fabd63fe69a6c17806c9cde53 from master.
2018-11-01 11:15:31 -04:00
Carlton Gibson
2b263ed6be [2.1.x] Added stub release notes for 2.1.4 release.
Backport of 74ddd0e83b039268e2988b777753cf01e417ccc1 from master
2018-11-01 15:48:54 +01:00
Carlton Gibson
78cff67005 [2.1.x] Post-release version bump. 2018-11-01 15:45:51 +01:00
Carlton Gibson
d6226e3a82 [2.1.x] Bumped version for 2.1.3 release. 2018-11-01 15:07:09 +01:00
Carlton Gibson
6117367f0a [2.1.x] Added release date for 2.1.3 release.
Backport of eb13e6cb9aeb64d042cace2a3d02c439411253f0 from master
2018-11-01 15:03:36 +01:00
Tim Graham
1df26757dd [2.1.x] Fixed #22390 -- Doc'd possible server restart required in tutorial 6.
Backport of d8f83531c2dc40a7add4afc5b917c1e5a7452be8 from master.
2018-10-31 20:50:28 -04:00
Tim Graham
cd7d6c8af7 [2.1.x] Fixed #29890 -- Fixed FileSystemStorage crash if concurrent saves try to create the same directory.
Regression in 632c4ffd9cb1da273303bcd8005fff216506c795.

Backport of 98ef3829e96ebc73d4d446f92465e671ff520d2b from master.
2018-10-31 20:24:16 -04:00
Tim Graham
0f02d71995 [2.1.x] Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for foreign keys that use to_field.
Regression in ee49306176a2d2f1751cb890bd607d42c7c09196.
Backport of f77fc56c9671a2e2498e3920d79e247e6de18c16 from master.
2018-10-28 22:54:19 -04:00
Sergey Fedoseev
69603b3e71 [2.1.x] Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.
Regression in e1253bc26facfa1d0fca161f43925e99c2591ced.
Backport of 9a88c6dd6aa84a1b35e585faa0058a0996cc7ed7 from master.
2018-10-25 19:38:00 -04:00
Mayank Singhal
4529287af2 [2.1.x] Fixed #29879 -- Added CSRF_COOKIE_HTTPONLY to CSRF AJAX docs.
Backport of 76b3367035889d87ffef7a52cd44d70e30537f6f from master
2018-10-25 12:07:38 -04:00
Mariusz Felisiak
81530222c8 [2.1.x] Fixed F841 flake8 warning.
Backport of 641742528a8babbede92890bc0bef50a255c1bbb from master.
2018-10-24 09:28:25 -04:00
Mariusz Felisiak
5aeffc0535 [2.1.x] Ignored flake8 W504 warnings.
W504 is mutually exclusive with W503 that we follow.

Backport of 58d1e9aa8ab505912389e7cd019a6f21785ad4bf from master.
2018-10-24 09:25:34 -04:00
Jon Dufresne
8a348c5fd0 [2.1.x] Refs #29877 -- Made diveinto.org URLs HTTPS.
Backport of 136a900ef98a7b7261a124308c8c26370ff2d5e4 from master
2018-10-23 15:03:40 +02:00
za
fbd95ce9bb [2.1.x] Fixed #29877 -- Replaced diveintopython3.net with diveinto.org/python3/.
Backport of b0d716cbffdd66dd9108895d0524bef2530fc732 from master
2018-10-23 11:56:41 +02:00
Tim Graham
54732e2891 [2.1.x] Fixed #29880 -- Fixed typo in docs/topics/auth/default.txt.
Backport of 043407ec7e6e659a69c2432319140b4a813928d2 from master.
2018-10-22 15:19:53 -04:00
Atul Varma
021f67be4b [2.1.x] Removed "encoding" description in GIS tutorial.
An omission in 388165ade4219aeefac1e231c1d44c51a7b62829.
Backport of 3deea61f266b8e5c7c6d70ba12e2b95050dfb557 from master
2018-10-21 12:14:57 -04:00
Adam Allred
0d5d8ed322 [2.1.x] 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.

Backport of 4e78e389b16fbceb23d5236ee1650b213e71c968 from master.
2018-10-19 20:45:55 -04:00
Tim Graham
4acdba42a6 [2.1.x] Fixed #29858 -- Clarified docs regarding CSRF token header name.
Backport of a29fce89845cc9ca2fa96d8880104726b75dfbd6 from master.
2018-10-19 19:35:25 -04:00
Andy Chosak
822f111b86 [2.1.x] Updated Jinja2 static tag example to use django.templatetags.
As of cf546e11ac76c8dec527e39ff8ce8249a195ab42, this is the
canonical way to invoke the static tag.
Backport of 084573c7156530047bec2c19e732423fa9d0ec13 from master.
2018-10-18 19:20:15 -04:00
Tim Graham
9982babbf9 [2.1.x] Replaced CVE/ticket roles with extlinks.
Backport of 44f98f78804627839d5f0a8b3a32bfbb4546ff52 from master.
2018-10-17 12:05:50 -04:00
aspalding
0df7ea1b87 [2.1.x] Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists.
Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.

Backport of 834c4ec8e4cfc43acf0525e0a4d8c914534f6afd,
217f82d7139fd32f07adbfa92c5fb383d0ade577, and
dc5e75d419893bde33b7e439b59bdf271fc1a3f2 from master.
2018-10-17 11:40:02 -04:00
Tom Dyson
0f611fb1fa [2.1.x] Removed obsolete "ugly URL" reference.
Backport of 6752c2756eb9be28a37021d664b805ec169369d6 from master.
2018-10-17 10:21:12 -04:00
Çağıl
554fd6cd76 [2.1.x] Added a paragraph in docs/intro/contributing.txt.
Backport of 38f3de86bd0bfa4c9b57db1237fa55e9fa88bc6e from master.
2018-10-16 16:11:13 -04:00
Taoufik
6efe2ba057 [2.1.x] Fixed typo in django/utils/datastructures.py.
Backport of f07091a30fbac713a03d292ec1c901f0a7757440 from master
2018-10-14 11:20:52 -04:00
Peter Inglesby
1996889522 [2.1.x] Removed unused fields from aggregation docs.
Backport of a1ffbfb80166bf183552363419e5884a51158405 from master
2018-10-13 21:14:14 -04:00
Adam Johnson
4d7fbbdd7d [2.1.x] Simplified deployment checklist docs on customizing error views.
Backport of cecd6561840805c67dd828f881a26dc72de4c823 from master.
2018-10-11 10:26:03 -04:00
Andrea Rabbaglietti
b9b284831a [2.1.x] Emphasized that ForeignKey.on_delete doesn't create a SQL constraint.
Backport of 1b49b792e9f0e6a5ae22f49f75586847e7e183bf from master.
2018-10-10 14:57:01 -04:00
Kate Berry
8985759f72 [2.1.x] Improved tone in docs/ref/settings.txt.
Backport of b8b1d8cad6ce5b15f6527aa14cc81ad7a0d00efe from master.
2018-10-09 20:53:53 -04:00
Jon Dufresne
6cb5285f29 [2.1.x] Refs #29784 -- Switched to https:// links where available.
Backport of 82f286cf6f198d37850d3c5df637b5665566a66b from master.
2018-10-09 20:52:43 -04:00
Jon Dufresne
ec0803b1be [2.1.x] Capitalized "Python" in docs and comments.
Backport of e90af8bad44341cf8ebd469dac57b61a95667c1d from master.
2018-10-09 20:50:31 -04:00
Jon Dufresne
d1b25a64c2 [2.1.x] Refs #27778 -- Removed "The database API" section from "Unicode data" docs.
Support for passing bytestrings to the database API was removed in
301de774c21d055e9e5a7073e5bffdb52bc71079.
Backport of f5d9ee11a2c76ba1cf7e3424d15286da121a004b from master
2018-10-04 09:40:43 -04:00
ovalseven8
9e5f4bcedb [2.1.x] Clarified when QuerySet.select_for_update() locks.
Backport of d093e01ec05f661063507503fdf294eb6ee54dee from master.
2018-10-03 15:35:20 -04:00
Adam Johnson
173e242d71 [2.1.x] Fixed #28034 -- Updated the contributing tutorial to use an imaginary ticket.
Backport of 18e4ade79ef145401b899ab539322c95d2a64266 from master.
2018-10-03 15:09:47 -04:00
Carlton Gibson
5045f8af85 Revert "[2.1.x] Refs #27795 -- Removed force_bytes() usage in sessions."
This reverts commit f3f31b0fc26f772b198c9683a427f2f7fe208c37.
2018-10-03 15:14:27 +02:00
Carlton Gibson
54eedddb50 Revert "[2.1.x] Refs #27795 -- Removed force_bytes() usage in MySQL backend."
This reverts commit a47dd99cc6883fe3e35895e8c5d4bb53996bd184.
2018-10-03 15:14:03 +02:00
Jon Dufresne
f3f31b0fc2 [2.1.x] 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.

Backport of bdae19cf6395d6bfee80864d9e87c4aec241eceb from master
2018-10-03 11:33:12 +02:00
Jon Dufresne
a47dd99cc6 [2.1.x] 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.

Backport of efd8a82e268a82b3ad0be77bd5b4548c30bcb4d7 from master
2018-10-03 10:42:35 +02:00
Jon Dufresne
490f4fa574 [2.1.x] Corrected docs to say that all templates are text strings.
Support for bytestring templates was removed in
3a148f958dddd97c1379081118c30fbede6b6bc4.
Backport of 3212008ba602668f7923852454b508a400dd732e from master
2018-10-03 10:06:32 +02:00
Tim Graham
95c2ce678f [2.1.x] Removed docs for obsolete limitations of inspectdb.
Backport of 31edb106b5ce3aa125121b748782743f19338307 from master.
2018-10-02 13:29:32 -04:00
Jon Dufresne
f0759305d0 [2.1.x] Fixed #29813 -- Fixed DatabaseOperation test when run in isolation on MySQL.
Backport of 7598cd4748dc402b0209e5eedb6d2a83c3da1620 from master.
2018-10-02 08:22:51 -04:00
Tim Graham
39fd80470c [2.1.x] Fixed crash building translated docs since Sphinx 1.8.
Backport of 7206601040304c762f5014048fda6fa68ec1ee84 from master.
2018-10-01 20:44:57 -04:00
Cammil Taank
cd9391ca3d [2.1.x] Fixed #29758 -- Documented how to test custom error views.
Backport of f83a689f617d119a2bed23032919cea98c424c58 from master
2018-10-01 18:39:11 -04:00
Jon Dufresne
d95d7d6896 [2.1.x] Added tests for using bytearray with BinaryField and corrected docs.
Backport of b3b47bf5156d400595363fa0029e51ce3f974ff0 from master.
2018-10-01 09:16:47 -04:00
Carlton Gibson
4a7ea6ba58 [2.1.x] Adjusted text for CVE-2018-16984 in security release archive.
Backport of 92ccc3917058b1025b2d657ffdf3c21eb8009f7b from master
2018-10-01 15:05:28 +02:00
Carlton Gibson
8fb3c2fe2a [2.1.x] Added CVE-2018-16984 to the security release archive.
Backport of 0b3b7c4b0ab2567cfe5df3ac19563d4a59276cb1 from master
2018-10-01 12:01:22 +02:00
Carlton Gibson
d53e91d43d [2.1.x] Added stub release notes for 2.1.3 release.
Backport of dc28c0faf33b69df20ff8b4c244b48d3f7e5c77d from master
2018-10-01 12:01:12 +02:00
Carlton Gibson
5da80967bc [2.1.x] Added stub release notes for 2.0.10 release.
Backport of 2e86710dac8e1965e39461d0f43eec29d33a75c2 from master
2018-10-01 12:01:01 +02:00
Carlton Gibson
ceac3aac59 [2.1.x] Added stub release notes for 1.11.17 release.
Backport of 7040e638b960c122cd71eccac2b1bf2fe8d0f5da from master
2018-10-01 12:00:48 +02:00
Carlton Gibson
6da866c047 [2.1.x] Post-release version bump. 2018-10-01 11:40:27 +02:00
Carlton Gibson
38e2fdadfd [2.1.x] Bumped version for 2.1.2 release. 2018-10-01 10:18:50 +02:00
Carlton Gibson
b493e8f4f9 [2.1.x] Added release date for 2.1.2 release.
Backport of fb7fd884a147da9c095acef1172eaeea5ed9f059 from master
2018-10-01 10:16:48 +02:00
Tim Graham
176d20b92a [2.1.x] Fixed #29809 -- Fixed a crash when a "view only" user POSTs to the admin user change form.
Backport of a7284cc0c3620030b43034cdf41216c0941bf411 from master
2018-10-01 10:16:15 +02:00
Carlton Gibson
c4bd5b597e Fixed CVE-2018-16984 -- Fixed password hash disclosure to admin "view only" users.
Thanks Claude Paroz & Tim Graham for collaborating on the patch.

# Conflicts:
#	tests/auth_tests/test_views.py
2018-10-01 10:15:50 +02:00
Carlton Gibson
f86100ab18 [2.1.x] Added release date for 2.0.9 release.
Backport of a4932be483368d17d907d8d5492c4701a6631d87 from master
2018-10-01 09:56:20 +02:00
Carlton Gibson
991f75fb0a [2.1.x] Added release date for 1.11.16.
Backport of d37ed40048b749c75f7f54ef8b96d8e738f10719 from master
2018-10-01 09:35:26 +02:00
Claude Paroz
d5ed08263b [2.1.x] Updated translations from Transifex 2018-09-29 16:03:27 +02:00
Claude Paroz
7b444bf5f7 [2.1.x] Refs #21408 -- Updated naturaltime translation test.
Upcoming German translations will not differ for past and future naturaltime
translations. Using Czech language instead.
Backport of ddcb9e806275114c91bbed90bc917374ba08a9ae from master
2018-09-29 15:07:09 +02:00
Jon Dufresne
a6e7ebf4ee [2.1.x] Added test of filtering on BinaryField and corrected docs.
Backport of fb2964a4106b1282c4179b6fbbd0374f5be1ccac from master.
2018-09-26 15:07:06 -04:00
Stephen James
f5335bc745 [2.1.x] Fixed #29683 -- Added view permission to docs.
Backport of e40e7026cad400d720963aea0ba156a19f83b058 from master.
2018-09-26 15:06:57 -04:00
Mariusz Felisiak
5aeced6dcd
[2.1.x] 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.
Backport of 024abe5b82d95ee60cb18a77ebf841ad715467fa from master
2018-09-26 20:24:20 +02:00
Sergey Fedoseev
5082108559 [2.1.x] Fixed #29795 -- Confirmed support for PostGIS 2.5.
Backport of 51da347c32f5af1e8de4be77c15d6a35b58d4059 from master.
2018-09-26 13:37:12 -04:00
Mariusz Felisiak
1f8a5d4fac [2.1.x] Made DatabaseWrapper.oracle_version() return a full version tuple.
Backport of 90d93a1b425c0e6e3d88afa9fff78790300e1e38 from master
2018-09-26 08:54:51 +02:00
Oleg
cdb8ee741d [2.1.x] Fixed #29778 -- Fixed quoting of unique index names.
Regression in 3b429c96736b8328c40e5d77282b0d30de563c3c.
Backport of d1d5c97bc2821bf8c0f4b2d9c7ab16200845b494 from master.
2018-09-25 16:10:47 -04:00
Jon Dufresne
f53ed7846b [2.1.x] Refs #29784 -- Normalized Python docs links to omit the version.
Backport of ad9a28ee38e3352b16cc6c9ae7f55f90c64710cc from master.
2018-09-25 10:22:06 +02:00
Jon Dufresne
c6d147bed8 [2.1.x] Refs #29784 -- Changed Python f-string link to use intersphinx.
Backport of 3a3d159ab66c32dbf7331676267a04afa20857d0 from master.
2018-09-25 10:21:36 +02:00
Thomas Grainger
1d9725504c [2.1.x] Updated contributing tutorial's virtual environment instructions.
Backport of c99d379f534817edccbe8b23a235e11781508590 from master
2018-09-19 15:04:53 -04:00
Tim Graham
322b70f605 [2.1.x] Fixed typo in docs/releases/2.1.txt.
Backport of 0192e9a976ea7018220ec607de63a641323404b1 from master
2018-09-18 15:47:07 -04:00
Adam Johnson
7b0da16725 [2.1.x] Made various edits to docs/ref/utils.txt.
Backport of beffa061eb8168105f265f0064d20d31165178b5 from master
2018-09-18 11:43:16 -04:00
jtiai
93f4080813 [2.1.x] Fixed #29757 -- Documented Oracle DSN and Easy Connect options.
Backport of 583b9fc4101e5930c39f49d664d41a1596ba78f4 from master
2018-09-17 10:48:21 -04:00
Mariusz Felisiak
430966c2fc
[2.1.x] Fixed #29759 -- Fixed crash on Oracle when fetching a returned insert id with cx_Oracle 7.
Backport of da92ec79621fc0bba671d8afa52b7f6884962fe5 from master
2018-09-16 12:49:24 +02:00
Simon Charette
4c5a8c6f50 [2.1.x] Fixed #29755 -- Made migrations detect changes to Meta.default_related_name.
Backport of a4495f4b989dc919d80fcf9f38e31e247faa94fb from master
2018-09-14 10:20:27 -04:00
Adam Zapletal
08ce2666da [2.1.x] Fixed typo in docs/ref/contrib/postgres/search.txt.
Backport of 57fd3700d4f5a7887ad3967fe19b61bc9f25b2f3 from master
2018-09-12 18:12:49 -04:00
Stephen Finucane
9c88826ff9 [2.1.x] Emphasized that TemplatesSetting must be used to override widget templates.
Backport of 25f4302349db71d73a15ff8f3872956fc21a0f84 from master
2018-09-11 15:15:14 -04:00
Tim Graham
5bbcf83fce [2.1.x] Fixed #29749 -- Made the migrations loader ignore files starting with a tilde or underscore.
Regression in 29150d5da880ac1db15e47052330790cf1b802d2.
Backport of 32fbccab406b680bc0a0a8d39a9b95c3a08bbc5a from master
2018-09-11 12:51:24 -04:00
Tim Graham
5cd053600e [2.1.x] Fixed env.note_versionchange() deprecation warning in Sphinx 1.8.
Backport of a0ef6a0e22038a36c3646ea96f61fdc6d7ab7e5c from master
2018-09-11 09:27:21 -04:00
Tim Graham
780190f6d9 [2.1.x] Removed usage of deprecated sphinx APIs.
Backport of cc4bb110d31f18d2931fd79d792d3ac09cce19e5 from master
2018-09-11 09:27:16 -04:00
melipone
24b3aa0275 [2.1.x] Fixed #16995 -- Clarified interaction of initial and extra with model formsets.
Backport of 28dac56aed1c8c9923b52a1ac3606996f9820b30 from master
2018-09-10 15:56:45 -04:00
Curtis Maloney
1853e2dbf2 [2.1.x] Refs #20910 -- Replaced snippet directive with code-block.
Backport of c49ea6f5911296dcb40190c905e38b43cdc7c7a3 from master
2018-09-10 14:38:08 -04:00
Adam Johnson
2b2474b75d [2.1.x] Fixed #29729 -- Updated contributing tutorial to run tests on master.
Backport of f8ff529ee32c79b270176f5e8d7a3f6ef048ac31 from master
2018-09-10 11:17:25 -04:00
Vishvajit Pathak
56dd80e573 [2.1.x] Fixed #29573 -- Added links in aggregation topic guide.
Backport of a48bc0cec9eaaf47c0b3de186c072cf00011c892 from master
2018-09-10 09:54:11 -04:00
Alexander Holmbäck
bd5ce0599b [2.1.x] Fixed #29727 -- Made nonexistent joins in F() raise FieldError.
Regression in 2162f0983de0dfe2178531638ce7ea56f54dd4e7.

Backport of f315d0423a09dfe20dd4d4f6a0eb11fc8e45a665 from master
2018-09-08 09:50:02 -04:00
Alexander Holmbäck
ed60ce55c2 [2.1.x] Moved test for nonexistent field in F() to BasicExpressionsTest.
Backport of aa16ec54747eaa9da7534e67a1de320b9a517c1c from master
2018-09-08 09:40:53 -04:00
flh
2975ceef6c [2.1.x] Corrected forms.TimeField's default widget in docs.
Backport of ccf870ebf5a9f9b44711a08549833f97ef3f7a41 from master
2018-09-08 08:56:25 -04:00
James Aylett
231c595bde [2.1.x] Refs #16470 -- Fixed typo in a FileResponse test.
Backport of ee52044a278885bd9455dd59b1e16c5d5e2d68ce from master.
2018-09-01 15:16:07 +02:00
Carlton Gibson
d51ca1232e [2.1.x] Added stub release notes for 2.1.2.
Backport of 728ee98cd39df4a1d0e209c81f36dd6852b2a3a5 from master
2018-08-31 11:02:10 +02:00
Carlton Gibson
24a0d1b8a3 [2.1.x] Post-release version bump. 2018-08-31 10:57:02 +02:00
Carlton Gibson
497e3942b5 [2.1.x] Bumped version for 2.1.1 release. 2018-08-31 10:17:29 +02:00
Carlton Gibson
3adf649d74 [2.1.x] Added release date for 2.1.1.
Backport of fff25d6d0cf7e76e35230a1aa1a76402e1da369a from master
2018-08-31 10:13:46 +02:00
Tim Graham
152b1d783b [2.1.x] 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.

Backport of fd8a7a5313f5e223212085b2e470e43c0047e066 from master
2018-08-30 11:36:04 +02:00
Mariusz Felisiak
e7acd99113 [2.1.x] 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.
Backport of 39461a83c33f0cfe719d3b139413d1f5d1e75d5e from master
2018-08-29 10:03:36 +02:00
Tim Graham
c4559d0b39 [2.1.x] Fixed #29718 -- Doc'd admin template collision backwards incompatibility in Django 2.1.
Backport of 166dec84069c15ecb2bc3a5590f872febdc4709c from master
2018-08-28 14:40:39 -04:00
Claude Paroz
a24fc07bbc [2.1.x] Fixed LayerMapping encoding in geodjango tutorial.
GDAL >= 1.9 automatically converts latin-1-encoded strings from Shapefiles to
UTF-8.
Backport of 388165ade4219aeefac1e231c1d44c51a7b62829 from master.
2018-08-28 19:01:18 +02:00
Matt Wiens
6cd16037d8 [2.1.x] Fixed typo in docs/ref/models/fields.txt.
Backport of c122a7c53cf870e61353afa73e59f28226a5c48d from master
2018-08-28 07:53:19 -04:00
Jon Dufresne
a7e89a5ba7 [2.1.x] Corrected ModelFormMixin.form_invalid() signature in docs.
Backport of 76df4f35c2d732f7996aa6b8d816424c52ee0cc1 from master
2018-08-27 20:52:43 -04:00
Tim Graham
aa527e074f [2.1.x] Fixed #29709 -- Updated recommended SQL Server backend to django-pyodbc-azure.
Backport of 7b7fb2eca51dacb5002a4e6b6e1417b36bd5dfd7 from master
2018-08-25 18:37:21 -04:00
Benjamin Bach
fb9c1f4b46 [2.1.x] Fixed #29226 -- Doc'd modify_settings() ordering considerations for Python < 3.6.
Backport of 08f788b169a30d26f50433083aca253a4e4031b2 from master
2018-08-25 10:25:47 -04:00
Rodrigo
22fa9265c1 [2.1.x] Polished the admin overview docs.
Backport of 939dcff24f8e97d114595b102fb12348da482135 from master
2018-08-21 11:39:31 -04:00
Tim Graham
b7ac1b316b [2.1.x] Fixed typo in docs/releases/2.0.5.txt.
Backport of cdc6da395aa602d772bd376513121fb2b674bda1 from master
2018-08-21 09:48:39 -04:00
Tim Graham
53b9a6654b [2.1.x] Fixed #29682 -- Fixed admin change form crash if a view-only model's form has an extra field.
Backport of d311124be59df64278f3149d68e79ce45b8a6c64 from master
2018-08-20 11:15:16 -04:00
Tom Forbes
77498db196 [2.1.x] Fixed #29685 -- Added QuerySet.explain() to the database optimization docs.
Backport of b042ab897636987701d3a35d6b566c6bef9d6ea2 from master
2018-08-18 09:23:03 -04:00
Jon Dufresne
cae84904c6 [2.1.x] Refs #29015 -- Added database name to PostgreSQL database name too long exception.
Backport of bf17f5e88466e3f571065345f5b2fea0d8af89fe from master
2018-08-17 12:44:17 -04:00
Jon Dufresne
9c93bf0903 [2.1.x] Fixed #29663 -- Made admin change view redirect to changelist with view permission.
Backport of 09ee3b6fe3c4d80bb445835f88148d6f48cde3ff from master
2018-08-17 11:21:17 -04:00
Jon Dufresne
91d281c021 [2.1.x] Added ModelAdmin._response_post_save() to avoid code duplication.
Backport of 57f16655cd5031ef04bf5e310c9e1d31eff912ce from master
2018-08-17 11:04:33 -04:00
Jon Dufresne
f5fbff0b4e [2.1.x] Refs #8936 -- Added ModelAdmin.has_view_or_change_permission().
Backport of cd790ed1a6dbdf910c41da44c306ddae6ea6fd4d from master
2018-08-17 11:04:20 -04:00
Jeff
91af869d70 [2.1.x] Fixed #29646 -- Doc'd the validators that each model and form field uses.
Backport of 3fa3de54152a6b7a67de05ff4ff6fb122c9246e2 from master
2018-08-16 17:05:10 -04:00
Tim Graham
5628a8a23f [2.1.x] Fixed #29677 -- Doc'd return value of StaticFilesStorage.post_process().
Backport of 7f6b013bf60e6168a7e0a8f2b97954c3a45725e0 from master
2018-08-16 10:39:53 +02:00
Marnanel Thurman
ef306338eb [2.1.x] Fixed #29662 -- Allowed test client to accept structured suffix JSON content types.
Backport of 7cc52250f06c2a4769badbab1d7ee01f8e3cb46a from master
2018-08-15 10:28:08 -04:00
Dragoon Aethis
c903e905b3 [2.1.x] Refs #29449 -- Removed release note for "Allowed using contrib.auth forms without installing contrib.auth."
The code was reverted in f3fa86a89b3b85242f49b2b9acf58b5ea35acc1f.
Backport of d3449faaa915a08c275b35de01e66a7ef6bdb2dc from master
2018-08-11 22:32:51 -04:00
Ramiro Morales
f72a7d8f44 [2.1.x] 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.

Backport of b5c7cb4d3306a7b4e8f87bcf365ff30ae53018ed from master
2018-08-10 12:43:27 -04:00
Clément Mangin
d7615674d9 [2.1.x] Fixed #29637 -- Fixed admin change form crash if the user doesn’t have the add permission to a TabularInline.
Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.

Backport of 64e1a271f50d921a54388539b6ff7102a31c3d29 from master
2018-08-10 11:32:52 -04:00
Tim Graham
42f194b858 [2.1.x] Refs #29652 -- Fixed typo in docs/releases/2.1.txt.
Backport of d0928d6454d0b649663820e45d915016a2d9b001 from master
2018-08-08 18:07:40 -04:00
Tim Graham
548a2d3c1f [2.1.x] Fixed #29652 -- Doc'd removal of py-bcrypt compatibility.
Backport of 2fa36719a8fb39f2c2162f9e6430db00c6bc8412 from master
2018-08-08 18:02:02 -04:00
Tim Graham
e3be4e94d1 [2.1.x] Fixed #29623 -- Fixed translation failure of DurationField's "overflow" error message.
Backport of 730173d1c5cf210d8e3bd951fa49f64b9bc561ca from master
2018-08-08 06:38:27 -04:00
Mariusz Felisiak
2bf766cedc
[2.1.x] Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and lists.
Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.
Backport of 9fee229874367beafd532dad6d0f9ff9676ded0b from master
2018-08-08 08:52:55 +02:00
Claude Paroz
d46bf11979 [2.1.x] Refs #29374 -- Moved misplaced line in date format docs table
Backport of 93bd860710d9914cc077ee362d5f3647489ce5a5 from master.
2018-08-06 20:19:47 +02:00
Tim Graham
c2b28dfeec [2.1.x] Consolidated docs about handling a ForeignKey in custom user model manager.
Backport of e9ea49d2740b6f99b4ecc424c1a9ed87905e481e from master
2018-08-06 12:42:19 -04:00
Tim Graham
37c0a33655 [2.1.x] Fixed #28540 -- Doc'd a change to file upload permissions in Django 1.11.
Behavior changed in f734e2d4b2fc4391a4d097b80357724815c1d414
(refs #27334).

Backport of 89d4d412404d31ef34ae3170c0c056eff55b2a17 from master
2018-08-04 11:06:11 -04:00
Carlton Gibson
1e8c68ff47 [2.1.x] Refs #28540 -- Added FILE_UPLOAD_PERMISSIONS to deployment checklist.
Backport of ef70af77ec53160d5ffa060c1bdf5ed93322d84f from master
2018-08-04 11:06:04 -04:00
Adam Johnson
4261ba6770 [2.1.x] Clarified the values accepted by ModelAdmin.fields.
Backport of 45086c294d63ac8787cebff2accd1680ac844138 from master
2018-08-03 16:50:01 -04:00
Tim Graham
1593a8386a [2.1.x] Refs #28584 -- Documented removal of support for SQLite < 3.7.15.
Backport of 1160a975968f86953a6c4405b772eb86283c5a4a from master
2018-08-03 14:58:38 -04:00
Danilo Bargen
4f9641c9af [2.1.x] Fixed #29633 -- Doc'd the geometry type for each model field.
Backport of 2e06ff8e141d347b6b2991891bbac01fba0396d0 from master
2018-08-03 10:39:25 -04:00
Mariusz Felisiak
c706091225
[2.1.x] 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.
Backport of 1a9cbf41a130def83a7e384955544d08be0fc148 from master
2018-08-03 10:33:52 +02:00
Carlton Gibson
a004350193 [2.1.x] Refs #29593, #26891 -- Doc'd RegisterLookupMixin.get_lookups().
Backport of a67ebcb1cbd37e1fc9eddd2da1dda7f319c5ac1d from master
2018-08-03 07:28:21 +02:00
Tim Graham
0cfca0f2cc [2.1.x] Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values.
Regression in 7d96f0c49ab750799860e42716d7105e11de44de.
Backport of d8e2be459f97f1773c7edf7d37de180139146176 from master
2018-08-02 21:56:43 -04:00
Carlton Gibson
66c0c58cf2 [2.1.x] Fixed #29593 -- Added QUERY_TERMS removal to 2.1 release notes.
Removed in 244cc401559e924355cf943b6b8e66ccf2f6da3a.

Backport of 5180015051f262b73559bb55a8e3fe6f551f8b68 from master
2018-08-02 21:07:44 -04:00
Adam Johnson
2b19d198b1 [2.1.x] Removed out of place sentence in QuerySet.count() docs.
Backport of 2e3ba9f5927048655fffa620bbac4f8b048056a4 from master
2018-08-02 17:36:26 -04:00
Michael Sanders
221ef69a9b [2.1.x] 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.

Backport of 271542dad1686c438f658aa6220982495db09797 from master
2018-08-02 17:17:12 -04:00
luz.paz
adfd261404 [2.1.x] Fixed typos in comments and docs.
Backport of 97e637a87fb45c4de970cca6cb783d93473c9d15 from master
2018-08-01 16:13:18 -04:00
Tim Graham
7da1e45dc5 [2.1.x] Added stub release notes for 2.1.1.
Backport of 25dd595742dd1d24c19421c25fe261036b3d0f8b from master
2018-08-01 11:14:25 -04:00
Tim Graham
3dc02de761 [2.1.x] Added CVE-2018-14574 to the security release archive.
Backport of 0006538e53bf11d1de26801b13b78807354de2c8 from master
2018-08-01 11:07:18 -04:00
Tim Graham
3f429e1955 [2.1.x] Post-release version bump. 2018-08-01 11:06:27 -04:00
Tim Graham
e7ad40fcf4 [2.1.x] Bumped version for 2.1 release. 2018-08-01 09:56:13 -04:00
Andreas Hug
c4e5ff7fdb [2.1.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware. 2018-08-01 09:35:09 -04:00
Tim Graham
b323425661 [2.1.x] Added stub release notes for security releases. 2018-08-01 09:35:09 -04:00
Claude Paroz
cbf7e7dc52 [2.1.x] Updated contrib translations from Transifex 2018-08-01 08:41:58 -04:00
Claude Paroz
734e2c65ae [2.1.x] Updated core translations from Transifex 2018-08-01 08:41:58 -04:00
Adam Johnson
0d8f26f320 [2.1.x] Refs #24733 -- Documented arguments for custom error views.
Backport of 49f97b645fb1716cf69177558c41cf650a701eed from master
2018-07-31 21:09:36 -04:00
Tim Graham
5f62efb5c8 [2.1.x] Removed code terms from docs/spelling_wordlist.
Backport of b4fa94aed8ec5209176c9fa88aba3eacdca837f3 from master
2018-07-31 12:53:14 -04:00
Tim Graham
d77cbdcfa3 [2.1.x] Added words to docs/spelling_wordlist for Ubuntu 18.04.
Backport of 8edb27b6c6d5d9e4f3ad95a91254588616854d16 from master
2018-07-31 12:52:50 -04:00
Dražen Odobašić
4dadf4eb7b [2.1.x] Fixed #29617 -- Fixed Template crash if template_string is lazy.
Regression in 3a148f958dddd97c1379081118c30fbede6b6bc4.
Backport of 9f3b9ffd51c71d96728df9ee16f5a57c6f3b315d from master
2018-07-31 09:57:28 -04:00
minusf
74d039e317 [2.1.x] Fixed typo in docs/topics/http/urls.txt.
Backport of 6429961418b0da70e915fcb61f4cf41977cf818a from master
2018-07-24 18:36:41 -04:00
Tim Graham
9cd6f9c1c5 [2.1.x] Fixed #29591 -- Fixed numbering words in docs/topics/db/examples/many_to_many.txt.
Backport of cef8f6a61bc8079fa36cb37a7d411b56869ffe32 from master
2018-07-24 16:05:10 -04:00
Carlton Gibson
278457988a [2.1.x] Refs #29514 -- Added test for get_default_timezone()/timezone.utc equality.
Backport of f4ef71c689b7bf3b0237d12c634fe5557f646a79 from master
2018-07-23 10:44:25 -04:00
Tim Graham
3a6040246f [2.1.x] Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of pytz.utc for better performance."
This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a
regression.

Backport of 2ec151e35da93047acfeea1b79c27010f2cb8594 from master
2018-07-23 10:44:06 -04:00
Claude Paroz
1084bcc4b7 [2.1.x] Fixed #29578 -- Made numberformat.format() honor forced l10n usage.
Thanks Sassan Haradji for the report.
Backport of 0adfba968e28cfb4e4d681e658866debbbd68089 from master
2018-07-19 16:44:57 -04:00
Tim Graham
3153cb319d [2.1.x] Fixed IntegrityError in docs/topics/db/examples/many_to_one.txt.
Backport of 6b6bdfe25c946ee9512b3866d64930fe1be619fd from master
2018-07-19 15:49:54 -04:00
Claude Paroz
e9950ed897 [2.1.x] Fixed utils.html.escape()'s docs with regards to string coercion.
As of 301de774c21d055e9e5a7073e5bffdb52bc71079.
Backport of 1ed8527e3df930ae54ef237e77f1a53faa0ff5ed from master
2018-07-18 14:20:17 -04:00
Mariusz Felisiak
16fdcf67c8 [2.1.x] Removed duplicate words in various comments.
Backport of a73cf8110e6cccbf46bf77fd4ddce2df99df53ca from master
2018-07-18 11:56:57 -04:00
Claude Paroz
430b8254a7 [2.1.x] Added doc links for django.utils.html.escape().
Backport of 6e78e1054933c36a2e0fdf998db780c88bdef4a9 from master
2018-07-18 11:35:39 -04:00
Maxime Lorant
223ba7fa57 [2.1.x] Removed duplicate words in docs.
Backport of 31407fa3b362dc17d61a2a0d7e27b1dfd9d9c143 from master
2018-07-18 11:27:17 -04:00
Tim Graham
dff5beabbf [2.1.x] Bumped version for 2.1 release candidate 1. 2018-07-18 07:06:05 -04:00
François Freitag
a7ca8afbbe [2.1.x] Fixed django/http/request.py docstring typo.
Backport of 93e721a0b8155470336357c148c4d8364c36bbee from master
2018-07-16 14:44:21 +02:00
Tim Graham
50dc9fad74 [2.1.x] Fixed #29549 -- Doc'd that Field.choices are enforced by model validation.
Backport of 8b1d361f28c80cb0fa84a3714d711174bd25cdfa from master
2018-07-09 15:06:56 -04:00
Sergey Fedoseev
2a637a4523 [2.1.x] Refs #29478 -- Doc'd how to use cached_property with a mangled name.
Backport of 09199734d383691ecf6d163894b447ca45e0ef82 from master
2018-07-09 12:13:44 -04:00
Josh Schneier
0211393b8c [2.1.x] Fixed word choice in ContentFile example.
Backport of 38e904e26576abffed3c257a1a741e1641c6f2de from master
2018-07-07 17:20:32 -04:00
Harry Moreno
d10103a79d [2.1.x] Removed usage of 'object' variable name in docs.
Backport of 6e55cf0de6b5e8e853ce0d549b08e621f023d4bf from master
2018-07-07 17:20:25 -04:00
Tom
c7ac2ee773 [2.1.x] Refs #29451 -- Fixed test_isvalid_lookup on MySQL 8+.
Backport of f98e1c01eafa724cb87772ae03b3fd1158e9fd50 from master
2018-07-06 09:05:55 -04:00
Sergey Fedoseev
abec2ad18d [2.1.x] Corrected cached_property() signature in docs.
Backport of 82b9708c6f77d1a4b7b4236234065799370be245 from master
2018-07-06 08:56:30 -04:00
Michal Čihař
c1ac9c5ea3 [2.1.x] Fixed #29544 -- Fixed regex lookup on MariaDB.
Regression in 42490768441701bc02255b22df8e6894cbe487c7.
Backport of 39e287d8bff50e9f91f3f4471088c1946aa6a76c from master
2018-07-05 12:12:04 -04:00
Mads Jensen
b505cef63d [2.1.x] Refs #26608 -- Removed incorrect sentence in Expression.contains_over_clause docs.
Backport of ab251fdad251cfb1e9fb61c42b5bfed9d0afe393 from master
2018-07-05 11:38:29 -04:00
Stephen James
d1d9db4ec6 [2.1.x] Fixed typo in docs/ref/templates/builtins.txt.
Backport of 48aeca44d885929106e71fe78379fe50850af001 from master
2018-07-04 13:15:54 -04:00
Greg Kaleka
82c38be11f [2.1.x] Doc'd that template variables & attributes may not start with an underscore.
Backport of 17403f0a9b7167c635514c1e3d9d25ebad4b12e2 from master
2018-07-03 20:17:06 -04:00
Tim Graham
ec0b74a1de [2.1.x] Added stub release notes for 2.0.8.
Backport of 2c3f19894695d6868a2c3ec5a6f097e432cc170e from master
2018-07-03 20:06:12 -04:00
Tim Graham
78f502cd0b [2.1.x] 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.

Backport of f3fa86a89b3b85242f49b2b9acf58b5ea35acc1f from master
2018-07-02 18:57:12 -04:00
Carlton Gibson
fb05b94324 [2.1.x] Added release date for 1.11.14.
Backport of 65df375c40dfe591b258f36709123abc6957fbd7 from master
2018-07-02 10:14:01 +02:00
sedrubal
7bec414ffb [2.1.x] Fixed argument name for validators inheriting from BaseValidator.
Backport of f903669dfda1dda586c4fee5bd7268eb599880b8 from master
2018-06-30 18:58:56 -04:00
Colm O'Connor
e410dce696 [2.1.x] Fixed #21333 -- Doc'd the & and | queryset operators.
Backport of c530428d360daf904c9e98515ea836643a73a54c from master
2018-06-29 20:56:45 -04:00
Claude Paroz
58a0a84c38 [2.1.x] Fixed #29536 -- Fixed SelectFilter2.js resizing to make boxes have equal height.
Thanks Tim Graham for the review.
Backport of a5f139236f930df06ae0642507530ca98081e2a9 from master.
2018-06-29 17:23:16 +02:00
José L. Patiño
dfbfa3abed [2.1.x] Fixed #29535 -- Updated email.MIME* references for Python 3.
Backport of b5dd6ef3d52544ec7533509915c61545d5c3d85a from master
2018-06-29 08:24:44 -04:00
Mattia Cattarinussi
db287e99f6 [2.1.x] Refs #29513 -- Linked the testing docs from the multi-db topic guide.
Backport of 2a0116266c4d81bd1cc4e3ea20efe9a7874f481b from master
2018-06-28 20:54:23 -04:00
Jeffrey Yancey
ddd9272c2e [2.1.x] Fixed #29458 -- Doc'd how related_query_name affects Model._meta.get_field().
Backport of 2d6776ffe0b58f729f4372635b49a59da99ca206 from master
2018-06-28 20:02:21 -04:00
Tim Graham
c2d44ae6cb [2.1.x] Forwardported 2.0.7 release note. 2018-06-28 11:09:10 -04:00
Asif Saifuddin Auvi
7a007e967b [2.1.x] Refs #28814 -- Documented Python 3.7 compatibility.
Backport of 2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553 from master
2018-06-28 11:05:32 -04:00
Tim Graham
08c3581ca9 [2.1.x] Fixed links for i18n context processor docs.
Backport of fd06488fe36acc27fbe37bf7c9aefc0574e9cc4e from master
2018-06-28 10:26:13 -04:00
Tim Graham
92dafc10e7 [2.1.x] Fixed location of a few doc labels.
Backport of 1229687a0a261d05a72e6f189c1a9b0069b302e5 from master
2018-06-28 08:58:25 -04:00
Tim Graham
01b7fdfd67 [2.1.x] Fixed #29520 -- Fixed test client crash when posting bytes.
Regression in b8a41a2872624a6d9e61308932dd81d001e31eb9.

Backport of 9294110a57ce0a6d14506969c950090045c622c8 from master
2018-06-27 16:52:06 -04:00
Chris Jerdonek
da46599143 [2.1.x] Refs #29253 -- Fixed method_decorator() crash if decorator sets a new attribute.
Regression in fdc936c9130cf4fb5d59869674b9a31cc79a7999.

Backport of f434f5b84f7fcea9a76a551621ecce70786e2899 from master
2018-06-27 11:46:24 -04:00
Tim Graham
d5482dfe20 [2.1.x] Refs #17419 -- Removed IE8 support in json_script example.
Backport of 02cd16a7a04529c726e5bb5a13d5979119f25c7d from master
2018-06-22 10:35:57 -04:00
Sergey Fedoseev
c1c1ac2044 [2.1.x] Added description, example, and SQL equivalents for equals and same_as GIS lookups.
Backport of 9af83a62e7639567afde8b76ce70e7982873e4c5 from master
2018-06-22 10:18:27 -04:00
Tim Graham
714612a638 [2.1.x] Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.
Backport of 7cdeb23ae7ef2d125276840ff298dbb9683959f2 from master
2018-06-22 09:32:33 +02:00
Adam Johnson
ea75f8abca [2.1.x] Updated a test example to use snake case.
Backport of ae38777698dd0bf2a9efefef778d5e92d36c8d12 from master
2018-06-21 17:37:19 -04:00
Sergey Fedoseev
afcf5aad7c [2.1.x] Refs #28841 -- Added ForcePolygonCW to GIS database functions table.
Backport of 12018cef83b2396131e8c32d997baa0f86b4bf00 from master
2018-06-21 08:59:22 -04:00
Tom
17017ba12a [2.1.x] Refs #29451 -- Fixed regex/iregex lookups on MySQL 8.
Backport of 42490768441701bc02255b22df8e6894cbe487c7 from master
2018-06-20 10:58:01 -04:00
Carlton Gibson
dae75481fa [2.1.x] Refs #29451 -- Fixed invalid SQL on MySQL in queries tests.
Backport of c4f099de1d0d82c5e1f88768300896eae69bddbd from master
2018-06-20 10:39:15 -04:00
Nick Pope
16e691d568 [2.1.x] Fixed #29503 -- Made __in lookup keep order of values in query.
Regression in 86eccdc8b67728d84440a46e5bf62c78f2eddf6d.

Backport of b0fbfae09334554124e1dccb7559d10f36e2f84c from master
2018-06-20 09:42:47 -04:00
Damien
56f1a3529a [2.1.x] Clarified sentence about removal of inline flag support in url().
Backport of 7409d21a5ee7614db7276f06bfe412b24ff24059 from master
2018-06-19 09:14:36 -04:00
Tim Graham
037565fd64 [2.1.x] Bumped version for 2.1 beta 1. 2018-06-18 19:45:09 -04:00
Carlton Gibson
67fc680c43 [2.1.x] Fixed #29502 -- Allowed users with the view permission to use autocomplete_fields.
Backport of 5b733171813f8ddc7af84abe79f2646204b9c6ca from master
2018-06-18 15:37:10 -04:00
Carlton Gibson
306f1f8ea3 [2.1.x] Fixed #29419 -- Allowed permissioning of admin actions.
Backport of 958c7b301ead79974db8edd5b9c6588a10a28ae7 from master
2018-06-18 15:37:05 -04:00
Mariusz Felisiak
d2ca28db54
[2.1.x] Fixed #29496 -- Fixed crash on Oracle when converting a non-unique field to primary key.
Thanks Tim Graham for the review.
Backport of 6dd4edb1b4f5441c5f543e29395039839c50d10b from master
2018-06-17 08:54:01 +02:00
Christian Ledermann
d28360aa48 [2.1.x] Refs #29493 -- Doc'd that the QuerySet in lookup accepts a string.
Backport of 11bfe3a83d79c832bd861b6b87f254197fde1659 from master
2018-06-16 15:54:10 -04:00
oliver
d03b130cbc [2.1.x] Fixed #29469 -- Added a helpful makemigrations error if app_label contains dots.
Backport of 78972af367a1da54aa7e539e4b1ffa2b56571e77 from master
2018-06-16 15:19:08 -04:00
Paulo
8cbfaf29c0 [2.1.x] Fixed #29487 -- Accounted for object level permissions when calculating change view's read-only fields.
Thanks Matthew Frazier for the report and fix.

Backport of 553617e61324dd5d9b34c47ceb2b6f20888daf20 from master
2018-06-15 22:11:32 -04:00
Mariusz Felisiak
53be30f828 [2.1.x] Added backticks to code literals in docs/ref/databases.txt.
Backport of 4fb7bd834e97195633d44b27aa5e6f981709b626 from master
2018-06-15 21:54:04 -04:00
Tim Graham
7f173b6b4f [2.1.x] Fixed #29498 -- Fixed a missing pyc test file in source distribution.
Backport of 63f90f55f30d599d601d729060cdb0ebd2abdeb8 from master
2018-06-15 14:49:18 -04:00
Jeff
2b7b199390 [2.1.x] Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when run after RenameField.
Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.

Backport of fcc4e251dbc917118f73d7187ee2f4cbf3883f36 from master
2018-06-15 12:07:40 -04:00
Henk Kahlfuß
0eca99dade [2.1.x] Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use has_delete_permission() for permissions checking.
Backport of 3eb9127678e292ef2645b632199f3e9c876ad999 from master
2018-06-15 10:47:05 -04:00
Tim Graham
531a152c65 [2.1.x] Refs #29428 -- Fixed admin check crash when using a query expression in ModelAdmin.ordering.
Backport of ec2c9c353113bb1db6e32ed3f0b6c28bc06ca2eb from master
2018-06-15 10:00:38 -04:00
Tim Graham
a041161bde [2.1.x] Fixed #29428 -- Fixed admin changelist crash when using a query expression without asc()/desc() in the ordering.
Backport of 0d8e3e608ee9aab5076d497664aa97e0a29e523e from master
2018-06-15 10:00:29 -04:00
Carlton Gibson
aea0e2b9ca [2.1.x] Refs #29419, #8936 -- Removed change permission requirement for admin actions.
Partially reverted 825f0beda804e48e9197fcf3b0d909f9f548aa47.

Backport of b30f9b131c9489b9d9f21c311ecb46d0aea91381 from master
2018-06-13 14:53:25 -04:00
nikolas
422a403565 [2.1.x] Doc'd how to set SPATIALITE_LIBRARY_PATH for Debian Buster/Ubuntu 18.04. 2018-06-13 10:05:03 -04:00
Brylie Christopher Oxley
4330d1047a [2.1.x] Updated GIS install instructions to use placeholders for GIS library versions.
Backport of ae26e0ad2c5ee2216d8eaaaac9d7c2c7644b6ebb from master
2018-06-12 15:22:38 -04:00
Jon Dufresne
a7cdf7aafc [2.1.x] Restored django.test.utils.patch_logger() for backwards compatibility.
Added back after 607970f31cc07c317f2ebb684c8f3ccc36a95b3e.

Backport of 8dcd43ce06b06cd67dab134099135d976ae9884a from master
2018-06-12 11:53:46 -04:00
Claude Paroz
add57c7e27 [2.1.x] Refs #29353 -- Removed duplicated logic in StaticFilesHandler.get_response().
Thanks Sergey Fursov for spotting the issue.

Backport of 1fac9740675b8dbea3952b58102a643c67e951e4 from master
2018-06-12 09:26:59 -04:00
Bartosz Grabski
c7d59825d7 [2.1.x] Fixed #29452 -- Fixed makemessages setting charset of .pot files.
Backport of 2bc014750adb093131f77e4c20bc17ba64b75cac from master
2018-06-12 08:29:22 -04:00
Arthur Silva
91a02dce97 [2.1.x] Fixed #29464 -- Silenced post-process messages in collectstatic's default verbosity.
Backport of bc1435551c0cfaf4a22aff8216990b909005dba9 from master
2018-06-11 20:49:27 -04:00
Claude Paroz
020c51d501 [2.1.x] Prevented unexpected link in settings docs
Backport of e8531cc89c878b6a8867498dab266917fef2bff4 from master.
2018-06-10 15:12:44 +02:00
Tim Graham
bdc71f526f [2.1.x] Fixed 'invalid escape sequence' warning in GEOSGeometryBase.from_ewkt().
Backport of 7a266e25be1b641111ab5889f9808ff6d258d27f from master.
2018-06-09 09:28:11 +02:00
Claude Paroz
69e2d173e5 [2.1.x] Refs #29483 -- Relaxed WGS 84 check regex
With GDAL 2.3, the exact string changed again.
Backport of 86988dd890671aa8935f86eab2bbe22ad917db70 from master.
2018-06-09 09:20:52 +02:00
Jeremy Lainé
36c35aba09 [2.1.x] Fixed #29440 -- Doc'd where the bulk argument applies in RelatedManager.
Backport of 741792961815cf4a95c5ce8ab590dfc7700c6153 from master
2018-06-08 16:40:44 -04:00
Mariusz Felisiak
9f67a205a2 [2.1.x] Fixed typo in docs/releases/2.0.7.txt.
Backport of e0d0fc0b14ccade00b30a7fbdb1c720ddd83bb71 from master
2018-06-08 12:07:49 +02:00
Carlton Gibson
91d8579580 [2.1.x] Added stub release notes for 2.0.6.
Backport of acae1206800a7997e5f95f7df8043452301fa241 from master
2018-06-08 08:43:51 +02:00
Claude Paroz
33b5313d7c [2.1.x] Fixed #29301 -- Added custom help formatter to BaseCommand class
This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610.
Thanks Adam Johnson and Carlton Gibson for the reviews.
Backport of ce3351b9508896afdf87d11bd64fd6b5ad928228 from master.
2018-06-06 19:17:57 +02:00
Tim Graham
38bdac4752 [2.1.x] Refs #28462 -- Fixed 'invalid escape sequence' warning on Python 3.6+.
Backport of e9bd1a3e12df132527a8d8bea95858e856ac7be4 from master
2018-06-06 11:50:02 -04:00
Tim Graham
60aa235f43 [2.1.x] Fixed MySQL QuerySet.explain() test when running tests in reverse.
Backport of 13fe5a87f9554a6371f1d0914887bffcdf978a8a from master
2018-06-06 11:31:39 -04:00
Michael Kiros
7434ac4624 [2.1.x] Fixed typo in docs/topics/auth/customizing.txt.
Backport of b37bac39b387bc87872d37d4b07783b67ef28d0c from master
2018-06-05 21:28:45 -04:00
Tim Graham
ae3ddce4e8 [2.1.x] Relaxed a GDAL raster test.
The exact metadata depends on the GDAL version.

Backport of 3dffcb5579a5a64f1869b9b46a379d519079d805 from master
2018-06-04 10:02:18 -04:00
Brenton Cleeland
3ff605b54b [2.1.x] Fixed #29374 -- Ordered date filter's format strings by category.
Backport of 3cf45af3630890ad85112f9ea8af869c8daef17b from master
2018-06-04 09:38:08 -04:00
Subhav Gautam
84afe81b9e [2.1.x] Fixed #29430 -- Clarified send_mail()'s fail_silently docs.
Backport of 085ebc5f1a0e96784516e551cb9225cc6836f1d0 from master
2018-06-02 11:10:02 -04:00
Tim Graham
cc8ef63211 [2.1.x] Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.
Backport of 666be7b9942611d5c0f5e485c448f219cd5a1ad5 from master
2018-06-02 07:33:09 -04:00
Tim Graham
93304b2269 [2.1.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.
Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
2018-06-01 22:32:06 -04:00
Adam Donaghy
10a6d444af [2.1.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36.

Backport of b18650a2634890aa758abae2f33875daa13a9ba3 from master
2018-06-01 11:00:13 -04:00
Carlton Gibson
97eec106ae [2.1.x] Added release date for 2.0.6 release.
Backport of e1ebd22558342bb0088a3da3571863a20413fa2a from master
2018-06-01 14:42:06 +02:00
Dr. Shubham Dipt
c334be805b [2.1.x] Corrected typo in outputting-csv.txt.
Backport of 44441d673bb39815dae1b14019357226c6a7c8ee from master
2018-06-01 14:42:06 +02:00
Tim Graham
67665e0979 [2.1.x] Fixed #29460 -- Added support for GEOS 3.6.
Backport of f185d929fa1c0caad8c03fccde899b647d7248c6 from master
2018-05-31 11:36:16 -04:00
Mariusz Felisiak
31b9cf97b9 [2.1.x] Refs #29416 -- Fixed GeoExpressionsTests.test_multiple_annotation() on MySQL 5.7+.
Failure introduced in b6e48f514ebe4e31b76e1750e043d4f296e645dc.

Backport of d0ad03cded64fc307b15668c81d0c65fd8486eff from master
2018-05-31 10:38:57 -04:00
Tim Graham
4ab47ceb1e [2.1.x] Added stub release notes for 1.11.14.
Backport of 8a6fcfdc77d84bd5cebf1e6a6dd65c64f9cb40b8 from master
2018-05-31 10:16:59 -04:00
Tim Graham
4ca64f2bd5 [2.1.x] Refs #28748 -- Reallowed lazy model field choices.
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986.

Backport of c03e41712b2274f524d32bc2aef455ed82c9e3b4 from master
2018-05-29 21:43:56 -04:00
Paulo
25d4d8465b [2.1.x] Fixed #29230 -- Fixed nested prefetches that clash with descriptors.
Backport of 6104875a2cc797bbd1254aa61f22a9b03d652128 from master
2018-05-27 22:14:59 -04:00
Mariusz Felisiak
b6e48f514e [2.1.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation.
Regression in 1d070d027c218285b66c0bde8079034b33a87f11.
Backport of 4ab1f559e8d1264bcb20bb497988973194f5d8f2 from master
2018-05-27 18:25:42 -04:00
Osaetin Daniel
158e7804e7 [2.1.x] Fixed docs typo in HttpResponse.set_signed_cookie() signature.
Backport of cd242d185bda9269913d4d101a7f704204ec907d from master
2018-05-27 16:50:47 -04:00
Ramiro Morales
c56d94c02a [2.1.x] Fixed #29417 -- Corrected two admin page titles for view-only users.
Backport of f40e71a957aa00b4572c19b269179cded6c8c500 from master
2018-05-27 16:38:26 -04:00
Daniel Hepper
13cb9d05a0 [2.1.x] Removed obsolete BaseHandler attributes.
Unused since d334f46b7a080fd3eb720141c19b37b10704a352.

Backport of 4e016d137236d36d47462f63e8f7988f1ad6c12e from master
2018-05-27 13:45:22 -04:00
Daniel Hepper
4302911386 [2.1.x] Removed docs for obsolete ExceptionMiddleware.
Backport of a6fb5b1fe022c5279aa275c70b5193f2a2fac5fe from master
2018-05-27 13:23:29 -04:00
Tim Graham
483f5d6c4f [2.1.x] 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.

Backport of 5cc81cd9eb69f5f7a711412c02039b435c393135 from master
2018-05-26 21:07:19 -04:00
Xaroth Brook
39e61669e0 [2.1.x] Fixed #29415 -- Fixed detection of custom URL converters in included patterns.
Backport of 39283c8edbc5991b589d48a8e17152042193f2df from master
2018-05-26 20:29:29 -04:00
Markus Holtermann
40d8768158 [2.1.x] Refs #27098 -- Removed unused introspection queries.
Unused since 578711c31052625cc87319cf1c46662c14d75ce9.

Thanks Ian Foote for finding this.
Backport of e01fa015c0fca32bb740b575c8fbfd388d8f4957 from master
2018-05-26 16:30:14 +02:00
Ian Foote
a295666d37 [2.1.x] Fix typo in 2.0 release notes (#9986)
Backport of 257fb0a7d08ddf92306789ce0a39d703ca58a2b8 from master.
2018-05-26 16:18:50 +02:00
Srinivas Reddy Thatiparthy
ecb825abe2 [2.1.x] Fixed #29423 -- Documented Field.value_from_object().
Backport of 4c35a173e881deaff17e5343181dcbc36177a4af from master
2018-05-25 21:32:27 -04:00
Ryan Rubin
6b91152a10 [2.1.x] Fixed #29400 -- Fixed crash in custom template filters that use decorated functions.
Regression in 620e9dd31a2146d70de740f96a8cb9a6db054fc7.

Backport of a8d12bc28069d56e0306770ab9c73738293663f7 from master
2018-05-25 11:12:03 -04:00
Claude Paroz
3cca2ab2e7 [2.1.x] Documented DeletionMixin.delete().
Backport of 96ea4f875b289aef3372caf7851dabf64347ce8c from master
2018-05-24 21:46:35 -04:00
Daniel Roseman
a53d6487b5 [2.1.x] Added help for common 404 error in tutorial 1.
Backport of 40ff93310f03dc89a6281a846b1a1ec4cb672bd0 from master
2018-05-21 13:14:19 -04:00
Bogdan Mateescu
a114906a18 [2.1.x] Fixed #29421 -- Improved Romanian locale formats
Backport of 392963e8e4605ff6da770450623ceaef0892cab7 from master.
2018-05-20 17:13:25 +02:00
Paulo Alvarado
6cce05589d [2.1.x] Fixed #29414 -- Restored form inputs on admin inlines when the user doesn't have the change permission.
Regression in 825f0beda804e48e9197fcf3b0d909f9f548aa47.
Backport of ffb72a95bcd6fc5cce7915f3b3732a05837f29a2 from master
2018-05-18 22:37:33 -04:00
bakabiko
54b29e022d [2.1.x] Fixed #29380 -- Added support for QuerySet.select_for_update()'s nowait and skip_locked options on MySQL 8+.
Backport of a7bc1aea03508f544c9dfac0f34b01996653cef4 from master
2018-05-18 19:38:10 -04:00
Tim Graham
452abf7b43 [2.1.x] Fixed #29398 -- Doc'd that cascade deletion doesn't call delete() of related models.
Backport of e038f98bf342af716cf16e38be989c2d0f126797 from master
2018-05-18 18:44:36 -04:00
Tim Graham
7e875aa047 [2.1.x] Fixed typo in docs/releases/2.1.txt.
Backport of 6574167ab8ef1326d363ab9a17f6b5bc4607f08a from master
2018-05-18 07:24:27 -04:00
Tim Graham
c3bbebdd54 [2.1.x] Bumped version for Django 2.1 alpha 1. 2018-05-17 20:52:46 -04:00
Tim Graham
8ecfb6ea2a [2.1.x] Bumped django_next_version in sphinx config to 2.2. 2018-05-17 20:49:30 -04:00
Tim Graham
2bb8f6b751 [2.1.x] Removed empty sections from 2.1 release notes.
Backport of 1cbd3d7874a4887fa2a6d7ef582defc388429b97 from master
2018-05-17 10:44:14 -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
4314 changed files with 100245 additions and 66677 deletions

View File

@ -1,4 +1,4 @@
# http://editorconfig.org
# https://editorconfig.org/
root = true

78
AUTHORS
View File

@ -8,6 +8,11 @@ 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>
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 Vandenberg
@ -18,6 +23,7 @@ answer newbie questions, and generally made Django that much better:
AgarFu <heaven@croasanaso.sytes.net>
Ahmad Alhashemi <trans@ahmadh.com>
Ahmad Al-Ibrahim
Ahmed Eltawela <https://github.com/ahmedabt>
ajs <adi@sieker.info>
Akis Kesoglou <akiskesoglou@gmail.com>
Aksel Ethem <aksel.ethem@gmail.com>
@ -92,6 +98,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>
@ -110,6 +117,8 @@ answer newbie questions, and generally made Django that much better:
berto
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>
@ -117,6 +126,7 @@ answer newbie questions, and generally made Django that much better:
Brandon Chinn <http://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>
@ -135,12 +145,16 @@ answer newbie questions, and generally made Django that much better:
btoll@bestweb.net
C8E
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
@ -232,6 +246,7 @@ 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
@ -248,6 +263,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>
@ -255,9 +271,11 @@ 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>
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>
@ -290,6 +308,7 @@ 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 Müllegger <gregor@muellegger.de>
Grigory Fateyev <greg@dial.com.ru>
@ -303,6 +322,7 @@ answer newbie questions, and generally made Django that much better:
Helen Sherwood-Taylor <helen@rrdlabs.co.uk>
Henrique Romano <onaiort@gmail.com>
Henry Dang <henrydangprg@gmail.com>
Himanshu Chauhan <hchauhan1404@outlook.com>
hipertracker@gmail.com
Hiroki Kiyohara <hirokiky@gmail.com>
Honza Král <honza.kral@gmail.com>
@ -317,10 +337,12 @@ 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/>
@ -350,6 +372,7 @@ answer newbie questions, and generally made Django that much better:
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
@ -359,21 +382,25 @@ 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>
Jeong-Min Lee <falsetru@gmail.com>
Jérémie Blaser <blaserje@gmail.com>
Jeremy Bowman <https://github.com/jmbowman>
Jeremy Carbaugh <jcarbaugh@gmail.com>
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>
@ -383,6 +410,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>
@ -430,6 +458,7 @@ answer newbie questions, and generally made Django that much better:
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>
@ -456,14 +485,18 @@ answer newbie questions, and generally made Django that much better:
Leo Shklovskii
Leo Soto <leo.soto@gmail.com>
lerouxb@gmail.com
Lex Berezhny <lex@damoti.com>
Liang Feng <hutuworm@gmail.com>
limodou
Lincoln Smith <lincoln.smith@anu.edu.au>
Loek van Gent <loek@barakken.nl>
Loïc Bistuer <loic.bistuer@sixmedia.com>
Lowe Thiderman <lowe.thiderman@gmail.com>
Luan Pablo <luanpab@gmail.com>
Lucas Connors <http://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>
@ -489,17 +522,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 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
@ -523,12 +559,14 @@ answer newbie questions, and generally made Django that much better:
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>
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/>
@ -538,7 +576,9 @@ answer newbie questions, and generally made Django that much better:
michael.mcewan@gmail.com
Michael Placentra II <someone@michaelplacentra2.net>
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
@ -554,6 +594,7 @@ answer newbie questions, and generally made Django that much better:
Mikhail Korobov <kmike84@googlemail.com>
Mikko Hellsing <mikko@sorl.net>
Mikołaj Siedlarek <mikolaj.siedlarek@gmail.com>
milkomeda
Milton Waddams
mitakummaa@gmail.com
mmarshall
@ -572,12 +613,14 @@ answer newbie questions, and generally made Django that much better:
Nebojša Dorđević
Ned Batchelder <http://www.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>
@ -591,6 +634,7 @@ answer newbie questions, and generally made Django that much better:
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>
@ -603,13 +647,16 @@ answer newbie questions, and generally made Django that much better:
Paul Bissex <http://e-scribe.com/>
Paul Collier <paul@paul-collier.com>
Paul Collins <paul.collins.iii@gmail.com>
Paul Donohue <django@PaulSD.com>
Paul Lanier <planier@google.com>
Paul McLanahan <paul@mclanahan.net>
Paul McMillan <Paul@McMillan.ws>
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>
@ -632,8 +679,11 @@ 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>
Rachel Tobin <rmtobin@me.com>
Rachel Willmer <http://www.willmer.com/kb/>
Radek Švarz <http://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>
@ -643,6 +693,7 @@ answer newbie questions, and generally made Django that much better:
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>
@ -663,6 +714,7 @@ answer newbie questions, and generally made Django that much better:
Robert Wittams
Rob Hudson <http://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/>
Ross Poulton <ross@rossp.org>
@ -677,9 +729,11 @@ 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>
Sarthak Mehrish <sarthakmeh03@gmail.com>
schwank@gmail.com
Scot Hacker <shacker@birdhouse.org>
@ -709,19 +763,26 @@ 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>
Steven Noorbergen (Xaroth) <xaroth+django@xaroth.nl>
Stuart Langridge <http://www.kryogenix.org/>
Subhav Gautam <subhavgautam@yahoo.co.uk>
Sujay S Kumar <sujay.skumar141295@gmail.com>
Sune Kirkeby <http://ibofobi.dk/>
Sung-Jin Hong <serialx.net@gmail.com>
@ -730,6 +791,7 @@ answer newbie questions, and generally made Django that much better:
Sutrisno Efendi <kangfend@gmail.com>
Swaroop C H <http://www.swaroopch.info>
Szilveszter Farkas <szilveszter.farkas@gmail.com>
Taavi Teska <taaviteska@gmail.com>
Tai Lee <real.human@mrmachine.net>
Takashi Matsuo <matsuo.takashi@gmail.com>
Tareque Hossain <http://www.codexn.com>
@ -738,6 +800,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>
@ -746,6 +809,7 @@ 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>
@ -753,14 +817,16 @@ answer newbie questions, and generally made Django that much better:
Tobias McNulty <http://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>
@ -796,6 +862,7 @@ 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>
@ -809,7 +876,9 @@ 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>
Zain Memon
Zak Johnson <zakj@nox.cx>
@ -828,7 +897,6 @@ A big THANK YOU goes to:
Ian Bicking for convincing Adrian to ditch code generation.
Mark Pilgrim for "Dive Into Python" (http://www.diveintopython.net,
http://www.diveintopython3.net).
Mark Pilgrim for "Dive Into Python" (https://www.diveinto.org/python3/).
Guido van Rossum for creating Python.

View File

@ -1,17 +1,10 @@
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)
For more detailed instructions, see docs/intro/install.txt.

View File

@ -74,9 +74,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 http://django-irc-logs.com/.
* Join the ``#django`` channel on irc.freenode.net. Lots of helpful people hang
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, 0, 'alpha', 0)
VERSION = (2, 1, 16, '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,23 +25,22 @@ 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
@ -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):
@ -157,9 +153,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 +169,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=()):
@ -44,7 +44,8 @@ class Apps(object):
self.apps_ready = self.models_ready = self.ready = False
# 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 +58,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 +73,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:
@ -118,31 +122,30 @@ class Apps(object):
self.ready = True
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 +159,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:
@ -178,15 +181,14 @@ class Apps(object):
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 +230,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 +243,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 +270,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 +294,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 +302,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 +320,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 +338,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.
"""
@ -415,7 +413,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,17 +1,20 @@
"""
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 warnings
from pathlib import Path
from django.conf import global_settings
from django.core.exceptions import ImproperlyConfigured
from django.utils.deprecation import RemovedInDjango30Warning
from django.utils.functional import LazyObject, empty
ENVIRONMENT_VARIABLE = "DJANGO_SETTINGS_MODULE"
@ -26,8 +29,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 +52,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 +68,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 +90,11 @@ 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
class Settings(object):
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 +125,15 @@ 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('The DEFAULT_CONTENT_TYPE setting is deprecated.', RemovedInDjango30Warning)
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 +150,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,12 +171,14 @@ 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('The DEFAULT_CONTENT_TYPE setting is deprecated.', RemovedInDjango30Warning)
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(
@ -190,7 +190,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 = []
@ -103,6 +96,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')),
@ -244,7 +238,7 @@ FORCE_SCRIPT_NAME = None
# re.compile(r'^NaverBot.*'),
# re.compile(r'^EmailSiphon.*'),
# re.compile(r'^SiteSucker.*'),
# re.compile(r'^sohu-search')
# re.compile(r'^sohu-search'),
# ]
DISALLOWED_USER_AGENTS = []
@ -255,9 +249,9 @@ ABSOLUTE_URL_OVERRIDES = {}
# import re
# IGNORABLE_404_URLS = [
# re.compile(r'^/apple-touch-icon.*\.png$'),
# re.compile(r'^/favicon.ico$),
# re.compile(r'^/robots.txt$),
# re.compile(r'^/phpmyadmin/),
# re.compile(r'^/favicon.ico$'),
# re.compile(r'^/robots.txt$'),
# re.compile(r'^/phpmyadmin/'),
# re.compile(r'\.(cgi|php|pl)$'),
# ]
IGNORABLE_404_URLS = []
@ -310,12 +304,12 @@ DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
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.
@ -325,39 +319,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'
@ -369,7 +363,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'
@ -380,7 +374,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'
@ -447,12 +441,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 #
@ -464,7 +453,7 @@ 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
@ -472,6 +461,9 @@ SESSION_COOKIE_SECURE = False
SESSION_COOKIE_PATH = '/'
# Whether to use the non-RFC standard httpOnly flag (IE, FF3+, others)
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.
@ -523,7 +515,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 = []
@ -549,6 +540,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.
@ -293,6 +290,12 @@ LANG_INFO = {
'name': 'Georgian',
'name_local': 'ქართული',
},
'kab': {
'bidi': False,
'code': 'kab',
'name': 'Kabyle',
'name_local': 'taqbaylit',
},
'kk': {
'bidi': False,
'code': 'kk',

View File

@ -7,8 +7,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: Afrikaans (http://www.transifex.com/django/django/language/"
"af/)\n"
@ -294,6 +294,15 @@ msgstr ""
msgid "Syndication"
msgstr "Sindikasie"
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 "Sleutel 'n geldige waarde in."
@ -306,6 +315,7 @@ msgstr "Sleutel 'n geldige heelgetal in."
msgid "Enter a valid email address."
msgstr "Sleutel 'n geldige e-pos adres in."
#. 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 +404,15 @@ 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 ""
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "en"
@ -723,9 +742,8 @@ msgstr ""
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."
msgid "The inline value did not match the parent instance."
msgstr ""
"Die inlyn vreemde sleutel stem nie ooreen met die ouer primêre sleutel."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
@ -733,8 +751,8 @@ msgstr ""
"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 ""
#, python-format
msgid ""
@ -744,15 +762,15 @@ msgstr ""
"%(datetime)s kon nie in tydsone %(current_timezone)s vertolk word nie; dit "
"mag dubbelsinnig wees, of nie bestaan nie."
msgid "Clear"
msgstr "Maak skoon"
msgid "Currently"
msgstr "Tans"
msgid "Change"
msgstr "Verander"
msgid "Clear"
msgstr "Maak skoon"
msgid "Unknown"
msgstr "Onbekend"
@ -1092,6 +1110,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 "
@ -1106,28 +1132,12 @@ msgstr ""
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"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Geen maand gespesifiseer"
@ -1181,3 +1191,41 @@ 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 ""
#, 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

@ -10,9 +10,9 @@ 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-07-18 08:41+0000\n"
"Last-Translator: Bashar Al-Abdulhadi\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"
"Content-Type: text/plain; charset=UTF-8\n"
@ -297,6 +297,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 "أدخل قيمة صحيحة."
@ -309,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' صحيح يتكوّن من أحرف، أرقام، شرطات سفلية وعاديّة."
@ -426,6 +436,15 @@ msgstr[3] "تحقق من أن تدخل %(max)s أرقام قبل الفاصل ا
msgstr[4] "تحقق من أن تدخل %(max)s أرقام قبل الفاصل العشري لا أكثر."
msgstr[5] "تحقق من أن تدخل %(max)s أرقام قبل الفاصل العشري لا أكثر."
#, 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 "و"
@ -772,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 ""
@ -790,15 +809,15 @@ msgstr ""
"%(datetime)s لا يمكن تفسيرها في المنطقة الزمنية %(current_timezone)s; قد "
"تكون غامضة أو أنها غير موجودة."
msgid "Clear"
msgstr "تفريغ"
msgid "Currently"
msgstr "حالياً"
msgid "Change"
msgstr "عدّل"
msgid "Clear"
msgstr "تفريغ"
msgid "Unknown"
msgstr "مجهول"
@ -1172,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 "
@ -1191,33 +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 ""
"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 ""
"وبطبيعة الحال، لم يتم عمل أي عمل فعلي حتى الآن. الخطوة التالية هي تشغيل أول "
"تطبيق لك عبر الأمر التالي\n"
" <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> في ملف إعدادات جانغو "
"الخاص بك، و ايضا لعدم تكوين أي عناوين المواقع. إبدأ العمل!"
msgid "No year specified"
msgstr "لم تحدد السنة"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "لم تحدد الشهر"
@ -1268,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,14 +1,15 @@
# 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: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-08-05 11:00+0000\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"
@ -159,6 +160,9 @@ msgstr "Yaponca"
msgid "Georgian"
msgstr "Gürcücə"
msgid "Kabyle"
msgstr "Kabile"
msgid "Kazakh"
msgstr "Qazax"
@ -294,6 +298,15 @@ msgstr "Statik Fayllar"
msgid "Syndication"
msgstr "Sindikasiya"
msgid "That page number is not an integer"
msgstr "Səhifə nömrəsi rəqəm deyil"
msgid "That page number is less than 1"
msgstr "Səhifə nömrəsi 1-dən balacadır"
msgid "That page contains no results"
msgstr "Səhifədə nəticə yoxdur"
msgid "Enter a valid value."
msgstr "Düzgün qiymət daxil edin."
@ -306,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 ""
@ -373,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."
@ -393,6 +410,17 @@ msgid_plural ""
msgstr[0] "Onluq hissədən əvvəl %(max)s rəqəmdən çox olmadığına əmin olun."
msgstr[1] "Onluq hissədən əvvəl %(max)s rəqəmdən çox olmadığına əmin olun."
#, python-format
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ə"
@ -441,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)"
@ -456,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)"
@ -474,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"
@ -496,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"
@ -508,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"
@ -521,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ə)"
@ -547,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"
@ -561,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."
@ -575,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)"
@ -585,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"
@ -606,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."
@ -621,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."
@ -635,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 ""
@ -670,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."
@ -711,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 ""
@ -729,15 +772,15 @@ msgstr ""
"%(datetime)s %(current_timezone)s zaman qurşağında ifadə oluna bilmir; ya "
"duallıq, ya da yanlışlıq var."
msgid "Clear"
msgstr "Təmizlə"
msgid "Currently"
msgstr "Hal-hazırda"
msgid "Change"
msgstr "Dəyiş"
msgid "Clear"
msgstr "Təmizlə"
msgid "Unknown"
msgstr "Məlum deyil"
@ -1070,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 ""
"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 "İ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"
@ -1163,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

@ -2,14 +2,14 @@
#
# Translators:
# Viktar Palstsiuk <vipals@gmail.com>, 2014-2015
# znotdead <zhirafchik@gmail.com>, 2016
# znotdead <zhirafchik@gmail.com>, 2016-2017
# Дмитрий Шатера <mr.bobsans@gmail.com>, 2016
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-09-15 07:39+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 "Казаская"
@ -297,6 +300,15 @@ msgstr "Cтатычныя файлы"
msgid "Syndication"
msgstr "Сындыкацыя"
msgid "That page number is not an integer"
msgstr "Лік гэтай старонкі не з'яўляецца цэлым лікам"
msgid "That page number is less than 1"
msgstr "Лік старонкі менш чым 1"
msgid "That page contains no results"
msgstr "Гэтая старонка не мае ніякіх вынікаў"
msgid "Enter a valid value."
msgstr "Пазначце правільнае значэньне."
@ -309,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 "Бірка можа зьмяшчаць літары, лічбы, знакі падкрэсьліваньня ды злучкі."
@ -412,6 +425,17 @@ msgstr[1] "Упэўніцеся, што набралі ня болей за %(ma
msgstr[2] "Упэўніцеся, што набралі ня болей за %(max)s лічбаў да коскі."
msgstr[3] "Упэўніцеся, што набралі ня болей за %(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 "Null сімвалы не дапускаюцца."
msgid "and"
msgstr "і"
@ -753,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 ""
@ -771,15 +795,15 @@ msgstr ""
"У часавым абсягу «%(current_timezone)s» нельга зразумець дату %(datetime)s: "
"яна можа быць неадназначнаю або яе можа не існаваць."
msgid "Clear"
msgstr "Ачысьціць"
msgid "Currently"
msgstr "Зараз"
msgid "Change"
msgstr "Зьмяніць"
msgid "Clear"
msgstr "Ачысьціць"
msgid "Unknown"
msgstr "Невядома"
@ -1140,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 "
@ -1159,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 ""
"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 ""
"Канешне вы не зрабілі яшчэ ніякай работы. Далей, пачніце вашу першую "
"праграму выканаўшы <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 "Не пазначылі месяц"
@ -1239,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

@ -5,15 +5,15 @@
# Jannis Leidel <jannis@leidel.info>, 2011
# Lyuboslav Petrov <petrov.lyuboslav@gmail.com>, 2014
# Todor Lubenov <tgl.sysdev@gmail.com>, 2013-2015
# Venelin Stoykov <vkstoykov@gmail.com>, 2015-2016
# Venelin Stoykov <vkstoykov@gmail.com>, 2015-2017
# vestimir <vestimir@gmail.com>, 2014
# Alexander Atanasov <aatanasov@gmail.com>, 2012
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 17:31+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"
@ -299,6 +299,15 @@ msgstr "Статични файлове"
msgid "Syndication"
msgstr "Syndication"
msgid "That page number is not an integer"
msgstr "Номерът на страницата не е цяло число"
msgid "That page number is less than 1"
msgstr "Номерът на страницата е по-малък от 1"
msgid "That page contains no results"
msgstr "В тази страница няма резултати"
msgid "Enter a valid value."
msgstr "Въведете валидна стойност. "
@ -311,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 ""
@ -355,10 +365,10 @@ msgid_plural ""
"Ensure this value has at least %(limit_value)d characters (it has "
"%(show_value)d)."
msgstr[0] ""
"Уверете се, тази стойност е най-малко %(limit_value)d знака (тя има "
"Уверете се, че тази стойност е най-малко %(limit_value)d знака (тя има "
"%(show_value)d )."
msgstr[1] ""
"Уверете се, тази стойност е най-малко %(limit_value)d знака (тя има "
"Уверете се, че тази стойност е най-малко %(limit_value)d знака (тя има "
"%(show_value)d)."
#, python-format
@ -372,7 +382,7 @@ msgstr[0] ""
"Уверете се, тази стойност има най-много %(limit_value)d знака (тя има "
"%(show_value)d)."
msgstr[1] ""
"Уверете се, тази стойност има най-много %(limit_value)d знака (тя има "
"Уверете се, че тази стойност има най-много %(limit_value)d знака (тя има "
"%(show_value)d)."
#, python-format
@ -399,6 +409,17 @@ msgstr[0] ""
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 "и"
@ -654,7 +675,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)."
"Уверете се, че това файлово име има най-много %(max)d знаци (има "
"%(length)d)."
msgid "Please either submit a file or check the clear checkbox, not both."
msgstr ""
@ -730,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 ""
@ -748,15 +770,15 @@ msgstr ""
"%(datetime)s не може да бъде разчетено в %(current_timezone)s; може да е "
"двусмислен или да не съществува"
msgid "Clear"
msgstr "Изчисти"
msgid "Currently"
msgstr "Сега"
msgid "Change"
msgstr "Промени"
msgid "Clear"
msgstr "Изчисти"
msgid "Unknown"
msgstr "Неизвестно"
@ -1103,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 "
@ -1123,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 ""
"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 "Не е посочена година"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Не е посочен месец"
@ -1195,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: 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: Bengali (http://www.transifex.com/django/django/language/"
"bn/)\n"
@ -296,6 +296,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 "একটি বৈধ মান দিন।"
@ -308,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 ""
@ -383,6 +393,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 "এবং"
@ -692,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
@ -708,15 +727,15 @@ msgid ""
"may be ambiguous or it may not exist."
msgstr ""
msgid "Clear"
msgstr "পরিষ্কার করুন"
msgid "Currently"
msgstr "এই মুহুর্তে"
msgid "Change"
msgstr "পরিবর্তন"
msgid "Clear"
msgstr "পরিষ্কার করুন"
msgid "Unknown"
msgstr "অজানা"
@ -1056,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 "
@ -1070,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 ""
"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 "কোন বছর উল্লেখ করা হয়নি"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "কোন মাস উল্লেখ করা হয়নি"
@ -1140,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 =
@ -12,13 +9,24 @@ YEAR_MONTH_FORMAT = 'F Y'
MONTH_DAY_FORMAT = 'j F'
SHORT_DATE_FORMAT = 'j M, Y'
# SHORT_DATETIME_FORMAT =
# FIRST_DAY_OF_WEEK =
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
# DATE_INPUT_FORMATS =
# TIME_INPUT_FORMATS =
# DATETIME_INPUT_FORMATS =
# 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
'%d-%m-%Y', # 25-10-2016
'%d-%m-%y', # 25-10-16
]
TIME_INPUT_FORMATS = [
'%H:%M:%S', # 14:30:59
'%H:%M', # 14:30
]
DATETIME_INPUT_FORMATS = [
'%d/%m/%Y %H:%M:%S', # 25/10/2006 14:30:59
'%d/%m/%Y %H:%M', # 25/10/2006 14:30
]
DECIMAL_SEPARATOR = '.'
THOUSAND_SEPARATOR = ','
# NUMBER_GROUPING =

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: 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: Bosnian (http://www.transifex.com/django/django/language/"
"bs/)\n"
@ -295,6 +295,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 "Unesite ispravnu vrijednost."
@ -307,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 ""
@ -389,6 +399,15 @@ msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#, 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 "i"
@ -704,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
@ -721,15 +740,15 @@ msgid ""
"may be ambiguous or it may not exist."
msgstr ""
msgid "Clear"
msgstr "Očisti"
msgid "Currently"
msgstr "Trenutno"
msgid "Change"
msgstr "Izmjeni"
msgid "Clear"
msgstr "Očisti"
msgid "Unknown"
msgstr "Nepoznato"
@ -1076,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 "
@ -1090,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 ""
"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 "Godina nije naznačena"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Mjesec nije naznačen"
@ -1160,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

@ -1,7 +1,7 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Antoni Aloy <aaloy@apsl.net>, 2012,2015-2016
# Antoni Aloy <aaloy@apsl.net>, 2012,2015-2017
# Carles Barrobés <carles@barrobes.com>, 2011-2012,2014
# duub qnnp, 2015
# Jannis Leidel <jannis@leidel.info>, 2011
@ -11,8 +11,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: Catalan (http://www.transifex.com/django/django/language/"
"ca/)\n"
@ -65,7 +65,7 @@ msgid "German"
msgstr "alemany"
msgid "Lower Sorbian"
msgstr ""
msgstr "Lower Sorbian"
msgid "Greek"
msgstr "grec"
@ -137,7 +137,7 @@ msgid "Croatian"
msgstr "croat"
msgid "Upper Sorbian"
msgstr ""
msgstr "Upper Sorbian"
msgid "Hungarian"
msgstr "hongarès"
@ -200,7 +200,7 @@ msgid "Burmese"
msgstr "Burmès"
msgid "Norwegian Bokmål"
msgstr ""
msgstr "Norwegian Bokmål"
msgid "Nepali"
msgstr "Nepalí"
@ -298,6 +298,15 @@ msgstr "Arxius estàtics"
msgid "Syndication"
msgstr "Sindicació"
msgid "That page number is not an integer"
msgstr "Aquesta plana no és un sencer"
msgid "That page number is less than 1"
msgstr "El nombre de plana és inferior a 1"
msgid "That page contains no results"
msgstr "La plana no conté cap resultat"
msgid "Enter a valid value."
msgstr "Introduïu un valor vàlid."
@ -310,6 +319,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 ""
@ -399,6 +409,17 @@ msgstr[0] ""
msgstr[1] ""
"Assegureu-vos que no hi ha més de %(max)s dígits abans de la coma decimal."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
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 ""
msgid "and"
msgstr "i"
@ -601,11 +622,11 @@ msgstr "Inter-relació un-a-un"
#, python-format
msgid "%(from)s-%(to)s relationship"
msgstr ""
msgstr "relació %(from)s-%(to)s "
#, python-format
msgid "%(from)s-%(to)s relationships"
msgstr ""
msgstr "relacions %(from)s-%(to)s "
msgid "Many-to-many relationship"
msgstr "Inter-relació molts-a-molts"
@ -733,18 +754,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."
msgid "The inline value did not match the parent instance."
msgstr ""
"La clau forana en línia no coincideix amb la clau primària de la instància "
"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 ""
#, python-format
msgid ""
@ -754,15 +773,15 @@ msgstr ""
"No s'ha pogut interpretar %(datetime)s a la zona horària "
"%(current_timezone)s; potser és ambigua o no existeix."
msgid "Clear"
msgstr "Netejar"
msgid "Currently"
msgstr "Actualment"
msgid "Change"
msgstr "Modificar"
msgid "Clear"
msgstr "Netejar"
msgid "Unknown"
msgstr "Desconegut"
@ -1109,6 +1128,14 @@ 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 ""
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 "
@ -1130,33 +1157,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 ""
"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 ""
"Per suposat, encara no has fet cap feina real encara. Seguidament crea la "
"teva primera aplicació 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 ""
msgid "No month specified"
msgstr "No s'ha especificat mes"
@ -1207,3 +1213,41 @@ 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 ""
#, 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 = 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-2016
# Vláďa Macek <macek@sandbox.cz>, 2015-2018
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-09-16 22:28+0000\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-07-15 18:02+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,7 +137,7 @@ msgid "Croatian"
msgstr "chorvatsky"
msgid "Upper Sorbian"
msgstr "Hornolužická srbština"
msgstr "hornolužickou srbštinou"
msgid "Hungarian"
msgstr "maďarsky"
@ -160,7 +161,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 +197,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 +278,7 @@ msgid "Ukrainian"
msgstr "ukrajinsky"
msgid "Urdu"
msgstr "Urdština"
msgstr "urdsky"
msgid "Vietnamese"
msgstr "vietnamsky"
@ -297,6 +301,15 @@ msgstr "Statické soubory"
msgid "Syndication"
msgstr "Syndikace"
msgid "That page number is not an integer"
msgstr "Číslo stránky není celé číslo."
msgid "That page number is less than 1"
msgstr "Číslo stránky je menší než 1"
msgid "That page contains no results"
msgstr "Stránka je bez výsledků"
msgid "Enter a valid value."
msgstr "Zadejte platnou hodnotu."
@ -309,6 +322,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 ""
@ -359,6 +373,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 ""
@ -373,6 +389,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."
@ -380,6 +401,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."
@ -387,6 +409,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 ""
@ -402,6 +425,20 @@ 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 ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
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"
@ -454,6 +491,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))"
@ -628,9 +669,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."
@ -643,6 +681,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."
@ -663,6 +705,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í."
@ -703,6 +747,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."
@ -710,6 +755,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í"
@ -736,16 +782,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 ""
@ -755,15 +800,15 @@ msgstr ""
"Hodnotu %(datetime)s nelze interpretovat v časové zóně %(current_timezone)s; "
"může to být nejednoznačné nebo nemusí existovat."
msgid "Clear"
msgstr "Zrušit"
msgid "Currently"
msgstr "Aktuálně"
msgid "Change"
msgstr "Změnit"
msgid "Clear"
msgstr "Zrušit"
msgid "Unknown"
msgstr "Neznámé"
@ -782,6 +827,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"
@ -1052,6 +1098,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"
@ -1059,6 +1106,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"
@ -1066,6 +1114,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"
@ -1073,6 +1122,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"
@ -1080,6 +1130,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"
@ -1087,6 +1138,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"
@ -1117,6 +1169,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 "
@ -1136,34 +1201,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 ""
"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 ""
"Samozřejmě máte před sebou ještě spoustu práce. Začněte vytvořením Vaší "
"první aplikace pomocí příkazu <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 ""
"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"
@ -1214,3 +1257,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: 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: Welsh (http://www.transifex.com/django/django/language/cy/)\n"
"MIME-Version: 1.0\n"
@ -294,6 +294,15 @@ msgstr "Ffeiliau Statig"
msgid "Syndication"
msgstr "Syndicetiad"
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 "Rhowch werth dilys."
@ -306,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 ""
@ -408,6 +418,15 @@ msgstr[1] "Sicrhewch nad oes mwy na %(max)s ddigid cyn y pwynt degol."
msgstr[2] "Sicrhewch nad oes mwy na %(max)s digid cyn y pwynt degol."
msgstr[3] "Sicrhewch nad oes mwy na %(max)s digid cyn y pwynt degol."
#, 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 "a"
@ -743,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 ""
@ -754,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 ""
@ -765,15 +782,15 @@ msgstr ""
"Ni ellir dehongli %(datetime)s yn y gylchfa amser %(current_timezone)s; "
"mae'n amwys neu ddim yn bodoli."
msgid "Clear"
msgstr "Clirio"
msgid "Currently"
msgstr "Ar hyn o bryd"
msgid "Change"
msgstr "Newid"
msgid "Clear"
msgstr "Clirio"
msgid "Unknown"
msgstr "Anhysbys"
@ -1133,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 "
@ -1152,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 ""
"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 "Dim blwyddyn wedii bennu"
msgid "Date out of range"
msgstr ""
msgid "No month specified"
msgstr "Dim mis wedii bennu"
@ -1225,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-2016
# Erik Wognsen <r4mses@gmail.com>, 2013-2018
# 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: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 19:27+0000\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-05-18 20:46+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"
@ -164,6 +164,9 @@ msgstr "japansk"
msgid "Georgian"
msgstr "georgisk"
msgid "Kabyle"
msgstr "kabylsk"
msgid "Kazakh"
msgstr "kasakhisk"
@ -299,6 +302,15 @@ msgstr "Static Files"
msgid "Syndication"
msgstr "Syndication"
msgid "That page number is not an integer"
msgstr "Det sidetal er ikke et heltal"
msgid "That page number is less than 1"
msgstr "Det sidetal er mindre end 1"
msgid "That page contains no results"
msgstr "Den side indeholder ingen resultater"
msgid "Enter a valid value."
msgstr "Indtast en gyldig værdi."
@ -311,6 +323,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 ""
@ -372,6 +385,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."
@ -392,6 +408,17 @@ msgid_plural ""
msgstr[0] "Der må maksimalt være %(max)s ciffer før kommaet."
msgstr[1] "Der må maksimalt være %(max)s cifre før kommaet."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
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"
@ -439,6 +466,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)"
@ -615,9 +646,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."
@ -630,6 +658,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."
@ -721,9 +753,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 ""
@ -731,8 +762,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 ""
@ -742,15 +773,15 @@ msgstr ""
"%(datetime)s kunne ikke fortolkes i tidszonen %(current_timezone)s; den kan "
"være tvetydig eller den eksisterer måske ikke."
msgid "Clear"
msgstr "Afmarkér"
msgid "Currently"
msgstr "Aktuelt"
msgid "Change"
msgstr "Ret"
msgid "Clear"
msgstr "Afmarkér"
msgid "Unknown"
msgstr "Ukendt"
@ -1097,6 +1128,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 "
@ -1116,32 +1160,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 ""
"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 ""
"Du har dog ikke gjort noget endnu. Start 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"
@ -1192,3 +1216,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
# Daniel Roschka <dunedan@phoenitydawn.de>, 2016
# Florian Apolloner <florian@apolloner.eu>, 2018
# Jannis Vajen, 2011,2013
# Jannis Leidel <jannis@leidel.info>, 2013-2016
# Jannis Leidel <jannis@leidel.info>, 2013-2018
# Jannis Vajen, 2016
# Markus Holtermann <inyoka@markusholtermann.eu>, 2013,2015
# Markus Holtermann <info@markusholtermann.eu>, 2013,2015
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-07-26 11:37+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\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"
@ -206,7 +210,7 @@ msgid "Nepali"
msgstr "Nepali"
msgid "Dutch"
msgstr "Holländisch"
msgstr "Niederländisch"
msgid "Norwegian Nynorsk"
msgstr "Norwegisch (Nynorsk)"
@ -298,6 +302,15 @@ msgstr "Statische Dateien"
msgid "Syndication"
msgstr "Syndication"
msgid "That page number is not an integer"
msgstr "Diese Seitennummer ist keine Ganzzahl"
msgid "That page number is less than 1"
msgstr "Diese Seitennummer ist kleiner als 1"
msgid "That page contains no results"
msgstr "Diese Seite enthält keine Ergebnisse"
msgid "Enter a valid value."
msgstr "Bitte einen gültigen Wert eingeben."
@ -310,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 ""
@ -339,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."
@ -358,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 ""
@ -372,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."
@ -405,6 +422,17 @@ msgstr[1] ""
"Bitte sicherstellen, dass der Wert höchstens %(max)s Ziffern vor dem Komma "
"enthält."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
"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"
@ -443,14 +471,18 @@ msgstr "Ganzzahl"
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "%(value)s Wert muss eine Ganzzahl sein."
msgstr "„%(value)s“ Wert muss eine Ganzzahl sein."
msgid "Big (8 byte) integer"
msgstr "Große Ganzzahl (8 Byte)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "%(value)s Wert muss entweder True oder False sein."
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)"
@ -467,7 +499,7 @@ msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"%(value)s Wert hat ein ungültiges Datumsformat. Es muss YYYY-MM-DD "
"„%(value)s“ Wert hat ein ungültiges Datumsformat. Es muss YYYY-MM-DD "
"entsprechen."
#, python-format
@ -475,7 +507,7 @@ msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"%(value)s hat das korrekte Format (YYYY-MM-DD) aber ein ungültiges Datum."
"„%(value)s“ hat das korrekte Format (YYYY-MM-DD) aber ein ungültiges Datum."
msgid "Date (without time)"
msgstr "Datum (ohne Uhrzeit)"
@ -485,7 +517,7 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"%(value)s Wert hat ein ungültiges Format. Es muss YYYY-MM-DD HH:MM[:ss[."
"„%(value)s“ Wert hat ein ungültiges Format. Es muss YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] entsprechen."
#, python-format
@ -493,7 +525,7 @@ 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 Wert hat das korrekte Format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"„%(value)s“ Wert hat das korrekte Format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) aber eine ungültige Zeit-/Datumsangabe."
msgid "Date (with time)"
@ -501,7 +533,7 @@ msgstr "Datum (mit Uhrzeit)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "%(value)s Wert muss eine Dezimalzahl sein."
msgstr "„%(value)s“ Wert muss eine Dezimalzahl sein."
msgid "Decimal number"
msgstr "Dezimalzahl"
@ -511,7 +543,7 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"uuuuuu] format."
msgstr ""
"'%(value)s' Wert hat ein ungültiges Format. Es muss der Form [DD] [HH:"
"„%(value)s“ Wert hat ein ungültiges Format. Es muss der Form [DD] [HH:"
"[MM:]]ss[.uuuuuu] entsprechen."
msgid "Duration"
@ -525,7 +557,7 @@ msgstr "Dateipfad"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "%(value)s Wert muss eine Fließkommazahl sein."
msgstr "„%(value)s“ Wert muss eine Fließkommazahl sein."
msgid "Floating point number"
msgstr "Gleitkommazahl"
@ -538,7 +570,7 @@ msgstr "IP-Adresse"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "%(value)s Wert muss entweder None, True oder False sein."
msgstr "„%(value)s“ Wert muss entweder None, True oder False sein."
msgid "Boolean (Either True, False or None)"
msgstr "Boolescher Wert (True, False oder None)"
@ -564,7 +596,7 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"%(value)s Wert hat ein ungültiges Format. Es muss HH:MM[:ss[.uuuuuu]] "
"„%(value)s“ Wert hat ein ungültiges Format. Es muss HH:MM[:ss[.uuuuuu]] "
"entsprechen."
#, python-format
@ -572,7 +604,7 @@ msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"%(value)s Wert hat das korrekte Format (HH:MM[:ss[.uuuuuu]]) aber ist eine "
"„%(value)s“ Wert hat das korrekte Format (HH:MM[:ss[.uuuuuu]]) aber ist eine "
"ungültige Zeitangabe."
msgid "Time"
@ -586,7 +618,7 @@ msgstr "Binärdaten"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "Wert '%(value)s' ist keine gültige UUID."
msgstr "Wert „%(value)s“ ist keine gültige UUID."
msgid "File"
msgstr "Datei"
@ -627,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."
@ -642,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."
@ -658,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 ""
@ -738,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 ""
@ -758,15 +789,15 @@ msgstr ""
"%(datetime)s konnte mit der Zeitzone %(current_timezone)s nicht eindeutig "
"interpretiert werden, da es doppeldeutig oder eventuell inkorrekt ist."
msgid "Clear"
msgstr "Zurücksetzen"
msgid "Currently"
msgstr "Derzeit"
msgid "Change"
msgstr "Ändern"
msgid "Clear"
msgstr "Zurücksetzen"
msgid "Unknown"
msgstr "Unbekannt"
@ -1114,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 "
@ -1134,33 +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 ""
"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 ""
"Natürlich ist hier noch nichts weiter zu sehen. 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"
@ -1184,7 +1207,7 @@ msgstr ""
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Ungültiges Datum '%(datestr)s' für das Format '%(format)s'"
msgstr "Ungültiges Datum „%(datestr)s“ für das Format „%(format)s“"
#, python-format
msgid "No %(verbose_name)s found matching the query"
@ -1192,7 +1215,7 @@ msgstr "Konnte keine %(verbose_name)s mit diesen Parametern finden."
msgid "Page is not 'last', nor can it be converted to an int."
msgstr ""
"Weder ist dies die letzte Seite ('last') noch konnte sie in einen "
"Weder ist dies die letzte Seite („last“) noch konnte sie in einen "
"ganzzahligen Wert umgewandelt werden."
#, python-format
@ -1201,15 +1224,60 @@ msgstr "Ungültige Seite (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Leere Liste und '%(class_name)s.allow_empty' ist False."
msgstr "Leere Liste und „%(class_name)s.allow_empty“ ist False."
msgid "Directory indexes are not allowed here."
msgstr "Dateilisten sind untersagt."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" ist nicht vorhanden"
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
# Michael Wolf <milupo@sorbzilla.de>, 2016-2018
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-07-01 21:52+0000\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-05-26 10:19+0000\n"
"Last-Translator: Michael Wolf <milupo@sorbzilla.de>\n"
"Language-Team: Lower Sorbian (http://www.transifex.com/django/django/"
"language/dsb/)\n"
@ -159,6 +159,9 @@ msgstr "Japańšćina"
msgid "Georgian"
msgstr "Georgišćina"
msgid "Kabyle"
msgstr "Kabylšćina"
msgid "Kazakh"
msgstr "Kazachšćina"
@ -294,6 +297,15 @@ msgstr "Statiske dataje"
msgid "Syndication"
msgstr "Syndikacija"
msgid "That page number is not an integer"
msgstr "Toś ten numer boka njejo ceła licba"
msgid "That page number is less than 1"
msgstr "Numer boka jo mjeńšy ako 1"
msgid "That page contains no results"
msgstr "Toś ten bok njewopśimujo wuslědki"
msgid "Enter a valid value."
msgstr "Zapódajśo płaśiwu gódnotu."
@ -306,6 +318,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 ""
@ -385,6 +398,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."
@ -411,6 +427,17 @@ msgstr[1] "Zawěsććo, až njejo wěcej ako %(max)s cyfrowu pśed decimalneju k
msgstr[2] "Zawěsććo, až njejo wěcej ako %(max)s cyfrow pśed decimalneju komu."
msgstr[3] "Zawěsććo, až njejo wěcej ako %(max)s cyfrow pśed decimalneju komu."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
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"
@ -458,6 +485,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)"
@ -633,9 +664,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."
@ -648,6 +676,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. "
@ -755,10 +787,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 ""
@ -766,8 +796,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 ""
@ -777,15 +807,15 @@ msgstr ""
"%(datetime)s njedajo se w casowej conje %(current_timezone)s "
"interpretěrowaś; jo dwójozmysłowy abo snaź njeeksistěrujo."
msgid "Clear"
msgstr "Lašowaś"
msgid "Currently"
msgstr "Tuchylu"
msgid "Change"
msgstr "Změniś"
msgid "Clear"
msgstr "Lašowaś"
msgid "Unknown"
msgstr "Njeznaty"
@ -1146,6 +1176,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 "
@ -1166,33 +1209,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 ""
"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 ""
"Zawěsće, pópšawem hyšći njejsćo žedno źěło gótował. 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"
@ -1244,3 +1266,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,9 +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-2018
# Nikolas Demiridis <nikolas@demiridis.gr>, 2014
# Nick Mavrakis <mavrakis.n@gmail.com>, 2016
# Pãnoș <panos.laganakos@gmail.com>, 2014
@ -16,8 +17,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-07-14 16:48+0000\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-09-22 10:11+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"
@ -167,6 +168,9 @@ msgstr "Γιαπωνέζικα"
msgid "Georgian"
msgstr "Γεωργιανά"
msgid "Kabyle"
msgstr "Kabyle"
msgid "Kazakh"
msgstr "Καζακστά"
@ -302,6 +306,15 @@ msgstr "Στατικά Αρχεία"
msgid "Syndication"
msgstr "Syndication"
msgid "That page number is not an integer"
msgstr "Ο αριθμός αυτής της σελίδας δεν είναι ακέραιος"
msgid "That page number is less than 1"
msgstr "Ο αριθμός αυτής της σελίδας είναι μικρότερος του 1"
msgid "That page contains no results"
msgstr "Η σελίδα αυτή δεν περιέχει αποτελέσματα"
msgid "Enter a valid value."
msgstr "Εισάγετε μια έγκυρη τιμή."
@ -314,6 +327,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 ""
@ -364,8 +378,8 @@ msgstr[0] ""
"Βεβαιωθείται πως η τιμή αυτή έχει τουλάχιστον %(limit_value)d χαρακτήρες "
"(έχει %(show_value)d)."
msgstr[1] ""
"Βεβαιωθείται πως η τιμή αυτή έχει τουλάχιστον %(limit_value)d χαρακτήρες "
"(έχει %(show_value)d)."
"Βεβαιωθείτε πως η τιμή έχει τουλάχιστον %(limit_value)d χαρακτήρες (έχει "
"%(show_value)d)."
#, python-format
msgid ""
@ -378,8 +392,11 @@ msgstr[0] ""
"Βεβαιωθείται πως η τιμή αυτή έχει τοπολύ %(limit_value)d χαρακτήρες (έχει "
"%(show_value)d)."
msgstr[1] ""
"Βεβαιωθείται πως η τιμή αυτή έχει τουλάχιστον %(limit_value)d χαρακτήρες "
"(έχει %(show_value)d)."
"Βεβαιωθείτε πως η τιμή έχει το πολύ %(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."
@ -405,6 +422,17 @@ msgstr[0] ""
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 "Δεν επιτρέπονται null (μηδενικοί) χαρακτήρες"
msgid "and"
msgstr "και"
@ -453,6 +481,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 (Είτε Αληθές ή Ψευδές)"
@ -630,9 +662,6 @@ msgstr "Αυτό το πεδίο είναι απαραίτητο."
msgid "Enter a whole number."
msgstr "Εισάγετε έναν ακέραιο αριθμό."
msgid "Enter a number."
msgstr "Εισάγετε έναν αριθμό."
msgid "Enter a valid date."
msgstr "Εισάγετε μια έγκυρη ημερομηνία."
@ -645,6 +674,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 ""
"Δεν έχει υποβληθεί κάποιο αρχείο. Ελέγξτε τον τύπο κωδικοποίησης στη φόρμα."
@ -744,10 +777,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 ""
@ -755,8 +786,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 ""
@ -766,15 +797,15 @@ msgstr ""
"Η ημερομηνία %(datetime)s δεν μπόρεσε να μετατραπεί στην ζώνη ώρας "
"%(current_timezone)s; ίσως να είναι ασαφής ή να μην υπάρχει."
msgid "Clear"
msgstr "Εκκαθάριση"
msgid "Currently"
msgstr "Τώρα"
msgid "Change"
msgstr "Επεξεργασία"
msgid "Clear"
msgstr "Εκκαθάριση"
msgid "Unknown"
msgstr "Άγνωστο"
@ -1121,6 +1152,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 "
@ -1141,33 +1186,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 ""
"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 ""
"Φυσίκα, δεν έχετε κάνει καμία δουλειά ακόμα. Ξεκινήστε την πρώτη σας "
"εφαρμογή εκτελώντας <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 "Δεν έχει οριστεί μήνας"
@ -1222,3 +1246,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: 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 (United Kingdom) (http://www.transifex.com/django/"
"django/language/en_GB/)\n"
@ -295,6 +295,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."
@ -307,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 ""
@ -381,6 +391,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 "and"
@ -691,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
@ -710,15 +729,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"
@ -1058,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 "
@ -1072,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 ""
"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"
@ -1144,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,17 +2,18 @@
#
# Translators:
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2012-2013
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2013-2016
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2013-2018
# 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-2018
# Adamo Mesha <adam.raizen@gmail.com>, 2012
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-09-29 18:22+0000\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-07-30 21:46+0000\n"
"Last-Translator: Baptiste Darthenay <baptiste+transifex@darthenay.fr>\n"
"Language-Team: Esperanto (http://www.transifex.com/django/django/language/"
"eo/)\n"
@ -163,6 +164,9 @@ msgstr "Japana"
msgid "Georgian"
msgstr "Kartvela"
msgid "Kabyle"
msgstr "Kabila"
msgid "Kazakh"
msgstr "Kazaĥa"
@ -298,6 +302,15 @@ msgstr "Statikaj dosieroj"
msgid "Syndication"
msgstr "Abonrilato"
msgid "That page number is not an integer"
msgstr "Tuo paĝnumero ne estas entjero"
msgid "That page number is less than 1"
msgstr "Tuo paĝnumero estas malpli ol 1"
msgid "That page contains no results"
msgstr "Tiu paĝo ne enhavas rezultojn"
msgid "Enter a valid value."
msgstr "Enigu validan valoron."
@ -310,6 +323,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 ""
@ -375,6 +389,9 @@ msgstr[1] ""
"Certigu, ke tio valuto maksimume havas %(limit_value)d karakterojn (ĝ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."
@ -395,6 +412,17 @@ msgid_plural ""
msgstr[0] "Certigu ke ne estas pli ol %(max)s ciferoj antaŭ la dekuma punkto."
msgstr[1] "Certigu ke ne estas pli ol %(max)s ciferoj antaŭ la dekuma punkto."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
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"
@ -442,6 +470,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)"
@ -618,9 +650,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."
@ -633,6 +662,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 "
@ -728,15 +761,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 ""
@ -746,15 +779,15 @@ msgstr ""
"%(datetime)s ne povus esti interpretita en horzono %(current_timezone)s; ĝi "
"povas esti plursenca aŭ ne ekzistas."
msgid "Clear"
msgstr "Vakigi"
msgid "Currently"
msgstr "Nuntempe"
msgid "Change"
msgstr "Ŝanĝi"
msgid "Clear"
msgstr "Vakigi"
msgid "Unknown"
msgstr "Nekonate"
@ -1101,6 +1134,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 "
@ -1120,33 +1166,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 ""
"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 ""
"Kompreneble, vi ankoraŭ ne reale faris ajnan laboron. Poste, komencu vian "
"unuan aplikaĵon lanĉante <code>python manage.py startapp [aplikaĵo_etikedo]</"
"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"
@ -1199,3 +1224,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

@ -1,17 +1,19 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Abraham Estrada <abraham.estrada@gmail.com>, 2013
# Abraham Estrada, 2013
# albertoalcolea <albertoalcolea@gmail.com>, 2014
# Antoni Aloy <aaloy@apsl.net>, 2011-2014
# Amanda Copete, 2017
# Antoni Aloy <aaloy@apsl.net>, 2011-2014,2017
# Diego Andres Sanabria Martin <diegueus9@gmail.com>, 2012
# 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
# 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
# Marc Garcia <garcia.marc@gmail.com>, 2011
@ -19,15 +21,15 @@
# ntrrgc <ntrrgc@gmail.com>, 2013
# ntrrgc <ntrrgc@gmail.com>, 2013
# Pablo, 2015
# Sebastián Ramírez Magrí <sebasmagri@gmail.com>, 2013
# Sebastián Magrí <sebasmagri@gmail.com>, 2013
# Veronicabh <vero.blazher@gmail.com>, 2015
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-08-03 15:35+0000\n"
"Last-Translator: Ernesto Avilés Vázquez <whippiii@gmail.com>\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 14:56+0000\n"
"Last-Translator: Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com>\n"
"Language-Team: Spanish (http://www.transifex.com/django/django/language/"
"es/)\n"
"MIME-Version: 1.0\n"
@ -37,7 +39,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "Afrikaans"
msgstr "Afrikaans"
msgstr "Africano"
msgid "Arabic"
msgstr "Árabe"
@ -312,8 +314,17 @@ msgstr "Archivos estáticos"
msgid "Syndication"
msgstr "Sindicación"
msgid "That page number is not an integer"
msgstr "Este número de página no es un entero"
msgid "That page number is less than 1"
msgstr "Este número de página es menor que 1"
msgid "That page contains no results"
msgstr "Esa página no contiene resultados"
msgid "Enter a valid value."
msgstr "Introduzca un valor correcto."
msgstr "Introduzca un valor válido."
msgid "Enter a valid URL."
msgstr "Introduzca una URL válida."
@ -324,6 +335,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 ""
@ -334,8 +346,7 @@ msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Ingrese un 'slug' consistente en letras, números, subrayados o guiones "
"Unicodes."
"Introduzca un 'slug' consistente en letras, números, subrayados o guiones."
msgid "Enter a valid IPv4 address."
msgstr "Introduzca una dirección IPv4 válida."
@ -413,6 +424,17 @@ msgstr[0] ""
msgstr[1] ""
"Asegúrese de que no haya 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 ""
"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"
@ -608,7 +630,7 @@ msgid "%(model)s instance with %(field)s %(value)r does not exist."
msgstr "La instancia de %(model)s con %(field)s %(value)r no existe."
msgid "Foreign Key (type determined by related field)"
msgstr "Llave foránea (tipo determinado por el campo relacionado)"
msgstr "Clave foránea (tipo determinado por el campo relacionado)"
msgid "One-to-one relationship"
msgstr "Relación uno-a-uno"
@ -704,7 +726,7 @@ msgstr ":"
#, python-format
msgid "(Hidden field %(name)s) %(error)s"
msgstr "(Compo oculto %(name)s) *%(error)s"
msgstr "(Campo oculto %(name)s) *%(error)s"
msgid "ManagementForm data is missing or has been tampered with"
msgstr "Los datos de ManagementForm faltan o han sido manipulados"
@ -712,14 +734,14 @@ msgstr "Los datos de ManagementForm faltan o han sido manipulados"
#, python-format
msgid "Please submit %d or fewer forms."
msgid_plural "Please submit %d or fewer forms."
msgstr[0] "Por favor, envíe %d o menos formas."
msgstr[1] "Por favor, envíe %d o menos formas."
msgstr[0] "Por favor, envíe %d formulario o menos."
msgstr[1] "Por favor, envíe %d formularios o menos"
#, python-format
msgid "Please submit %d or more forms."
msgid_plural "Please submit %d or more forms."
msgstr[0] "Por favor, envíe %d o más formas."
msgstr[1] "Por favor, envíe %d o más formas."
msgstr[0] "Por favor, envíe %d formulario o más."
msgstr[1] "Por favor, envíe %d formularios o más."
msgid "Order"
msgstr "Orden"
@ -747,17 +769,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 ""
@ -767,15 +787,15 @@ msgstr ""
"%(datetime)s no puede interpretarse en la zona temporal "
"%(current_timezone)s; puede ser ambiguo o puede no existir."
msgid "Clear"
msgstr "Limpiar"
msgid "Currently"
msgstr "Actualmente"
msgid "Change"
msgstr "Modificar"
msgid "Clear"
msgstr "Limpiar"
msgid "Unknown"
msgstr "Desconocido"
@ -920,7 +940,7 @@ msgid "mar"
msgstr "mar"
msgid "apr"
msgstr "apr"
msgstr "abr"
msgid "may"
msgstr "may"
@ -1122,6 +1142,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 "
@ -1141,33 +1175,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 "Fecha fuera de rango"
msgid "No month specified"
msgstr "No se ha indicado el mes"
@ -1218,3 +1231,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-2016
# Ramiro Morales, 2013-2018
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-07-30 23:44+0000\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-06-18 20:22+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Spanish (Argentina) (http://www.transifex.com/django/django/"
"language/es_AR/)\n"
@ -161,6 +161,9 @@ msgstr "japonés"
msgid "Georgian"
msgstr "georgiano"
msgid "Kabyle"
msgstr "cabilio"
msgid "Kazakh"
msgstr "kazajo"
@ -296,6 +299,15 @@ msgstr "Archivos estáticos"
msgid "Syndication"
msgstr "Sindicación"
msgid "That page number is not an integer"
msgstr "El número de página no es un entero"
msgid "That page number is less than 1"
msgstr "El número de página es menor a 1"
msgid "That page contains no results"
msgstr "Esa página no contiene resultados"
msgid "Enter a valid value."
msgstr "Introduzca un valor válido."
@ -308,6 +320,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 ""
@ -375,6 +388,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."
@ -397,6 +413,17 @@ msgstr[0] ""
msgstr[1] ""
"Asegúrese de que no existan mas 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 ""
"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"
@ -445,6 +472,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)"
@ -621,9 +652,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."
@ -636,6 +664,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."
@ -733,10 +765,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 ""
@ -744,8 +774,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 ""
@ -755,15 +785,15 @@ msgstr ""
"%(datetime)s no puede ser interpretado en la zona horaria "
"%(current_timezone)s; ya que podría ser ambiguo o podría no existir."
msgid "Clear"
msgstr "Eliminar"
msgid "Currently"
msgstr "Actualmente"
msgid "Change"
msgstr "Modificar"
msgid "Clear"
msgstr "Eliminar"
msgid "Unknown"
msgstr "Desconocido"
@ -984,54 +1014,54 @@ 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"
@ -1111,6 +1141,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 "
@ -1132,33 +1176,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 ""
"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 ""
"Obviamente en realidad todavia no has hecho nada. Ahora crea 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 ""
"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"
@ -1211,3 +1234,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

@ -1,14 +1,16 @@
# This file is distributed under the same license as the Django package.
#
# 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: 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 (Venezuela) (http://www.transifex.com/django/django/"
"language/es_VE/)\n"
@ -61,7 +63,7 @@ msgid "German"
msgstr "Alemán"
msgid "Lower Sorbian"
msgstr ""
msgstr "Sorbio Inferior"
msgid "Greek"
msgstr "Griego"
@ -133,7 +135,7 @@ msgid "Croatian"
msgstr "Croata"
msgid "Upper Sorbian"
msgstr ""
msgstr "Sorbio Superior"
msgid "Hungarian"
msgstr "Húngaro"
@ -196,7 +198,7 @@ msgid "Burmese"
msgstr "Birmano"
msgid "Norwegian Bokmål"
msgstr ""
msgstr "Noruego"
msgid "Nepali"
msgstr "Nepalí"
@ -294,6 +296,15 @@ msgstr "Archivos estáticos"
msgid "Syndication"
msgstr "Sindicación"
msgid "That page number is not an integer"
msgstr "Ese número de página no es un número entero"
msgid "That page number is less than 1"
msgstr "Ese número de página es menor que 1"
msgid "That page contains no results"
msgstr "Esa página no contiene resultados"
msgid "Enter a valid value."
msgstr "Introduzca un valor válido."
@ -306,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 ""
@ -393,6 +405,17 @@ 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 ""
"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"
@ -595,11 +618,11 @@ msgstr "Relación uno a uno"
#, python-format
msgid "%(from)s-%(to)s relationship"
msgstr ""
msgstr "Relación %(from)s - %(to)s "
#, python-format
msgid "%(from)s-%(to)s relationships"
msgstr ""
msgstr "Relaciones %(from)s - %(to)s"
msgid "Many-to-many relationship"
msgstr "Relación muchos a muchos"
@ -725,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 ""
@ -746,15 +767,15 @@ msgstr ""
"%(datetime)s no puede interpretarse en la zona horaria %(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 +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 "
@ -1120,33 +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 ""
"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 +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,15 +6,15 @@
# 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
# Martin Pajuste <martinpajuste@gmail.com>, 2016-2017
# Marti Raudsepp <marti@juffo.org>, 2014,2016
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-07-18 21:42+0000\n"
"Last-Translator: Marti Raudsepp <marti@juffo.org>\n"
"POT-Creation-Date: 2017-11-15 16:15+0100\n"
"PO-Revision-Date: 2017-11-16 10:26+0000\n"
"Last-Translator: Martin Pajuste <martinpajuste@gmail.com>\n"
"Language-Team: Estonian (http://www.transifex.com/django/django/language/"
"et/)\n"
"MIME-Version: 1.0\n"
@ -299,6 +299,15 @@ msgstr "Staatilised failid"
msgid "Syndication"
msgstr "Sündikeerimine"
msgid "That page number is not an integer"
msgstr "See lehe number ei ole täisarv"
msgid "That page number is less than 1"
msgstr "See lehe number on väiksem kui 1"
msgid "That page contains no results"
msgstr "See leht ei sisalda tulemusi"
msgid "Enter a valid value."
msgstr "Sisestage korrektne väärtus."
@ -311,6 +320,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 ""
@ -397,6 +407,17 @@ msgstr[0] ""
msgstr[1] ""
"Veenduge, et komast vasakul olevaid numbreid ei oleks rohkem kui %(max)s."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
msgstr ""
"Faililaiend '%(extension)s' ei ole lubatud. Lubatud laiendid on: "
"'%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr ""
msgid "and"
msgstr "ja"
@ -727,15 +748,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 ""
@ -745,15 +766,15 @@ msgstr ""
"%(datetime)s ei saanud tõlgendada ajavööndis %(current_timezone)s; see on "
"kas puudu või mitmetähenduslik."
msgid "Clear"
msgstr "Tühjenda"
msgid "Currently"
msgstr "Hetkel"
msgid "Change"
msgstr "Muuda"
msgid "Clear"
msgstr "Tühjenda"
msgid "Unknown"
msgstr "Tundmatu"
@ -1100,6 +1121,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 "
@ -1119,32 +1148,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 ""
"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 ""
"Muidugi ei ole sa veel midagi tegelikult teinud. 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"
@ -1195,3 +1204,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

@ -1,21 +1,23 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Aitzol Naberan <anaberan@codesyntax.com>, 2013
# Aitzol Naberan <anaberan@codesyntax.com>, 2013,2016
# Ander Martínez <ander.basaundi@gmail.com>, 2013-2014
# Eneko Illarramendi <eneko@illarra.com>, 2017-2018
# 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: 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: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-08-23 14:04+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"
"Content-Type: text/plain; charset=UTF-8\n"
@ -30,16 +32,16 @@ msgid "Arabic"
msgstr "Arabiera"
msgid "Asturian"
msgstr ""
msgstr "Asturiera"
msgid "Azerbaijani"
msgstr "Azerbaianera"
msgstr "Azerbaijanera"
msgid "Bulgarian"
msgstr "Bulgariera"
msgid "Belarusian"
msgstr "Belarusiera"
msgstr "Bielorrusiera"
msgid "Bengali"
msgstr "Bengalera"
@ -57,16 +59,16 @@ msgid "Czech"
msgstr "Txekiera"
msgid "Welsh"
msgstr "Gales"
msgstr "Galesa"
msgid "Danish"
msgstr "Daniera"
msgid "German"
msgstr "Alemaniera"
msgstr "Alemana"
msgid "Lower Sorbian"
msgstr ""
msgstr "Behe-sorbiera"
msgid "Greek"
msgstr "Greziera"
@ -75,7 +77,7 @@ msgid "English"
msgstr "Ingelesa"
msgid "Australian English"
msgstr ""
msgstr "Australiar ingelesa"
msgid "British English"
msgstr "Ingelesa"
@ -84,22 +86,22 @@ msgid "Esperanto"
msgstr "Esperantoa"
msgid "Spanish"
msgstr "Espainola"
msgstr "Gaztelania"
msgid "Argentinian Spanish"
msgstr "Espainola (Argentina)"
msgstr "Gaztelania (Argentina)"
msgid "Colombian Spanish"
msgstr ""
msgstr "Gaztelania (Kolonbia)"
msgid "Mexican Spanish"
msgstr "Espainola (Mexiko)"
msgstr "Gaztelania (Mexiko)"
msgid "Nicaraguan Spanish"
msgstr "Espainola (Nikaragua)"
msgstr "Gaztelania (Nikaragua)"
msgid "Venezuelan Spanish"
msgstr "Venezuelako gaztelera"
msgstr "Gaztelania (Venezuela)"
msgid "Estonian"
msgstr "Estoniera"
@ -120,10 +122,10 @@ msgid "Frisian"
msgstr "Frisiera"
msgid "Irish"
msgstr "Irlandako gaelera"
msgstr "Irlandako gaelikoa"
msgid "Scottish Gaelic"
msgstr ""
msgstr "Eskoziako gaelikoa"
msgid "Galician"
msgstr "Galiziera"
@ -135,10 +137,10 @@ msgid "Hindi"
msgstr "Hindi"
msgid "Croatian"
msgstr "Kroaziarra"
msgstr "Kroaziera"
msgid "Upper Sorbian"
msgstr ""
msgstr "Goi-sorbiera"
msgid "Hungarian"
msgstr "Hungariera"
@ -150,7 +152,7 @@ msgid "Indonesian"
msgstr "Indonesiera"
msgid "Ido"
msgstr ""
msgstr "Ido"
msgid "Icelandic"
msgstr "Islandiera"
@ -164,14 +166,17 @@ msgstr "Japoniera"
msgid "Georgian"
msgstr "Georgiera"
msgid "Kabyle"
msgstr "Kabylera"
msgid "Kazakh"
msgstr "Kazakhera"
msgid "Khmer"
msgstr "Khemerera"
msgstr "Khmerera"
msgid "Kannada"
msgstr "Kanadiera"
msgstr "Kannada"
msgid "Korean"
msgstr "Koreera"
@ -195,22 +200,22 @@ msgid "Mongolian"
msgstr "Mongoliera"
msgid "Marathi"
msgstr ""
msgstr "Marathera"
msgid "Burmese"
msgstr "Birmaniera"
msgid "Norwegian Bokmål"
msgstr ""
msgstr "Bokmåla (Norvegia)"
msgid "Nepali"
msgstr "Nepalera"
msgid "Dutch"
msgstr "Holandera"
msgstr "Nederlandera"
msgid "Norwegian Nynorsk"
msgstr "Nynorsk"
msgstr "Nynorsk (Norvegia)"
msgid "Ossetic"
msgstr "Osetiera"
@ -222,10 +227,10 @@ msgid "Polish"
msgstr "Poloniera"
msgid "Portuguese"
msgstr "Portugalera"
msgstr "Portugesa"
msgid "Brazilian Portuguese"
msgstr "Portugalera (Brazil)"
msgstr "Portugesa (Brazil)"
msgid "Romanian"
msgstr "Errumaniera"
@ -258,7 +263,7 @@ msgid "Tamil"
msgstr "Tamilera"
msgid "Telugu"
msgstr "Telegu hizkuntza"
msgstr "Telugua"
msgid "Thai"
msgstr "Thailandiera"
@ -270,7 +275,7 @@ msgid "Tatar"
msgstr "Tatarera"
msgid "Udmurt"
msgstr "Udmurt"
msgstr "Udmurtera"
msgid "Ukrainian"
msgstr "Ukrainera"
@ -279,7 +284,7 @@ msgid "Urdu"
msgstr "Urdua"
msgid "Vietnamese"
msgstr "Vietnamamera"
msgstr "Vietnamera"
msgid "Simplified Chinese"
msgstr "Txinera (sinpletua)"
@ -288,29 +293,39 @@ msgid "Traditional Chinese"
msgstr "Txinera (tradizionala)"
msgid "Messages"
msgstr ""
msgstr "Mezuak"
msgid "Site Maps"
msgstr ""
msgstr "Sitemap-ak"
msgid "Static Files"
msgstr "Fitxategi estatikoak"
msgid "Syndication"
msgstr ""
msgstr "Sindikazioa"
msgid "That page number is not an integer"
msgstr "Orrialde hori ez da zenbaki bat"
msgid "That page number is less than 1"
msgstr "Orrialde zenbaki hori 1 baino txikiagoa da"
msgid "That page contains no results"
msgstr "Orrialde horrek ez du emaitzarik"
msgid "Enter a valid value."
msgstr "Idatzi balio zuzena."
msgstr "Idatzi baleko balio bat."
msgid "Enter a valid URL."
msgstr "Idatzi baliozko URL bat."
msgstr "Idatzi baleko URL bat."
msgid "Enter a valid integer."
msgstr "Idatzi baliozko osoko zenbakia."
msgstr "Idatzi baleko zenbaki bat."
msgid "Enter a valid email address."
msgstr "Gehitu baleko email helbide bat"
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 ""
@ -320,15 +335,17 @@ msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Idatzi Unicode hizki, zenbaki, azpimarra edo marratxoz osatutako baleko "
"'slug' bat."
msgid "Enter a valid IPv4 address."
msgstr "Sartu IPv4 helbide zuzena."
msgstr "Idatzi baleko IPv4 sare-helbide bat."
msgid "Enter a valid IPv6 address."
msgstr "Sartu IPv6 helbide zuzena"
msgstr "Idatzi baleko IPv6 sare-helbide bat."
msgid "Enter a valid IPv4 or IPv6 address."
msgstr "Sartu IPv4 edo IPv6 helbide zuzena."
msgstr "Idatzi baleko IPv4 edo IPv6 sare-helbide bat."
msgid "Enter only digits separated by commas."
msgstr "Idatzi komaz bereizitako digitoak soilik."
@ -336,8 +353,7 @@ msgstr "Idatzi komaz bereizitako digitoak soilik."
#, python-format
msgid "Ensure this value is %(limit_value)s (it is %(show_value)s)."
msgstr ""
"Ziurtatu balioak %(limit_value)s gutxienez karaktere dituela (orain "
"%(show_value)s dauzka)."
"Ziurtatu balio hau gutxienez %(limit_value)s dela (orain %(show_value)s da)."
#, python-format
msgid "Ensure this value is less than or equal to %(limit_value)s."
@ -375,6 +391,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."
@ -395,22 +414,33 @@ msgid_plural ""
msgstr[0] "Ziurtatu ez dagoela digitu %(max)s baino gehiago komaren aurretik."
msgstr[1] "Ziurtatu ez dagoela %(max)s digitu baino gehiago komaren aurretik."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
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"
#, python-format
msgid "%(model_name)s with this %(field_labels)s already exists."
msgstr ""
msgstr "%(field_labels)s hauek dauzkan %(model_name)s dagoeneko existitzen da."
#, python-format
msgid "Value %(value)r is not a valid choice."
msgstr "%(value)r balioa ez da baliozko aukera."
msgstr "%(value)r balioa ez da baleko aukera bat."
msgid "This field cannot be null."
msgstr "Eremu hau ezin daiteke hutsa izan (null)."
msgid "This field cannot be blank."
msgstr "Eremu hau ezin da hutsik egon."
msgstr "Eremu honek ezin du hutsik egon."
#, python-format
msgid "%(model_name)s with this %(field_label)s already exists."
@ -422,6 +452,7 @@ msgstr "%(field_label)s hori daukan %(model_name)s dagoeneko existitzen da."
msgid ""
"%(field_label)s must be unique for %(date_field_label)s %(lookup_type)s."
msgstr ""
"%(field_label)s must be unique for %(date_field_label)s %(lookup_type)s."
#, python-format
msgid "Field of type: %(field_type)s"
@ -432,21 +463,25 @@ msgstr "Zenbaki osoa"
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr ""
msgstr "'%(value)s' balioak integer bat izan behar du."
msgid "Big (8 byte) integer"
msgstr "Zenbaki osoa (handia 8 byte)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr ""
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 (egia ala gezurra)"
msgstr "Boolearra (True edo False)"
#, python-format
msgid "String (up to %(max_length)s)"
msgstr "Katea (%(max_length)s gehienez)"
msgstr "String-a (%(max_length)s gehienez)"
msgid "Comma-separated integers"
msgstr "Komaz bereiztutako zenbaki osoak"
@ -456,12 +491,16 @@ msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s' balioak ez dauka data formatu zuzena. Formatu zuzena UUUU-HH-EE "
"da."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"'%(value)s' balioak formatu zuzena (UUUU-HH-EE) dauka, baina ez da data "
"zuzen bat."
msgid "Date (without time)"
msgstr "Data (ordurik gabe)"
@ -471,19 +510,24 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"'%(value)s' balioak ez dauka formatu zuzena. Formatu zuzena UUUU-HH-EE OO:"
"MM[:ss[.uuuuuu]][TZ] da."
#, 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' balioak formatu zuzena dauka (UUUU-HH-EE OO:MM[:ss[.uuuuuu]]"
"[TZ]),\n"
"baina ez da data/ordu zuzena."
msgid "Date (with time)"
msgstr "Data (orduarekin)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr ""
msgstr "'%(value)s' balioak zenbaki hamartarra izan behar du."
msgid "Decimal number"
msgstr "Zenbaki hamartarra"
@ -493,35 +537,37 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"uuuuuu] format."
msgstr ""
"'%(value)s' balioak ez dauka foramtu zuzena. [EE] [OO:[MM:]]ss[.uuuuuu] "
"formatuan egon behar da."
msgid "Duration"
msgstr ""
msgstr "Iraupena"
msgid "Email address"
msgstr "Eposta helbidea"
msgstr "Helbide elektronikoa"
msgid "File path"
msgstr "Fitxategiaren bidea"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr ""
msgstr "'%(value)s' balioak float bat izan behar du."
msgid "Floating point number"
msgstr "Koma higikorreko zenbakia (float)"
msgid "IPv4 address"
msgstr "IPv4 helbidea"
msgstr "IPv4 sare-helbidea"
msgid "IP address"
msgstr "IP helbidea"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr ""
msgstr "'%(value)s' balioak None, True, edo False izan behar du."
msgid "Boolean (Either True, False or None)"
msgstr "Boolearra (egia, gezurra edo hutsa[None])"
msgstr "Boolearra (True, False edo None)"
msgid "Positive integer"
msgstr "Osoko positiboa"
@ -544,12 +590,17 @@ msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"'%(value)s' balioak ez dauka formatu zuzena. OO:MM[:ss[.uuuuuu]] formatuan "
"egon behar du."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"'%(value)s' balioak formatu zuzena dauka (OO:MM[:ss[.uuuuuu]]) baina ez da "
"ordu \n"
"zuzena"
msgid "Time"
msgstr "Ordua"
@ -562,7 +613,7 @@ msgstr "Datu bitar gordinak"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr ""
msgstr "'%(value)s' ez da baleko UUID bat."
msgid "File"
msgstr "Fitxategia"
@ -573,6 +624,8 @@ msgstr "Irudia"
#, python-format
msgid "%(model)s instance with %(field)s %(value)r does not exist."
msgstr ""
"%(field)s %(value)r edukidun %(model)s modeloko instantziarik ez da "
"exiistitzen."
msgid "Foreign Key (type determined by related field)"
msgstr "1-N (mota erlazionatutako eremuaren arabera)"
@ -582,11 +635,11 @@ msgstr "Bat-bat erlazioa"
#, python-format
msgid "%(from)s-%(to)s relationship"
msgstr ""
msgstr "%(from)s-%(to)s erlazioa"
#, python-format
msgid "%(from)s-%(to)s relationships"
msgstr ""
msgstr "%(from)s-%(to)s erlazioak"
msgid "Many-to-many relationship"
msgstr "M:N erlazioa"
@ -603,23 +656,24 @@ 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 baliozko data bat."
msgstr "Idatzi baleko data bat."
msgid "Enter a valid time."
msgstr "Idatzi baliozko ordu bat."
msgstr "Idatzi baleko ordu bat."
msgid "Enter a valid date/time."
msgstr "Idatzi baliozko data/ordua."
msgstr "Idatzi baleko data/ordu bat."
msgid "Enter a valid duration."
msgstr ""
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 inprimakiaren kodeketa-mota."
msgstr "Ez da fitxategirik bidali. Egiaztatu formularioaren kodeketa-mota."
msgid "No file was submitted."
msgstr "Ez da fitxategirik bidali."
@ -645,21 +699,21 @@ msgid ""
"Upload a valid image. The file you uploaded was either not an image or a "
"corrupted image."
msgstr ""
"Bidali baliozko irudia. Zuk bidalitako fitxategia ez da irudia edo akatsa "
"dauka."
"Igo baleko irudi bat. Zuk igotako fitxategia ez da irudi bat edo akatsen bat "
"du."
#, python-format
msgid "Select a valid choice. %(value)s is not one of the available choices."
msgstr "Hautatu baliozko aukera bat. %(value)s ez dago erabilgarri."
msgstr "Hautatu baleko aukera bat. %(value)s ez dago erabilgarri."
msgid "Enter a list of values."
msgstr "Idatzi balio-zerrenda bat."
msgid "Enter a complete value."
msgstr ""
msgstr "Sartu balio osoa."
msgid "Enter a valid UUID."
msgstr ""
msgstr "Idatzi baleko UUID bat."
#. Translators: This is the default suffix added to form field labels
msgid ":"
@ -670,19 +724,19 @@ msgid "(Hidden field %(name)s) %(error)s"
msgstr "(%(name)s eremu ezkutua) %(error)s"
msgid "ManagementForm data is missing or has been tampered with"
msgstr ""
msgstr "ManagementForm daturik ez dago edo ez da balekoa."
#, python-format
msgid "Please submit %d or fewer forms."
msgid_plural "Please submit %d or fewer forms."
msgstr[0] "Bidali inprimaki %d ala gutxiago, mesedez."
msgstr[1] "Bidali %d inprimaki ala gutxiago, mesedez."
msgstr[0] "Bidali formulario %d edo gutxiago, mesedez."
msgstr[1] "Bidali %d formulario edo gutxiago, mesedez."
#, python-format
msgid "Please submit %d or more forms."
msgid_plural "Please submit %d or more forms."
msgstr[0] ""
msgstr[1] ""
msgstr[0] "Gehitu formulario %d edo gehiago"
msgstr[1] "Bidali %d formulario edo gehiago, mesedez."
msgid "Order"
msgstr "Ordena"
@ -709,15 +763,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 ""
@ -727,15 +781,15 @@ msgstr ""
"%(datetime)s ezin da interpretatu %(current_timezone)s ordu-eremuan;\n"
"baliteke ez existitzea edo anbiguoa izatea"
msgid "Clear"
msgstr "Garbitu"
msgid "Currently"
msgstr "Orain"
msgid "Change"
msgstr "Aldatu"
msgid "Clear"
msgstr "Garbitu"
msgid "Unknown"
msgstr "Ezezaguna"
@ -793,82 +847,82 @@ msgid "noon"
msgstr "eguerdia"
msgid "Monday"
msgstr "Astelehena"
msgstr "astelehena"
msgid "Tuesday"
msgstr "Asteartea"
msgstr "asteartea"
msgid "Wednesday"
msgstr "Asteazkena"
msgstr "asteazkena"
msgid "Thursday"
msgstr "Osteguna"
msgstr "osteguna"
msgid "Friday"
msgstr "Ostirala"
msgstr "ostirala"
msgid "Saturday"
msgstr "Larunbata"
msgstr "larunbata"
msgid "Sunday"
msgstr "Igandea"
msgstr "igandea"
msgid "Mon"
msgstr "Al"
msgstr "al"
msgid "Tue"
msgstr "Ar"
msgstr "ar"
msgid "Wed"
msgstr "Az"
msgstr "az"
msgid "Thu"
msgstr "Og"
msgstr "og"
msgid "Fri"
msgstr "Ol"
msgstr "ol"
msgid "Sat"
msgstr "Lr"
msgstr "lr"
msgid "Sun"
msgstr "Ig"
msgstr "ig"
msgid "January"
msgstr "Urtarrila"
msgstr "urtarrila"
msgid "February"
msgstr "Otsaila"
msgstr "otsaila"
msgid "March"
msgstr "Martxoa"
msgstr "martxoa"
msgid "April"
msgstr "Apirila"
msgstr "apirila"
msgid "May"
msgstr "Maiatza"
msgstr "maiatza"
msgid "June"
msgstr "Ekaina"
msgstr "ekaina"
msgid "July"
msgstr "Uztaila"
msgstr "uztaila"
msgid "August"
msgstr "Abuztua"
msgstr "abuztua"
msgid "September"
msgstr "Iraila"
msgstr "iraila"
msgid "October"
msgstr "Urria"
msgstr "urria"
msgid "November"
msgstr "Azaroa"
msgstr "azaroa"
msgid "December"
msgstr "Abendua"
msgstr "abendua"
msgid "jan"
msgstr "urt"
@ -908,102 +962,102 @@ msgstr "abe"
msgctxt "abbrev. month"
msgid "Jan."
msgstr "Urt."
msgstr "urt."
msgctxt "abbrev. month"
msgid "Feb."
msgstr "Ots."
msgstr "ots."
msgctxt "abbrev. month"
msgid "March"
msgstr "Mar."
msgstr "mar."
msgctxt "abbrev. month"
msgid "April"
msgstr "Api."
msgstr "api."
msgctxt "abbrev. month"
msgid "May"
msgstr "Mai."
msgstr "mai."
msgctxt "abbrev. month"
msgid "June"
msgstr "Eka."
msgstr "eka."
msgctxt "abbrev. month"
msgid "July"
msgstr "Uzt."
msgstr "uzt."
msgctxt "abbrev. month"
msgid "Aug."
msgstr "Abu."
msgstr "abu."
msgctxt "abbrev. month"
msgid "Sept."
msgstr "Ira."
msgstr "ira."
msgctxt "abbrev. month"
msgid "Oct."
msgstr "Urr."
msgstr "urr."
msgctxt "abbrev. month"
msgid "Nov."
msgstr "Aza."
msgstr "aza."
msgctxt "abbrev. month"
msgid "Dec."
msgstr "Abe."
msgstr "abe."
msgctxt "alt. month"
msgid "January"
msgstr "Urtarrila"
msgstr "urtarrila"
msgctxt "alt. month"
msgid "February"
msgstr "Otsaila"
msgstr "otsaila"
msgctxt "alt. month"
msgid "March"
msgstr "Martxoa"
msgstr "martxoa"
msgctxt "alt. month"
msgid "April"
msgstr "Apirila"
msgstr "apirila"
msgctxt "alt. month"
msgid "May"
msgstr "Maiatza"
msgstr "maiatza"
msgctxt "alt. month"
msgid "June"
msgstr "Ekaina"
msgstr "ekaina"
msgctxt "alt. month"
msgid "July"
msgstr "Uztaila"
msgstr "uztaila"
msgctxt "alt. month"
msgid "August"
msgstr "Abuztua"
msgstr "abuztua"
msgctxt "alt. month"
msgid "September"
msgstr "Iraila"
msgstr "iraila"
msgctxt "alt. month"
msgid "October"
msgstr "Urria"
msgstr "urria"
msgctxt "alt. month"
msgid "November"
msgstr "Azaroa"
msgstr "azaroa"
msgctxt "alt. month"
msgid "December"
msgstr "Abendua"
msgstr "abendua"
msgid "This is not a valid IPv6 address."
msgstr ""
msgstr "Hau ez da baleko IPv6 helbide bat."
#, python-format
msgctxt "String to return when truncating text"
@ -1057,7 +1111,7 @@ msgid "0 minutes"
msgstr "0 minutu"
msgid "Forbidden"
msgstr ""
msgstr "Debekatuta"
msgid "CSRF verification failed. Request aborted."
msgstr "CSRF egiaztapenak huts egin du. Eskaera abortatu da."
@ -1068,49 +1122,58 @@ msgid ""
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Mezu hau ikusten ari zara HTTPS gune honek, zure nabigatzaileak 'Referer "
"header' bat bidaltzea behar duelako, baina ez du batere bidali. Goiburuko "
"hau zure nabigatzailea beste norbaitek ordeztu ez duela ziurtatzeko eskatzen "
"da."
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 ""
"Zure nabigatzailera 'Refere' goiburukoak desgaitzeko konfiguratu baldin "
"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 "
"that your browser is not being hijacked by third parties."
msgstr ""
"Formularioa bidaltzean gune honek CSRF cookie bat behar duelako ikusten duzu "
"mezu hau. Cookie hau beharrezkoa da segurtasun arrazoiengatik, zure "
"nabigatzailea beste batek ordezkatzen ez duela ziurtatzeko."
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 ""
"Nabigatzailea cookiak desgaitzeko konfiguratu baldin baduzu, mesedez "
"aktibatu behintzat gune honetarako, edo 'same-origin' eskaeretarako."
msgid "More information is available with DEBUG=True."
msgstr "Informazio gehiago erabilgarri dago DEBUG=True ezarrita."
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 "Ez da urterik zehaztu"
msgid "Date out of range"
msgstr "Data baliozko tartetik kanpo"
msgid "No month specified"
msgstr "Ez da hilabeterik zehaztu"
@ -1129,8 +1192,8 @@ msgid ""
"Future %(verbose_name_plural)s not available because %(class_name)s."
"allow_future is False."
msgstr ""
"Etorkizuneko %(verbose_name_plural)s ez dago aukeran \n"
"%(class_name)s.alloe_future False delako"
"Etorkizuneko %(verbose_name_plural)s ez dago aukeran %(class_name)s."
"allow_future False delako"
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
@ -1161,3 +1224,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
DATE_FORMAT = r'Yeko M\re\n d\a'
# 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

@ -5,6 +5,7 @@
# Arash Fazeli <a.fazeli@gmail.com>, 2012
# Jannis Leidel <jannis@leidel.info>, 2011
# Mazdak Badakhshan <geraneum@gmail.com>, 2014
# MJafar Mashhadi <raindigital2007@gmail.com>, 2018
# Mohammad Hossein Mojtahedi <Mhm5000@gmail.com>, 2013
# Pouya Abbassi, 2016
# Reza Mohammadi <reza@teeleh.ir>, 2013-2016
@ -14,16 +15,16 @@ 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-07-01 20:23+0000\n"
"Last-Translator: Pouya Abbassi\n"
"POT-Creation-Date: 2018-05-17 11:49+0200\n"
"PO-Revision-Date: 2018-06-23 23:00+0000\n"
"Last-Translator: MJafar Mashhadi <raindigital2007@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 "آفریکانس"
@ -166,6 +167,9 @@ msgstr "ژاپنی"
msgid "Georgian"
msgstr "گرجی"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "قزاقستان"
@ -301,6 +305,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 "یک مقدار معتبر وارد کنید."
@ -313,6 +326,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' معتبر شامل حروف، ارقام، خط زیر و یا خط تیره وارد کنید."
@ -356,6 +370,9 @@ msgid_plural ""
msgstr[0] ""
"طول این مقدار باید حداقل %(limit_value)d کاراکتر باشد (طولش %(show_value)d "
"است)."
msgstr[1] ""
"طول این مقدار باید حداقل %(limit_value)d کاراکتر باشد (طولش %(show_value)d "
"است)."
#, python-format
msgid ""
@ -367,16 +384,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 ""
@ -384,6 +409,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 "و"
@ -432,6 +469,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 "بولی (درست یا غلط)"
@ -608,9 +649,6 @@ msgstr "این فیلد لازم است."
msgid "Enter a whole number."
msgstr "به طور کامل یک عدد وارد کنید."
msgid "Enter a number."
msgstr "یک عدد وارد کنید."
msgid "Enter a valid date."
msgstr "یک تاریخ معتبر وارد کنید."
@ -623,6 +661,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 ""
msgid "No file was submitted. Check the encoding type on the form."
msgstr "پرونده‌ای ارسال نشده است. نوع کدگذاری فرم را بررسی کنید."
@ -638,6 +680,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 "لطفا یا فایل ارسال کنید یا دکمه پاک کردن را علامت بزنید، نه هردو."
@ -677,11 +721,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 "ترتیب:"
@ -708,15 +754,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 ""
@ -726,15 +772,15 @@ msgstr ""
"%(datetime)s نمیتواند در %(current_timezone)s معنی شود.شاید این زمان مبهم "
"است و یا وجود ندارد."
msgid "Clear"
msgstr "پاک کردن"
msgid "Currently"
msgstr "در حال حاضر"
msgid "Change"
msgstr "تغییر"
msgid "Clear"
msgstr "پاک کردن"
msgid "Unknown"
msgstr "ناشناخته"
@ -751,6 +797,7 @@ msgstr "بله،خیر،شاید"
msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d بایت"
msgstr[1] "%(size)d بایت"
#, python-format
msgid "%s KB"
@ -1019,31 +1066,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 دقیقه"
@ -1060,27 +1113,36 @@ 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 ""
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 "
@ -1092,32 +1154,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 ""
"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 ""
"مطمئنا شما هنوز کاری انجام نداده اید. اولین اپلیکیشن خود را با اجرای دستور "
"<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> در فایل تنظیمات جنگو "
"تنیظم شده و هیچ URLـی تنظیم نکرده اید. به کار خود ادامه دهید."
msgid "No year specified"
msgstr "هیچ سالی مشخص نشده است"
msgid "Date out of range"
msgstr "تاریخ غیرمجاز است"
msgid "No month specified"
msgstr "هیچ ماهی مشخص نشده است"
@ -1168,3 +1210,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'
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,7 +1,7 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Aarni Koskela, 2015
# 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
@ -10,8 +10,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: 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: Finnish (http://www.transifex.com/django/django/language/"
"fi/)\n"
@ -64,7 +64,7 @@ msgid "German"
msgstr "saksa"
msgid "Lower Sorbian"
msgstr ""
msgstr "Alasorbi"
msgid "Greek"
msgstr "kreikka"
@ -136,7 +136,7 @@ msgid "Croatian"
msgstr "kroatia"
msgid "Upper Sorbian"
msgstr ""
msgstr "Yläsorbi"
msgid "Hungarian"
msgstr "unkari"
@ -162,6 +162,9 @@ msgstr "japani"
msgid "Georgian"
msgstr "georgia"
msgid "Kabyle"
msgstr "Kabyle"
msgid "Kazakh"
msgstr "kazakin kieli"
@ -199,7 +202,7 @@ msgid "Burmese"
msgstr "burman kieli"
msgid "Norwegian Bokmål"
msgstr ""
msgstr "norja (bokmål)"
msgid "Nepali"
msgstr "nepalin kieli"
@ -297,6 +300,15 @@ msgstr "Staattiset tiedostot"
msgid "Syndication"
msgstr "Syndikointi"
msgid "That page number is not an integer"
msgstr "Annettu sivunumero ei ole kokonaisluku"
msgid "That page number is less than 1"
msgstr "Annettu sivunumero on alle 1"
msgid "That page contains no results"
msgstr "Annetulla sivulla ei ole tuloksia"
msgid "Enter a valid value."
msgstr "Syötä oikea arvo."
@ -309,6 +321,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 ""
@ -374,6 +387,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."
@ -396,6 +412,17 @@ msgstr[0] ""
msgstr[1] ""
"Tässä luvussa saa olla enintään %(max)s numeroa ennen desimaalipilkkua."
#, python-format
msgid ""
"File extension '%(extension)s' is not allowed. Allowed extensions are: "
"'%(allowed_extensions)s'."
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"
@ -444,6 +471,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 ""
msgid "Boolean (Either True or False)"
msgstr "Totuusarvo: joko tosi (True) tai epätosi (False)"
@ -595,11 +626,11 @@ msgstr "Yksi-yhteen relaatio"
#, python-format
msgid "%(from)s-%(to)s relationship"
msgstr ""
msgstr "%(from)s-%(to)s -suhde"
#, python-format
msgid "%(from)s-%(to)s relationships"
msgstr ""
msgstr "%(from)s-%(to)s -suhteet"
msgid "Many-to-many relationship"
msgstr "Moni-moneen relaatio"
@ -616,9 +647,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ä."
@ -631,6 +659,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 ""
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Tiedostoa ei lähetetty. Tarkista lomakkeen koodaus (encoding)."
@ -721,15 +753,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 ""
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 ""
@ -739,15 +771,15 @@ msgstr ""
"%(datetime)s -arvoa ei pystytty lukemaan aikavyöhykkeellä "
"%(current_timezone)s; se saattaa olla moniarvoinen tai määrittämätön."
msgid "Clear"
msgstr "Poista"
msgid "Currently"
msgstr "Tällä hetkellä"
msgid "Change"
msgstr "Muokkaa"
msgid "Clear"
msgstr "Poista"
msgid "Unknown"
msgstr "Tuntematon"
@ -1094,6 +1126,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 "
@ -1114,33 +1159,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 ""
"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 ""
"Et toki ole vielä tehnyt yhtään oikeaa työtä. 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"
@ -1191,3 +1215,44 @@ 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 ""
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 ""

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