Compare commits

...

4000 Commits

Author SHA1 Message Date
Mariusz Felisiak
2a04e24d2d [3.0.x] Added CVE-2021-28658 to security archive.
Backport of 1eac8468cbde790fecb51dd055a439f4947d01e9 from main
2021-04-06 09:47:14 +02:00
Mariusz Felisiak
0d71c48106 [3.0.x] Post-release version bump. 2021-04-06 08:37:12 +02:00
Mariusz Felisiak
f528002435 [3.0.x] Bumped version for 3.0.14 release. 2021-04-06 08:34:45 +02:00
Mariusz Felisiak
e7fba62248 [3.0.x] Fixed CVE-2021-28658 -- Fixed potential directory-traversal via uploaded files.
Thanks Claude Paroz for the initial patch.
Thanks Dennis Brinkrolf for the report.

Backport of d4d800ca1addc4141e03c5440a849bb64d1582cd from main.
2021-04-06 08:33:16 +02:00
Carlton Gibson
232d5f61e6 [3.0.x] Added CVE-2021-23336 to security archive.
Backport of ab58f072502e86dfe21b2bd5cccdc5e94dce8d26 from master
2021-02-19 11:06:46 +01:00
Carlton Gibson
cb7e3ff4a1 [3.0.x] Post-release version bump. 2021-02-19 09:43:26 +01:00
Carlton Gibson
04a9b7df3f [3.0.x] Bumped version for 3.0.13 release. 2021-02-19 09:42:24 +01:00
Nick Pope
326a926bee [3.0.x] Fixed CVE-2021-23336 -- Fixed web cache poisoning via django.utils.http.limited_parse_qsl(). 2021-02-18 10:21:04 +01:00
Nick Pope
ad36388406 [3.0.x] Added documentation extlink for bugs.python.org.
Backport of d02d60eb0f032c9395199fb73c6cd29ee9bb2646 from master
2021-02-17 14:27:36 +01:00
Mariusz Felisiak
0194f0be31 [3.0.x] Added CVE-2021-3281 to security archive.
Backport of f749148d62ece28d208ab66b109f858215ba090a from master
2021-02-01 10:46:46 +01:00
Mariusz Felisiak
bfe24c3803 [3.0.x] Post-release version bump. 2021-02-01 09:48:38 +01:00
Mariusz Felisiak
81c99e4eb0 [3.0.x] Bumped version for 3.0.12 release. 2021-02-01 09:40:04 +01:00
Mariusz Felisiak
52e409ed17 [3.0.x] Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract().
Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews.

Thanks Wang Baohua for the report.

Backport of 05413afa8c18cdb978fcdf470e09f7a12b234a23 from master.
2021-02-01 09:14:22 +01:00
Mariusz Felisiak
74ca3cac32 [3.0.x] Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database.
Backport of 135c800fe6138d7818501a384c0ebbdc5442762c from master
2021-01-29 11:03:35 +01:00
Tim Graham
f13bedf102 [3.0.x] Updated CVE URL.
Backport of 656b331b13e08e82bbf0b88d39080c5b1a02109c from master
2021-01-02 12:50:30 +01:00
Max Smolens
c506639b42 [3.0.x] Fixed #31850 -- Fixed BasicExtractorTests.test_extraction_warning with xgettext 0.21+.
"format string with unnamed arguments cannot be properly localized"
warning is not raised in xgettext 0.21+.

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

Backport of 07a30f561661efae1691ff45d10ec6014b395b58 from master
2020-11-02 10:29:51 +01:00
Carlton Gibson
008d49caa2 [3.0.x] Post-release version bump. 2020-11-02 09:02:53 +01:00
Carlton Gibson
f6778c256f [3.0.x] Bumped version for 3.0.11 release. 2020-11-02 08:59:21 +01:00
Carlton Gibson
c3b8a62f63 [3.0.x] Set release date for 3.0.11 and 2.2.17.
Backport of 7fc07b9b2ba0c5c62a8840325d21b414a099fda0 from master
2020-11-02 08:37:54 +01:00
Christian Klus
b0a6798de5 [3.0.x] Fixed #32152 -- Fixed grouping by subquery aliases.
Regression in 42c08ee46539ef44f8658ebb1cbefb408e0d03fe.

Thanks Simon Charette for the review.

Backport of 4ac2d4fa42e1659f328c35b6b8d4761b3419c11a from master
2020-10-29 11:33:52 +01:00
Claude Paroz
72a17c919b [3.0.x] Fixed #32110 -- Doc'd and tested enumerations for ChoiceField.choices.
Backport of 7f85498eef1d8fcc52e4fb70df8041f5452d405a from master
2020-10-17 21:06:57 +02:00
Mariusz Felisiak
301bca9394 [3.0.x] Refs #31040 -- Doc'd Python 3.9 compatibility.
Backport of e18156b6c35908f2a4026287b5225a6a4da8af1a from master.
2020-10-13 08:40:39 +02:00
Mariusz Felisiak
9deb850e23 [3.0.x] Skipped GetImageDimensionsTests.test_webp when WEBP is not installed.
Bumped minimum Pillow version to 4.2.0 in test requirements.

Backport of fce389af7cf95151118c9fc7cafd777a31f94946 from master
2020-10-06 11:30:21 +02:00
Carlton Gibson
1734484f12 [3.0.x] Added CVE-2020-24583 & CVE-2020-24584 to security archive.
Backport of d5b526bf78a9e5d9760e0c0f7647622bf47782fe from master
2020-09-01 11:38:46 +02:00
Carlton Gibson
26323dbcf4 [3.0.x] Post-release version bump. 2020-09-01 10:29:42 +02:00
Carlton Gibson
a208020ecd [3.0.x] Bumped version for 3.0.10 release. 2020-09-01 10:26:20 +02:00
Carlton Gibson
79e6eb3853 [3.0.x] Added release date for 3.0.10, and 2.2.16.
Backport of 976e2b7420c0f7e3060a13792b97511a9aad31d7 from master
2020-09-01 09:58:40 +02:00
Mariusz Felisiak
cdb367c92a [3.0.x] Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level directories of the file system cache on Python 3.7+.
Backport of f56b57976133129b0b351a38bba4ac882badabf0 from master.
2020-08-25 10:45:33 +02:00
Mariusz Felisiak
08892bffd2 [3.0.x] Fixed CVE-2020-24583, #31921 -- Fixed permissions on intermediate-level static and storage directories on Python 3.7+.
Thanks WhiteSage for the report.

Backport of ea0febbba531a3ecc8c77b570efbfb68ca7155db from master.
2020-08-25 10:43:50 +02:00
Kaustubh
db8b935730 [3.0.x] Fixed #31925 -- Fixed typo in docs/releases/3.0.txt.
Backport of 3e753d3de33469493b1f0947a2e0152c4000ed40 from master
2020-08-21 09:49:13 +02:00
Mariusz Felisiak
ab5491c7cc [3.0.x] Refs #31863 -- Added release notes for 94ea79be137f3cb30949bf82198e96e094f2650d.
Backport of 21768a99f47ee73a2f93405151550ef7c3d9c8a2 from master
2020-08-13 16:31:27 +02:00
Gert Burger
c33b6ceff4 [3.0.x] Fixed #31863 -- Prevented mutating model state by copies of model instances.
Regression in bfb746f983aa741afa3709794e70f1e0ab6040b5.

Backport of 94ea79be137f3cb30949bf82198e96e094f2650d from master
2020-08-13 15:27:52 +02:00
Daniel Hillier
784ed4ada1 [3.0.x] Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
Backport of 60626162f76f26d32a38d18151700cb041201fb3 from master
2020-08-11 12:31:50 +02:00
Mariusz Felisiak
9f74a24803 [3.0.x] Added stub release notes for 2.2.16 and 3.0.10.
Backport of 8a5683b6b2aede38edcff070686ed1fce470dec5 from master
2020-08-11 11:13:20 +02:00
Mariusz Felisiak
8f8edec6c4 [3.0.x] Post-release version bump. 2020-08-03 09:06:21 +02:00
Mariusz Felisiak
39716e4578 [3.0.x] Bumped version for 3.0.9 release. 2020-08-03 09:02:29 +02:00
Mariusz Felisiak
b1ae5d015b [3.0.x] Added release date for 2.2.15 and 3.0.9.
Backport of b68b8cb89abb35ff2152175ea540619ec384b1f4 from master
2020-08-03 08:56:37 +02:00
Mariusz Felisiak
d70ed9439d [3.0.x] Corrected signing.dumps()/loads() signatures in docs.
Backport of 8703680ebee47bfa9e912a30a0509798500bf42a from master
2020-07-31 11:34:32 +02:00
Andrzej Bartosiński
8f8d4b3d52 [3.0.x] Corrected admin.register() signature in docs.
Backport of eb215da363e6cf0e8f3405db3c4392398c8777cb from master
2020-07-29 12:55:00 +02:00
Claude Paroz
e0397e11b5 [3.0.x] Refs #30165 -- Removed leftover 'u' prefix.
Backport of bac5777bff8e8d8189193438b5af52f158a3f2a4 from master
2020-07-29 10:20:44 +02:00
Harpreet Sharma
08063f0122 [3.0.x] Fixed #31821 -- Removed outdated note in FILE_UPLOAD_PERMISSIONS docs.
Follow up to 22aab8662f0368b63f91f2526bdd0532524bc0fe

Backport of 248d03fbe932b0844c628e56dafba334f9e028e4 from master
2020-07-23 21:01:10 +02:00
LincolnPuzey
6fc4445cff [3.0.x] Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse docs.
Backport of d75436109694c286d9af48ae94ca39759d080214 from master
2020-07-23 13:13:44 +02:00
Ramiro Morales
b732afe30a [3.0.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 51e536178cba9489b9d759f69f72f442af16ba32 from master
2020-07-22 23:37:44 +02:00
Buk Bukowski
f4b7996e9b [3.0.x] Fixed #31814 -- Fixed typo in docs/ref/settings.txt.
Backport of f65454801bfa13fc043fee0aca8f49af41380683 from master
2020-07-22 22:39:55 +02:00
Adam Johnson
76b7b3a778 [3.0.x] Doc'd Model.MultipleObjectsReturned docs and improved documentation related with models exceptions.
Backport of bc4fea92b296a7eacbd5f89263ca67515feeb53f from master
2020-07-22 20:22:09 +02:00
Adam Johnson
f026d761d6 [3.0.x] Refs #24763 -- Moved DoesNotExist to Model class docs.
Backport of b5f0efa19c82d274082bcde8a8acae5038667614 from master
2020-07-22 20:22:06 +02:00
Mariusz Felisiak
dcb27ead84 [3.0.x] Fixed #31805 -- Fixed SchemaTests.tearDown() when table names are case-insensitive.
Backport of fd53db842c35c994dbd54196dd38a908f3676b1a from master
2020-07-22 12:51:43 +02:00
Mariusz Felisiak
1a81d34e70 [3.0.x] Fixed #31797 -- Skipped schema tests on specific MariaDB versions.
test_alter_not_unique_field_to_primary_key() test is affected by
https://jira.mariadb.org/browse/MDEV-19598 on MariaDB 10.4.4 to 10.5.1.

test_alter_pk_with_self_referential_field() test is affected by
https://jira.mariadb.org/browse/MDEV-22775 on MariaDB 10.4 series
from 10.4.13.
Backport of c071c408d72330b422c124a6bdd85a68acae9566 from master
2020-07-22 10:58:47 +02:00
David Chorpash
0a3c1272f2 [3.0.x] Refs #31720 -- Added examples to BoolAnd() and BoolOr() documentation.
Backport of a2e621b14e85836362b7fc0e6b1bf7d7ff98e42b from master
2020-07-21 07:02:29 +02:00
Adam Johnson
bcb511f9d8 [3.0.x] Improved description of USE_THOUSAND_SEPARATOR setting.
Backport of 80f92177eb2a175579f4a6907ef5a358863bddca from master
2020-07-20 12:56:11 +02:00
Florian Apolloner
ccc088f8ce [3.0.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, 3.7.8+, and 3.8.4+.
Fixed sending emails crash on email addresses with display names longer
then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+.

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

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

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

Backport of 96a3ea39ef0790dbc413dde0a3e19f6a769356a2 from master
2020-07-20 07:15:14 +02:00
Adam Johnson
5bd7c18306 [3.0.x] Improved ManyToManyField.through docs.
Backport of e7fa8aff432a90b6df9914d63aad239164b6b4d4 from master
2020-07-17 10:48:32 +02:00
Adam Johnson
051e6f58ea [3.0.x] Refs #31502 -- Made minor edits to Model._state docs.
Backport of 5ef6f626347f9ea13915f3cf5b8b045c5b42b102 from master
2020-07-16 21:12:33 +02:00
Mariusz Felisiak
331324ecce
[3.0.x] Fixed #31790 -- Fixed setting SameSite cookies flag in HttpResponse.delete_cookie().
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.

This affects sessions and messages cookies.

Backport of 240cbb63bf9965c63d7a3cc9032f91410f414d46 from master.
2020-07-16 09:30:15 +02:00
Eric Theise
419a78300f [3.0.x] Fixed typo in docs/ref/contrib/postgres/forms.txt.
Backport of d08e6f55e3a986a8d4b3a58431d9615c7bc81eaa from master
2020-07-15 09:05:04 +02:00
Caio Ariede
96b04f53c5 [3.0.x] Fixed #21528 -- Added note about filtering form field's queryset based on instance to admin docs.
Backport of d38c34119e91a533c797098f150abe99b5ee2fd8 from master
2020-07-13 23:02:51 +02:00
Mariusz Felisiak
b44e2d62c0 [3.0.x] Refs #30676 -- Added pdb argument to DiscoverRunner docs.
Backport of 2c43840dfba42ed02574a270d826fda08e4b50d1 from master
2020-07-10 19:10:28 +02:00
Ramiro Morales
7808a04fe5 [3.0.x] Corrected custom model fields how-to.
get_prep_value() method is complementary of from_db_value().

Follow up to e9103402c0fa873aea58a6a11dba510cd308cb84.

Backport of 52a0a03671437fc4c1be1eef431685a16aef8b43 from master
2020-07-10 11:38:26 +02:00
Carlton Gibson
bb47c1dde4 [3.0.x] Removed unsupported third-party database backends from docs.
Backport of 1d8256719eecb724476e6cb8d63cfebf6ba1a3cc from master
2020-07-08 22:30:51 +02:00
Tim Park
502349ce77 [3.0.x] Fixed #31739 -- Documented dependency between HttpRequest stream IO methods and body.
Backport of 060576b0abac460d72714e300aa709d1e7a87dd7 from master
2020-07-08 10:41:57 +02:00
Tim Park
b66588abe2 [3.0.x] Fixed #31502 -- Documented Model._state.db and Model._state.adding
Backport of 697e59d5cf81e6c7e4a06ca98d6e3e16cea486dc from master
2020-07-08 10:07:23 +02:00
Jason Held
3ca2361d70 [3.0.x] Fixed #24816 -- Clarified docs about preventing duplicate signals.
Backport of 639142e24d41c5e5a508cb1280f32fd7ff159cca from master
2020-07-08 08:26:15 +02:00
Jacob Walls
9141841cca [3.0.x] Fixed #29308 -- Clarified how assertQuerysetEqual()'s transform works.
Backport of 659a73bc0a2df9be856e23fcfc6cc66d0d1a35fd from master
2020-07-08 08:26:11 +02:00
David Smith
8f750bc295 [3.0.x] Fixed #30945 -- Doc'd plural equations changes in 2.2. release notes.
Backport of 392036be29b759204cbc4033072672acacabf3f7 from master
2020-07-03 09:39:23 +02:00
Carlton Gibson
9e4f55757d [3.0.x] Refs #6903 -- Adjusted ModelAdmin.preserve_filters docs.
Backport of b142bd4a1b83b77c5c81a8cf5a80a63608f96ad4 from master
2020-07-02 21:11:10 +02:00
Mariusz Felisiak
5a15e3e378 [3.0.x] Added stub release notes for 3.0.9.
Backport of c2a835703f706583542e9dae82749ac3b92819f8 from master
2020-07-01 07:13:25 +02:00
Mariusz Felisiak
bb0b9a779f [3.0.x] Post-release version bump. 2020-07-01 06:30:38 +02:00
Mariusz Felisiak
47c5666ae7 [3.0.x] Bumped version for 3.0.8 release. 2020-07-01 06:25:03 +02:00
Mariusz Felisiak
7d133e81e8 [3.0.x] Added release date for 2.2.14 and 3.0.8.
Backport of 0f3aecf581b50215820455eb2f6a19a1b3b3ef8b from master
2020-07-01 06:18:55 +02:00
Mariusz Felisiak
21e8f9f7c9 [3.0.x] Fixed #31751 -- Fixed database introspection with cx_Oracle 8.
Backport of 615e32162ff646db3456b90fb4eaaecc33dd3e4e from master
2020-06-30 09:56:14 +02:00
Ad Timmering
d1ff7c50e3 [3.0.x] Fixed #30807 -- Fixed TestArchive.test_extract_file_permissions() when umask is 0o000.
Fixed test that checks permissions on files extracted from archives
with no permissions set, to not assume a default umask of 0o002.

Test regression in c95d063e776e849cf1a0bf616c654165cb89c706.
Backport of ec5aa2161d8015a3fe57dcbbfe14200cd18f0a16 from master
2020-06-29 07:52:47 +02:00
Steven Pousty
9b9083981a [3.0.x] Fixed #31743 -- Doc't that managed=False prevents Django from managing tables modifications.
Backport of d2c135da4c75079e45661ec609bd72f27dddf2a9 from master
2020-06-26 09:59:20 +02:00
Adam Johnson
af2e95b0fa [3.0.x] Refs #31493 -- Replaced var with const/let in documentation JS.
Backport of 2afa61e7d99b2ff2656dc64b6e28db88baf786a4 from master

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-06-24 12:27:31 +02:00
Simon Charette
453a5bf302 [3.0.x] Fixed #31735 -- Fixed migrations crash on namespaced inline FK addition on PostgreSQL.
The namespace of the constraint must be included when making the
constraint immediate.

Regression in 22ce5d0031bd795ade081394043833e82046016c.

Thanks Rodrigo Estevao for the report.

Backport of 2e8941b6f90e65ffad3f07083b8de59e8ed29767 from master
2020-06-24 09:00:22 +02:00
David Smith
f22f660a33 [3.0.x] Adjusted model definition in GeoDjango tutorial.
The example uses the world border data set, where
one of the entries has a null field value.

Backport of 6bc9283751d51cab474d1bf6883a3b40cce32d4b from master
2020-06-17 20:17:42 +02:00
Tobias Krönke
0afe8ba2d6 [3.0.x] Fixed #31689 -- Doc'd caveat about using bulk_create()'s ignore_conflicts on MariDB and MySQL.
Backport of 69e0d9c553bb55dde8d7d1d479a78bfa7093f406 from master
2020-06-15 12:54:01 +02:00
Hasan Ramezani
b61af177ee [3.0.x] Fixed #31696 -- Updated OWASP links in docs.
Backport of a16080810bee8b3baf9ae7ac7b8433cb7b293e00 from master
2020-06-15 09:45:45 +02:00
sebashwa
33767d5ab6 [3.0.x] Fixed #31690 -- Added note about fuzzy entries in translation docs.
Backport of 3d664a158de18acf72fc8e0671f0f390cbca4b2e from master
2020-06-15 09:05:43 +02:00
Mariusz Felisiak
e2cdbc585a
[3.0.x] Refs #31660 -- Fixed annotations.tests crash on MySQL.
Follow up to be7a295141337189b9eceea506489bdfe07f199e.
2020-06-11 10:36:24 +02:00
Mariusz Felisiak
9ec6eca136 [3.0.x] Refs #31682 -- Doc'd minimal sqlparse version in Django 2.2.
Support for sqlparse < 0.2.2 was broken in
40b0a58f5ff949fba1072627e4ad11ef98aa7f36 because is_whitespace property
was added in sqlparse 0.2.2.
Backport of 4339f2aff272bceabd67e452c65bcfe0700b3f09 from master
2020-06-10 06:54:51 +02:00
Nicolas Baccelli
2b2500021b [3.0.x] Fixed #31664 -- Reallowed using non-expressions having filterable attribute as rhs in queryset filters.
Regression in 4edad1ddf6203326e0be4bdb105beecb0fe454c4.

Backport of b38d44229ff185ad156bcb443d6db0db7ae3eb98 from master
2020-06-08 09:20:08 +02:00
Mariusz Felisiak
be7a295141 [3.0.x] Fixed #31660 -- Fixed queryset crash when grouping by m2o relation.
Regression in 3a941230c85b2702a5e1cd97e17251ce21057efa.

Thanks Tomasz Szymański for the report.
Backport of 78ad4b4b0201003792bfdbf1a7781cbc9ee03539 from master
2020-06-08 07:23:33 +02:00
Mariusz Felisiak
e8723af44b [3.0.x] Fixed #31654 -- Fixed cache key validation messages.
Backport of 926148ef019abcac3a9988c78734d9336d69f24e from master
2020-06-05 07:22:52 +02:00
Hasan Ramezani
b80c5baf29 [3.0.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.
Backport of 55556e51fb152c864ddc782d9b56e8b785ccf8bc from master
2020-06-04 07:39:08 +02:00
David Smith
8ec607be84 [3.0.x] Updated How to install Django on Windows guide.
Backport of 25352dc019d175dfa6e62a50de76cb3614955077 from master
2020-06-03 16:29:30 +02:00
Mariusz Felisiak
88dc69fcec [3.0.x] Refs CVE-2020-13254 -- Fixed cache.tests when KEY_PREFIX is defined.
Follow up to 2c82414914ae6476be5a166be9ff49c24d0d9069.

Backport of 229c9c6653356a0bc23846d83b2d4b5d0438a145 from master
2020-06-03 13:01:21 +02:00
Carlton Gibson
fafbcc57db [3.0.x] Added CVE-2020-13254 and CVE-2020-13596 to security archive.
Backport of 54975780ee2e4017844ecad94835fdce43d97377 from master
2020-06-03 12:06:17 +02:00
Mariusz Felisiak
683d01b0ef [3.0.x] Made default_role_error use logger.
This prevents raising errors for translated docs, see
https://github.com/django/djangoproject.com/issues/997

Follow up to 1cdfe8d91215eefaa18c398069dd9c6879a9511d.
Backport of 36a2e9607e3069e875eedfd814d4473d9b6811cb from master
2020-06-03 11:44:51 +02:00
Carlton Gibson
c1dc423f10 [3.0.x] Added stub release notes for 3.0.8.
Backport of 7ec2658e1e24149f0f3244c08c361348f6ebc0e4 from master
2020-06-03 10:55:25 +02:00
Carlton Gibson
56b9f5b063 [3.0.x] Post-release version bump. 2020-06-03 10:30:08 +02:00
Carlton Gibson
44da7abda8 [3.0.x] Bumped version for 3.0.7 release. 2020-06-03 10:23:39 +02:00
Dan Palmer
84b2da5552 [3.0.x] Fixed CVE-2020-13254 -- Enforced cache key validation in memcached backends. 2020-06-03 09:33:20 +02:00
Jon Dufresne
1f2dd37f6f [3.0.x] Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignKeyRawIdWidget. 2020-06-03 09:32:35 +02:00
Carlton Gibson
256d297101 [3.0.x] Added release date for 2.2.13 and 3.0.7.
Backport of 81dc710571b773557170cce9764fff83b6dfd8ae from master
2020-06-03 09:14:57 +02:00
David Smith
8734a02f5d [3.0.x] Updated link to Celery.
Backport of 06c8565a4650b359bdfa59f9707eaa0d1dfd7223 from master
2020-06-02 14:38:06 +02:00
Carlton Gibson
d22f67848c
[3.0.x] Refs #31485 -- Backported jQuery upgrade to 3.5.1. 2020-06-02 14:36:31 +02:00
Carlton Gibson
b9db041789 [3.0.x] Adjusted URL example in tutorial.
No need for the example to be ASP specific.

Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
Backport of 8c49c3f7257f14e071b619f90cd4d8cae6d04e74 from master
2020-06-02 12:27:43 +02:00
Jon Dufresne
caf7c4630d [3.0.x] Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
Backport of 9f4ceee90aaa2a6af8321417d79330f2fdc620ea from master
2020-06-02 11:55:57 +02:00
Chris May
9297a3e627 [3.0.x] Fixed typo in docs/ref/templates/language.txt.
Backport of ecaac9e42f497be04ddc72dfebb6e397ccca9517 from master
2020-06-01 20:52:56 +02:00
Carlton Gibson
2638627db4 [3.0.x] Fixed #31570 -- Corrected translation loading for apps providing territorial language variants with different plural equations.
Regression in e3e48b00127c09eafe6439d980a82fc5c591b673.

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

Backport of dd1ca50b096bf0351819aabc862e91a9797ddaca from master
2020-06-01 09:27:53 +02:00
Fabio Sangiovanni
759e946330 [3.0.x] Added SingleObjectMixin.query_pk_and_slug to CBV flattened index.
Backport of df188824738ff5e54baf2d61f6a7dff51a20f068 from master
2020-06-01 07:50:19 +02:00
David Smith
4118a9b5f8 [3.0.x] Removed redundant pyenchant dependency in spelling check docs.
Backport of 7514852767c4723322f5799a2bd25b7ca263e3b0 from master
2020-06-01 07:09:31 +02:00
Jon Dufresne
e9d13f9d61 [3.0.x] Corrected FAQ link in docs/faq/help.txt.
Without the leading slash, was pointing to Python's FAQ
https://docs.python.org/3/faq/index.html.
Backport of 8dabdd2cc559a66b519e2a88b64575d304b96ebe from master
2020-05-29 21:24:59 +02:00
Jon Dufresne
9f30a7ebd3 [3.0.x] Changed some doc links to use intersphinx.
Backport of 494ba27b5fe14e42e815edde6bd4a1216b29c935 from master
2020-05-29 21:11:42 +02:00
David Smith
066076afaa [3.0.x] Fixed #31628 -- Updated Windows install guide to recommend venv.
Backport of 922ff51f5ac34205f454d7b5786cef57f32b6ca3 from master
2020-05-27 11:20:52 +02:00
Carlton Gibson
11fc1cac9e [3.0.x] Updated expected release dates for 3.0.7 and 2.2.13.
Backport of 9d55ae00d3dad9e93714add69ab7e48e7b0bcafa from master
2020-05-27 10:21:15 +02:00
Mariusz Felisiak
24cffddc6f [3.0.x] Fixed some formatting issues in docs.
Backport of 803e70b1adb71d86eb5bbb4074ef5ff96ae6e55d from master.
2020-05-27 09:09:44 +02:00
René Fleschenberg
f175e03fc2 [3.0.x] Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
Backport of f24b59267be2e5fc5bd1252efda3aed19f860813 from master
2020-05-25 21:04:49 +02:00
Claude Paroz
7f1d73e1cf [3.0.x] Removed instructions for unsupported Apache versions.
Backport of cfa0c0e252c680f574c8eea1118e6d11bf7e5fa5 from master
2020-05-25 08:58:00 +02:00
Carlton Gibson
49427acd4a [3.0.x] Updated list of third-party DB backends.
* Alphabetized third-party DB backend list.
* Added backticks around single-word link texts to ease visual/machine sorting.
* Added CockroachDB to list of third-party DB backends.
* Updated third-party DB backend URLs.

Thanks to Nick Pope and Tim Graham for the review.
Backport of 6dcfa70cac29c854fc5169bed1cf6479eabdb8c1 from master
2020-05-21 20:55:54 +02:00
Michael Manfre
e4d96084cf [3.0.x] Added notes related to security pre-notification list requests.
Backport of 0e893248b28e30bf562d29e6d5745ffad4b1a1eb from master
2020-05-21 10:32:02 +02:00
Mariusz Felisiak
52453b438a [3.0.x] Refs #31607 -- Added release notes for a125da6a7c79b1d4c55677d0bed6f9b1d7d77353.
Backport of 8328811f048fed0dd22573224def8c65410c9f2e from master
2020-05-20 09:19:37 +02:00
Mariusz Felisiak
0ba5aadb33 [3.0.x] Fixed #31607 -- Fixed evaluated Subquery equality.
Regression in 691def10a0197d83d2d108bd9043b0916d0f09b4.

Backport of a125da6a7c79b1d4c55677d0bed6f9b1d7d77353 from master
2020-05-19 22:51:01 +02:00
Mariusz Felisiak
92acf1022f [3.0.x] Fixed #31584 -- Fixed crash when chaining values()/values_list() after Exists() annotation and aggregation on Oracle.
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in
the GROUP BY clause.

Regression in efa1908f662c19038a944129c81462485c4a9fe8.
Backport of 3a941230c85b2702a5e1cd97e17251ce21057efa from master
2020-05-14 15:11:18 +02:00
Simon Charette
49bbf6570d [3.0.x] Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.
691def10a0197d83d2d108bd9043b0916d0f09b4 made all Subquery() instances
equal to each other which broke aggregation subquery pushdown which
relied on object equality to determine which alias it should select.

Subquery.__eq__() will be fixed in an another commit but
Query.rewrite_cols() should haved used object identity from the start.

Refs #30727, #30188.

Thanks Makina Corpus for the report.

Backport of adfbf653dc1c1d0e0dacc4ed46602d22ba28b004 from master
2020-05-14 10:26:16 +02:00
Simon Charette
afceb2241b [3.0.x] Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() after annotate() with aggregations and subqueries.
Subquery annotation references must be resolved if they are excluded
from the GROUP BY clause by a following .values() call.

Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Makina Corpus for the report.

Backport of 42c08ee46539ef44f8658ebb1cbefb408e0d03fe from master
2020-05-14 08:40:40 +02:00
Mariusz Felisiak
6e8a11e88c [3.0.x] Added stub release notes for 2.2.13.
Backport of 50798d43898c7d46926a4292f86fdf3859a433da from master
2020-05-14 06:30:30 +02:00
Jon Dufresne
7fa16e58d0 [3.0.x] Fixed numbered list in admin overview docs.
Backport of 05ed7104c0bc069352b2cee85ab918e48ee73cbe from master
2020-05-13 09:10:39 +02:00
Mariusz Felisiak
48ed73fb74 [3.0.x] Fixed E128, E741 flake8 warnings.
Backport of 0668164b4ac93a5be79f5b87fae83c657124d9ab from master.
2020-05-12 08:55:06 +02:00
Omkar Kulkarni
16bdb6b7ba [3.0.x] Fixed #31495 - Corrected note about admin i18n in tutorial.
Thanks to Adam Johnson and Claude Paroz for review.
Backport of b7f1c0d86d72df51aa2e25da79d99074b751c7e1 from master
2020-05-06 17:38:27 +02:00
Adam Johnson
cdf320dfb2 [3.0.x] Fixed a/an typos in "SQL" usage.
Backport of 1c2c6f1b51a540bddc7ae95f4d1213688411ca44 from master
2020-05-06 06:36:16 +02:00
Mariusz Felisiak
fdd5eb4309 [3.0.x] Fixed #31538 -- Fixed Meta.ordering validation lookups that are not transforms.
Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.

Thanks Simon Meers for the report.
Backport of b73e66e75802f10cc34d4880714554cea54dbf49 from master
2020-05-05 09:09:17 +02:00
Adam Johnson
883362b6a7 [3.0.x] Corrected models.FilePathField signature in docs.
Backport of 787981f9d1d5abc489a0b069e3353b8ad7aa9778 from master
2020-05-04 12:40:33 +02:00
Mariusz Felisiak
5c6be5816d [3.0.x] Fixed typo in docs/releases/3.0.6.txt.
Backport of 7668f9bce921f66e8e572938154221cd687aaa4a from master
2020-05-04 07:43:48 +02:00
Mariusz Felisiak
668f745bb7 [3.0.x] Added stub release notes for 3.0.7.
Backport of 8e8ff38cb8766590fa3a4f412dbb4b11f65b5c69 from master
2020-05-04 07:43:44 +02:00
Mariusz Felisiak
e538d6d684 [3.0.x] Post-release version bump. 2020-05-04 07:30:27 +02:00
Mariusz Felisiak
24dd73a524 [3.0.x] Bumped version for 3.0.6 release. 2020-05-04 07:15:37 +02:00
Mariusz Felisiak
b6e76cec12 [3.0.x] Updated man page for Django 3.0. 2020-05-04 07:13:43 +02:00
Mariusz Felisiak
c95ce8c34d [3.0.x] Added release date for 3.0.6.
Backport of c5358794e3d893a74073d1ee0a3d173d8f1e04b6 from master
2020-05-04 07:04:42 +02:00
David Smith
fc0e0876da [3.0.x] Refs #27778 -- Removed reference to ASCII usernames in django.contrib.auth.models.User docs.
Backport of 505b7b616320b8d5bbc83d0dbbb3aec3a58ba0c9 from master
2020-05-01 06:11:58 +02:00
Hasan Ramezani
8e23b89ffd [3.0.x] Fixed #31521 -- Skipped test_parsing_rfc850 test on 32-bit systems.
Backport of f12162107327b88a2f1faaab15d048e2535ec642 from master
2020-04-30 07:13:25 +02:00
Mariusz Felisiak
16dbeb2d51 [3.0.x] Updated expected date for 3.0.6 release.
Backport of 2788de95e375cccd03a3dfd161fc92b7d6df6024 from master
2020-04-28 10:13:23 +02:00
Mariusz Felisiak
e19ab18773 [3.0.x] Fixed broken links in docs.
Backport of b28be08cac1f7cde332ca43db65bb733fa3f9bf5 from master
2020-04-28 10:10:15 +02:00
Mariusz Felisiak
c91c4b326b [3.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Thanks durey for the report.
Backport of dd3dcd28402b7c9cc7bfd24d3e026db751ca4dfd from master
2020-04-28 10:08:27 +02:00
Mariusz Felisiak
04bc3577ed [3.0.x] Fixed #31505 -- Doc'd possible email addresses enumeration in PasswordResetView.
Backport of ca769c8c13df46b8153a0a4ab3d748e88d6e26f9 from master
2020-04-27 18:07:34 +02:00
Hasan Ramezani
657992cf19 [3.0.x] Fixed #31514 -- Fixed default form widgets in model fields docs.
Backport of d6db186427d33889e4d2f3b56e02807d51fc0376 from master
2020-04-25 21:21:29 +02:00
Tim Schilling
a3e4591020 [3.0.x] Corrected outputting BooleanField as HTML in forms docs.
Backport of 34a69c24584ec7d842dbf266659b25527cd73909 from master
2020-04-24 12:15:50 +02:00
Tanmay Vijay
cb10c33e27 [3.0.x] Doc'd PasswordChangeView/PasswordResetView.success_url defaults.
Backport of e43abbbd70a78d4c0023667589c4e143ed78807e from master
2020-04-24 08:39:56 +02:00
Andy Chosak
2673738aac [3.0.x] Fixed typo in docs/intro/contributing.txt.
Backport of 2c4f6034616e695941fe6bdff7c38e1894da286d from master
2020-04-24 08:18:37 +02:00
Jon Dufresne
fc83e2afe3 [3.0.x] Fixed broken link to Watchmen configuration in docs/ref/django-admin.txt.
Backport of faa08449dd1236c1b92883e86cf1895410c72f56 from master
2020-04-23 18:34:03 +02:00
Mads Jensen
8c522d71e3 [3.0.x] Added link to Mozilla's infosec page on web security.
Backport of 060d9d4229c436c44cf8e3a301f34c4b1f9f6c85 from master
2020-04-22 16:27:19 +02:00
Jignesh Kotadiya
abe33c1695 [3.0.x] Refs #22463 -- Replaced JSHint with ESLint in contributing docs.
Backport of 7b4bd2a82c4709a9078fed5c33fa94f208a8c41e from master
2020-04-20 10:53:53 +02:00
David Smith
192c1ec5cc [3.0.x] Updated iTunes podcast format link in syndication docs.
Backport of 201431915925f63da6303dd21ad11088bb004382 from master
2020-04-20 08:10:42 +02:00
Jon Dufresne
c335f16855 [3.0.x] Refs #30165 -- Removed obsolete doc references to deprecated ugettext() & co.
The u-prefixed variants were removed from the documentation in
6eb4996672ca5ccaba20e468d91a83d1cd019801.
Backport of fb21625270ab169fd436c36dd51acb642a97ee50 from master
2020-04-20 07:58:03 +02:00
Nick Pope
70b1c947c8 [3.0.x] Improved message example in admin actions documentation.
Avoid partial string construction and make use of ``ngettext`` to show
example of how to handle plural variants with translations. Also make
use of ``messages.SUCCESS`` to highlight customizing the style of the
message - in this case it better fits what the message is conveying.
Backport of 058b38b43ea4726be2914ecc967b8fb1da47d995 from master
2020-04-16 11:28:41 +02:00
Mariusz Felisiak
e42320d2f2 [3.0.x] Used :rfc: role in various docs.
Backport of f1a808a5025b63715d1034af2b96a6a5241d29e9 from master.
2020-04-15 20:02:38 +02:00
Mariusz Felisiak
747ea48983 [3.0.x] Fixed typo in docs/ref/templates/builtins.txt.
Backport of fc0b48d2e7aaaeb390936916f56dc0631717d022 from master
2020-04-15 10:41:40 +02:00
Mariusz Felisiak
51f0b8ae0d [3.0.x] Fixed term warning on Sphinx 3.0.1+.
"term" role became case sensitive in Sphinx 3.0.1.
Backport of cc70a0343ef51ffcc0b1211dd6e7abedc4b43ea6 from master
2020-04-14 09:32:48 +02:00
Andrew Godwin
d292d1163e [3.0.x] Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example.
It does not support thread_sensitive when used as a decorator, yet.
Backport of b5ad450fa6d53186b68f89a4507fdbabc8900f74 from master
2020-04-14 07:27:05 +02:00
David Smith
eeab4ab82e [3.0.x] Refs #10427 -- Corrected BoundField.css_classes() signature in docs.
Backport of 734fde771433b9ea525a2b0f4d8ebb3ae426b2fa from master
2020-04-10 08:01:17 +02:00
Mariusz Felisiak
f425835cbe [3.0.x] Fixed highlightlang deprecation warning on Sphinx 1.8+.
Backport of 678f958ef972bf9be402332537149ca0884035ba from master
2020-04-07 09:49:41 +02:00
Mariusz Felisiak
042c19cbd0 [3.0.x] Fixed CodeBlock deprecation warning on Sphinx 2.1+.
Backport of a4e4737cf36f3ba6f526587f2656cf4be64b91bf from master
2020-04-07 09:49:36 +02:00
Mariusz Felisiak
255f3f77d2 [3.0.x] Fixed Sphinx warnings on duplicate object descriptions.
Backport of 69e2cd6fed40f3ecf767609b80ad31f288446e48 from master
2020-04-07 09:49:31 +02:00
Hasan Ramezani
22a2e97fc3 [3.0.x] Fixed #31420 -- Fixed crash when filtering subquery annotation against a SimpleLazyObject.
Thanks Simon Charette for the solution and analysis.

Backport of 4237050684427db45ea834fe89d9e11c0520201e from master
2020-04-06 08:15:51 +02:00
Simon Charette
810f18c2df [3.0.x] Fixed #31423 -- Clarified nested atomic() example.
Backport of fa5e7e46d875d4143510944f19d79df7b1739bab from master
2020-04-06 06:17:16 +02:00
Carlton Gibson
2c3497980f [3.0.x] Corrected docs spelling of PgBouncer.
Backport of b1f88476dbd738bdcc20466efd5ffcb83ab25093 from master
2020-04-01 15:15:21 +02:00
Adam Johnson
0342d47e7a [3.0.x] Prevented (and corrected) single backtick usage in docs.
Backport of 1cdfe8d91215eefaa18c398069dd9c6879a9511d from master.
2020-04-01 15:15:21 +02:00
Adam Johnson
c9437596fe [3.0.x] Refs #31320 -- Warned against using BEGIN/COMMIT in RunSQL.
Backport of e9b014fbc56b9baf91019a803ab2a45788c5c44a from master
2020-04-01 10:59:42 +02:00
Carlton Gibson
73001dd8ad [3.0.x] Added stub release notes for 3.0.6.
Backport of a7e4ff370cdb046b048b40e6e0d043cc6a91247c from master
2020-04-01 10:11:24 +02:00
Carlton Gibson
bf4921f115 [3.0.x] Post-release version bump. 2020-04-01 09:54:37 +02:00
Carlton Gibson
49b4ec0a19 [3.0.x] Bumped version for 3.0.5 release. 2020-04-01 09:54:05 +02:00
Carlton Gibson
d569a8fdde [3.0.x] Added release dates for 2.2.12 and 3.0.5.
Backport of b56243b77f6ae3125bd1a3f24163b28a13a30c5f from master
2020-04-01 09:17:38 +02:00
Mariusz Felisiak
ab09559b19 [3.0.x] Removed unused link in docs/faq/help.txt.
Unused since its introduction in 97cb07c3a10ff0e584a260a7ee1001614691eb1d.
Backport of 3eaf6d67d01dd13baa7237153e7a6e371c56b336 from master
2020-03-31 18:28:16 +02:00
Adam Johnson
9362bf71c3 [3.0.x] Fixed links in Getting Help FAQ.
Follow up to 6ef4c8aa9f887f72ebdacff229b9012686272e3a,
Backport of 00ff7a44dee91be59a64559cadeeba0f7386fd6f from master
2020-03-30 07:45:32 +02:00
Hasan Ramezani
a6cc8b80cb [3.0.x] Fixed #31400 -- Doc'd the expected type of CONN_MAX_AGE database option.
Backport of bec4dea844332390aecd72f22afc6673a3f5f5fc from master
2020-03-27 07:02:09 +01:00
Adam Johnson
f4ee1ba74d [3.0.x] Rewrote Get Help FAQ.
Backport of 6ef4c8aa9f887f72ebdacff229b9012686272e3a from master
2020-03-26 10:25:24 +01:00
Carlton Gibson
3bb1e6c504 [3.0.x] Fixed #31330 -- Corrected catchall URL pattern in flatpages docs.
Use re_path() pattern with the regex used before original regression in
df41b5a05d4e00e80e73afe629072e37873e767a.
Regression in a0916d7212aaae634f4388d47d8717abc2cd9036.

Backport of 8f2a6c76d19e4010c4683b20ed7f1eb4b07c17eb from master
2020-03-26 09:18:45 +01:00
Adam Johnson
2306f8c9bb [3.0.x] Added additional note that tests use locmem email backend.
Backport of f344c75fb09f75879334740f1f8a09c176d93c12 from master
2020-03-25 15:25:56 +01:00
Adam Johnson
c740a994fa [3.0.x] Improved docs on migration reversibility.
- Clarify reversibility for RunSQL and RunPython operations.
- Add example for migrate with irreversible migration.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of b15b3706fec8ef59577ac47118ee0c62132a03a6 from master
2020-03-25 14:39:17 +01:00
Adam Johnson
76db34e52a [3.0.x] Improved sessions notes in deployment checklist.
- Added note to clear old sessions when using database-backend.
- Made note to consider the cache backend more generic.
Backport of 66b06822d05ca1cf897745e7cb3c89adc53363ba from master
2020-03-25 12:05:36 +01:00
Hasan Ramezani
72652bcb1b [3.0.x] Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list() when they collide with field names.
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Holovashchenko Vadym for the report.

Backport of 10866a10fe9f0ad3ffdf6f93823aaf4716e6f27c from master
2020-03-25 09:49:51 +01:00
Adam Johnson
600d7d8693 [3.0.x] Added link to contributing docs in deprecation policy.
Backport of f1db2ca7328ff9f0f8b4db81699cc46ff5c8cc37 from master
2020-03-24 08:50:50 +01:00
Victor Moura
6de7a600c0 [3.0.x] Fixed #31385 -- Improved wording in tutorial 1.
Backport of 1628b35b586e07ea47a82713192d0e4662268686 from master
2020-03-24 07:12:59 +01:00
Tim Graham
2892c65461 [3.0.x] Removed obsolete references to South database migrations.
Backport of 291539a85c8461456ab728fe6820a86de54294b6 from master
2020-03-23 11:56:27 +01:00
Hasan Ramezani
aea9344139 [3.0.x] Fixed #31368 -- Doc'd 'expression' parameter of Field.from_db_value()/Expression.convert_value().
Backport of 6929f13254ce42b0a4ee5d677591d47b61023ae7 from master
2020-03-18 11:57:25 +01:00
Carlton Gibson
5c1ad59a0e [3.0.x] Fixed typo in docs/topics/async.txt.
Backport of f622b490106289e78c727c464d001e01a4f71d8b from master
2020-03-17 20:57:45 +01:00
Ben Li-Sauerwine
2f5c35cf39 [3.0.x] Made logging config examples more accessible.
- Show an initial example configuring the root logger to output to the console.
- Then add more logging from the `django` named logger.
- Then show the file and more complex examples.

Adjusted surrounding text for reading flow.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of fc84848cd9509409e420b21b6db697f22f2c82a4 from master
2020-03-17 11:51:50 +01:00
Philipp Bosch
725d7c2a7c [3.0.x] Corrected outdated sentence in One-to-one relationships docs.
Backport of f75af5b67bac58d6c6d043d5e9e14bd0908505dd from master
2020-03-17 11:08:55 +01:00
David Smith
c5ac3ab056 [3.0.x] Fixed #31362 -- Removed nonexistent choices attribute from MultipleHiddenInput's docs.
Follow up to 65c13f9675d2ca7fc1c925e7182a2e35d07ff5fb.
Backport of 7075d27b0c75f1431f29497f4353cd742906b357 from master
2020-03-14 20:21:47 +01:00
Hasan Ramezani
6831049fc2 [3.0.x] Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
Backport of a0916d7212aaae634f4388d47d8717abc2cd9036 from master
2020-03-14 20:10:05 +01:00
Andrew Godwin
8d4638db20 [3.0.x] Refs #31224 -- Doc'd async adapter functions.
Backport of 40a64dd1e24d45f8e00a55b22a5174b8f1359b5c from master
2020-03-13 07:37:30 +01:00
Claude Paroz
d9f1792c76 [3.0.x] Fixed #30439 -- Added support for different plural forms for a language.
Thanks to Michal Čihař for review.
Backport of e3e48b00127c09eafe6439d980a82fc5c591b673 from master
2020-03-10 15:57:36 +01:00
Carlton Gibson
525274f79b [3.0.x] Added stub release notes for 2.2.12.
Backport of a4200e958d1da46465d7d684674a1711bc9f65e0 from master
2020-03-10 12:03:05 +01:00
Adam Johnson
6b41f07720 [3.0.x] Clarified SeparateDatabaseAndState docs and added example of changing ManyToManyField.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Carlton Gibson <carlton.gibson@noumenal.es>
Co-Authored-By: René Fleschenberg <rene@fleschenberg.net>

Backport of a9ee6872bd9e1bacc2da827dbd5b9093f724e4a5 from master
2020-03-10 11:14:05 +01:00
Adam Radwon
0f524f5686 [3.0.x] Fixed #27865 -- Adjusted docs example to avoid confusion with models.BaseManager.
Backport of a2f554249ec07d4643643773a995579f98564ac1 from master
2020-03-10 09:17:41 +01:00
Mariusz Felisiak
0fde2664f6 [3.0.x] Corrected learn_cache_key() signature in docs.
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991.
Backport of 5e17301f38d0a4f372d4d36762a464f5f4714ebd from master
2020-03-10 08:55:19 +01:00
Mariusz Felisiak
d6e67df4b9 [3.0.x] Updated migrations example in tutorial 2.
Follow up to a97845a823c86b1d6e65af70fbce64e6e747e081.
Backport of 5da627a58f41d6854342e95a171a82f5b2309d52 from master
2020-03-10 08:54:04 +01:00
Борис Верховский
2928587694 [3.0.x] Corrected get_cache_key() signature in docs.
Follow up to b22415214a7bdeaf8ccd7b8b21872038ab865991 and
cb17f7ca2252265ab4a844e7924cb8ebab4a1a76
Backport of d82d2d49d629f010da2c0d81b5927946d971ae72 from master
2020-03-10 08:14:03 +01:00
Shrikrishna Singh
300bd064c1 [3.0.x] Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt.
Backport of 370628673b98ada302c3930865c4bfde2d8ed5a1 from master
2020-03-09 07:55:28 +01:00
Adam Johnson
cc20699e0a [3.0.x] Doc'd return values of as_sql() for Func and query expressions.
Backport of 8c1b073b596af23c02020879219b4e85f15a836d from master
2020-03-06 13:02:31 +01:00
Mariusz Felisiak
f389e2c960 [3.0.x] Added missing backticks in various docs.
Backport of 30ca66eadd1135d220ae1f0570bb0244c26b9d29 from master
2020-03-06 11:53:35 +01:00
Carlton Gibson
1c1911dcd9 [3.0.x] Fixed #31342 -- Clarified docs about using base managers for related objects.
Backport of 08a6215d334f88f16707278e6003af59d13345b4 from master
2020-03-06 11:43:28 +01:00
Claude Paroz
e3069f6665 [3.0.x] Fixed #31341 -- Doc'd minimal gettext version with ES6 template strings support.
Backport of 2f53d324debee680658aed7f22f1aaf81385b1f2 from master
2020-03-05 13:49:17 +01:00
Mariusz Felisiak
8e30512e7a [3.0.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c.
Backport of 5ca76baa729bbbe62f5c4a0fc4f89747dc999029 from master
2020-03-05 08:56:09 +01:00
Mariusz Felisiak
91d97406da [3.0.x] Added stub release notes for 3.0.5.
Backport of 1b3a900a6919f9ffcfe22fae738e49b71e798ee0 from master
2020-03-04 10:57:08 +01:00
Mariusz Felisiak
88cfa212db [3.0.x] Fixed typo in docs/releases/1.11.29.txt.
Backport of 43f8ba1c7c0a264b67224c62b48fcd0dfdaddec3 from master
2020-03-04 10:48:59 +01:00
Mariusz Felisiak
8e196d9430 [3.0.x] Added CVE-2020-9402 to security archive.
Backport of f37f9a0bf061fd0dfe4e45adb39157c3307ec8e2 from master
2020-03-04 10:09:32 +01:00
Mariusz Felisiak
04d22e4abc [3.0.x] Post-release version bump. 2020-03-04 09:27:59 +01:00
Mariusz Felisiak
c2250cfb80 [3.0.x] Bumped version for 3.0.4 release. 2020-03-04 09:18:28 +01:00
Mariusz Felisiak
26a5cf8345 [3.0.x] Fixed CVE-2020-9402 -- Properly escaped tolerance parameter in GIS functions and aggregates on Oracle.
Thanks to Norbert Szetei for the report.
2020-03-04 09:16:03 +01:00
Mariusz Felisiak
c5cfaad2f1 [3.0.x] Fixed #31150 -- Included subqueries that reference related fields in GROUP BY clauses.
Thanks Johannes Hoppe for the report.

Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Co-authored-by: Simon Charette <charette.s@gmail.com>

Backport of 7b8fa1653fde578ab3a496d9974ab1d4261b8b26 from master
2020-03-03 11:26:36 +01:00
Adam Johnson
4977f2084e [3.0.x] Documented default value of InlineModelAdmin.extra.
Backport of 3bd29a8a973e2bb11b00666458344aeab5684a39 from master
2020-03-03 09:05:52 +01:00
Mariusz Felisiak
5320ba98f3 [3.0.x] Removed outdated note about not supporting partial indexes by Django.
Supported since a906c9898284a9aecb5f48bdc534e9c1273864a6.
Backport of a49c2b6bf098eb48c07641f60dba9be78c6cc92f from master
2020-02-29 20:36:16 +01:00
Mariusz Felisiak
94e192a580 [3.0.x] Refs #31312 -- Fixed FTimeDeltaTests.test_date_case_subtraction() test.
Follow up to 16cacdcb3f7856df5454b648503374de150fa245.
2020-02-27 20:18:53 +01:00
Simon Charette
16cacdcb3f [3.0.x] Fixed #31312 -- Properly ordered temporal subtraction params on MySQL.
Regression in 9bcbcd599abac91ea853b2fe10b784ba32df043e.

Thanks rick2ricks for the report.

Backport of 41ebe60728a15aa273f4d70de92f5246a89c3d4e from master
2020-02-27 09:20:30 +01:00
Andrey Doroschenko
59ac25c93b [3.0.x] Fixed #31313 -- Fixed is_upperclass() example in enumeration types docs.
Backport of f1016814d84b1423cfe0df85644c9870a6bc6b41 from master
2020-02-27 08:33:51 +01:00
Mariusz Felisiak
ae6c6f9110 [3.0.x] Removed hint from fields.E310 message in system check docs.
This is the only documented hint.
Backport of 667f784baab31f11d2469e5d22bbdc2390dbc030 from master
2020-02-26 12:01:32 +01:00
Matheus Cunha Motta
0193a1630e [3.0.x] Fixed #31303 -- Removed outdated note about symmetrical intermediate table for self-referential ManyToManyField.
Follow up to 87b1ad6e7351464c60e751b483d9dfce3a2d3382.

Backport of 0352a44dd61c19bebf0c0b305dbbc3f710ff9945 from master
2020-02-24 08:55:24 +01:00
Adam Johnson
80e6639e22 [3.0.x] Fixed #31182 -- Adjusted release notes for ASGI support.
Backport of a6b3938afc0204093b5356ade2be30b461a698c5 from master
2020-02-20 15:06:37 +01:00
Hasan Ramezani
a73489f162 [3.0.x] Fixed #30040 -- Used default permission name in docs examples to avoid confusion.
Backport of b7795d7673f51daf288ac80616ef69b05918ca6b from master
2020-02-19 15:46:45 +01:00
Carlton Gibson
611d1c1148 [3.0.x] Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.
Backport of 3bbf9a489afc689eff2f4a0b84af196aa1ef51e7 from master
2020-02-18 19:58:23 +01:00
Mariusz Felisiak
2448b3182c [3.0.x] Fixed #31271 -- Preserved ordering when unifying query parameters on Oracle.
This caused misplacing parameters in logged SQL queries.

Regression in 79065b55a70cd220820a260a1c54851b7be0615a.

Thanks Hans Aarne Liblik for the report.
Backport of 2a038521c4eabdc5f6d5026d3dd6d22868e329cd from master
2020-02-18 11:46:01 +01:00
Hasan Ramezani
bcf58e3e70 [3.0.x] Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
Backport of 2ab97af3528352e8f3ea4aa725b863822442d5ed from master
2020-02-14 10:33:20 +01:00
Takuya Noguchi
bbec01c152 [3.0.x] Fixed #31241 -- Clarified porting translations of the Django docs to docs.djangoproject.com.
Backport of c25a8c77d72b6d3a1942a699796224f4a2caf543 from master
2020-02-12 10:14:36 +01:00
Abhijeet Viswa
8faaaf4e71 [3.0.x] Fixed #31246 -- Fixed locking models in QuerySet.select_for_update(of=()) for related fields and parent link fields with multi-table inheritance.
Partly regression in 0107e3d1058f653f66032f7fd3a0bd61e96bf782.

Backport of 1712a76b9dfda1ef220395e62ea87079da8c9f6c from master
2020-02-11 21:36:05 +01:00
Florian Apolloner
4e8d6a1baf [3.0.x] Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used.
Thanks to Oskar Persson for the report.

Backport of 41a3b3d18647b258331104520e76f977406c590d from master
2020-02-11 20:40:24 +01:00
Florian Apolloner
22c25bea54 [3.0.x] Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object."
This reverts commit cce47ff65a4dd3786c049ec14ee889e128ca7de9.

Backport of 549445519ce90cc5c1e3f981853cc0c67725f3ed from master
2020-02-11 20:40:17 +01:00
Jon Dufresne
7540b7eb31 [3.0.x] Fixed #31253 -- Fixed data loss possibility when using caching from async code.
Case missed in a415ce70bef6d91036b00dd2c8544aed7aeeaaed.

Backport of e3f6e18513224c8ad081e5a19da641f49b0b43da from master
2020-02-11 10:12:53 +01:00
Mariusz Felisiak
dc0dfd1dac [3.0.x] Added stub release notes for 2.2.11.
Backport of 7e8339748cc199b4a13513891d9ac4f1e4794588 from master
2020-02-10 08:24:00 +01:00
Mariusz Felisiak
5aaec00606 [3.0.x] Added "Bugfixes" section to release notes for 3.0.4.
Backport of 932bd794b29c24536b6277b61175bd11ca9be234 from master
2020-02-10 08:15:40 +01:00
Adam Johnson
9b36348665 [3.0.x] Improved grammar in 3.0 release notes for SECURE_CONTENT_TYPE_NOSNIFF change.
Backport of de1924e0e7499535f05298c46d9983fd1640d4b4 from master
2020-02-05 12:46:42 +01:00
Vibhu Agarwal
0bf1330fe4 [3.0.x] Fixed #31226 -- Fixed typo in docs/internals/contributing/writing-code/submitting-patches.txt.
Backport of 6f9ecc23f676e7a6f25d1a6cf830fe638a1eb589 from master
2020-02-03 20:16:56 +01:00
Vibhu Agarwal
8ed5ac4eb4 [3.0.x] Fixed #31222 -- Fixed typo in docs/internals/contributing/bugs-and-features.txt.
Backport of 1a09708dcb2f60ad5ca0a75b8de9619356f74ff6 from master
2020-02-03 11:36:05 +01:00
Carlton Gibson
8aaa7a2960 [3.0.x] Added stub release notes for 3.0.4.
Backport of 273918c25b203d32a7922bc7c3610e4a089fe931 from master
2020-02-03 10:24:15 +01:00
Carlton Gibson
5d18016a07 [3.0.x] Added CVE-2020-7471 to security archive.
Backport of d8b2ccbbb846328a0938347dc70cb2e603164d9a from master
2020-02-03 10:13:00 +01:00
Carlton Gibson
9e27650e6a [3.0.x] Post-release version bump. 2020-02-03 09:58:56 +01:00
Carlton Gibson
c459a4661b [3.0.x] Bumped version for 3.0.3 release. 2020-02-03 09:51:00 +01:00
Carlton Gibson
af1999dd33 [3.0.x] Added release date for 3.0.3.
Backport of 1a2600d8dfe86eb0fd0952a8c86107ab20323847 from master
2020-02-03 08:53:28 +01:00
Simon Charette
505826b469 [3.0.x] Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter. 2020-02-03 08:32:54 +01:00
Mariusz Felisiak
673444da5e [3.0.x] Fixed #31217 -- Made QuerySet.values()/values_list() group by not selected annotations with aggregations used in order_by().
Regression in 59b4e99dd00b9c36d56055b889f96885995e4240.

Thanks Jon Dufresne for the report and Simon Charette for the review.
Backport of 6b178a3e930f72069f3cda2e6a09d1b320fc09ec from master
2020-02-03 07:48:53 +01:00
Claude Paroz
ca4f87027e [3.0.x] Updated translations from Transifex 2020-01-31 20:01:27 +01:00
Abhijeet
7d48a4b703 [3.0.x] Fixed #31126 -- Doc'd STATICFILES_DIRS namespacing in static files how-to.
Backport of a45c8d7ad04b73e33b6989c3ffa2b8c51ae3e83b from master
2020-01-29 10:36:52 +01:00
Mariusz Felisiak
b0207ac674 [3.0.x] Updated the GeoJSON format specification link to RFC 7946.
Backport of 5978de2ec0787c8912349a72a7143c33f62b980b from master
2020-01-29 09:35:51 +01:00
Mariusz Felisiak
27e4ebc0ba [3.0.x] Refs #25778 -- Updated some links to HTTPS and new locations.
Backport of 0ac8ac8b0dece68072548900e992fc31493154c1 from master
2020-01-29 09:35:45 +01:00
Jon Dufresne
21cc097403 [3.0.x] Fixed #31212 -- Updated psycopg links to HTTPS and new location.
Backport of 958977f662d878c299b3599282f005c3469dbef9 from master
2020-01-29 06:53:43 +01:00
Jon Dufresne
d346f075d0 [3.0.x] Refs #25778 -- Updated sphinx-doc.org links to HTTPS.
Backport of 32166a9f7c8afd6d34ff7e7c0a13a46a6eedcc5e from master.
2020-01-29 06:06:23 +01:00
Roy Smith
27739ad3f2 [3.0.x] Fixed #31184 -- Clarified URL matching behavior in URL dispatcher docs.
Backport of cf493e5c819f5ee49b96954f026bec722e19d9c3 from master
2020-01-24 12:22:51 +01:00
Adam Johnson
ef22cf41af [3.0.x] Clarified AppConfig.ready() docs example.
Backport of 971a84d6af9de738be2a7a8344fa8c80671d1729 from master
2020-01-22 13:52:23 +01:00
Eugene Hatsko
a56e45a2bf [3.0.x] Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with custom ContentType foreign key.
Regression in dffa3e1992562ba60512d96d1eb5859ffff2ceb5.

Backport of 0b013564ef0609d95b1d263626f2e15bccda1a50 from master
2020-01-22 08:25:23 +01:00
Sergey Fedoseev
d7e4d6463c [3.0.x] Fixed #31195 -- Relaxed GeometryDistance test for PROJ 5.2+.
Backport of 31e2ab345b272b309770262067710589ec433e79 from master
2020-01-21 22:51:45 +01:00
Adam Johnson
a062d432a3 [3.0.x] Made examples concrete in upgrade documentation.
Backport of e4bc4f26b27122f5887a5eea811ff985d9ab8b8d from master
2020-01-21 13:03:00 +01:00
Claude Paroz
789de6050a [3.0.x] Added missing backtick in instances docs.
Backport of c7b97ac3a7908dab0825f6bdb61b40f641306a8e from master
2020-01-17 20:27:48 +01:00
Adam Johnson
3c05ab295d [3.0.x] Added note about incomplete HTML in tutorial 3.
Backport of 26be53dd89cef46746b4a67cbc0bb29665e999a6 from master
2020-01-17 15:48:42 +01:00
Takayuki Hirayama
f0e1a69c99 [3.0.x] Fixed #31171 -- Fixed wording in auto-escaping section of custom template tags docs.
Backport of 73563183c2ea92e9ef1d3a1f790a503acc14ade2 from master
2020-01-17 09:22:37 +01:00
Mariusz Felisiak
5b6778b8b9 [3.0.x] Refs #31097 -- Added django.db.models.Q import to contrib.postgres aggregates tests. 2020-01-17 09:13:11 +01:00
Anael Mobilia
69c6891140 [3.0.x] Added apps.py to project from tutorials in reusable apps docs.
Backport of a5a28de89dabfa03302a5893102b6f1a7c7861a1 from master
2020-01-16 14:52:09 +01:00
Carlton Gibson
d74f383e9b [3.0.x] Clarified backport policy for regressions.
Backport of 7400da49a5d0ec5a087c3cf05e0b2d15048fc93f from master
2020-01-15 15:53:33 +01:00
Carlton Gibson
57468eaff3 [3.0.x] Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices.
Regression in 2d38eb0ab9f78d68c083a5b78b1eca39027b279a

Backport of 29c126bb349526b5f1cd78facbe9f25906f18563 from master
2020-01-15 15:36:28 +01:00
Mariusz Felisiak
8712027b22 [3.0.x] Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.
Backport of d202846ced2f58d7a34ad80bfe2bde8a542a70b9 from master
2020-01-15 15:07:52 +01:00
Mariusz Felisiak
a24686987f [3.0.x] Refs #31136 -- Made QuerySet.values()/values_list() group only by selected annotation.
Regression in 0f843fdd5b9b2f2307148465cd60f4e1b2befbb4.
Backport of 59b4e99dd00b9c36d56055b889f96885995e4240 from master
2020-01-15 09:33:36 +01:00
Carlton Gibson
6aac9f6b11 [3.0.x] Refs #31097 -- Added release notes for 2f565f84aca136d9cc4e4d061f3196ddf9358ab8.
.

Backport of 927c903f3cd25c817c21738328b53991c035b415 from master
2020-01-14 14:36:25 +01:00
David Wobrock
0e6cf4393c [3.0.x] Fixed #31097 -- Fixed crash of ArrayAgg and StringAgg with filter when used in Subquery.
Backport of 2f565f84aca136d9cc4e4d061f3196ddf9358ab8 from master
2020-01-14 09:49:56 +01:00
Daniel Hahler
d7adaa399e [3.0.x] Fixed typo in docs/ref/django-admin.txt.
Backport of 20debf01bd3b58ba28ffc6606333851a7ef18bea from master
2020-01-13 12:39:44 +01:00
Mariusz Felisiak
92866682c6 [3.0.x] Fixed #31155 -- Fixed a system check for the longest choice when a named group contains only non-string values.
Regression in b6251956b69512bf230322bd7a49b629ca8455c6.

Thanks Murat Guchetl for the report.
Backport of 6f7998adc784032f4b8918ca2eea27537ea4cbbe from master
2020-01-11 19:49:38 +01:00
Adam Johnson
16297e7d5e [3.0.x] Fixed #31154 -- Added support for using enumeration types in templates.
Enumeration helpers are callables, so the template system tried to call
them with no arguments.

Thanks Rupert Baker for helping discover this.

Backport of 5166097d7c80cab757e44f2d02f3d148fbbc2ff6 from master
2020-01-10 09:13:36 +01:00
Kal Sze
2efc832cdf [3.0.x] More accurate terminology ("logger" instead of "logging handler") in logging documentation.
Backport of aa6c620249bc8c2a6245c8d7b928b05e7e5e78fc from master
2020-01-09 15:28:55 +01:00
Jack Cushman
b11761e3cc [3.0.x] Clarified that ValueError raised by converter.to_python() means no match unless another URL pattern matches.
Backport of 196009c72c7144f25bc5e4029ef519db0190bb89 from master
2020-01-08 11:20:57 +01:00
Mariusz Felisiak
0379da59bd [3.0.x] Fixed #31141 -- Relaxed system check of translation settings for sublanguages.
Regression in 4400d8296d268f5a8523cd02ddc33b12219b2535.

Thanks Enrique Matías Sánchez for the report.
Backport of 53d8646f799de7f92ab9defe9dc56c6125448102 from master
2020-01-08 08:06:33 +01:00
Mark Bailey
e7d7e04d95 [3.0.x] Fixed #31103 -- Improved pagination topic documentation.
Backport of 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88 from master
2020-01-07 10:34:19 +01:00
Mariusz Felisiak
f9110a1b6d [3.0.x] Fixed timezones tests for PyYAML 5.3+.
Backport of 8be477be5c1a4afc9ad00bb58a324f637e018c0f from master
2020-01-07 09:55:15 +01:00
Claude Paroz
4853d0fdc4 [3.0.x] Corrected notes about default date/datetime/time input formats.
Backport of b23fb2c8198aee5c209bb24c0738d71970cffdc4 from master
2020-01-06 11:39:47 +01:00
Mariusz Felisiak
4f81f6d236 [3.0.x] Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list().
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Sigurd Ljødal for the report.
Backport of 0f843fdd5b9b2f2307148465cd60f4e1b2befbb4 from master
2020-01-04 20:49:43 +01:00
Simon Charette
02cda09b13 [3.0.x] Fixed #31133 -- Fixed crash when subtracting against a subquery annotation.
The subtract_temporals() database operation was not handling expressions
returning SQL params in mixed database types.

Regression in 35431298226165986ad07e91f9d3aca721ff38ec.

Thanks Reupen Shah for the report.

Backport of 9bcbcd599abac91ea853b2fe10b784ba32df043e from master
2020-01-03 10:35:44 +01:00
Marya Belanger
d975415852 [3.0.x] Fixed typo in docs/index.txt.
First steps section is no longer below tutorials overview.

Backport of 03f6159407600de8b98992e675c45bffde9fca5b from master
2020-01-03 07:54:25 +01:00
Mariusz Felisiak
09b4224e11 [3.0.x] Refs #31040 -- Fixed crypt.crypt() call in test_hashers.py.
An empty string is invalid salt in Python 3 and raises exception since
Python 3.9, see https://bugs.python.org/issue38402.
Backport of 1960d55f8baa412b43546d15a8342554808fff57 from master
2020-01-03 07:47:56 +01:00
Mariusz Felisiak
eb94e7ad6b [3.0.x] Added stub release notes for 3.0.3.
Backport of 69331bb851c34f05bc77e9fc24020fe6908b9cd5 from master
2020-01-02 08:41:58 +01:00
Mariusz Felisiak
7a375d34fe [3.0.x] Post-release version bump. 2020-01-02 08:26:31 +01:00
Mariusz Felisiak
a36974395e [3.0.x] Bumped version for 3.0.2 release. 2020-01-02 08:02:19 +01:00
Mariusz Felisiak
5738364fd6 [3.0.x] Added release date for 3.0.2.
Backport of 434a81d320d1352b7c5db49800a99d0b285eefed from master
2020-01-02 07:57:28 +01:00
Mariusz Felisiak
e2b72f85c2 [3.0.x] Fixed typo in ref/forms/widgets.txt.
Backport of ef1286e3e3e2ea1a854b0169da2cefed0241903e from master
2020-01-02 07:47:11 +01:00
Gabriel Augendre
8e432718b8 [3.0.x] Fixed #30780 -- Improved visibility of Getting Help FAQ in tutorials.
Backport of 307c63f9a7c90a21368d8361cd76f48f372413ab from master
2019-12-31 09:26:13 +01:00
Gabriel Augendre
00b436adf4 [3.0.x] Refs #30780 -- Moved "First steps" section to the top of index page.
Backport of c07b4bce2c1d05308144aec86422d4cd2b45d818 from master
2019-12-31 09:26:07 +01:00
Mads Jensen
222b56474d [3.0.x] Added guidelines for assertIs() usage.
Backport of ea44d86ed43349db25b6b2d8e4d4af2d5c618cf9 from master
2019-12-30 13:04:07 +01:00
Simon Charette
a04e6fb355 [3.0.x] Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.
Backport of 9e14bc2135cb806b66374bac791c79344fff4ded from master
2019-12-30 08:30:49 +01:00
Simon Charette
7db4ab8439 [3.0.x] Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures.
Model.save_base() is called directly when loading fixtures and assumes
existing rows will be updated. Branching of "raw" allows to maintain
the optimization introduced in #29260 while supporting this edge case.

Regression in 85458e94e38c20e57939947ee515a1a53689659f.

Thanks Reupen Shah for the report.

Backport of 5779cc938a34eb96815c7a40ded2c8f6c8087c58 from master
2019-12-30 08:30:44 +01:00
Mariusz Felisiak
0f8041abd5 [3.0.x] Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when adding FK constraints inline and changing data.
This allows adding foreign key constraints inline and changing data in
the same migration on PostgreSQL 10+.

Regression in 738faf9da2a5cd03148a36375db80746c99c9623.

Thanks Janne Rönkkö for the report and Simon Charette for the
implementation idea and review.
Backport of 22ce5d0031bd795ade081394043833e82046016c from master
2019-12-23 23:30:30 +01:00
Jon Dufresne
eb40426259 [3.0.x] Removed unnecessary code-block directives in various docs.
Backport of 5e00bd1f7717149573df9607b848297a520881d3 from master
2019-12-23 14:48:16 +01:00
Mariusz Felisiak
1e45b06cfd [3.0.x] Refs #31115 -- Added test for nested subquery that references related fields.
Thanks Dmitriy Gunchenko for the report and Simon Charette for the
analysis and tests.

Regression in 5a4d7285bd10bd40d9f7e574a7c421eb21094858.

Fixed in 5a4d7285bd10bd40d9f7e574a7c421eb21094858.
Backport of 45bcc6feac68165eb3642d3c308c74b4828e679e from master
2019-12-23 12:18:52 +01:00
Simon Charette
7b065c41e4 [3.0.x] Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists().
Clearing the SELECT clause in Query.has_results was orphaning GROUP BY
references to it.

Thanks Thierry Bastian for the report and Baptiste Mispelon for the
bisect.

Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Backport of 720de4d0441fcfdb543051389c70efbe66ed962a from master
2019-12-23 09:24:37 +01:00
Taoup
b1a309f6f0 [3.0.x] Fixed #31110 -- Fixed typo in docs/ref/models/expressions.txt.
Backport of cebd41e41603c3ca77c5b29d6cd20c1bff43827f from master
2019-12-21 20:34:30 +01:00
Katie McLaughlin
407eeff9de [3.0.x] Refs #30767 -- Improved deployment documentation.
Backport of abeb4599af5ea7a384e18ec6201a95c9e419b44a from master
2019-12-20 11:34:00 +01:00
Garry Polley
77722711df [3.0.x] Added example of assertNumQueries() with "using" kwarg in testing topics docs.
Backport of 0b698eaea611d3bafa86d6d81d9203b482600ccb from master
2019-12-20 08:44:07 +01:00
Garry Polley
d2100340f3 [3.0.x] Removed outdated information from contrib.sites docs.
Backport of d216e67b0cf7b161c8f532ca742e87eb8cf98f4b from master
2019-12-20 08:44:01 +01:00
Nick Pope
08b426aedb [3.0.x] Refs #28954 -- Remove remaining Jython documentation.
There is still no further progress on Jython 3 since support for Jython
was stripped in Django 2.0. The developers experimenting with Jython 3
have stated that they would need to start from scratch, so it doesn't
look as though it will materialize for years to come.

Python 2 and Django 1.11, the last version to support Python 2.7, will
both be end-of-life before Django 3.1 is released. We should no longer
instruct users to use an unsupported version of Django.

Backport of d8b6a76bc745b21c6cf2b29c220a91bcae7fd3d7 from master
2019-12-19 16:44:39 +01:00
Simon Charette
fd9050589f [3.0.x] Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on aggregations.
Thanks Johannes Hoppe for the report.

Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 5a4d7285bd10bd40d9f7e574a7c421eb21094858 from master
2019-12-19 11:10:33 +01:00
Hasan Ramezani
fb260ad777 [3.0.x] Corrected some typos in documentation.
Backport of 70d95682b1be6a85abdeaea0205a897f7530f8bc from master
2019-12-18 11:37:32 +01:00
Mariusz Felisiak
efd9302b14 [3.0.x] Added stub release notes for 3.0.2.
Backport of 50a69efb2e73ab8b3ef26042d4579e8ade950c37 from master
2019-12-18 10:52:37 +01:00
Adam Johnson
a334ae5d1e [3.0.x] Updated Pytest example in upgrade documentation.
Pytest changed their recommended entrypoint to 'pytest' in version 3.0.0 in 2016 : https://docs.pytest.org/en/latest/changelog.html#id1009. Also link the name since this is the only reference in the Django documentation at current.
Backport of ef3baf966d73c71480198d6194fa277ef7daa87d from master
2019-12-18 10:43:36 +01:00
Mariusz Felisiak
f21c132cd4 [3.0.x] Added CVE-2019-19844 to the security archive.
Backport of 5a2b9f0b546222e928df91310acb9cf363a6c920 from master
2019-12-18 10:38:37 +01:00
Mariusz Felisiak
afaf5b1f58 [3.0.x] Post-release version bump. 2019-12-18 09:27:32 +01:00
Mariusz Felisiak
03d64f1d9c [3.0.x] Bumped version for 3.0.1 release. 2019-12-18 09:21:54 +01:00
Simon Charette
302a4ff1e8 [3.0.x] Fixed CVE-2019-19844 -- Used verified user email for password reset requests.
Backport of 5b1fbcef7a8bec991ebe7b2a18b5d5a95d72cb70 from master.

Co-Authored-By: Florian Apolloner <florian@apolloner.eu>
2019-12-18 09:14:44 +01:00
Osaetin Daniel
33d2cda672 [3.0.x] Doc'd HttpResponse.set_cookie()'s secure argument.
Backport of 14e690ae5a6d4ddeb1ac021f78e2e6e333214ef8 from master
2019-12-13 11:06:47 +01:00
Osaetin Daniel
3ab7de0182 [3.0.x] Refs #6657 -- Corrected HttpResponse.set_cookie()/set_signed_cookie() signatures in docs.
Backport of 15c5875e693cc972c996a921560624c355ab8fdd from master
2019-12-13 11:06:33 +01:00
Hasan Ramezani
6cb30414bc [3.0.x] Fixed #31069, Refs #26431 -- Doc'd RegexPattern behavior change in passing optional named groups in Django 3.0.
Backport of 9736137cdc4b7528a0aca17415dc9798660eed81 from master
2019-12-12 14:49:13 +01:00
Hasan Ramezani
79c92fc7b6 [3.0.x] Fixed typos in 3.0 release notes and docs/ref/request-response.txt.
Backport of 52018e1615edfafcb5170ba6b473132fe2f9a534 from master
2019-12-12 10:19:38 +01:00
Mariusz Felisiak
f4baf2fdf6 [3.0.x] Refs #31073 -- Added release notes for 02eff7ef60466da108b1a33f1e4dc01eec45c99d.
Backport of ec12c37384798093e359971c8980fe0c68d555bc from master
2019-12-11 10:08:32 +01:00
Peter Andersen
74e1454113 [3.0.x] Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs.
Backport of 02eff7ef60466da108b1a33f1e4dc01eec45c99d from master
2019-12-11 09:37:34 +01:00
Ali Mirlou
314cb3a976 [3.0.x] Fixed typo in docs/releases/3.0.1.txt.
Backport of 663bb435deb1d6c407818dacfdcddd458e9b60c6 from master
2019-12-09 07:58:33 +01:00
Alex Aktsipetrov
8af07712df [3.0.x] Fixed #31060 -- Reallowed window expressions to be used in conditions outside of queryset filters.
Regression in 4edad1ddf6203326e0be4bdb105beecb0fe454c4.

Thanks utapyngo for the report.

Backport of bf12273db4e53779546e2ac7b65c0ce8e3c8a640 from master.
2019-12-06 15:28:23 +01:00
Mariusz Felisiak
e986e49e66 [3.0.x] Fixed #31061 -- Ignored positional args in django.urls.resolve() when all optional named parameters are missing.
Regression in 76b993a117b61c41584e95149a67d8a1e9f49dd1.

Thanks Claude Paroz for the report and Carlton Gibson for reviews.
Backport of 82a88d2f48e13ef5d472741d5ed1c183230cfe4c from master
2019-12-06 09:33:45 +01:00
Mariusz Felisiak
6ede5a3cb7 [3.0.x] Fixed #31062 -- Doc'd asgi.py in tutorials and project templates.
Backport of 3930ec1bf275d17f1c36cd38b38114177b1d1565 from master
2019-12-05 08:40:19 +01:00
jsals1
7263c7710c [3.0.x] Fixed typo in docs/releases/3.0.txt.
Backport of 1f62c008d1c983b4e5450a8764605aa6246e1cb4 from master
2019-12-05 07:55:56 +01:00
Felipe Lee
87483757c8 [3.0.x] Fixed #20456 -- Added example of directly testing CBVs in topics docs.
Backport of a2e96f7969059fb4e621a1cd591fbdd0d4deae2e from master
2019-12-04 16:41:46 +01:00
Uttam Kini
84936ac2c5 [3.0.x] Fixed #31024 -- Clarified {% firstof %} tag's handling of arguments.
Backport of d646e3d14fa04b5081476b84f4500c8651c167c2 from master
2019-12-04 14:36:43 +01:00
Mariusz Felisiak
cc64b1d8f3 [3.0.x] Fixed #31059 -- Fixed typo in docs/releases/3.0.txt.
Backport of 95ae1a9f8caf9c63c14c1a7c3e15594d3181b3ca from master
2019-12-04 09:25:00 +01:00
Claude Paroz
e8f126aae1 [3.0.x] Removed leftover word in CBV mixins docs.
Backport of d83b585e5cc2b6dec49982670b86d6b4dd339342 from master
2019-12-04 09:15:35 +01:00
Hasan Ramezani
c8c0c0def7 [3.0.x] Fixed typo in internals/contributing/writing-documentation.txt.
Backport of b1d39131ebb9f20bea182cb63a8a580fc4b3c00d from master
2019-12-03 21:04:23 +01:00
Andrew Godwin
9243435b5e [3.0.x] Fixed #31056 -- Allowed disabling async-unsafe check with an environment variable.
Backport of c90ab30fa1305481024b9c3c50b5a6ed6cd9a2f5 from master
2019-12-03 17:50:24 +01:00
Andrew Godwin
45de0c299b [3.0.x] Refs #30451 -- Doc'd asynchronous support and async-safety.
Backport of 635a3f8e6e0303e8a87586ef6be4ab0cc01d7c0d from master
2019-12-03 17:50:18 +01:00
Claude Paroz
830a5bcf15 [stable/3.0.x] Fixed typo in topics docs
Backport of b92d101bd868aa460d16d1196a798df7e5c1ea33 from master.
2019-12-03 16:51:45 +01:00
Mariusz Felisiak
7ec5962638 [3.0.x] Added stub release notes for 3.0.1.
Backport of 908c67e719a54b8b612cb7df732126f42350f3fa from master
2019-12-02 21:47:49 +01:00
Ryan Cheley
cd7f48e85e [3.0.x] Fixed #31006 -- Doc'd backslash escaping in date/time template filters.
Backport of a1f14ee3e5a2160c2eef1dad58a1da11be4b1531 from master
2019-12-02 13:54:37 +01:00
Carlton Gibson
3c370c1562 [3.0.x] Post-release version bump. 2019-12-02 12:06:12 +01:00
Carlton Gibson
d36413a2eb [3.0.x] Bumped version for 3.0 release. 2019-12-02 12:00:37 +01:00
Carlton Gibson
f3da0836ff [3.0.x] Finalized release notes for Django 3.0.
Backport of 3b347a8a00273e9cc2fd9d4a5c61569c08398769 from master
2019-12-02 11:55:06 +01:00
Carlton Gibson
d13ba5502d [3.0.x] Added CVE-2019-19118 to the security archive.
Backport of 900ea762e5d1342e84a645483d05b90e6d908f2d from master
2019-12-02 11:42:52 +01:00
Claude Paroz
4afa0e5d2a [3.0.x] Updated contrib translations from Transifex 2019-12-02 09:49:04 +01:00
Claude Paroz
71ec95345c [3.0.x] Updated core translations from Transifex 2019-12-02 09:49:03 +01:00
Carlton Gibson
5fca551f12 [3.0.x] Removed issue reporter name from 2.1.15 and 2.2.8 release notes.
Backport of 368b8d20aaa16f0ef763759a0a87d986ef460584 from master
2019-12-02 09:48:14 +01:00
Carlton Gibson
46491e8095 [3.0.x] Added release dates for 2.1.15, 2.2.8 and 3.0.
Backport of e31d1852671866f6e52d55f9b7925ecad711fcf5 from master
2019-12-02 09:11:31 +01:00
Carlton Gibson
092cd66cf3 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:57:44 +01:00
Mariusz Felisiak
db0cc4ae96 [3.0.x] Refs #30953 -- Added 2.1.15 release note for 0107e3d1058f653f66032f7fd3a0bd61e96bf782.
Backport of 39e39d0ac1b720e7460ec8ccf45926c78edb2047 from master
2019-12-02 08:12:10 +01:00
Mariusz Felisiak
f4ed6800bd [3.0.x] Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
Thanks Abhijeet Viswa for the report and initial patch.
Backport of 0107e3d1058f653f66032f7fd3a0bd61e96bf782 from master
2019-12-02 07:58:04 +01:00
Mariusz Felisiak
ca9144a4a8 [3.0.x] Fixed #31021 -- Fixed proxy model permissions data migration crash with a multiple databases setup.
Regression in 98296f86b340c8c9c968375d59f1d3a3479e60c2.

Backport of e8fcdaad5c428878d0a5d6ba820d957013f75595 from master
2019-11-29 11:10:36 +01:00
Baptiste Mispelon
81ddf4b164 [3.0.x] Fixed #31029 -- Used more specific links to RFCs.
Backport of ff1b19da6761217ed1b14cc7e94c6438903565d8 from master
2019-11-28 07:59:46 +01:00
Baptiste Mispelon
c0fe08d470 [3.0.x] Refs #31029 -- Added note about :rfc: role in writing documentation docs.
Backport of 42df1b178b22d499986516b5d3d6bb70c044901a from master
2019-11-28 07:59:39 +01:00
Mariusz Felisiak
1decf29a3e [3.0.x] Fixed #31018 -- Removed django-nonrel in NoSQL databases FAQ.
Backport of a36f7ed6ac5b2529db7e13fd3754290484928b18 from master
2019-11-27 07:37:32 +01:00
Adam Johnson
0dd8c438aa [3.0.x] Improved custom MultiWidget example in docs.
Backport of 7742cc0c8f620f7b65b02b5018a5f7078325d467 from master
2019-11-26 18:35:45 +01:00
Sergey Fedoseev
314ad45c09 [3.0.x] Used 🎫 role in all tickets links.
Backport of abc51d44afcb8482c64c0bb8c1022f11e7eb2bbb from master
2019-11-26 14:43:27 +01:00
Baptiste Mispelon
3ed55606c4 [3.0.x] Fixed #31031 -- Fixed data loss in admin changelist view when formset's prefix contains regex special chars.
Regression in b18650a2634890aa758abae2f33875daa13a9ba3.

Backport of 52936efacec4df05df2d9872c09c3332335bf21b from master
2019-11-26 09:19:19 +01:00
Sergey Fedoseev
b3ffa0d51d [3.0.x] Updated link to IBM DB2 backend.
See https://github.com/ibmdb/python-ibmdb/pull/375
Backport of 5573a54d409bb98b5c5acdb308310bed02d392c2 from master
2019-11-25 21:00:13 +01:00
John Bowen
b6cbc88f26 [3.0.x] Fixed #27914 -- Fixed serialization of nested classes in migrations.
Backport of 29d8198841ea39af44f3bc835d646e642d498475 from master
2019-11-25 11:27:15 +01:00
John Bowen
ba5760965e [3.0.x] Refs #23950 --- Moved test DeconstructibleInstances class to a module level.
DeconstructibleInstances was not importable from the asserted path.

Backport of 8008795a3899d979d65832ca7c4946903de206f7 from master
2019-11-25 11:27:09 +01:00
Baptiste Mispelon
641deb4d50 [3.0.x] Fixed #31025 -- Fixed highlightlinenothreshold deprecation warning on Sphinx 1.8+.
Backport of 89d41cba392b759732ba9f1db4ff29ed47da6a56 from master
2019-11-25 10:34:21 +01:00
Sergey Fedoseev
c332f89dc6 [3.0.x] Doc'd SpatiaLite support of 3D geometry fields.
Support was added in 65129aac07022f23afa1df7ec7fad2216634cb38.

Backport of 85c598900772a00aee2ad4a20e3f3854f1c87fbd from master
2019-11-25 09:31:33 +01:00
Baptiste Mispelon
76e0846c90 [3.0.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
Backport of 9f1ec9efc35bbb375c9cebb3e0d8c1b7be838338 from master
2019-11-25 08:35:33 +01:00
Carlton Gibson
947f8e3485 [3.0.x] Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget."
This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b.

The initial issue was incorrect. Django 2.2, and before, did not
generate invalid HTML as reported. With f03821 in place invalid HTML
was generated.

Thanks to Kevin Brown for follow-up report and investigation.
Backport of ee4a19053a32d41cdd79e087b1968980804ce658 from master
2019-11-21 21:06:07 +01:00
Hasan Ramezani
6e3ef98413 [3.0.x] Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.
Backport of f69b32782e21642c6184162d888fcc17dd1dd85e from master
2019-11-21 10:54:46 +01:00
Sergey Fedoseev
409cd7b944 [3.0.x] Made versionadded/versionchanged annotations without a content end with ".".
Regression in d2afa5eb2308e672b6313876856e32e2561b90f3.
Backport of 5032556483f16b0b5f182e393eb5c6548fc505be from master
2019-11-21 09:03:44 +01:00
Mariusz Felisiak
ae2e13504b [3.0.x] Fixed #31008 -- Fixed typos in docs/topics/logging.txt.
Backport of 3e5b349535f011a51dc308898924786143000631 from master
2019-11-20 20:36:20 +01:00
Carlton Gibson
0e58745716 [3.0.x] Pinned asgiref to 3.2 series.
Backport of 36453526d3e1a5829864f106d6baa0ebdb20537e from master
2019-11-20 15:13:28 +01:00
Caio Ariede
5f24b18e6c [3.0.x] Fixed #27164 -- Fixed an example of using routers in multiple databases docs.
Make sure that AuthRouter includes ContentType in the same database.

Backport of 608e06023e6eaf75f744134a0fd203853260e616 from master
2019-11-20 11:51:33 +01:00
Mariusz Felisiak
2ef484ba3b [3.0.x] Added stub release notes for 2.1.15.
Backport of e9def97d1095efed15a109d82fe0498ebd56fa04 from master
2019-11-19 12:44:43 +01:00
Hasan Ramezani
895c0889e4 [3.0.x] Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.
Backport of 33eecfa7405ea997669f8edb61c596c3f295c793 from master
2019-11-19 10:09:27 +01:00
Luke Plant
e9005d693c [3.0.x] Expanded API stability docs to include our policy of continual improvement.
Backport of 5cef2cd4a10e51035e2728e3e5e59265bc0347e0 from master
2019-11-18 21:39:30 +01:00
Baptiste Mispelon
1c75af9090 [3.0.x] Fixed #30990 -- Fixed example output in 'z' date format docs.
Backport of 1185c6172b4dd5482b7bc76b12d7a0588320e027 from master
2019-11-18 12:04:23 +01:00
Mariusz Felisiak
7a9dcd30b8 [3.0.x] Bumped version for 3.0 release candidate 1. 2019-11-18 09:32:37 +01:00
Mariusz Felisiak
b582d00c75 [3.0.x] Updated man page for Django 3.0 release candidate 1. 2019-11-18 09:27:41 +01:00
Mariusz Felisiak
b6be0699b9 [3.0.x] Fixed #30986 -- Fixed queryset crash when filtering against boolean RawSQL expressions on Oracle.
Backport of 8685e764efd2957085762d9249e07794d9a58dcb from master
2019-11-18 09:16:21 +01:00
George Marshall
fa6076daf4 [3.0.x] Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list values to tuples.
Regression in 8a281aa7fe76a9da2284f943964a9413697cff1f.

Backport of 8be79984dce7d819879a6e594ca69c5f95a08378 from master
2019-11-13 09:20:50 +01:00
Mariusz Felisiak
9ad38d4089 [3.0.x] Refs #29926 -- Doc'd Python 3.8 compatibility in Django 2.2.x.
Backport of b93a0e34d9b9b99d41103782b7e7aeabf47517e3 from master.
2019-11-12 22:13:54 +01:00
Mariusz Felisiak
f375ad95fa [3.0.x] Added stub release notes for 2.2.8 release.
Backport of 30359496a3f3d9af0b02afc334710f7e24c74f5b from master
2019-11-12 14:42:15 +01:00
David Foster
c598ffd2e1 [3.0.x] Fixed #30828 -- Added how to remove/insert many-to-many relations in bulk to the database optimization docs.
Backport of 6a04e69e686cf417b469d7676f93c2e3a9c8d6a3 from master
2019-11-12 13:13:20 +01:00
Hannes Ljungberg
8d3f43f7a9 [3.0.x] Fixed #30967 -- Fixed TrigramTest failures on PostgreSQL 12+.
Backport of 6e2f05b2e33a6c80c7a411ce76af7b5a08acb835 from master
2019-11-11 13:30:14 +01:00
Mariusz Felisiak
2c2afbe104 [3.0.x] Fixed typo in docs/topics/files.txt.
Backport of 08c0d8b16bb7e79074bc9c8ab4f0db97a94d336a from master
2019-11-11 11:52:18 +01:00
Hasan Ramezani
6722416e70 [3.0.x] Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file to access raw image data.
Backport of 2282d9f2e5d08fc782087ebe97ab195303a6e79b from master
2019-11-11 11:48:48 +01:00
Farhaan Bukhsh
78025531eb [3.0.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
Backport of 4cb15450adac4003ed98f4adcb1710c95fd2b919 from master
2019-11-11 10:10:31 +01:00
Jon Dufresne
bca2ffd3c2 [3.0.x] Refs #30948 -- Updated install instructions to use pip instead of setup.py.
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>

Backport of eee4da3b5748370a5c562bc63d2cae61ea85b16c from master
2019-11-08 21:16:52 +01:00
Carlton Gibson
48631a1afd [3.0.x] Doc'd archiving historical branches as git tags.
Backport of a32f983be8f5711963f20d976f13b3354e36f5c7 from master
2019-11-08 12:11:18 +01:00
Shipeng Feng
59578ebaa0 [3.0.x] Fixed #30955 -- Doc'd that only concrete base models are stored in historical models bases.
Abstract models are removed from bases when generating historical model
state since 6436f1fad9ce51f18735106ac75aeea3d6d1f310.
Backport of 8058d9d7adb189fec75a4b57565f225996c7b22c from master
2019-11-08 09:43:20 +01:00
René Fleschenberg
87a10c3d6e [3.0.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.
Backport of 367634f976ab43db93321bf4eb898449b670e291 from master
2019-11-07 09:41:01 +01:00
Farhaan Bukhsh
64b01e38f9 [3.0.x] Fixed #30865 -- Doc'd that not all DATABASES['OPTIONS'] are passed to command-line client.
Backport of cc5622ec8c260535c63279cf6eb293f2b5a742f0 from master
2019-11-07 08:34:38 +01:00
Daniel Fairhead
1922119252 [3.0.x] Fixed #15742 -- Fixed an example of collecting selected objects in ModelAdmin.actions docs.
The queryset argument is already filtered, and request.POST doesn't
contain all selected objects when "Select All" is used.

Backport of e651b3095c950627b1eed1527f2bb011ddad03de from master
2019-11-06 13:41:15 +01:00
Dan Swain
5da7cbe3f6 [3.0.x] Documented arguments for custom 500 error view.
Backport of 422b875c6586a6548c6bf34a0851ae82198a8818 from master
2019-11-06 09:27:23 +01:00
Stephen Rauch
76d293f3e6 [3.0.x] Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
Support for sqlparse < 0.2.2 was broken in
782d85b6dfa191e67c0f1d572641d8236c79174c because is_whitespace property
was added in sqlparse 0.2.2.

Backport of 4b6db766ba4b613d317c87f87d1d63865b7424a4 from master
2019-11-06 09:01:48 +01:00
Jon Dufresne
b75a268c07 [3.0.x] Added a link to the file email backend from EMAIL_FILE_PATH setting.
Backport of c8debd50617142937191986aec77a5eee472c28e from master
2019-11-06 08:38:17 +01:00
Jon Dufresne
85cddb6abb [3.0.x] Fixed #30944 -- Changed reusable apps docs to use a declarative config.
Backport of 89368ab6e358ebe29a0417d65209182238daa245 from master
2019-11-05 15:01:42 +01:00
kola-er
a5b4a909f0 [3.0.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.

Backport of d94d7b113c21d7a0fd802fadb1adbbec8155e880 from master
2019-11-05 14:52:31 +01:00
Alasdair Nicol
78fc05303a [3.0.x] Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs.
Backport of b991eefd3a9fa4da4eb46fddcb36cf1e8b5862e9 from master
2019-11-05 12:42:04 +01:00
Mariusz Felisiak
2cf5df1204 [3.0.x] Fixed DatabaseFeatures.has_select_for_update_nowait on MariaDB 10.3+.
Thanks Kola Erinoso for the report.
Backport of a20ea33ca66bafd38bfce1a73221384b8aa37170 from master
2019-11-05 10:19:23 +01:00
Mariusz Felisiak
2000ed5180 [3.0.x] Refs #30947 -- Changed tuples to lists in model Meta options examples in docs.
Follow up to 97d3321e89c8d4434927bdbc308db1ccffa99d3b.

Backport of e5cacb1f47cb3a2943bbc7685a630c84503b0d1b from master
2019-11-05 08:40:17 +01:00
bedilbek
1761d598fd [3.0.x] Added Uzbek locale formats.
Backport of 09a00c60bddc0d811bfcdd054c706ea41243aeb5 from master
2019-11-04 15:19:02 +01:00
Claude Paroz
48c263df29 [3.0.x] Added Uzbek language.
Backport of 6ccb1b68bc22e4edc1562f0159e71631d6a256d9 from master
2019-11-04 15:18:53 +01:00
Adam Johnson
b40272f5ea [3.0.x] Updated list of field types conversions in ModelForm docs.
Backport of 5a856669bf0574f612eea89e72a6b0a3d2cb80d9 from master
2019-11-04 11:03:58 +01:00
Mariusz Felisiak
810dd8ad8d [3.0.x] Added release dates for 2.2.7, 2.1.14, and 1.11.26.
Backport of 126cfefce2b59900138f2bf1ef6ad966cddc55d4 from master
2019-11-04 08:26:18 +01:00
Carlton Gibson
dd2ca8b0ea [3.0.x] Fixed #30931 -- Restored ability to override Model.get_FIELD_display().
Thanks Sergey Fedoseev for the implementation idea.

Regression in a68ea231012434b522ce45c513d84add516afa60.

Backport of 2d38eb0ab9f78d68c083a5b78b1eca39027b279a from master
2019-11-04 08:15:03 +01:00
Gil Forcada Codinachs
0644b73e85 [3.0.x] Fixed typo in docs/ref/signals.txt.
Backport of 632d7bbd3dff1614cf7936dae733278149930f5b from master
2019-10-30 16:53:10 +01:00
Mariusz Felisiak
453074bc1f [3.0.x] Corrected error message in Many-to-many relationships docs.
Backport of a370dbd9543703677697e80701b5dbec8c8e7da7 from master
2019-10-30 16:17:54 +01:00
André Ericson
3c5f8313c2 [3.0.x] Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage().
Backport of 54a7b021125d23a248e70ba17bf8b10bc8619234 from master
2019-10-30 13:52:57 +01:00
Ken Whitesell
574f238582 [3.0.x] Fixed #30917 -- Clarified formsets topic documentation.
Backport of 4c762588ff6748a9a9bad111894fd418c43b74a9 from master
2019-10-30 09:01:14 +01:00
Hasan Ramezani
4037b4c2b5 [3.0.x] Fixed #13750 -- Clarified need to reopen models.ImageField.image file to access raw image data.
Backport of f57e174fa61e4c31213f6d0033fb9d647b463626 from master
2019-10-29 16:09:41 +01:00
Mariusz Felisiak
e5d3f3b83c [3.0.x] Fixed typo in docs/topics/files.txt.
Backport of bf7b3e2750e3392d112b34e076ee1a77c8adbe77 from master
2019-10-29 16:09:30 +01:00
Adam Johnson
c5ccd20865 [3.0.x] Documented the order in which signal receivers are called.
Backport of ab0fd3f58f751859cc7c5260decf0acca26513bf from master
2019-10-28 13:31:48 +01:00
Mariusz Felisiak
76964cce20 [3.0.x] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
Backport of daa9415f78279855808134e1f40766f6c5f4bdbc from master
2019-10-25 11:22:59 +02:00
Carlton Gibson
8740ff334a [3.0.x] Fixed #30902 -- Added __str__() for model choice enums.
Allows expected behavior when cast to str, also matching behaviour of
created instances with those fetched from the DB.

Thanks to Simon Charette, Nick Pope, and Shai Berger for reviews.

Backport of dbcd7b064e7278614f29fc45468d461e263d4da7 from master
2019-10-25 09:38:41 +02:00
Saad
495cdd6add [3.0.x] Fixed #30904 -- Doc'd caveat about using filtered queryset with select_for_update() on MySQL.
Backport of fc2b1cc926e34041953738e58fa6ad3053059b22 from master
2019-10-25 09:00:20 +02:00
Hasan Ramezani
6df42e6187 [3.0.x] Fixed #30906 -- Fixed an example of using the template system to generate CSV.
Backport of 05c3ef26a203de1bc227e31b88999ff2e3b11abf from master
2019-10-25 08:12:15 +02:00
Bastien Vallet
2c397f35ed [3.0.x] Refs #29926 -- Added Python 3.8 to classifiers and tox.ini.
Backport of 37f02c47f8eb4d6e7b3c22401dba57b00780dc5d from master
2019-10-24 13:09:56 +02:00
Carlton Gibson
06e3c6db86 [3.0.x] Fixed #30900 -- Skipped async-related tests on Windows using Python 3.8.0.
Refs https://bugs.python.org/issue38563.
Backport of e83c300a3312995d46315616f4361dfa110c741b from master
2019-10-24 10:43:37 +02:00
Hannes Ljungberg
318d186d7e [3.0.x] Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with opclasses and ordering.
Backport of fa5f3291e7f2611d53e64ab481ebe951b0161791 from master
2019-10-24 09:51:33 +02:00
Mariusz Felisiak
b3e8dafe06 [3.0.x] Added tblib to the list of test suite dependencies in documentation.
Backport of 2a54ce72f95977fefe796e99c7bbf6cd366927f9 from master
2019-10-23 15:27:02 +02:00
Mariusz Felisiak
517d31516a [3.0.x] Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.
Backport of 25903e41fb45ce9cc80dc93bf4b51ea431dcb2b6 from master
2019-10-23 15:26:54 +02:00
Mariusz Felisiak
753a34b42a [3.0.x] Refs #29926 -- Skipped RemoteTestResultTest.test_add_failing_subtests() on Python 3.8+ and tblib <= 1.4.0.
Backport of 2847d2c760438195c4c71ea9d3fded1ce116ea4e from master
2019-10-22 15:34:44 +02:00
Antonio Dudarev
213a39b4df [3.0.x] Refs #13724 -- Corrected QuerySet signature in docs.
Backport of 6c23b43655f3710cfb1ecc57236405d11a544247 from master
2019-10-22 14:24:10 +02:00
Mariusz Felisiak
336c9cb7f4 [3.0.x] Fixed #30562 -- Doc'd MariaDB support for GIS spatial lookups.
Backport of 1c5ec221a44fc9ce1585fc1f94830957df4322e7 from master
2019-10-16 16:34:47 +02:00
Mariusz Felisiak
8047961d7c [3.0.x] Refs #28436 -- Corrected docs regarding MySQL support of distance lookups.
Backport of 440603a4bc0dc4f0b489489e80dcbab0ca736d23 from master
2019-10-16 14:40:16 +02:00
Mariusz Felisiak
76e159e2c3 [3.0.x] Refs #22423 -- Corrected crosses lookup support on MySQL in documentation.
Support was added in 15715bf.
Backport of 5becb36a79a0c31c7cc9e76237239ebd0fdda18d from master
2019-10-16 13:57:04 +02:00
Mariusz Felisiak
74c5ddc657 [3.0.x] Refs #27910 -- Added __init__.py file for model_enums tests.
Backport of 1877ec18753947795b7821f8b9176bd7ea7c03a3 from master
2019-10-15 21:28:17 +02:00
Carlton Gibson
aba6fef430 [3.0.x] Moved "Sign the CLA" to the bottom of New Contributor First Steps.
As discussed on the mailing list, step 1 of First Steps shouldn't be
"Find a printer".

https://groups.google.com/d/topic/django-developers/owOqFmxufgs/discussion
Backport of adfd920cc5f932b9cabc8061563088016a8dfe13 from master
2019-10-15 14:11:11 +02:00
Ad Timmering
18631226da [3.0.x] Fixed #30816 -- Doc'd how to create projects with a local copy of Django.
Backport of dee687e93a2d45e9fac404be2098cc4707d31c1f from master
2019-10-15 12:54:44 +02:00
Graham Healy
9adb80efee [3.0.x] Fixed #30808 -- Added the Django Forum to contributing index.
Backport of 90abdba08657db397f1887b94ec1ebdc32783379 from master
2019-10-15 09:08:08 +02:00
Simon Charette
8d196e6fea [3.0.x] Refs #26207 -- Removed obsolete note about slow constructing a model with deferred fields.
This is not true since 7f51876 removed the necessity of creating
proxy model classes at runtime for each deferred field sets.
Backport of 35396a7f243eceec42cc90725ab573a7d9ac3b4c from master
2019-10-14 12:53:03 +02:00
Mariusz Felisiak
e17e19cfa4 [3.0.x] Bumped version for 3.0 beta 1. 2019-10-14 12:00:20 +02:00
Mariusz Felisiak
bf8c562209 [3.0.x] Updated man page for Django 3.0 beta. 2019-10-14 11:55:27 +02:00
Mariusz Felisiak
4a756cbc38 [3.0.x] Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan.
Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the
report.

Backport of 06d34aab7cfb1632a1538a243db81f24498525ff from master
2019-10-14 11:43:15 +02:00
Mariusz Felisiak
4a263af64e [3.0.x] Isolated migrations.test_commands.MigrateTests.test_migrate_plan.
Backport of 05186c03a30686f4898c1cb9acf4b8613035afcc from master
2019-10-14 11:43:06 +02:00
Simon Charette
bab3ad54ff [3.0.x] Fixed #30868 -- Prevented unnecessary AlterField when renaming a referenced pk.
Regression introduced by dcdd219ee1, refs #25817.

Thanks Carlos E. C. Leite for the report and Mariusz for the bisect.

Backport of 2839659b42ef80038152768b6cedae1016c59d90 from master
2019-10-14 08:27:36 +02:00
René Fleschenberg
e0a869b208 [3.0.x] Clarified that SECURE_REDIRECT_EXEMPT patterns should not include leading slashes.
Backport of d232fd76a85870daf345fd8f8d617fe7802ae194 from master
2019-10-11 16:07:05 +02:00
Etienne Chové
651299e1ef [3.0.x] Fixed #30014 -- Fixed ModelChoiceField validation when initial value is a model instance.
Thanks Carlton Gibson for reviews.

Backport of e7cdb0cd7eb5eb677af8dae7bfc6845186f861b0 from master
2019-10-11 14:33:32 +02:00
Etienne Chové
82ba905db3 [3.0.x] Added ModelChoiceField test for validation with to_field_name.
Backport of a12f9cd95a24573612daaf844ec97d4aed12446d from master
2019-10-11 14:33:16 +02:00
Louise Grandjonc
cf7ef5d258 [3.0.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:51:14 +02:00
Hasan Ramezani
c1cfec6b50 [3.0.x] Fixed #30854 -- Fixed QuerySet.select_related() with multiple FilteredRelations.
Backport of 6a75cea76a98c08bf2e20d787be9b14c2cd94860 from master.
2019-10-11 09:18:23 +02:00
Mariusz Felisiak
0dede9e981 [3.0.x] Fixed typos in docs/releases/3.0.txt.
Backport of 2a6f45e08e8cb8c7e5157915c378b453109424d2 from master
2019-10-10 14:25:41 +02:00
Kees Hink
fffce1ac4c [3.0.x] Fixed #27086 -- Doc'd fix for test suite hang on macOS.
Backport of 5d9cf79baf07fc4aed7ad1b06990532a65378155 from master
2019-10-09 15:49:19 +02:00
Carlton Gibson
6801166a30 [3.0.x] Added note to check Python version in unit tests troubleshooting section.
At DjangoCon US 2019 sprints, a number of contributors hit problems with an outdated Python.

Backport of 06e087c3ded703b334a4d7c74a882212774253bc from master
2019-10-09 15:49:09 +02:00
Carlton Gibson
7ded25d713 [3.0.x] Corrected section indentation in unit tests contributor docs.
Backport of b39c39e82ae12ca92686ee97a7be2958ee667e5c from master
2019-10-09 15:48:58 +02:00
Mac Chapman
56061decff [3.0.x] Fixed #11097 -- Added note about parent link fields in formsets for multi-table inheritance models.
Backport of 0b7378db1fdd7bfc7b78089811b3abb722c4ba95 from master
2019-10-09 12:54:45 +02:00
Carlton Gibson
71489a522a [3.0.x] Fixed #30858 -- Clarified that AdminEmailHandler processes all 5xx responses.
Backport of 94eae4e5633fbf21f5dcae6e0472ce6a51dd3411 from master
2019-10-09 10:16:03 +02:00
Caio Ariede
7d8d2b56be [3.0.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
Backport of dafdfd6a60638c4edcca7c4e65d11c0af654d759 from master
2019-10-08 12:32:25 +02:00
Hasan Ramezani
7c70aa8f63 [3.0.x] Fixed #30839 -- Fixed Field.__deepcopy__() so forms don't share error messages.
Backport of a28d1b38e55cf588cfaae97de6a575d5c9f90a96 from master
2019-10-08 10:28:30 +02:00
Caio Ariede
282138a7bb [3.0.x] Fixed #28273 -- Doc'd fast nullable column creation with defaults.
Backport of 06909fe084f87a65459a83bd69d7cdbe4fce9a7c from master
2019-10-07 14:37:16 +02:00
Tamer Sherif
3ea957b543 [3.0.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
Backport of e3f647f4d5fc414f8cb7ab58df5e61a19908c63f from master
2019-10-07 11:10:38 +02:00
Katie McLaughlin
4917b53e50 [3.0.x] Made minor edits and small fixes to docs/faq/install.txt.
Backport of f52022ad96356d4b1061610f2b74ea4d1956a608 from master
2019-10-04 11:38:50 +02:00
Katie McLaughlin
717d845737 [3.0.x] Fixed #30834 -- Added explicit list of supported databases to the databases docs.
Backport of 9dca904a5bf37ee9ad015212b17a9929ab8952cd from master
2019-10-03 19:48:45 +02:00
Hasan Ramezani
30271a47da [3.0.x] Refs #27914 -- Fixed serialization of nested enum.Enum classes in migrations.
Backport of 6452112640081ac8838147a8ba192c45879203d8 from master
2019-10-03 11:17:10 +02:00
Hasan Ramezani
1a4db2cc28 [3.0.x] Refs #27914 -- Moved test enum.Enum subclasses outside of WriterTests.test_serialize_enums().
Backport of d3030deaaa50b7814e34ef1e71f2afaf97c6bec6 from master
2019-10-03 11:17:04 +02:00
Mar Sánchez
9fa6c737df [3.0.x] Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.
Backport of f1d4a540b29c6766b988852bc302ac036a2d82e2 from master
2019-10-02 14:59:04 +02:00
Katherine Michel
b6da3192c0 [3.0.x] Refs #30010 -- Doc'd running tests with django-docker-box.
Backport of f7eb9fb676d7afba16fc577283610b359718e644 from master
2019-10-02 14:00:48 +02:00
Carlton Gibson
b0b98fcacf [3.0.x] Refs #28699 -- Clarified CSRF middleware ordering in relation to RemoteUserMiddleware.
Backport of 94469504706b494877b6bb45a979bcb81c7fd7be from master
2019-10-02 13:11:33 +02:00
Sjbrgsn
516200c09e [3.0.x] Fixed #30817 -- Clarified return value of Sitemap.items().
Backport of 7b3c06cd72e691ffd932ccce338701c37297a415 from master
2019-10-02 12:16:48 +02:00
Mariusz Felisiak
2624653bef [3.0.x] Added stub release notes for 1.11.26 and 2.1.14.
Backport of 84322a29ce9b0940335f8ab3d60e55192bef1e50 from master
2019-10-02 07:55:19 +02:00
Mariusz Felisiak
40efffafd9 [3.0.x] Fixed typo in BulkInsertMapper constant name.
Backport of 67e7dffe9543aff259f63c8f12d15642fe7be100 from master
2019-10-01 14:59:27 +02:00
Ahmet Kucuk
9dc13f41b5 [3.0.x] Fixed #30510 -- Fixed crash of QuerySet.bulk_create() with mixed-length texts on Oracle.
Text with more than 4000 characters must be set to as a CLOB on Oracle
what caused a mixed datatype error (ORA-01790) when shorter text
appeared in the same operation.

Backport of dc890bef5ad8e9fccce55f3e64af72103ea6e8c1 from master
2019-10-01 13:11:19 +02:00
Carlton Gibson
a135e1e16e [3.0.x] Added stub release notes for 2.2.7.
Backport of e1c1eaf0c6f4d3d2f60513d20aa9b84b17d096ec from master
2019-10-01 10:44:49 +02:00
Carlton Gibson
848abaab62 [3.0.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
Backport of 3826aed46d7d4310c2ab6777a4f92165ca4d8d4f from master
2019-10-01 08:50:43 +02:00
Ad Timmering
556d0c08bd [3.0.x] Fixed #28690 -- Fixed handling of two-digit years in parse_http_date().
Due to RFC7231 ayear that appears to be more than 50 years in the
future are interpreted as representing the past.

Backport of 7b5f8acb9e6395a1660dd7bfeb365866ca8ef47c from master
2019-09-30 15:39:36 +02:00
Ad Timmering
f38655ed1c [3.0.x] Refs #28690 -- Added more tests for parse_http_date().
Backport of 7cbd25a06e820cbd1a0bfbc339fb7d9a737c54fa from master
2019-09-30 15:39:28 +02:00
Hasan Ramezani
df0c2ac358 [3.0.x] Fixed #30774 -- Made serialization in migrations use members names for Enums.
Backport of f0adf3b9b7a19cdee05368ff0c0c2d087f011180 from master
2019-09-30 10:52:30 +02:00
David Vaz
30a613aff3 [3.0.x] Doc'd that migrate commmand accepts a unique migration name prefix.
Backport of e02f67ef2d03d48128e7a118bf75f0418e24e8ac from master
2019-09-30 09:47:29 +02:00
pablo
5d63bf0bc3 [3.0.x] Fixed #30802 -- Prevented manifest creation when running collectstatic in dry run mode.
Backport of fa8fe09e4e2b538c5d50a559081861d5c0635d55 from master
2019-09-27 23:06:55 +02:00
David Vaz
0c655f1df2 [3.0.x] Fixed #30597 -- Clarified how to unapply migrations.
Backport of 45554fd5c5c6a536db3ce70d78646d3dc398cf08 from master
2019-09-27 22:40:29 +02:00
David Vaz
5d40de0856 [3.0.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Backport of abba563c8635a52e8b657dee7708202e1f69433c from master
2019-09-27 20:09:28 +02:00
Hasan Ramezani
0dc39ca867 [3.0.x] Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields.
Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.

Backport of 95a11578ce41de1e152fe7d173f109e280aebd6d from master
2019-09-27 14:52:08 +02:00
Hasan Ramezani
da8f85aa82 [3.0.x] Refs #30798 -- Prevented chaining fields from the same related model multiple times in model Meta.ordering.
Backport of c7944628a1979453468d67818c63957532d396d8 from master
2019-09-27 14:52:02 +02:00
Glenn
311177d5d1 [3.0.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
Backport of c2678e49759e5c4c329bff0eeca2886267005d21 from master
2019-09-27 09:56:06 +02:00
Pablo García
49dcb5d3ba [3.0.x] Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
client_timeout is an instance attribute.

Backport of 2fd610eb301dc01e100befed891e8007fd2e981f from master
2019-09-27 08:35:55 +02:00
Mariusz Felisiak
1adf85d168 [3.0.x] Fixed #30800 -- Fixed migrations crash when altering a field with custom db_type().
Regression in 1378d665a1c85897d951f2ca9618b848fdbba2e7.
Backport of 580e644f24f1c5ae5b94784fb73a9953a178fd26 from master
2019-09-25 12:32:57 +02:00
Adam Johnson
f4b7acedbf [3.0.x] Documented admonition on when to use custom signals
Thanks Cesar Canassa for the suggestion and Aymeric Augustin for review.
Backport of 566fca14b3e1406f918898de5bb2b2382a44edaf from master
2019-09-25 10:39:55 +01:00
Mariusz Felisiak
fcaaff9862 [3.0.x] Refs #27910 -- Doc'd support for enumeration types serialization in migrations.
Backport of aad46ee274b0e294ac055cc199e6595de4ef4164 from master
2019-09-24 13:55:19 +02:00
Mariusz Felisiak
0098f26fdd [3.0.x] Refs #30350 -- Doc'd support for range serialization in migrations.
Backport of bc46e386c7aa496642d3ffc9e4f56ae5a46417a7 from master
2019-09-24 13:55:12 +02:00
Ryan Nowakowski
525c7e2afe [3.0.x] Updated the default cache key transformation in documentation.
Follow up to 6c69de80bdcd2744bc64cb933c2d863dd5e74a33.
Backport of 3f141719a198983a41840e3c2ea542f87c92e4c1 from master
2019-09-24 12:43:17 +02:00
Claude Paroz
1319124aa9 [3.0.x] Refs #26601 -- Used new-style middlewares in documentation.
Backport of d71497bb249a2c3ffec41e99089f5ae8e575f2d3 from master
2019-09-24 09:59:06 +02:00
Simon Charette
6b7bd079a6 [3.0.x] Fixed #30796 -- Prevented select_related() from mutating a queryset on chaining.
Thanks Darren Maki for the report.

Backport of 37f8f293775d0b672da8ae369d9a4e17f1db7851 from master
2019-09-24 09:47:21 +02:00
Jezeniel Zapanta
9510af35fc [3.0.x] Fixed #30732 -- Doc'd that SameSite cookies flags can affect xframe_options_exempt.
Backport of e8ad265ac882f8f118d2c4a7618bd3e3916fc13e from master
2019-09-24 08:43:55 +02:00
Hasan Ramezani
2362f27265 [3.0.x] Fixed #13296 -- Fixed ordering by Options.order_with_respect_to after deleting objects.
Thanks Simon Meers for the original patch.

Backport of f97bbad908df128189eff77d98af9a25ed1ecf23 from master
2019-09-23 11:45:33 +02:00
Mariusz Felisiak
368832e803 [3.0.x] Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
Backport of 343afa788080fb874bcd10eab1a1a2fede98c526 from master
2019-09-23 08:44:15 +02:00
Mariusz Felisiak
1611906094
[3.0.x] Refs #30771 -- Fixed RemovedInDjango31Warning in test_exact_query_rhs_with_selected_columns. 2019-09-20 22:01:28 +02:00
James Timmins
3697ddbf75 [3.0.x] Fixed #30771 -- Fixed exact lookup against queries with selected columns.
Use pre-existing select fields (and thereby GROUP BY fields) from
subquery if they were specified, instead of always defaulting to pk.

Thanks Aur Saraf for the report and Simon Charette for guidance.

Backport of 0719edcd5fed56157ffb3323a8f634aa5e8f9a80 from master
2019-09-20 11:14:39 +02:00
Andrew
def1857d9b [3.0.x] Fixed #30786 -- Used CONVERT_TZ to check if the time zone definitions are installed on MySQL.
Replaced a timezone check in the MySQL backend with one that doesn't
require access to the mysql.time_zone database.

Backport of 3346b78a8a872286a245d1e77ef4718fc5e6be1a from master
2019-09-20 08:57:13 +02:00
Carlton Gibson
e4dc1b8cac [3.0.x] Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers for add() and remove().
Thank you to Mariusz Felisiak for review.

Backport of bae05bcf68710cb6dafa51325c3ec83ddda83c39 from master
2019-09-19 11:40:47 +02:00
Sam Reynolds
e74ca0226a [3.0.x] Fixed #30776 -- Restored max length validation on AuthenticationForm.UsernameField.
Regression in 5ceaf14686ce626404afb6a5fbd3d8286410bf13.

Thanks gopackgo90 for the report and Mariusz Felisiak for tests.

Backport of 6c9778a58e4f680db180d4cc9dc5639d2ec1b40c from master
2019-09-18 12:04:47 +02:00
Min ho Kim
6c761a25fb [3.0.x] Fixed #30725 -- Fixed width of DateTimeField inputs in admin tabular inline.
"width" of DateTimeField inputs in admin tabular inline wasn't set
correctly what caused displaying too small inputs with responsive CSS
when timezone warning wasn't present.
Backport of b1d6b35e146aea83b171c1b921178bbaae2795ed from master
2019-09-17 14:34:14 +02:00
Nasir Hussain
685d956764 [3.0.x] Fixed #30758 -- Made RangeFields use multiple hidden inputs for initial data.
Backport of faf4b988fe75dd4045bc5c62496cc4f2e0db8c4d from master.
2019-09-17 12:21:02 +02:00
Katie McLaughlin
14125bb039 [3.0.x] Fixed #30775 -- Added admonition about missing imports to "Running tests" section in tutorial 5.
Backport of 44077985f58be02214a11ffde35776fed3c960e1 from master
2019-09-16 10:03:51 +02:00
Simon Charette
574154ef56 [3.0.x] Fixed #30769 -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.
This was a regression introduced by 7deeabc7c7526786df6894429ce89a9c4b614086
to address CVE-2019-14234.

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

Backport of 6c3dfba89215fc56fc27ef61829a6fff88be4abb from master
2019-09-16 08:53:02 +02:00
Mariusz Felisiak
7bd28727ad [3.0.x] Added stub release notes for 1.11.25 and 2.1.13.
Backport of bd7e0f81f8590eadcb820c976ba03c9b75bbcad6 from master
2019-09-16 07:43:27 +02:00
Claude Paroz
c2057205d9 [3.0.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
Backport of b8dff52f440adfb78b40e19ee8bff45373ca2501 from master
2019-09-14 17:23:08 +02:00
Ben Falk
e0bb9092d1 [3.0.x] Fixed typos in docs/ref/settings.txt.
Backport of 4056558a1c9cf650ab6e7cb1a319206d2e8c770f from master
2019-09-13 20:37:22 +02:00
Nick Pope
4d72c14baf [3.0.x] Refs #27910 -- Improved documentation for model field choice enumeration types.
Backport of 1c66767d4e472fea27798812817b8a47c6ae22b3 from master
2019-09-13 15:38:27 +02:00
Carlton Gibson
1fa629cd8f [3.0.x] Added PBKDF2 hasher iteration increase to 3.0 release notes.
Refs 06670015f7e55a8be8137dbd95b7f4c536c3782b

Backport of ea25bdc2b94466bb1563000bf81628dea4d80612 from master
2019-09-12 17:25:39 +02:00
Carlton Gibson
51095d7341 [3.0.x] Expanded notes on alphas in release How-to.
Backport of 4b63d45d5437c71cc7958e4848eed03391de9f41 from master
2019-09-12 10:37:24 +02:00
Mariusz Felisiak
8ce932a20a [3.0.x] Refs #30591 -- Fixed too long identifier crash in migrations.test_operations on MySQL 8.0.16+.
Backport of 937ddaff55efbfb4a9560603bbc8c5b17d9e1364 from master
2019-09-11 12:20:51 +02:00
Adnan Umer
acb11725f8 [3.0.x] Fixed #30591 -- Fixed recreation of foreign key constraints on MySQL when altering type of referenced unique field.
Thanks Mariusz Felisiak for tests and Matthijs Kooijman for
investigation and initial patch.

Backport of 241deed2590bcb1d8c45271d44c86eaedfb57119 from master
2019-09-11 11:43:55 +02:00
Carlton Gibson
1520df3f57 [3.0.x] Bumped version for 3.0 alpha 1 release. 2019-09-10 10:36:15 +02:00
Carlton Gibson
24de7501cc [3.0.x] Bumped next Django version in docs config. 2019-09-10 10:34:38 +02:00
Carlton Gibson
513f137cfd Updated man page for 3.0 alpha release. 2019-09-10 10:10:50 +02:00
Simon Charette
34decdebf1 Fixed #30754 -- Prevented inclusion of aliases in partial index conditions.
SQLite doesn't repoint table aliases in partial index conditions on table
rename which breaks the documented table alteration procedure.

Thanks Pēteris Caune for the report.
2019-09-10 10:03:16 +02:00
Carlton Gibson
a624803514 Finalised release notes for 3.0 alpha release.
* Removed empty sections
* Corrected some typos and wrapping errors.
2019-09-10 09:58:42 +02:00
Vojtech Bocek
b1d37fea8f Fixed #28107 -- Added DatabaseFeatures.allows_group_by_selected_pks_on_model() to allow enabling optimization for unmanaged models. 2019-09-09 14:04:46 +02:00
Vojtech Bocek
10d5e439e9 Refs #28107 -- Doc'd how to subclass an existing database engine. 2019-09-09 14:04:41 +02:00
Nick Pope
406dba04e1 Fixed #29406 -- Added support for Referrer-Policy header.
Thanks to James Bennett for the initial implementation.
2019-09-09 13:35:41 +02:00
Nick Pope
1edbb6c194 Refs #30426 -- Moved release notes into separate security section. 2019-09-09 13:35:31 +02:00
Nick Pope
fc62e16291 Standardized links for headers in security middleware documentation. 2019-09-09 13:35:17 +02:00
Johannes Hoppe
7254f1138d Refs #29444 -- Allowed returning multiple fields from INSERT statements on PostgreSQL.
Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and
Mariusz Felisiak for reviews.
2019-09-09 10:51:14 +02:00
Johannes Hoppe
736e7d44de Refs #29444 -- Fixed DateField constructor in db.backends.oracle.utils.InsertVar. 2019-09-09 10:51:07 +02:00
Nick Pope
b6251956b6 Fixed #30757 -- Added a system check to ensure max_length fits the longest choice. 2019-09-09 10:28:18 +02:00
Katie McLaughlin
fee75d2aed Fixed #30767 -- Improved references to deployment documentation.
* Increased tocdepth to expose more complexity of topics.
* Ensured deployment checklist is linked on main doc page.
2019-09-09 10:02:33 +02:00
Claude Paroz
05d0eca635 Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY. 2019-09-09 08:15:26 +02:00
Claude Paroz
5495ea3ae0 Updated translation catalogs 2019-09-08 17:35:32 +02:00
Tobias Kunze
4a954cfd11 Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:

- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous

Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review.
2019-09-06 13:27:46 +02:00
Mariusz Felisiak
addabc492b
Fixed DatabaseFeatures.can_introspect_check_constraints on MariaDB < 10.2.22, 10.3.0 - 10.3.9.
Regression in e2c6a0858d7d9ad85eda353076a5b46608b704a9.
2019-09-06 11:53:54 +02:00
Hasan Ramezani
6c379f1a18 Fixed #30763 -- Fixed management commands when using required mutually exclusive groups. 2019-09-06 10:55:24 +02:00
Mariusz Felisiak
350123f38c
Moved release note for refs #30158 from deprecated to backwards incompatible changes. 2019-09-05 15:56:52 +02:00
Mariusz Felisiak
053ff7e9e6 Fixed typo in docs/internals/contributing/writing-documentation.txt. 2019-09-05 14:06:46 +02:00
Carlton Gibson
ed2d411aa8 Refs #30573 -- Noted to avoid "simple" & co. in Writing Style guide.
Co-authored-by: Tobias Kunze <r@rixx.de>
2019-09-05 10:13:31 +02:00
Mariusz Felisiak
e2c6a0858d Fixed #30750 -- Added support for check constraints on MySQL 8.0.16+. 2019-09-05 09:18:34 +02:00
Hasan Ramezani
b93d786251 Made SchemaTests.test_alter_db_table_case run only on backends where table names are case-insensitive. 2019-09-05 08:59:48 +02:00
Shai Berger
72ebe85a26 Fixed #27910 -- Added enumeration helpers for use in Field.choices.
These classes can serve as a base class for user enums, supporting
translatable human-readable names, or names automatically inferred
from the enum member name.

Additional properties make it easy to access the list of names, values
and display labels.

Thanks to the following for ideas and reviews:

Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger.

Co-authored-by: Shai Berger <shai@platonix.com>
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-09-04 14:42:49 +02:00
Nasir Hussain
25706d7285 Fixed #29714 -- Allowed using ExceptionReporter subclass with AdminEmailHandler. 2019-09-04 08:40:46 +02:00
Min ho Kim
3c6a4fdb6d Changed example git clone URLs to use HTTPS. 2019-09-04 08:11:22 +02:00
Mariusz Felisiak
0d4529d314 Added stub release notes for 2.2.6. 2019-09-04 08:02:32 +02:00
Viktor Lomakin
5931d2e96a Fixed #30691 -- Made migrations autodetector find dependencies for foreign keys altering. 2019-09-03 14:45:49 +02:00
Johannes Hoppe
003bb34b21 Refs #29444 -- Made db.backends.oracle.utils.InsertVar use str as default. 2019-09-03 10:34:55 +02:00
Carlton Gibson
4f61810751 Fixed #30747 -- Renamed is_safe_url() to url_has_allowed_host_and_scheme(). 2019-09-02 15:32:23 +02:00
Simon Charette
13a8884a08 Fixed #30739 -- Fixed exclusion of multi-valued lookup against outer rhs.
OuterRef right hand sides have to be nested, just like F rhs have to,
during the subquery pushdown split_exclude performs to ensure they are
resolved against the outer query aliases.
2019-09-02 10:52:36 +02:00
Simon Charette
600628f8f0 Refs #28442 -- Adjusted related lookups handling of expression rhs.
Expressions should never be prepared as other Lookup.get_prep_lookup
implementations hint at by returning early on the presence of the
resolve_expression attribute.

The previous solution was only handling lookups against related fields
pointing at AutoFields and would break for foreign keys to other fields.

It was also causing bidirectional coupling between model fields and
expressions which the method level import of OuterRef was a symptom of.
2019-09-02 10:52:36 +02:00
Nick Pope
999891bd80 Refs #29379 -- Moved autocomplete attribute to UsernameField.
Moving the autocomplete attribute into UsernameField allows this to work
for custom forms making use of UsernameField, removes some duplication
in the code, and keeps consistency with the autocapitalize attribute
that is already defined on UsernameField.
2019-09-02 10:50:56 +02:00
Mariusz Felisiak
47f49adc11 Added release dates for 2.2.5, 2.1.12, and 1.11.24. 2019-09-02 07:43:51 +02:00
Daria Kolodzey
3f8ee58ccc Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
Thanks Emmanuel Cazenave for the report.
2019-08-31 10:58:40 +02:00
Mariusz Felisiak
6201141b2c Refs #30736 -- Added missing versionadded annotations for Storage.get_alternative_name().
Thanks Simon Charette for the report.
2019-08-31 07:19:19 +02:00
Alan Crosswell
03fa846c6a Fixed #30731 -- Fixed handling trailing groups in simplify_regex().
Previously simplify_regex() didn't handle trailing groups for regexp
without the end of string character ("$").
2019-08-30 12:43:39 +02:00
yukihira1992
0545781764 Fixed #30736 -- Added Storage.get_alternative_name() to allow customization. 2019-08-30 11:32:19 +02:00
Berker Peksag
400ec5125e Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods.
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2019-08-29 19:32:12 +02:00
Carlton Gibson
fa7ffc6cb3 Removed unneeded * markers from parameter names. 2019-08-29 12:49:16 +02:00
daniel a rios
b5a5c92c72 Fixed #30066 -- Enabled super user creation without email and password 2019-08-29 12:49:16 +02:00
Carlton Gibson
57b9604451 Converted auth test to use subTest(). 2019-08-29 12:49:16 +02:00
Mariusz Felisiak
d275fd04f3
Refs #25367 -- Simplified OrderBy and Lookup by using Case() instead of RawSQL() on Oracle.
Follow up to efa1908f662c19038a944129c81462485c4a9fe8.
2019-08-29 11:56:12 +02:00
Matthew Schinckel
4137fc2efc Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude().
This allows using expressions that have an output_field that is a
BooleanField to be used directly in a queryset filters, or in the
When() clauses of a Case() expression.

Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and
Adam Johnson for reviews.

Co-Authored-By: NyanKiyoshi <hello@vanille.bid>
2019-08-29 09:45:29 +02:00
Mariusz Felisiak
069bee7c12
Used skipUnlessDBFeature instead of checking vendor in test_filtering_on_annotate_that_uses_q. 2019-08-29 09:40:34 +02:00
Mariusz Felisiak
c7f656435c
Added tests for raising an error when passing non-boolean expression to When(). 2019-08-29 09:29:46 +02:00
Jon Dufresne
a44d80f88e Adjusted subprocess.run() calls to use arg list, rather than string.
The Python docs recommend passing a sequence to subprocess.run() when
possible. Doing so allows for automatic escaping and quoting of
arguments.

https://docs.python.org/3/library/subprocess.html#frequently-used-arguments

> args is required for all calls and should be a string, or a sequence
> of program arguments. Providing a sequence of arguments is generally
> preferred, as it allows the module to take care of any required
> escaping and quoting of arguments (e.g. to permit spaces in file
> names).

Also removed `shell=True` where unnecessary.
2019-08-28 10:19:30 +02:00
Jon Dufresne
1e6b9e29e6 Refs #27795 -- Removed an unnecessary force_bytes() call in uri_to_iri().
The value returned from urllib.parse.quote() is always a string, so can
safely call .encode().
2019-08-28 09:20:46 +02:00
Andrew
29adcd215f Fixed #30733 -- Doc'd that datetime lookups require time zone definitions in the database.
Note was missing for date, year, iso_year, week, time, hour, minute,
and second lookups.
2019-08-28 08:42:55 +02:00
Matthew Schinckel
dba749917f Doc'd for_save argument of Expression.resolve_expression(). 2019-08-27 16:54:01 +02:00
Federico Jaramillo Martínez
8f6860863e Fixed #30722 -- Added default rate-limiting requests to admin's Select2 widget. 2019-08-27 13:47:36 +02:00
Andrew Brown
691def10a0 Fixed #30727 -- Made Subquery pickle without evaluating their QuerySet.
Subquery expression objects, when pickled, were evaluating the QuerySet
objects saved in its _constructor_args attribute.
2019-08-27 13:05:20 +02:00
Hasan Ramezani
03dbdfd9bb Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS. 2019-08-26 14:48:40 +02:00
Jon Dufresne
5dac63bb84 Refs #27804 -- Used subTest() in utils_tests/test_encoding.py. 2019-08-26 11:58:06 +02:00
Mariusz Felisiak
579909a13f
Refs #30591 -- Fixed introspection of check and unique column constraints on MariaDB.
Unnamed unique and check columns constraints have the same name as
a column. Ensure uniqueness by using custom names.

Thanks Adnan Umer for the report.
2019-08-26 09:15:37 +02:00
Jon Dufresne
d0861fcb2d Refs #23919 -- Replaced super(ASGIHandler, self) with super(). 2019-08-26 08:36:56 +02:00
Tim Gates
6b402b28b3 Fixed typo in tests/prefetch_related/tests.py comment. 2019-08-26 08:14:29 +02:00
Simon Charette
bb9e82f274 Fixed #29955 -- Added support for distance expression to the dwithin lookup.
This was missed when adding support to other distance lookups in
refs #25499.

Thanks Peter Bex for the report and Mariusz for testcases.
2019-08-23 21:28:28 +02:00
Mariusz Felisiak
92c72b68b7
Fixed broken OracleDbshellTests tests after 9386586f31b8a0bccf59a1bff647cd829d4e79aa. 2019-08-23 21:25:21 +02:00
Dulmandakh
06372a8d27 Fixed #30507 -- Updated admin's jQuery to 3.4.1. 2019-08-23 11:00:16 +02:00
Claude Paroz
9386586f31 Replaced subprocess commands by run() wherever possible. 2019-08-23 10:53:36 +02:00
Min ho Kim
7bd9633320 Fixed typos in test names and a comment. 2019-08-23 10:46:43 +02:00
Mariusz Felisiak
521308e575 Fixed #30715 -- Fixed crash of ArrayField lookups on ArrayAgg annotations over AutoField. 2019-08-23 10:43:08 +02:00
Mariusz Felisiak
b1f669406f Reduced code duplication in ArrayField's lookups. 2019-08-23 10:43:08 +02:00
Ali Mirlou
33b9b23bbb Fixed typo in docs/ref/applications.txt. 2019-08-23 08:48:26 +02:00
Carlton Gibson
5b4c6b58a0
Fixed #30064 -- Added form to validate admin search fields query input. 2019-08-22 14:09:49 +02:00
Nasir Hussain
6b16c91157 Fixed #30712 -- Allowed BLOB/TEXT defaults on MySQL 8.0.13+. 2019-08-22 12:23:10 +02:00
Kshithij Iyer
5e2e57a5a1 Added header to README.rst. 2019-08-22 09:20:58 +02:00
Mads Jensen
85ac838d9e Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently operations for PostgreSQL.
Thanks to Simon Charettes for review.

Co-Authored-By: Daniel Tao <daniel.tao@gmail.com>
2019-08-21 13:10:06 +02:00
François Freitag
9a88e43aeb Fixed broken links and redirects in documentation.
Removed reference to custom builds, feature removed in
8e6b3bba99.
2019-08-21 10:57:24 +02:00
Harrison88
1e429df748 Fixed #30695 -- Used relative path in default_storage docs example. 2019-08-20 12:01:10 +02:00
Hasan Ramezani
22394bd3a1 Fixed #29667 -- Prohibited whitespaces in path() URLs. 2019-08-20 11:53:10 +02:00
Dan Swain
cece802dbb Corrected typo in search docs. (#11673) 2019-08-20 10:37:48 +02:00
Nick Pope
21e559495b Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin and refactored AutoFields.
This reduces duplication by allowing AutoField, BigAutoField and
SmallAutoField to inherit from IntegerField, BigIntegerField and
SmallIntegerField respectively. Doing so also allows for enabling the
max_length warning check and minimum/maximum value validation for auto
fields, as well as providing a mixin that can be used for other possible
future auto field types such as a theoretical UUIDAutoField.
2019-08-20 09:22:25 +02:00
Mads Jensen
b10d322c41 Moved migrations.test_operations.OperationTestBase to migrations.test_base.
Co-Authored-By: Daniel Tao <daniel.tao@gmail.com>
2019-08-19 16:06:14 +02:00
Hasan Ramezani
85458e94e3 Fixed #29260 -- Skipped an UPDATE when adding a model instance with primary key that has a default. 2019-08-19 13:28:35 +02:00
Maaz Bin Tahir Saeed
e9f74f53cc Fixed #30693 -- Removed separate import of os.path in django.core.management.templates. 2019-08-19 13:27:13 +02:00
Garry Polley
10528a81ed Removed outdated examples of flatpages served sites.
Removing the lawrence journal flat page examples because one is no longer a web page (404) and the other is no longer served by Django: https://www.reddit.com/r/django/comments/8v0fpb/the_lawrence_journalworld_where_django_was/
2019-08-19 12:27:10 +02:00
Mariusz Felisiak
49aeabbf27
Fixed broken links and redirects to OGR library in docs. 2019-08-19 11:43:06 +02:00
bcye
ac34fccdb9 Fixed broken links to Dive Into Python 3 book. 2019-08-19 07:03:43 +02:00
Claude Paroz
d1c2e6dd04 Refs #28428 -- Made FileField.upload_to support pathlib.Path. 2019-08-18 20:34:58 +02:00
Claude Paroz
af69842dbd Refs #28428 -- Added test for a callable FileField.upload_to that returns pathlib.Path. 2019-08-18 20:34:54 +02:00
Claude Paroz
0468159763 Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True. 2019-08-18 13:17:49 +02:00
Simon Charette
8b4a43dda7 Fixed #29545 -- Fixed using filter lookups againts nested subquery expressions.
Made sql.Where resolve lhs of its child nodes. This is necessary to
allow filter lookups against nested subquery expressions to properly
resolve their OuterRefs to Cols.

Thanks Oskar Persson for the simplified test case.
2019-08-17 11:24:35 +02:00
Claude Paroz
7203efb799 Fixed #30694 -- Documented FileResponse does not seek its file source. 2019-08-17 09:20:36 +02:00
Adnan Umer
6805c0f99f Fixed #30701 -- Updated patch_vary_headers() to handle an asterisk according to RFC 7231. 2019-08-16 15:25:42 +02:00
Adam Johnson
7da6a28a44 Fixed #27676 -- Allowed BLOB/TEXT defaults on MariaDB 10.2.1+. 2019-08-16 11:39:37 +02:00
Andrew Brown
8a281aa7fe Fixed #30687 -- Fixed using of OuterRef() expressions in distance lookups. 2019-08-16 06:50:33 +02:00
zeyneloz
8289fc55ff Refs #30449 -- Made RelatedOnlyFieldListFilter respect ModelAdmin.ordering. 2019-08-15 10:29:10 +02:00
zeyneloz
00035672a4 Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to respect model's Meta.ordering.
Regression in 6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b.

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-08-15 10:29:05 +02:00
Mariusz Felisiak
1f8382d34d
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.
2019-08-14 15:25:35 +02:00
Mads Jensen
0b8d911d28 Optimized Field.deconstruct() by using elif. 2019-08-14 10:50:31 +02:00
Claude Paroz
eed2e740f7 Fixed #30461 -- Made GeoIP2 and GEOIP_PATH setting accept pathlib.Path as library path.
Thanks Nikita Krokosh for the initial patch.
2019-08-13 19:44:10 +02:00
Claude Paroz
88c0b907e7 Refs #30461 -- Added django.utils._os.to_path(). 2019-08-13 17:17:39 +02:00
Mariusz Felisiak
c19ad2da4b
Fixed #30704 -- Fixed crash of JSONField nested key and index transforms on expressions with params.
Thanks Florian Apolloner for the report and helping with tests.
2019-08-13 08:42:17 +02:00
Simon Charette
efa1908f66 Refs #25367 -- Moved Oracle Exists() handling to contextual methods.
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in
the following cases.

1. When part of a SELECT clause.
2. When part of a ORDER BY clause.
3. When compared against another expression in the WHERE clause.

This commit moves the systematic CASE WHEN wrapping of Exists.as_oracle
to contextual .select_format, Lookup.as_oracle, and OrderBy.as_oracle
methods in order to avoid unnecessary wrapping.
2019-08-13 06:48:14 +02:00
Simon Charette
fff5186d32 Refs #25367 -- Moved select_format hook to BaseExpression.
This will expose an intermediary hook for expressions that need special
formatting when used in a SELECT clause.
2019-08-13 06:48:14 +02:00
Min ho Kim
4f7328ce8a Corrected multiple typos. 2019-08-12 12:53:36 +02:00
Min ho Kim
d7673d9eda Switched to use HTTP_X_FORWARDED_PROTO custom header in tests.
This is the conventional name: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto
2019-08-12 12:51:26 +02:00
Simon Charette
f7e9db14bb Refs #25367 -- Added test for Exists() lookup rhs. 2019-08-12 09:39:26 +02:00
Simon Charette
088a6fab1c Refs #24793 -- Removed bogus connection argument from SQLCompiler.compile() calls.
The method doesn't expect a connection object to be passed as its second
argument.
2019-08-12 07:47:55 +02:00
Simon Charette
8b3e1b6e9e Refs #11964 -- Made constraint support check respect required_db_features.
This will notably silence the warnings issued when running the test
suite on MySQL.
2019-08-12 06:44:37 +02:00
Simon Charette
2fb872e56f Refs #23879 -- Made introspection respect required_db_features. 2019-08-12 06:33:46 +02:00
swatantra
73ac9e3f04 Fixed #30677 -- Improved error message for urlencode() and Client when None is passed as data. 2019-08-11 20:15:23 +02:00
Akash Agrawal
c1b26c77a9 Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs.
Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.
2019-08-11 15:39:48 +02:00
Akash Agrawal
af08a54415 Fixed #30670 -- Doc'd SchemaEditor.add/remove_constraint(). 2019-08-11 03:26:44 +02:00
Ngalim Siregar
503f60ff57 Fixed #29008 -- Fixed crash of 404 debug page when URL path converter raises Http404. 2019-08-09 22:48:08 +02:00
Carlton Gibson
514efa3129 Fixed #30688 -- Clarified base_manager_name docs. 2019-08-09 10:08:06 +02:00
Jon Dufresne
5b57798513 Removed unnecessary StatAggregate.resolve_expression().
This method only calls the parent method, but without the for_save
argument. The parent class, Aggregate, already ignores the for_save
argument so there is no need for special handling.

Unnecessary since its introduction in e4cf8c8420634d6f2dc8ce873246256ce635972d.
2019-08-08 22:34:25 +02:00
Adnan Umer
8d3519071e Fixed #30673 -- Relaxed system check for db_table collision when database routers are installed by turning the error into a warning. 2019-08-08 21:14:06 +02:00
Min ho Kim
65e86948b8 Corrected several typos in string literals and test names. 2019-08-07 11:23:14 +02:00
Andrew Godwin
052388aba4 Fixed #30676 -- Added --pdb option to test runner. 2019-08-07 08:16:31 +02:00
Adnan Umer
c5075360c5 Fixed #30680 -- Removed obsolete system check for SECURE_BROWSER_XSS_FILTER setting. 2019-08-05 18:44:08 +02:00
Mariusz Felisiak
05964b2198 Moved indexes in ArrayField's Index and Slice transforms to SQL params.
Follow up to 7deeabc7c7526786df6894429ce89a9c4b614086.

These lookups aren't vulnerable to SQL injection because both accept
only integer indexes. It is a part of good practices.
2019-08-05 14:16:35 +02:00
Mariusz Felisiak
0e02e496cd Added tests for using ArrayField's IndexTransform/SliceTransform on expressions with params. 2019-08-05 14:16:25 +02:00
Diederik van der Boor
25f21bd237 Fixed #28393 -- Added helpful error messages for invalid AutoField/FloatField/IntegerField values.
Co-authored-by: Diederik van der Boor <vdboor@edoburu.nl>
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2019-08-05 08:41:29 +02:00
Mariusz Felisiak
1af469e67f Added stub release notes for 2.2.5. 2019-08-02 20:32:21 +02:00
Nick Pope
4cf1f2f13e Simplified AlterModelTable by making it subclass ModelOptionOperation. 2019-08-02 18:19:55 +02:00
niauah
75f8264083 Corrected StreamingHttpResponse.streaming_content description in docs. 2019-08-02 16:37:49 +02:00
aaktsipetrov
4edad1ddf6 Fixed #30668 -- Made QuerySet.filter() raise NotSupportedError if any of source expressions is not filterable. 2019-08-02 15:06:00 +02:00
Nick Pope
194d1dfc18 Fixed #30661 -- Added models.SmallAutoField. 2019-08-02 11:39:01 +02:00
zeyneloz
955b382600 Fixed #30599 -- Prevented ManifestFilesMixin.read_manifest() from silencing errors other than FileNotFoundError. 2019-08-02 08:35:28 +02:00
zeyneloz
246689452d Added test for handling of non-existent manifest in ManifestFilesMixin.read_manifest(). 2019-08-02 08:35:25 +02:00
Mariusz Felisiak
d14fa04ab3 Removed obsolete mentions of a check constraint in BaseDatabaseSchemaEditor.add_constraint()/remove_constraint() docstrings. 2019-08-02 07:09:37 +02:00
Jon Dufresne
e8d0d2a5ef Removed unneeded ValueError catching in django.utils.text._replace_entity().
The html.entities.name2codepoint dict contains only valid Unicode
codepoints. Either the key exists and chr() will succeed or the key does
not exist.
2019-08-01 14:30:20 +02:00
Mariusz Felisiak
ff111ea5e3 Refs #30664 -- Fixed migrations crash when altering AutoField/BigAutoField with quoted db_column on PostgreSQL. 2019-08-01 12:06:32 +02:00
Ngalim Siregar
e4684220af Fixed #30664 -- Fixed migrations crash when altering table on SQLite or altering AutoField/BigAutoField on PostgreSQL for models with quoted db_table. 2019-08-01 12:06:32 +02:00
Carlton Gibson
a5652eb795 Added CVE-2019-14235 to security release archive. 2019-08-01 12:01:27 +02:00
Carlton Gibson
3a6a2f5eaf Added CVE-2019-14234 to security release archive. 2019-08-01 11:59:45 +02:00
Carlton Gibson
9600f63885 Added CVE-2019-14233 to security release archive. 2019-08-01 11:57:24 +02:00
Carlton Gibson
87750787d1 Added CVE-2019-14232 to the security release archive. 2019-08-01 11:54:24 +02:00
Florian Apolloner
76ed1c49f8 Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in django.utils.encoding.uri_to_iri().
Thanks to Guido Vranken for initial report.
2019-08-01 09:24:54 +02:00
Mariusz Felisiak
7deeabc7c7 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-08-01 09:24:54 +02:00
Florian Apolloner
4b78420d25 Fixed CVE-2019-14233 -- Prevented excessive HTMLParser recursion in strip_tags() when handling incomplete HTML entities.
Thanks to Guido Vranken for initial report.
2019-08-01 09:24:54 +02:00
Florian Apolloner
7f65974f82 Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking issues when truncating HTML.
Thanks to Guido Vranken for initial report.
2019-08-01 09:24:54 +02:00
Carlton Gibson
eea0bf7bd5 Refs #30669 -- Removed incorrect branch in ASGIHander.read_body().
None is not valid for settings.FILE_UPLOAD_MAX_MEMORY_SIZE.
Always use SpooledTemporaryFile.
2019-07-31 13:33:01 +02:00
Étienne Beaulé
5f24e7158e Fixed #30665 -- Added support for distinct argument to Avg() and Sum(). 2019-07-31 11:22:50 +02:00
Étienne Beaulé
cb3c2da128 Moved test for distinct Count() to a separate test case. 2019-07-31 10:41:17 +02:00
Nick Pope
f618e033ac Fixed #30160 -- Added support for LZMA and XZ templates to startapp/startproject management commands. 2019-07-31 10:02:13 +02:00
Nick Pope
c95d063e77 Refs #30160 -- Simplified and improved tests for django.utils.archive.
The file executable should have 0o775 permission not only u=x.
The file no_permissions should have 0o644 u=r.
2019-07-31 09:46:24 +02:00
Nick Pope
1692f69e37 Refs #30160 -- Doc'd startapp/startproject support for tarfile templates. 2019-07-31 09:46:24 +02:00
Nick Pope
69a30f620e Refs #30160 -- Simplified archive extension map and added other aliases. 2019-07-31 09:46:17 +02:00
Hasan Ramezani
e3fc9af4ab Refs #30593 -- Fixed introspection of check constraints columns on MariaDB. 2019-07-30 16:32:13 +02:00
Hasan Ramezani
b2aad9ad4d Refs #30593 -- Added _parse_constraint_columns() hook to introspection on MariaDB. 2019-07-30 16:32:13 +02:00
Nick Pope
421c4cd2ee Removed redundant ArchiveTest.test_extract_method() test.
The extract() function has the same code as used in the test method
for Archive.extract().
2019-07-30 11:33:53 +02:00
Nick Pope
0509148c24 Refs #30160 -- Made destination path a required argument of extract(). 2019-07-30 11:27:56 +02:00
Jerrod Martin
c7bef16a74 Fixed #30411 -- Improved formatting of text tracebacks in technical 500 templates.
Co-Authored-By: Daniel Hahler <git@thequod.de>
2019-07-29 11:09:54 +02:00
daniel a rios
68aeb90160 Fixed #30656 -- Added QuerySet.bulk_update() to the database optimization docs. 2019-07-29 09:52:29 +02:00
daniel a rios
fe33fdc049 Refs #30656 -- Reorganized bulk methods in the database optimization docs. 2019-07-29 09:52:29 +02:00
Claude Paroz
3c6d32e0b2 Fixed #30552 -- Fixed loss of SRID when calling reverse() on LineString/Point.
Thanks Mariusz Felisiak for contributing the Point part.
2019-07-27 20:12:46 +02:00
Jon Dufresne
4122d9d3f1 Refs #28147 -- Fixed setting of OneToOne and Foreign Key fields to None when using attnames.
Regression in 519016e5f25d7c0a040015724f9920581551cab0.
2019-07-27 12:04:56 +02:00
Jon Dufresne
619c9a4f49 Added tests for using attnames to assign OneToOne and Foreign Key fields. 2019-07-27 12:03:45 +02:00
Piotr Domanski
4b4e68a7a6 Fixed #30567 -- Made WSGIHandler pass FileResponse.block_size to wsgi.file_wrapper. 2019-07-26 07:31:51 +02:00
Mariusz Felisiak
806ba19bbf
Added Query.is_sliced property.
Previously, we used Query.can_filter() mainly to check if a query is
sliced what was confusing.
2019-07-25 20:45:55 +02:00
Hasan Ramezani
1853383969 Fixed #27995 -- Added error messages on unsupported operations following union(), intersection(), and difference(). 2019-07-25 12:39:55 +02:00
Carlton Gibson
f13147c8de Added stub release notes for security releases. 2019-07-25 10:49:30 +02:00
Jon Dufresne
5ed20b3aa3 Fixed #30657 -- Allowed customizing Field's descriptors with a descriptor_class attribute.
Allows model fields to override the descriptor class used on the model
instance attribute.
2019-07-25 08:15:20 +02:00
Jon Dufresne
93ffa81bc5 Refs #30657 -- Made DeferredAttribute.__init__() to take a field instance instead of a field name. 2019-07-25 07:24:52 +02:00
Tom Forbes
fc75694257 Fixed #30647 -- Fixed crash of autoreloader when extra directory cannot be resolved. 2019-07-24 14:08:37 +02:00
Mariusz Felisiak
fed5e19369
Removed unused BaseReloader.watch_file().
Unused since its introduction in c8720e7696ca41f3262d5369365cc1bd72a216ca.
2019-07-24 13:32:02 +02:00
Jon Dufresne
d89053585e Improved error message when index in __getitem__() is invalid. 2019-07-23 20:12:08 +02:00
terminator14
8323691de0 Fixed typo in docs/topics/http/sessions.txt. 2019-07-23 15:10:58 +02:00
Mariusz Felisiak
8d52a525c8
Refs #29548 -- Fixed DatabaseWrapper.display_name on MariaDB. 2019-07-23 13:34:06 +02:00
Tom Forbes
2ff517ccb6 Fixed #30506 -- Fixed crash of autoreloader when path contains null characters. 2019-07-23 10:03:23 +02:00
Jon Dufresne
60dc957a82 Removed unnecessary code in Model.__init__().
As is_related_object is True, the val variable is unused for the
remainder of the method.

Unnecessary since 53da1e47942f22a56e761d786ba89d05ca55a224.
2019-07-23 07:45:07 +02:00
Georgi Yanchev
c6581a40be Fixed #30644 -- Made introspection use pg_table_is_visible() instead of filtering by public schema on PostgreSQL. 2019-07-22 08:14:53 +02:00
Mariusz Felisiak
842fd620ff
Simplified get_key_columns()/get_relations() introspection methods for PostgreSQL. 2019-07-20 15:15:41 +02:00
Min ho Kim
9f11939dd1 Fixed typos in comments and a test name. 2019-07-19 18:24:06 +02:00
Mariusz Felisiak
fc1182af01 Refs #30083 -- Added a warning about performing queries in pre/post_init receivers.
Thanks Carlton Gibson the review.
2019-07-19 16:06:05 +02:00
Mariusz Felisiak
a2e1c17f19 Refs #30083 -- Clarified database state of instances in signals.pre_init docs. 2019-07-19 16:06:05 +02:00
Hasan Ramezani
1fc2c70f76 Fixed #30593 -- Added support for check constraints on MariaDB 10.2+. 2019-07-19 11:05:06 +02:00
Davit Gachechiladze
7f612eda80 Fixed #30648 -- Removed unnecessary overriding get_context_data() from mixins with CBVs docs. 2019-07-18 18:40:40 +02:00
Mariusz Felisiak
230d75f59c
Refs #30547 -- Clarified that partial UniqueConstraints don't affect model validation. 2019-07-18 12:56:25 +02:00
Mads Jensen
a3417282ac Fixed #29824 -- Added support for database exclusion constraints on PostgreSQL.
Thanks to Nick Pope and Mariusz Felisiak for review.

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-07-16 18:04:41 +02:00
Mads Jensen
7174cf0b00 Refs #29824 -- Added RangeOperators helper class. 2019-07-16 16:57:46 +02:00
Mariusz Felisiak
cf79f92abe
Simplified tests for PostgreSQL constraints. 2019-07-16 16:56:44 +02:00
Mariusz Felisiak
ad4e83a6d1
Fixed heading level typo in docs/ref/contrib/postgres/fields.txt. 2019-07-16 15:08:14 +02:00
Frank Wiles
fa65b90a96 Updated WSGI servers ordering according to the more commonly used. 2019-07-16 14:43:59 +02:00
Yann Sionneau
e47b8293a7 Fixed #30636 -- Fixed options ordering when cloning test database on MySQL.
--defaults-file must be given before other options.
2019-07-16 07:25:43 +02:00
Frank Wiles
c1b94e32fb Fixed explanation of how to automatically create tables in database. 2019-07-15 11:04:30 +02:00
Mariusz Felisiak
858cfd74e9
Simplified RangeContainedBy by making it subclass PostgresSimpleLookup. 2019-07-13 10:55:19 +02:00
Mariusz Felisiak
70c2b90d95
Simplified DateTimeRangeContains by making it subclass PostgresSimpleLookup. 2019-07-12 17:27:49 +02:00
Hasan Ramezani
402e6d292f Fixed #30602 -- Made Extract raise ValueError when using unsupported lookups for DurationField. 2019-07-12 08:08:35 +02:00
Mariusz Felisiak
7a42cfcfdc
Refs #30557 -- Fixed crash of ordering by ptr fields when Meta.ordering contains F() expressions.
Thanks Can Sarıgöl for the report.

Follow up to 8c5f9906c56ac72fc4f13218dd90bdf9bc8a248b.
2019-07-11 13:40:36 +02:00
Hasan Ramezani
8c5f9906c5 Fixed #30557 -- Fixed crash of ordering by ptr fields when Meta.ordering contains expressions. 2019-07-11 11:24:59 +02:00
Hasan Ramezani
8dd5877f58 Doc'd --no-input option for createsuperuser. 2019-07-11 10:25:39 +02:00
can
52545e788d Fixed #28289 -- Fixed crash of RawSQL annotations on inherited model fields. 2019-07-11 08:27:15 +02:00
atsuo ishimoto
a9c6ab0356 Fixed #30619 -- Made runserver --nothreading use single threaded WSGIServer.
Browsers often use multiple connections with Connection: keep-alive.
If --nothreading is specified, the WSGI server cannot accept new
connections until the old connection is closed, causing hangs.

Force Connection: close when --nothreading option is used.
2019-07-10 13:22:17 +02:00
Johannes Hoppe
00d4e6f8b5 Updated Select2 to version 4.0.7. 2019-07-10 12:31:16 +02:00
Hasan Ramezani
ed668796f6 Fixed #30543 -- Fixed checks of ModelAdmin.list_display for fields accessible only via instance.
Co-Authored-By: Andrew Simons <andrewsimons@bubblegroup.com>
2019-07-10 10:37:34 +02:00
Mariusz Felisiak
7991111af1
Fixed #30621 -- Fixed crash of __contains lookup for Date/DateTimeRangeField when the right hand side is the same type.
Thanks Tilman Koschnick for the report and initial patch.
Thanks Carlton Gibson the review.

Regression in 6b048b364ca1e0e56a0d3815bf2be33ac9998355.
2019-07-10 10:33:36 +02:00
Simon Charette
ee6e93ec87 Fixed #30628 -- Adjusted expression identity to differentiate bound fields.
Expressions referring to different bound fields should not be
considered equal.

Thanks Julien Enselme for the detailed report.

Regression in bc7e288ca9554ac1a0a19941302dea19df1acd21.
2019-07-10 07:46:08 +02:00
Johannes Hoppe
1bbf77bea5 Enabled GitHub "Sponsor" button. 2019-07-10 07:19:27 +02:00
Mariusz Felisiak
24e8f7f7d3 Fixed typos in docs/ref/django-admin.txt. 2019-07-09 13:38:11 +02:00
Mariusz Felisiak
08e69cad9c Added stub release notes for 2.2.4. 2019-07-09 07:39:35 +02:00
can
febe136d4c Fixed #30397 -- Added app_label/class interpolation for names of indexes and constraints. 2019-07-08 14:57:56 +02:00
Mariusz Felisiak
8233144ca0 Changed django.db.models.indexes.Index imports to django.db.models.Index. 2019-07-08 14:19:46 +02:00
Johannes Hoppe
bc91f27a86 Refs #29444 -- Added support for fetching a returned non-integer insert values on Oracle.
This is currently not actively used, since the ORM will ask the
SQL compiler to only return auto fields.
2019-07-08 08:53:08 +02:00
Nuno
34a88b21da Fixed #30620 -- Made an example of admin-compliant custom user app pep8 compliant. 2019-07-08 07:39:28 +02:00
can
53209f7830 Fixed #30613 -- Moved index name validation to system checks. 2019-07-05 09:30:21 +02:00
sp1rs
f197c3dd91 Fixed #30600 -- Clarified that ValueError raised by converter.to_python() means no match. 2019-07-04 13:14:51 +02:00
luto
d37ea5f09b Fixed #28581 -- Moved django.core.paginator documentation to API Reference.
Co-Authored-By: Arman <armansabyrov@gmail.com>
2019-07-04 11:04:39 +02:00
luto
93b611c797 Refs #28581 -- Doc's how to paginate a ListView. 2019-07-04 11:04:31 +02:00
swatantra
c13e3715f5 Fixed #28667 -- Clarified how to override list of forms fields for custom UserAdmin with a custom user model. 2019-07-04 08:05:20 +02:00
Chason Chaffin
c238e65e29 Fixed #30596 -- Fixed SplitArrayField.has_changed() for non-string base fields.
Thanks to Evgeniy Krysanov for the report and the idea to use to_python.
Thanks to Mariusz Felisiak for the test case.
2019-07-03 13:35:51 +02:00
Benjamin Woodruff
54dcfbc367 Fixed #29744 -- Fixed caching of URLResolver for a default URLconf.
get_resolver() for a default URLconf (passing no argument) and for
settings.ROOT_URLCONF should return the same cached object.
2019-07-03 11:37:28 +02:00
Chason Chaffin
55b68de643 Fixed #30608 -- Fixed non-unicode EmailMessage crash when domain name for localhost is non-ASCII.
Assisted by felixxm.
2019-07-03 10:49:03 +02:00
Mariusz Felisiak
f226bdbf4e Refs #30608 -- Added django.utils.encoding.punycode(). 2019-07-03 10:48:02 +02:00
Hasan Ramezani
a5308514fb Fixed #27801 -- Made createsuperuser fall back to environment variables for password and required fields. 2019-07-02 12:55:09 +02:00
Carlton Gibson
4b32d039db Fixed #28588 -- Doc'd User.has_perm() & co. behavior for active superusers.
Equivalent note for PermissionsMixin was added in d33864ed138f65070049a3ac20ee98e03a1442b9.
2019-07-02 11:20:53 +02:00
Min ho Kim
fbb83fefd4 Fixed typos in comments and docs. 2019-07-02 09:36:17 +02:00
Hasan Ramezani
090ca6512f Fixed #30604 -- Made mail_admins()/mail_managers() raise ValueError if ADMINS/MANAGERS is set incorrectly. 2019-07-02 07:34:07 +02:00
PatOnTheBack
29240a9952 Removed unnecessary import in django/utils/autoreload.py. 2019-07-01 14:50:00 +02:00
Hasan Ramezani
5d03f2bc01 Fixed #30595 -- Added error message when no objects found to sql* management commands. 2019-07-01 13:47:54 +02:00
aitoehigie
c2f381ef17 Fixed #30589 -- Clarified that urlize should be applied only to email addresses without single quotes. 2019-07-01 11:39:31 +02:00
Mariusz Felisiak
868cd56f05 Added CVE-2019-12781 to the security release archive. 2019-07-01 10:14:36 +02:00
Mariusz Felisiak
fc41401f33 Added release date for 2.2.3. 2019-07-01 07:48:45 +02:00
Carlton Gibson
54d0f5e62f 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.
2019-07-01 07:48:04 +02:00
Mariusz Felisiak
30b3ee9d0b Added stub release notes for security releases. 2019-07-01 06:57:27 +02:00
Mariusz Felisiak
8fc8c958a5
Fixed broken selenium tests after 42b9a23267f14be39b9b00958e18d5746783208e. 2019-06-30 20:35:05 +02:00
Claude Paroz
d54baf6970 Updated translations from Transifex
Forward port of b3f7262e6e5d9e68e37fb21af89ed6656291faa3 from stable/2.2.x
2019-06-29 16:17:16 +02:00
Jon Dufresne
42b9a23267 Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
2019-06-28 16:46:18 +02:00
Hasan Ramezani
2b03e8e9e8 Fixed #30584 -- Fixed management command when using subparsers with dest parameter. 2019-06-28 12:51:26 +02:00
can
f03b7bd114 Fixed #28408 -- Added error message when updating with annotated expressions on joined fields.
Co-Authored-By: Simon Charette <charette.s@gmail.com>
2019-06-28 07:55:32 +02:00
Nadège Michel
fb54aca540 Added test for serializing child model without inherited fields. 2019-06-27 15:10:22 +02:00
Nadège Michel
895b15771e Fixed #28725 -- Prevented serializing inherited ManyToManyFields in child model. 2019-06-27 15:10:22 +02:00
Mariusz Felisiak
4305fbe8b1
Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database. 2019-06-27 15:09:28 +02:00
Shubham Bhagat
26d16c07fd Fixed #30578 - Made SelectDateWidget respect a custom date format when USE_L10N is disabled. 2019-06-26 11:07:11 +02:00
nsasaki128
a289e79679 Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() decorator. 2019-06-26 09:25:24 +02:00
Tom Forbes
8454f6dea4 Fixed #30588 -- Fixed crash of autoreloader when __main__ module doesn't have __file__ attribute. 2019-06-26 06:44:10 +02:00
Tim Gates
698df6a009 Fixed typos in test comments. 2019-06-25 11:12:45 +02:00
can
325d5d6445 Fixed #30477 -- Made reverse lookup use Field.get_db_prep_value() from the target field. 2019-06-25 10:20:33 +02:00
daniel a rios
76b993a117 Fixed #26431 -- Prevented django.urls.resolve() from returning missing optional parameters.
Previous behavior was inconsistent with django.urls.reverse() and
caused that translate_url() created an incorrect URL when an optional
parameter was missing.
2019-06-24 11:47:56 +02:00
daniel a rios
d640c71fa3 Refs #26431 -- Added tests for resolving URL and translate_url() with provided optional parameter. 2019-06-24 11:30:26 +02:00
daniel a rios
b24e763846 Added tests for terminated path with optional arguments in django.urls.reverse(). 2019-06-24 11:30:26 +02:00
Tom Forbes
e286711879 Simplified handling of non-existent paths in autoreloader with Path.resolve(strict=True). 2019-06-24 09:48:59 +02:00
Meysam
833878411c Fixed typo in docs/topics/db/models.txt. 2019-06-24 09:04:33 +02:00
Alexey Opalev
2f91e7832f Fixed typo in docs/ref/models/indexes.txt. 2019-06-24 08:58:56 +02:00
Mariusz Felisiak
19895e897c
Refs #30451 -- Added asgiref to the tests requirements. 2019-06-24 08:10:23 +02:00
Claude Paroz
8590726a5d Removed unneeded non-breaking spaces added in 00169bc36 2019-06-22 10:26:14 +02:00
Markus Holtermann
ad7b438002 Bumped minimum ESLint version to 4.18.2. 2019-06-21 17:57:35 +02:00
Nadège Michel
87b1ad6e73 Fixed #30421 -- Allowed symmetrical intermediate table for self-referential ManyToManyField. 2019-06-21 15:03:17 +02:00
Mariusz Felisiak
a9179ab032
Fixed typo in BasicExpressionsTests.test_object_update_fk() test. 2019-06-21 12:00:42 +02:00
Jon Dufresne
2ef6f209f7 Fixed typos in 1.11.19, 2.0.11, 2.1.6 release notes. 2019-06-21 07:07:23 +02:00
Tobias Kunze
a387ef1117 Added missing form argument in modelform_factory() docstring. 2019-06-20 15:13:22 +02:00
Mariusz Felisiak
9aeac29949
Removed unnecessary backslashes from docs. 2019-06-20 14:04:36 +02:00
Mariusz Felisiak
7f19e37135 Refs #30451 -- Added more tests for ASGIRequest and ASGIHandler. 2019-06-20 12:29:58 +02:00
Andrew Godwin
a415ce70be Fixed #30451 -- Added ASGI handler and coroutine-safety.
This adds an ASGI handler, asgi.py file for the default project layout,
a few async utilities and adds async-safety to many parts of Django.
2019-06-20 12:29:43 +02:00
Chris Jerdonek
cce47ff65a Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object. 2019-06-20 11:48:49 +02:00
Chris Jerdonek
533311782f Refs #30565 -- Doc'd HttpResponse.close() method. 2019-06-20 11:48:49 +02:00
Swat009
00169bc361 Fixed #30547 -- Doc'd how Meta.constraints affect model validation. 2019-06-20 10:44:02 +02:00
Jon Dufresne
b903bb438f Refs #30485 -- Removed non-representative test that emitted a warning.
Previously, when running the Django test suite with warnings enabled,
the following was emitted:

    /usr/lib64/python3.7/urllib/parse.py:915: BytesWarning: str() on a bytearray instance
      v = quote_via(str(v), safe, encoding, errors)

This occurred due to the bytearray() being passed to
urllib.parse.urlencode() which eventually calls str() on it. The test
does not represent desired real world behavior. Rather than test for and
assert strange unspecified behavior that emits a warning, remove it.

This was also discussed in PR #11374.
2019-06-19 13:03:52 +02:00
can
2cbd3967e0 Fixed #29834 -- Fixed column mismatch crash with QuerySet.values()/values_list() and order_by() on combined querysets. 2019-06-19 12:11:28 +02:00
Mariusz Felisiak
14d026cccb
Fixed #30572 -- Prevented values()/values_list() on combined queryset from mutating the list of columns in querysets. 2019-06-19 10:44:53 +02:00
Hasan Ramezani
a7038adbd0 Fixed typos in signals and custom management commands docs. 2019-06-19 08:40:46 +02:00
Hasan Ramezani
036362e0cf Fixed typos and example in signals.pre_init docs. 2019-06-18 14:51:17 +02:00
Mariusz Felisiak
b08a18f17b
Fixed LiveWidgetTests.test_textarea_trailing_newlines() crash on Chrome 75+. 2019-06-18 11:38:51 +02:00
Min ho Kim
6e8303d49b Fixed typos in FakePayload docstring and SimplifiedURLTests test name. 2019-06-17 12:38:04 +02:00
Mariusz Felisiak
415e899dc4 Refs #30451 -- Added HttpRequest._set_content_type_params() hook. 2019-06-15 10:29:02 -07:00
Sanyam Khurana
87f5d07eed Fixed #12952 -- Adjusted admin log change messages to use form labels instead of field names. 2019-06-14 18:20:29 +02:00
Carlton Gibson
1564e42ad3 Refs #30512, #15042 -- Added local-only address to sanitize_email() tests cases.
email.headerregistry.parser.get_mailbox() returns a token with a `token_type` attribute.

If `token_type` is `’invalid-mailbox’` then RFC violations have been detected. Emails with only the local part, and no domain,  are correctly parsed but are marked as `’invalid-mailbox’`.

As per #15042, local-only are supported, to enable sending to addresses on localhost.

sanitize_email() does not currently check `token_type`. This test is added to avoid a regression in case this is revisited in the future.
2019-06-13 17:29:58 +02:00
Joachim Jablon
2628ea9515 Fixed #30512 -- Used email.headerregistry.parser for parsing emails in sanitize_address(). 2019-06-13 16:22:15 +02:00
Joachim Jablon
0c2ffdd526 Fixed an example of email with display name in EmailMessage.from_email. 2019-06-13 16:22:15 +02:00
Mariusz Felisiak
fc2536fe66
Refs #29548 -- Doc'd MariaDB support for GIS database functions. 2019-06-13 10:26:21 +02:00
can
fde9b7d35e Fixed #30128 -- Fixed handling timedelta timezone in database functions. 2019-06-13 09:29:43 +02:00
Mariusz Felisiak
3dca8738cb
Simplified GISFunctionsTests.test_point_on_surface(). 2019-06-12 12:59:02 +02:00
Sergey Fedoseev
6fa71872ae Simplified django.urls.reverse() a bit. 2019-06-12 12:15:40 +02:00
Mariusz Felisiak
b616f65855
Added missing support for PointOnSurface function on MariaDB. 2019-06-12 10:51:43 +02:00
Mariusz Felisiak
198a0adef2 Removed obsolete comment from GISFunctionsTests.test_asgeojson(). 2019-06-12 09:43:03 +02:00
Mariusz Felisiak
2e00119e39 Fixed GISFunctionsTests.test_asgeojson() crash on MariaDB 10.2+. 2019-06-12 09:43:03 +02:00
Jon Dufresne
9e38ed0536 Fixed #27486 -- Fixed Python 3.7 DeprecationWarning in intword and filesizeformat filters.
intword and filesizeformat passed floats to ngettext() which is
deprecated in Python 3.7. The rationale for this warning is documented
in BPO-28692: https://bugs.python.org/issue28692.

For filesizeformat, the filesize value is expected to be an int -- it
fills %d string formatting placeholders. It was likely coerced to a
float to ensure floating point division on Python 2. Python 3 always
does floating point division, so coerce to an int instead of a float to
fix the warning.

For intword, the number may contain a decimal component. In English, a
decimal component makes the noun plural. A helper function,
round_away_from_one(), was added to convert the float to an integer that
is appropriate for ngettext().
2019-06-11 20:34:59 +02:00
Jon Dufresne
175656e166 Fixed intword example in docs/ref/contrib/humanize.txt. 2019-06-11 20:18:36 +02:00
Jon Dufresne
53ea535f13 Refs #27486 -- Added tests for filesizeformat filter. 2019-06-11 20:18:36 +02:00
Vyacheslav Ver
76b3fc5c8d Fixed #30486 -- Fixed the default value of Aggregate.distinct and updated example of custom aggregate functions. 2019-06-11 11:40:48 +02:00
Mykola Nicholas
f3a03d5b61 Changed charset and collation link to MySQL docs. 2019-06-11 11:16:27 +02:00
CruxBox
34f8eeea4a Fixed #30548 -- Improved exception when expression contains mixed types. 2019-06-10 19:48:53 +02:00
swatantra
03cd3d137e Fixed #30553 -- Clarified the default value of disable_existing_loggers. 2019-06-10 13:38:49 +02:00
Aymeric Augustin
3ee0834a46 Fixed #30556 -- Avoided useless query and hasher call in ModelBackend.authenticate() when credentials aren't provided.
There's no need to fetch a user instance from the database unless
a username and a password are provided as credentials.
2019-06-10 11:12:31 +02:00
Jon Dufresne
e065b29387 Refs #27804 -- Used subTest() in filesizeformat tests and HumanizeTests. 2019-06-10 08:46:11 +02:00
Hasan Ramezani
dcb8f00d06 Fixed #29379 -- Added autocomplete attribute to contrib.auth.forms fields.
Thank you to Nick Pope for review.

Co-authored-by: CHI Cheng <cloudream@gmail.com>
2019-06-07 12:44:39 +02:00
Alexandre Varas
c498f088c5 Fixed #30521 -- Fixed invalid HTML in default error pages. 2019-06-07 07:51:45 +02:00
Mariusz Felisiak
3fb0a1a67f Refs #30521 -- Added tests for content of default error pages. 2019-06-07 07:49:17 +02:00
Jon Dufresne
d6ea4898c4 Fixed #30550 -- Fixed decoding of non-UTF-8 bytes objects in response.json(). 2019-06-07 06:40:15 +02:00
Jon Dufresne
498092377b Refs #27804 -- Used subTest() in BinaryFieldTests.test_set_and_retrieve. 2019-06-07 06:04:56 +02:00
Joachim Jablon
8ba20d9071 Refs #30512 -- Added tests for sanitizing email addresses with display name and two @ signs. 2019-06-06 15:05:56 +02:00
Joachim Jablon
f841a776fe Refs #30512 -- Used subTest() in MailTests.test_sanitize_address. 2019-06-06 14:50:40 +02:00
Hasan Ramezani
661e6cc2c9 Fixed #29706 -- Made RenameContentType._rename() save to the correct database. 2019-06-06 12:09:01 +02:00
Arpana Mehta
4b45b6c8e4 Updated Hindi language name. 2019-06-06 11:16:19 +02:00
Tobias Bengfort
581a0f4545 Refs #30226 -- Added User.get_user_permissions() method.
Added to mirror the existing User.get_group_permissions().
2019-06-05 13:56:37 +02:00
Tobias Bengfort
75337a6050 Fixed #30226 -- Added BaseBackend for authentication. 2019-06-05 13:39:46 +02:00
Étienne Beaulé
4b6dfe1622 Fixed #30542 -- Fixed crash of numerical aggregations with filter.
Filters in annotations crashed when used with numerical-type
aggregations (i.e. Avg, StdDev, and Variance). This was caused as the
source expressions no not necessarily have an output_field (such as the
filter field), which lead to an AttributeError: 'WhereNode' object has
no attribute output_field.

Thanks to Chuan-Zheng Lee for the report.

Regression in c690afb873cac8035a3cb3be7c597a5ff0e4b261 and two following
commits.
2019-06-05 08:06:26 +02:00
Mariusz Felisiak
1f81e2df69 Added stub release notes for 2.2.3. 2019-06-05 06:57:44 +02:00
Tim Graham
b916c27f9a Fixed typo in tests/generic_views/test_base.py. 2019-06-04 20:09:07 -04:00
Carlton Gibson
8a187bfa3b Updated release process notes for oss-security list content guidelines.
c.f. https://oss-security.openwall.org/wiki/mailing-lists/oss-security#list-content-guidelines
2019-06-04 16:40:25 +02:00
Caio Ariede
5248abe9b0 Fixed #30505 -- Doc'd how changes in the order of Field.choices affect migrations. 2019-06-04 14:11:41 +02:00
Jones Ambrosi
f9561144d7 Fixed #30520 -- Fixed crash of admin model inlines on custom fields without labels. 2019-06-04 10:27:12 +02:00
RobertAKARobin
aa94f7c899 Fixed #30534 -- Fixed overriding a field's default in ModelForm.cleaned_data(). 2019-06-04 08:28:49 +02:00
Nick Pope
21b1d23912 Added CVE-2019-12308 to the security release archive. 2019-06-03 21:44:55 +02:00
Nick Pope
8fb0ea5583 Added CVE-2019-11358 to the security release archive. 2019-06-03 21:44:55 +02:00
Mariusz Felisiak
100ec901ae Fixed typos in 1.11.21, 2.1.9, 2.2.2 release notes. 2019-06-03 14:08:51 +02:00
Mariusz Felisiak
5ab75adb90 Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0. 2019-06-03 14:08:51 +02:00
Nathan Gaberel
b27c9c953b Fixed #28604 -- Prevented ManifestStaticFilesStorage from leaving intermediate files. 2019-06-03 13:11:55 +02:00
Carlton Gibson
34ec52269a Applied jQuery patch for CVE-2019-11358. 2019-06-03 11:36:12 +02:00
Carlton Gibson
deeba6d920 Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before rendering clickable link. 2019-06-03 11:36:12 +02:00
Carlton Gibson
98c0fe19ee Added stub release notes for security releases. 2019-06-03 10:48:52 +02:00
can
dffa3e1992 Fixed #30493 -- Fixed prefetch_related() for GenericRelation with different content types.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Thanks Simon Charette for the review.
2019-05-31 18:11:55 +02:00
Mariusz Felisiak
f66021f3f7 Refs #30493 -- Added GenericRelatedObjectManager.get_content_type() hook. 2019-05-31 18:11:51 +02:00
Mariusz Felisiak
ea6e684f34
Simplified m2m_recursive.tests. 2019-05-31 16:19:11 +02:00
parth
8543647306 Fixed #28831 -- Doc'd that InlineModelAdmin methods' obj argument is the parent object. 2019-05-31 12:35:15 +02:00
Mariusz Felisiak
f6075fb333 Fixed #26192 -- Fixed crash of ordering by constants on PostgreSQL.
Thanks Simon Charette for the review.
2019-05-31 07:38:48 +02:00
Mariusz Felisiak
cc80979f01 Refs #26192 -- Added tests for ordering by constant value. 2019-05-31 07:38:48 +02:00
Hasan Ramezani
e2de49ec2e Fixed #28520 -- Added --start-at/--start-after options to runtests.py. 2019-05-31 07:01:12 +02:00
Hasan Ramezani
ef7e0ae53b Refs #28520 -- Added _module_match_label() hook to runtests.py. 2019-05-30 09:29:09 +02:00
Daniel Hahler
59f04d6b8f Simplified SessionMiddleware.process_response() a bit. 2019-05-29 14:10:11 +02:00
Tom Forbes
480492fe70 Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader.
Previously we updated the file mtimes if the file has not been seen
before - i.e on the first iteration of the loop.

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

Regression in 6754bffa2b2df15a741008aa611c1bb0e8dff22b.
2019-05-29 09:41:24 +02:00
Tom Forbes
0344565179 Fixed #30516 -- Fixed crash of autoreloader when re-raising exceptions with custom signature.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
2019-05-29 08:08:50 +02:00
葛汉斌
fcbc502af9 Simplified Model.save() a bit. 2019-05-28 15:40:31 +02:00
Brad Solomon
67b6cb7723 Fixed #30491 -- Clarified when save() on object with pk executes INSERT. 2019-05-28 11:02:26 +02:00
Caio Ariede
a3f91891d2 Fixed #30315 -- Fixed crash of ArrayAgg and StringAgg with ordering when used in Subquery. 2019-05-28 10:05:50 +02:00
Tom Forbes
b2790f74d4 Fixed #30479 -- Fixed detecting changes in manage.py by autoreloader when using StatReloader.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
2019-05-28 08:31:33 +02:00
Simon Charette
df46b329e0 Refs #30485 -- Avoided unnecessary instance checks in urlencode.
Given doseq defaults to False it should avoid an unnecessary instance
check in most cases.
2019-05-27 22:00:14 +02:00
Mariusz Felisiak
b6c4766f53
Refs #29548 -- Updated docs for MariaDB support. 2019-05-27 19:59:49 +02:00
Ivor Bosloper
5ec44973dc Fixed typo in RasterField test name. 2019-05-27 13:40:03 +02:00
Mariusz Felisiak
8bdc7a6778
Doc'd that extra_email_context can be used to override default template context values in PasswordResetView. 2019-05-27 12:05:48 +02:00
Mattia Procopio
aff61790a3 Refs #24944 -- Added test for overriding domain in email context in PasswordResetView. 2019-05-27 11:50:30 +02:00
Johan Lübcke
0670b1b403 Fixed #30485 -- Adjusted django.utils.http.urlencode for doseq=False case. 2019-05-24 17:15:34 +02:00
Mariusz Felisiak
1d25354fb5 Updated release process in the "How is Django Formed?" documentation.
* Fixed Trac's post release step.
* Doc'd the use of robots_txt for updating robots.docs.txt.
2019-05-24 11:05:51 +02:00
Mariusz Felisiak
85195dd237
Refs #9982 -- Added test for saving OneToOneField field after saving related object.
Fixed in 519016e5f25d7c0a040015724f9920581551cab0.
2019-05-24 10:54:05 +02:00
Jon Dufresne
45edd746cc Used re.Pattern.findall() instead of re.findall() in inspectdb.tests. 2019-05-24 09:04:27 +02:00
Rob
58df8aa40f Fixed #28780 -- Allowed specyfing a token parameter displayed in password reset URLs.
Co-authored-by: Tim Givois <tim.givois.mendez@gmail.com>
2019-05-24 08:40:25 +02:00
Shashank Parekh
8000767769 Fixed #30504 -- Corrected redirect() signature in docs. 2019-05-24 08:26:29 +02:00
Caio Ariede
753b67c58d Fixed #30497 -- Ignored document type in assertXMLEqual()/assertXMLNotEqual(). 2019-05-24 07:29:42 +02:00
Caio Ariede
4fb9e7b057 Doc'd that assertXMLEqual()/assertXMLNotEqual() ignores XML declaration and comments. 2019-05-24 07:27:11 +02:00
Mariusz Felisiak
f8b8b00f01
Fixed #30501 -- Preventing QuerySet.reverse() from mutating expressions in QuerySet.order_by and Meta.ordering. 2019-05-23 20:33:37 +02:00
Mariusz Felisiak
2007e11d70
Forced utf-8 encoding when loading common passwords in CommonPasswordValidator.
Previously we used `decode()` which defaults to utf-8. This change
restores previous behavior.

Follow up to 28eac41510eb9de728bdfbc22a36f33ac75394f2.
2019-05-23 08:39:16 +02:00
Ran Benita
a2c31e12da Fixed #30498 -- Fixed proxy class caching in lazy().
lazy() should prepare the proxy class only once (the first time it's
used) not on every call.

Regression in b4e76f30d12bfa8a53cc297c60055c6f4629cc4c.
2019-05-22 20:41:52 +02:00
Jon Dufresne
b711eafd2a Refs #30116 -- Removed unnecessary str() calls in CommonPasswordValidator.
open() and gzip.open() supports path-like objects since Python 3.6.
2019-05-22 19:47:28 +02:00
Akshesh
888fdf182e Fixed #30419 -- Favored Meta.indexes over Meta.index_together in optimization docs. 2019-05-22 07:34:54 +02:00
Brad Solomon
28eac41510 Improved performance of loading common passwords in CommonPasswordValidator.
CommonPasswordValidator.__init__ previously called either splitlines or
readlines, creating an unneeded intermediate list in memory. For large
custom password files, this could be burdensome.
2019-05-22 06:55:21 +02:00
Alex Gaynor
f011d9ea56 Fixed datetime string format examples in docs/howto/custom-template-tags.txt. 2019-05-22 06:47:32 +02:00
Hasan Ramezani
1378d665a1 Fixed #28816 -- Prevented silencing data loss when decreasing CharField.max_length on PostgreSQL. 2019-05-21 14:15:43 +02:00
Rob
519016e5f2 Fixed #28147 -- Fixed loss of assigned parent when saving child after parent.
Thanks Erwin Junge for the initial patch.
2019-05-21 10:11:22 +02:00
Rob
266e7e0ecc Refs #28147 -- Added test for saving nullable ForeignKey with to_field attribute after saving parent. 2019-05-21 10:08:09 +02:00
Hasan Ramezani
9d6f981a66 Fixed #28763 -- Allowed overriding the session cookie age with SessionStore.get_session_cookie_age(). 2019-05-21 08:50:09 +02:00
Mariusz Felisiak
df28ebd6c8 Fixed typo in docs/releases/3.0.txt. 2019-05-21 08:21:35 +02:00
Simon Charette
514104cf23 Refs #29396, #30494 -- Reduced code duplication in year lookups. 2019-05-21 07:25:09 +02:00
Simon Charette
2b582a7b84 Fixed #29396 -- Added indirect values support to __year lookups.
Thanks Windson Yang for the initial patch.
2019-05-21 07:12:33 +02:00
Simon Charette
4d1420947e Fixed #30494 -- Disabled __year lookup optimization for indirect values.
The previous heuristics were naively enabling the BETWEEN optimization on
successful cast of the first rhs SQL params to an integer while it was
not appropriate for a lot of database resolved expressions.

Thanks Alexey Chernov for the report.
2019-05-21 07:11:26 +02:00
Nick Pope
1d0bab0bfd Fixed #27635 -- Used secrets module in django.utils.crypto. 2019-05-20 11:21:22 +02:00
Nick Pope
068005a349 Refs #27635 -- Removed fallback when SystemRandom() isn't available that doesn't work.
Fallback was untested and likely never triggered.
2019-05-20 11:21:22 +02:00
GwynBleidD
5402061c80 Refs #30062 -- Corrected UniqueConstraint signature in docs. 2019-05-20 10:52:57 +02:00
mentix02
fa422dd78b Changed poll_id to poll_ids in examples of custom management commands. 2019-05-20 10:11:38 +02:00
Thomasina Lee
c38e7a79f4 Fixed #30488 -- Removed redundant Coalesce call in SQL generated by SearchVector.
Regression in 405c8363362063542e9e79beac53c8437d389520.
2019-05-20 08:34:06 +02:00
ruchit2801
04042b2b44 Fixed #30463 -- Fixed crash of deprecation message when Meta.ordering contains expressions.
Regression in 1b1f64ee5a78cc217fead52cbae23114502cf564.
2019-05-18 19:29:00 +02:00
Jon Dufresne
e86cc14bd3 Changed docs to link to Python's description of iterable. 2019-05-17 17:27:19 +02:00
Daniel Hepper
ccb7f7c6d2 Fixed #25633 -- Updated macOS Spatialite installation instructions.
Updated the Spatialite installation instruction to refer to the latest
available version from KyngChaos, as Gaia-SINS does not provide MacOS
binaries anymore.
2019-05-17 16:23:08 +02:00
Tobias Kunze
a309821c97 Fixed #30395 -- Doc'd a limitation of ModelForm.Meta.widgets. 2019-05-17 12:27:47 +02:00
Alex
1686dce06c Fixed #30199 -- Adjusted QuerySet.get_or_create() docs to highlight atomicity warning. 2019-05-17 12:23:10 +02:00
ShingenPizza
de4832c49b Fixed #30196 -- Made FileResponse set Content-Disposition inline if filename is available. 2019-05-17 12:07:27 +02:00
Batuhan Taşkaya
5c19274643 Fixed #30453 -- Fixed crash of simple_tag() and inclusion_tag() when function is wrapped.
getfullargspec() doesn't work with wrapped functions.
2019-05-17 09:53:24 +02:00
Johannes Hoppe
8d010f3986 Fixed #30220 -- Added support for headless mode in selenium tests. 2019-05-17 08:14:54 +02:00
Claude Paroz
e286987a27 Fixed #30459 -- Delegated hide/show JS toggle to parent div.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2019-05-17 07:46:45 +02:00
Iain Watts
59ffafa1d2 Fixed #30482 -- Prevented unnecessary evaluation of lookup.queryset in prefetch_related_objects(). 2019-05-16 21:39:55 +02:00
Curtis Maloney
4442ee8a51 Added filename caption to LOGGING documentation examples. 2019-05-16 16:51:36 +02:00
Vyacheslav Ver
60b6a7ea9d Fixed typo in expression documentation. 2019-05-16 16:03:27 +02:00
Jon Dufresne
8076ae68c1 Fixed #30483 -- Switched test requirement to psycopg2 package. 2019-05-16 15:42:32 +02:00
Jon Dufresne
97d3321e89 Changed tuple choices to list in docs. 2019-05-15 14:31:42 +02:00
Ahisahar Pretel
717362d810 Fixed #30316 -- Added source code link to the default logging configuration in logging docs. 2019-05-15 12:16:10 +02:00
Ally Weir
bd228cb599 Fixed mis-capitalisation in comment. 2019-05-15 12:14:59 +02:00
Daniel Hahler
43f54e136e Refs #27685 -- Logged unexpected Watchman autoreloader errors. 2019-05-15 06:57:26 +02:00
Florian Apolloner
d329484534 Ensured that our django checkout is in the pythonpath during tests.
This fixes an issue with postgres_tests.test_integration.PostgresIntegrationTests
which would not find Django in a CI run.
2019-05-14 19:43:56 +02:00
Jonatas C. Damasceno
8aad3321ed Fixed #30437 -- Clarified that urlpatterns can be a sequence. 2019-05-13 21:48:54 +02:00
Tobias Bengfort
7619a33665 Refs #28593 -- Changed url() to path() in comments following URL routing changes. 2019-05-13 18:30:51 +02:00
Rob
c231a75112 Fixed #30436 -- Added check that on_delete is callable in ForeignKey and OneToOneField. 2019-05-13 07:25:42 +02:00
Amir Hadi
330638b89f Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows.
Co-authored-by: Tim Graham <timograham@gmail.com>
Co-authored-by: Patryk Zawadzki <patrys@room-303.com>
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-05-12 07:05:24 +02:00
Jon Dufresne
7c3732a1b4 Fixed #30470 -- Added assertHTMLEqual() support for all self closing tags.
Support for the following tags was added: area, embed, param, track, and
wbr.

The full list of self closing tags is documented at:

https://html.spec.whatwg.org/#void-elements
2019-05-10 12:04:07 +02:00
Jon Dufresne
b7a33ee4f0 Fixed #30468 -- Fixed assertHTMLEqual() to handle all ASCII whitespace in a class attribute. 2019-05-09 17:18:18 +02:00
Jon Dufresne
de6d3afb97 Refs #27804 -- Used subTest() in HTMLEqualTests.test_self_closing_tags. 2019-05-09 17:17:42 +02:00
luzpaz
e2feea5fc4 Fixed comment typo. 2019-05-09 17:04:50 +02:00
Troon
a3a4f5c144 Fixed #30310 -- Added support for looking up HttpHeaders.headers using underscores. 2019-05-09 16:26:52 +02:00
Jon Dufresne
48235ba807 Refs #30399 -- Made assertHTMLEqual normalize character and entity references. 2019-05-09 15:55:32 +02:00
Przemysław Suliga
af5ec222cc Used time.monotonic() instead of time.time() where applicable.
time.monotonic() available from Python 3.3:

- Nicely communicates a narrow intent of "get a local system monotonic
  clock time" instead of possible "get a not necessarily accurate Unix
  time stamp because it needs to be communicated to outside of this
  process/machine" when time.time() is used.
  
- Its result isn't affected by the system clock updates.

There are two classes of time.time() uses changed to time.monotonic()
by this change:

- measuring time taken to run some code.

- setting and checking a "close_at" threshold for for persistent db
  connections (django/db/backends/base/base.py).
2019-05-08 18:34:22 +02:00
Mariusz Felisiak
30dd43884e
Added stub release notes for 2.2.2. 2019-05-08 14:41:16 +02:00
Hasan Ramezani
f038214d91 Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget.
placeholder is required for "select" with "required" attribute.
2019-05-08 12:46:30 +02:00
Mariusz Felisiak
ef9f2eb69c
Refs #30462 -- Added test for conditional aggregation on annotated subquery. 2019-05-08 11:29:17 +02:00
Jon Dufresne
f9c1d1884e Removed deprecated license-file from setup.cfg.
Starting with wheel 0.32.0 (2018-09-29), the "license-file" option is
deprecated. LICENSE is now included automatically.
2019-05-08 10:20:35 +02:00
Carlton Gibson
34f589ba88 Moved unnecessarily nested import. 2019-05-08 09:26:13 +02:00
Carlton Gibson
6a92bcf55b Removed redundant check from StaticFilesHandler. 2019-05-08 09:26:13 +02:00
Jon Dufresne
b915b9f10f Refs #27753 -- Deprecated django.utils.text.unescape_entities().
The function was undocumented and only required for compatibility with
Python 2.

Code should use Python's html.unescape() that was added in Python 3.4.
2019-05-08 08:00:59 +02:00
Rob
6b736dd074 Fixed #30349 -- Fixed QuerySet.exclude() on FilteredRelation.
Using annotated FilteredRelations raised a FieldError when coupled with
exclude(). This is due to not passing filtered relation fields to the
subquery created in split_exclude(). We fixed this issue by passing the
filtered relation data to the newly created subquery.

Secondly, in the case where an INNER JOIN is used in the excluded
subquery, the ORM would trim the filtered relation INNER JOIN in attempt
to simplify the query. This will also remove the ON clause filters
generated by the FilteredRelation. We added logic to not trim the INNER
JOIN if it is from FilteredRelation.
2019-05-07 14:47:50 +02:00
sanchjat
21aa2a5e78 Removed unnecessary line in DebugLexer.tokenize(). 2019-05-07 13:34:05 +02:00
Chris Adkins
705ef6cfeb Fixed #30447 -- Added 'is_in_european_union' in GeoIP2.city() dict. 2019-05-07 13:31:44 +02:00
Daniel Musketa
59de9494e7 Fixed typo in docs/ref/django-admin.txt. 2019-05-07 11:17:24 +02:00
Rob Golding-Day
4043dc69cd Fixed #30444 -- Moved SQL generation for tables to BaseDatabaseSchemaEditor.table_sql(). 2019-05-07 10:28:14 +02:00
Tobias Kunze
0e2ed4fdd1 Refs #26678 -- Added tests for using the field the relation points to with RelatedManager.add()/remove()/set(). 2019-05-07 09:02:06 +02:00
Tobias Kunze
a44a21a22f Fixed #26678 -- Doc'd that RelatedManager.add()/remove()/set() accepts the field the relation points to. 2019-05-07 08:55:45 +02:00
Ben Muschol
8eb4133714 Always remove required attribute in SelectFilter2.js (#11331)
Fixes bug on browsers which do support the required attribute but not the :valid pseudo-selector
2019-05-07 08:16:30 +02:00
Daniel Hahler
6d37c089ae Readded comment about the default params of cursor.execute().
It was removed in in 728548e483a5a3486939b0c8e62520296587482e.
2019-05-07 08:13:30 +02:00
Tobias Kunze
3166880301 Fixed #29352 -- Allowed specifying a Feed language. 2019-05-06 15:10:54 +02:00
Stephen Brown
86a3ad351e Fixed #30339 -- Made Model.delete(keep_parents=True) preserves nested parent reverse relationships.
Thanks Simon Charette for the review.
2019-05-06 13:04:31 +02:00
Daniel Hahler
29601bca9b Ignored pywatchman.SocketTimeout in Watchman autoreloader.
Bumped minimum supported pywatchman version to 1.2.0.

These exceptions don't require checking a server status.
2019-05-03 13:56:49 +02:00
Mariusz Felisiak
8c5649bfb7
Fixed NonQueryWindowTests.test_unsupported_backend() on MySQL. 2019-05-03 13:49:02 +02:00
Tobias Kunze
e683613649 Fixed #20122 -- Made pluralize template filter return '' on invalid input. 2019-05-03 11:35:20 +02:00
Tobias Kunze
e3968df527 Refs #20122 -- Corrected documentation of pluralize template filter. 2019-05-03 11:35:19 +02:00
Tobias Kunze
a9b8898242 Refs #11929 -- Fixed ordering of test YAML dumps.
Thanks Nick Pope for the review.
2019-05-03 10:48:18 +02:00
Mariusz Felisiak
9006189c0e
Removed unused YamlSerializerTestCase.fwd_ref_str.
Unused since its introduction in febd5aeec604198b2e374a33552b0c365096fd45.
2019-05-03 10:00:06 +02:00
can
567b9928a3 Fixed #29692 -- Fixed removing ordering parts for multiline RawSQL expressions. 2019-05-03 07:37:37 +02:00
Mykola Kokalko
ef082ebb84 Fixed #29529 -- Allowed models.fields.FilePathField to accept a callable path. 2019-05-02 11:11:56 +02:00
Mykola Kokalko
11971cd87c Added tests for setting models.fields.FilePathField.path. 2019-05-02 11:11:50 +02:00
can
bceadd2788 Fixed #30396 -- Added system checks for uniqueness of indexes and constraints names.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-05-02 09:13:20 +02:00
zeyneloz
6485a5f450 Fixed #30409 -- Allowed using foreign key's attnames in unique/index_together and Index's fields. 2019-05-01 11:51:27 +02:00
Mariusz Felisiak
2106b983c4
Added release date for 2.2.1. 2019-05-01 07:05:47 +02:00
François Freitag
568eed9e79 Fixed #30245 -- Added -k option to DiscoverRunner. 2019-04-30 16:20:51 +02:00
can
719b746620 Fixed #30412 -- Fixed crash when adding check constraints with OR'ed condition on Oracle and SQLite. 2019-04-30 12:32:27 +02:00
Jon Dufresne
6866c91b63 Fixed #30418 -- Added --skip-checks management command option. 2019-04-30 10:48:30 +02:00
Tobias Kunze
eb16c7260e Fixed #20629 -- Rephrased custom user models admonition. 2019-04-30 09:09:16 +02:00
Simon Charette
a8b3f96f6a Fixed #30408 -- Fixed crash when adding check constraints with LIKE operator on Oracle and PostgreSQL.
The LIKE operator wildcard generated for contains, startswith, endswith and
their case-insensitive variant lookups was conflicting with parameter
interpolation on CREATE constraint statement execution.

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

Thanks David Sanders for the report.
2019-04-30 07:38:22 +02:00
kingbuzzman
673fe2e3ec Fixed #30148 -- Logged COPY ... TO statements in connection.queries on PostgreSQL. 2019-04-29 14:20:17 +02:00
kingbuzzman
f7408b49a5 Refs #30148 -- Moved logging queries in CursorDebugWrapper to debug_sql() contextmanager. 2019-04-29 13:34:32 +02:00
Tom Forbes
6754bffa2b Fixed #30323 -- Fixed detecting changes by autoreloader when using StatReloader. 2019-04-29 11:41:00 +02:00
Tom Forbes
0636d4d2aa Refs #30323 -- Prevented crash of autoreloader when get_resolver().urlconf_module raising an exception. 2019-04-29 11:41:00 +02:00
Tom Forbes
b5259ab780 Refs #30323 -- Simplified utils.autoreload.ensure_echo_on(). 2019-04-29 11:41:00 +02:00
Mariusz Felisiak
ed880d92b5
Added tests for queries log in CursorDebugWrapper.executemany(). 2019-04-29 10:38:17 +02:00
Jon Dufresne
0dd2308cf6 Fixed Python PendingDeprecationWarning in select_for_update.tests. 2019-04-29 08:47:33 +02:00
Jon Dufresne
5627057f63 Refs #26022 -- Used context manager version of assertRaisesMessage in tests.
Follow up to 253adc2b8a52982139d40c4f55b3fd446e1cb8f3.
2019-04-29 08:05:07 +02:00
Jon Dufresne
dbe436a9a9 Simplified Field.contribute_to_class(). 2019-04-29 07:54:32 +02:00
Carlton Gibson
98296f86b3
Fixed #30351 -- Handled pre-existing permissions in proxy model permissions data migration.
Regression in 181fb60159e54d442d3610f4afba6f066a6dac05.
2019-04-27 20:18:22 +02:00
Daniel Hahler
08a4ee0651 Fixed typos in test names. 2019-04-27 07:47:42 +02:00
Jacob Green
ed3c59097a
Fixed #30361 -- Increased the default timeout of watchman client to 5 seconds and made it customizable.
Made the default timeout of watchman client customizable via
DJANGO_WATCHMAN_TIMEOUT environment variable.
2019-04-26 12:55:49 +02:00
Aarni Koskela
efeceba589
Fixed #30312 -- Relaxed admin check from django.contrib.sessions to SessionMiddleware subclasses. 2019-04-26 11:31:06 +02:00
Mariusz Felisiak
85676979a4
Refs #30388 -- Added release note for 0f22671ecb7e9555300fd2d6cb7bf6dc61735d07. 2019-04-25 15:45:00 +02:00
Jon Dufresne
8d76443aba Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escape()/unescape(). 2019-04-25 15:09:07 +02:00
Jon Dufresne
28d5262fa3 Removed redundant os.path.abspath() call. 2019-04-25 11:56:05 +02:00
Alasdair Nicol
a5accc0368 Fixed #30318 -- Added check for importability of arguments of custom error handler views.
Thanks to Jon on Stack Overflow for reporting the issue.
2019-04-25 11:08:22 +02:00
oliver
fc9566d42d Fixed #30393 -- Added validation of startapp's directory option. 2019-04-25 08:52:48 +02:00
Ville Skyttä
0f22671ecb Fixed #30388 -- Made inspectdb generate OneToOneFields rather than ForeignKey(unique/primary_key=True). 2019-04-25 08:09:32 +02:00
Mariusz Felisiak
5df3301aab Fixed #30362 -- Noted partial indexes and constraints restrictions with abstract base classes.
Thanks Carlton Gibson for the review.
2019-04-25 07:36:07 +02:00
Mariusz Felisiak
f8f0f92ed9 Fixed UniqueConstraint example in ref/models/constraints.txt. 2019-04-25 07:36:07 +02:00
Jon Dufresne
0a01ca80d7 Refs #30241 -- Fixed BytesWarning emitted in test_translation tests. 2019-04-24 15:31:03 +02:00
Martijn Jacobs
9141da1a80 Fixed #30366 -- Skipped StatReloaderTests on HFS+ filesystems.
When on MacOS High Sierra or below (<=10.13) it could be that a HFS+
filesystem is used. HFS+ has a time resolution of only one second
which can be too low for some of the tests.
2019-04-24 15:28:20 +02:00
Jon Dufresne
8b3f1c35dd Removed unnecessary assignments in various code. 2019-04-24 13:09:29 +02:00
Matthias Kestenholz
80482e9249 Fixes #30342 -- Removed a system check for LANGUAGES_BIDI setting.
This partly reverts commit 4400d8296d268f5a8523cd02ddc33b12219b2535.
2019-04-24 10:54:03 +02:00
Luke Plant
0c916255eb Changed tuple Mate.unique_together/permissions to lists in docs. 2019-04-24 10:06:00 +02:00
Carlton Gibson
607ff4efa3 Refs #30254 -- Added tests for Model.__hash__() inheritance. 2019-04-24 09:59:09 +02:00
can
c00b4dbda2 Fixed #29810 -- Fixed crash of select_related() on FilteredRelation with empty result. 2019-04-23 13:48:33 +02:00
Daniel Musketa
6fd9c9daa6 Fixed #30365 -- Fixed syntax highlighting in SQL examples.
Sphinx interprets some "%[a-z]" in SQL statements as a
"Literal.String.Interpol" which leads to incorrect highlighting.
2019-04-23 12:37:50 +02:00
Ramiro Morales
25b5eea8cd Fixed #30387 -- Enhanced docs CLI examples in Unit tests and Install Django on Windows.
Follow up to 37c17846ad6b02c6dca72e8087a279cca04a0c27.
2019-04-23 09:32:55 +02:00
Simon Charette
405c836336 Fixed #30385 -- Restored SearchVector(config) immutability.
Regression in 1a28dc3887e8d66d5e3ff08cf7fb0a6212b873e5.

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

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

Refs #29582. Thanks Andrew Brown for the report, Nick Pope for the
review.
2019-04-23 08:11:33 +02:00
Ville Skyttä
34a68c2cbe Fixed typo in docs/internals/contributing/committing-code.txt. 2019-04-21 12:47:33 +02:00
Mariusz Felisiak
994a00eb70
Refs #30380 -- Used cursor._executed in DatabaseOperations.last_executed_query() on MySQL.
Regression in a41b09266dcdd01036d59d76fe926fe0386aaade.

Thanks Tobias Krönke for the report.
2019-04-21 12:17:05 +02:00
Mariusz Felisiak
a41b09266d
Fixed #30380 -- Handled bytes in MySQL backend for PyMySQL support.
This commit partly reverts efd8a82e268a82b3ad0be77bd5b4548c30bcb4d7.
2019-04-19 20:34:20 +02:00
Mariusz Felisiak
12b7956fc3
Refs #25507 -- Added tests for using QuerySet.count() with a RawSQL annotation.
Fixed in 3f32154f40a855afa063095e3d091ce6be21f2c5
2019-04-19 11:40:04 +02:00
Dustin Neighly
49fb3f5f3e Fixed #30341 -- Added support for the furlong unit in Distance. 2019-04-19 08:54:23 +02:00
Mariusz Felisiak
753580ecd1
Made cosmetic edits in docs/releases/2.2.1.txt. 2019-04-19 08:27:06 +02:00
Scott Fitsimones
a14c0fda15 Fixed #30328 -- Fixed crash of IntegerField.validators when limit_value in a custom validator is callable. 2019-04-19 07:58:27 +02:00
Ramiro Morales
aed89adad5 Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints. 2019-04-18 14:41:15 +02:00
Tomer Chachamu
ceab25bc6d Refs #28762 -- Added test for aggregating over a function with ArrayField parameters.
Fixed in d87bd29c4f8dfcdf3f4a4eb8340e6770a2416fe3.
2019-04-18 12:54:19 +02:00
Mariusz Felisiak
654614b38e
Refs #28767 -- Added test for annotating Value() with empty list as an ArrayField.
Fixed in 3af695eda24b874486ee8be7e0d729761b3bdc71.
2019-04-18 12:06:39 +02:00
Ville Skyttä
03db5fddfd Fixed typos in docs, comments, and exception messages. 2019-04-18 09:33:53 +02:00
Oleh Mykytiuk
177fa08339 Fixed #30370 -- Added dbshell support for client TLS certificates on PostgreSQL. 2019-04-18 08:10:31 +02:00
can
d87bd29c4f Fixed #30335, #29139 -- Fixed crash when ordering or aggregating over a nested JSONField key transform. 2019-04-18 07:16:50 +02:00
Simon Charette
f110de5c04
Fixed #30191 -- Selected only referenced fields during cascade deletion.
The non-referenced fields can only be deferred if no deletion signals
receivers are connected for their respective model as connected as these
receivers might expect all fields of the deleted model to be present.

Thanks Ed Morley for the report.
2019-04-17 13:41:23 +02:00
Simon Charette
26c4be2ebe Refs #18676 -- Enabled fast-delete for m2m_changed senders.
There's no reason to disable fast-delete when an intermediary
many-to-many model has connected m2m_changed receivers because the
signal is only sent when related manager's clear() and remove() methods
are directly called.

This must have been overlooked in 1cd6e04cd4f768bcd4385b75de433d497d938f82
given no regression tests fail when m2m_changed is not taken into
consideration to determine if fast-delete can be enabled.
2019-04-17 13:24:31 +02:00
Willy Njundong
8180ffba21 Updated SpatiaLite install instructions to suggest first package from recent Debian-based distributions. 2019-04-17 07:34:13 +02:00
Hasan Ramezani
917fd9d03f
Fixed #27755 -- Added ModelAdmin.get_inlines() hook. 2019-04-17 07:16:04 +02:00
Tobias Kunze
7d49ad7656 Fixed #14808 -- Doc'd that trans and blocktrans tags don't escape translations. 2019-04-16 10:45:45 +02:00
Vinny Do
a4055adf70 Fixed #30368 -- Fixed prefetch_related() for GenericForeignKey when PK is also a FK. 2019-04-16 09:49:16 +02:00
Tobias Kunze
d610521bff Fixed #14009 -- Fixed custom formset validation example in docs. 2019-04-16 09:24:48 +02:00
Gary Donovan
516d858e7a Fixed typo in docs/ref/models/instances.txt. 2019-04-16 08:26:11 +02:00
Simon Charette
0cb4062482 Refs #23758 -- Used RecursionError instead of RuntimeError to raise nested subquery errors.
RecursionError was introduced in Python 3.5 and subclasses RuntimeError.
2019-04-15 15:20:41 +02:00
Simon Charette
c0969ee227 Refs #27149 -- Based recursive nested subquery detection on sys.getrecursionlimit().
This makes sure the test_avoid_infinite_loop_on_too_many_subqueries test
doesn't fail on systems with a non-default recursion limit.
2019-04-15 15:20:41 +02:00
Tobias Kunze
9ac8520fcd Refs #30325 -- Added tests for using count()/exists() with custom managers and reverse M2M relations. 2019-04-15 12:02:31 +02:00
Mariusz Felisiak
5f7991c42c Fixed #30325 -- Reverted "Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists() on a many-to-many relation."
This reverts commit 1299421cadc4fcf63585f2f88337078e43e660e0 due to
a regression with custom managers.
2019-04-15 12:02:26 +02:00
sage
bfae195b0a
Fixed #30326 -- Doc'd how to avoid persistence of F() assignment. 2019-04-15 08:57:33 +02:00
Markus Holtermann
da0b2554ec Renamed camelCaseTestMethods to snake_case_test_methods 2019-04-14 16:14:14 +02:00
Florian Apolloner
2e38f2015a
Fixed #30350 -- Prevented recreation of migration for operations with a range object.
Thanks to Mariusz Felisiak for helping with the patch.
2019-04-14 12:04:48 +02:00
Mariusz Felisiak
1afbc96a75
Fixed #30343 -- Fixed prefetch_related() for GenericForeignKey when PK of related field is UUIDField. 2019-04-14 10:02:59 +02:00
gnl
9f1d78f857
Corrected wording in docs/intro/overview.txt. 2019-04-14 09:34:57 +02:00
Krisjanis Vaiders
79d3b905df Fixed #30358 -- Removed redundant assertion in FormsUtilsTestCase.test_error_dict_copy(). 2019-04-13 18:42:11 +02:00
Thomas Allison
3e8b733390
Fixed #25941 -- Improved error message for runtests.py when django is not on path. 2019-04-13 16:06:27 +02:00
Sjoerd Job Postmus
e6d57c4d65 Fixed #30363 -- Do not use exponential notation for small decimal numbers.
In 9cc6a60040b0f64f8ea066dd215176d4bd16621d a security patch was
introduced to prevent allocating large segments of memory when a
very large or very small decimal number was to be formatted.

As a side-effect, there was a change in formatting of small decimal
numbers even when the `decimal_pos` argument was provided, which meant
that reasonable small decimal numbers (above 1e-199) would be formatted
as `0.00`, while smaller decimal numbers (under 1e-200) would be
formatted as `1e-200`.
2019-04-13 14:30:33 +02:00
Daniel Musketa
ba72606760 Fixed #30347 -- Fixed typo in docs/topics/db/aggregation.txt. 2019-04-13 12:35:31 +02:00
Bruno Furtado
571ab44e8a Fixed #30321 -- Added example of changed_data to forms docs. 2019-04-09 22:52:33 +02:00
Dolan Antenucci
f944cb3d3b
Fixed #30266 -- Kept a sequence owner when altering an AutoField/BigAutoField on PostgreSQL. 2019-04-08 22:24:18 +02:00
Florian Apolloner
afc708cf6d
Fixed #30330 -- Fixed setting of primary key to None during fast-delete.
Regression in bc7dd8490b882b2cefdc7faf431dc64c532b79c9.
2019-04-08 21:14:00 +02:00
Ran Benita
19fc6376ce
Fixed #30304 -- Added support for the HttpOnly, SameSite, and Secure flags on language cookies. 2019-04-08 11:26:06 +02:00
can
cef3f2d3c6
Fixed #28373 -- Used connection timezone instead of UTC when making dates timezone-aware on MySQL, SQLite, and Oracle.
Thanks vtalpaert for the initial patch.

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-04-08 08:59:17 +02:00
Tim Graham
c84b91b760 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:02:20 -04:00
Simone Pellizzari
d0315584b5
Fixed #30332 -- Fixed crash of ordering by expressions with params in ArrayAgg and StringAgg. 2019-04-06 14:23:29 +02:00
Simone Pellizzari
47a1f2a06f
Refs #26067 -- Added more tests for ordering in StringAgg. 2019-04-06 13:41:46 +02:00
Mariusz Felisiak
79065b55a7
Refs #20010 -- Unified DatabaseOperations.last_executed_query() on Oracle with other db backends.
Thanks Simon Charette for the review.
2019-04-05 21:35:51 +02:00
Nick Pope
6b4e57d79f Refs #30324 -- Forced utf-8 encoding when loading templates for the technical 404 debug and congrats page. 2019-04-05 16:35:01 +02:00
Nick Pope
efb257a017 Fixed #30324 -- Forced utf-8 encoding when loading the template for the technical 500 debug page.
Regression in 50b8493.
Related to ea542a9.
2019-04-05 16:35:01 +02:00
Majid Vaghari
9012033138
Fixed bidirectionality on the congrats page. 2019-04-05 14:20:01 +02:00
Mariusz Felisiak
5efaf078f7
Fixed #30331 -- Added support for psycopg2 2.8. 2019-04-05 11:05:53 +02:00
msg
755673e1bc
Fixed #30307 -- Fixed incorrect quoting of database user password when using dbshell on Oracle.
Regression in acfc650f2a6e4a79e80237eabfa923ea3a05d709.
2019-04-04 08:33:28 +02:00
belegnar
1ffddfc233
Fixed #30302 -- Fixed forms.model_to_dict() result if empty list of fields is passed. 2019-04-03 09:05:15 +02:00
belegnar
714cf468e1
Refs #30302 -- Added more tests for forms.model_to_dict(). 2019-04-03 08:59:08 +02:00
Mariusz Felisiak
e6588aa4e7
Added stub release notes for 2.2.1. 2019-04-03 08:26:05 +02:00
David Beitey
8bdb12c1d3 Fixed typo in django/db/models/query_utils.py comment. 2019-04-03 08:18:54 +02:00
Alex Gaynor
851d9eac23 Fixed typo in docs/releases/2.2.txt. 2019-04-02 09:18:06 +02:00
Mariusz Felisiak
4cbe2b06ce
Fixed typo in docs/ref/settings.txt. 2019-04-02 09:10:11 +02:00
Mariusz Felisiak
7cbcf2e2cb
Fixed #30259 -- Fixed crash of admin views when properties don't have admin_order_field attribute. 2019-04-01 15:11:54 +02:00
Carlton Gibson
93daed25a4 Corrected date format in 2.2 release notes. 2019-04-01 15:00:40 +02:00
Claude Paroz
3e01aab533 Updated contrib translations from Transifex.
Forwardport of 7090cbf54202c21978a93bdb76ba006780e1865c from 2.2.x.
2019-04-01 12:22:15 +02:00
Claude Paroz
3d465f77e5 Updated core translations from Transifex
Forwardport of 98f526e67c2899b9d44ba7cdbab5d70b1baa0060 from 2.2.x.
2019-04-01 12:21:52 +02:00
Carlton Gibson
7191beec4e Set release date in v2.2 release notes. 2019-04-01 12:11:50 +02:00
Carlton Gibson
f9f09a8a02 Updated man page for 2.2 final. 2019-04-01 12:04:08 +02:00
JangHyukJin
0027ca76c7 Used QuerySet.bulk_create() in lookup.tests. 2019-04-01 10:46:28 +02:00
Tim Graham
8335d59200 Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit through model from being editable if the user only has the view permission. 2019-03-30 16:49:16 -04:00
Tim Graham
e245046bb6 Added stub 2.1.8 release notes. 2019-03-30 12:55:30 -04:00
oliver
03bee42a7e Made startapp/project's overlaying error message use 'app' or 'project'. 2019-03-30 10:14:07 -04:00
can
96446c7152
Refs #29697 -- Added test for excluding m2m intermediary table. 2019-03-30 14:46:59 +01:00
Tim Graham
b9455b010e Refs #30278 -- Fixed link in cached_property docs. 2019-03-30 09:35:00 -04:00
Matthew Schinckel
c3c2ec54f5 Refs #30278 -- Doc'd behavior of del on an unaccessed cached_property.
Thanks to Curtis Maloney for the description of the problem.
2019-03-30 09:29:03 -04:00
Brad
ad72895c60 Optimized CommonMiddleware's check for DISALLOWED_USER_AGENTS.
Avoided getattribute + getitem for each DISALLOWED_USER_AGENTS.
2019-03-30 09:02:57 -04:00
Tim Graham
e8774a74cc
Fixed #30301 -- Removed OutputWrapper.__init__()'s style_func arg.
Unused since 533532302ae842c95cf7294ef6cd7f3e2bfaca65.
2019-03-30 08:54:29 -04:00
Abhishek Bera
ca67f39afa Fixed #30265 -- Fixed a tutorial number in Reusable App tutorial. 2019-03-29 21:53:03 -04:00
Nick Pope
198a2a9381 Removed unnecessary /static from links to PostgreSQL docs. 2019-03-29 21:49:44 -04:00
pmisteli
9410db9683 Fixed #30236 -- Made UsernameField render with autocapitalize="none" HTML attribute.
This prevents automatic capitalization, which is the default behavior in
some browsers.
2019-03-29 15:24:44 +01:00
sage
9aa56cb0d5 Fixed #30294 -- Allowed HttpResponse to accept memoryview content. 2019-03-29 09:43:49 -04:00
Tim Graham
879cc3da62 Moved extlinks in docs config to allow using 'version' variable.
After a stable branch is created, 'master' will change to
'stable/' + version + '.x'.
2019-03-28 20:47:51 -04:00
Tim Graham
a68c029e22
Used extlinks for Django's source code. 2019-03-28 20:32:17 -04:00
Tim Graham
8e675e2bd8 Fixed #30299 -- Removed jQuery dependency from getCookie() in CSRF docs. 2019-03-28 19:51:54 -04:00
Nick Pope
4400d8296d
Fixed #30241 -- Added more system checks of translation settings. 2019-03-28 20:10:50 +01:00
Nick Pope
d4783048ef Refs #29713 -- Improved error message when LANGUAGE_CODE is invalid. 2019-03-28 20:04:24 +01:00
Nick Pope
07daa487ae Refs #1660 -- Doc'd the LANGUAGES_BIDI setting. 2019-03-28 20:04:24 +01:00
sage
5a92bb0725 Fixed #30295 -- Fixed max_lengths.tests.MaxLengthORMTests when run in isolation. 2019-03-28 10:18:30 +01:00
Mariusz Felisiak
e449c3a832 Doc'd that HttpResponse accepts bytestrings. 2019-03-28 10:00:12 +01:00
Mariusz Felisiak
881362986a Fixed "byte string" typo in various docs and comments. 2019-03-28 10:00:12 +01:00
Mariusz Felisiak
9ab1d55596
Refs #18726 -- Added test for excluding circular related fields with F() expression.
Fixed in f19a4945e1191e1696f1ad8e6cdc6f939c702728.
2019-03-28 07:10:54 +01:00
Nick Pope
398afba084 Updated spelling and RFCs in HttpOnly cookie flag docs. 2019-03-27 10:09:23 -04:00
Nick Pope
2afd670de5 Removed obsolete RFC from cookie docs.
RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.
2019-03-27 10:05:34 -04:00
Nick Pope
d41a1005eb Removed unused timeparse.js.
Unused since its introduction in dd5320d1d56ca7603747dd68871e72eee99d9e67.
2019-03-27 09:24:09 -04:00
Nick Pope
f0f3b30296 Removed obsolete ActiveXObject from admindocs bookmarklets.
Required for IE<7.
2019-03-27 09:13:39 -04:00
Nick Pope
3113957123 Simplified Date.prototype.getTwelveHours(). 2019-03-27 09:13:21 -04:00
Nick Pope
a25029b336 Removed unused Date.prototype.getHourMinute().
Unused since d2180a6bf3a72bad67bf4897b0ce2d94a6214fc4.
2019-03-27 09:12:44 -04:00
Nick Pope
8c694317f8 Removed unused Date.prototype.getHourMinuteSecond().
Unused since fa0653cd1d791a8bce835e8992cbeab6fd70d0e7.
2019-03-27 09:12:15 -04:00
Nick Pope
93d1f2d209 Removed unused String.prototype.pad_left().
Unused since its introduction in dd5320d1d56ca7603747dd68871e72eee99d9e67.
2019-03-27 09:11:30 -04:00
Nick Pope
41e6ef28b0 Removed unneeded compatibility shim for getComputedStyle().
Required for IE<9.
2019-03-27 09:10:56 -04:00
Mariusz Felisiak
2a431db0f5
Fixed #28621 -- Fixed crash of annotations with OuterRef. 2019-03-27 08:24:05 +01:00
Tim Graham
c4447ad231 Doc'd django-docs-translation and Read the Docs release steps. 2019-03-26 13:11:41 -04:00
Tim Graham
9caa3e0a29
Doc'd a few contributing guidelines. 2019-03-25 18:26:23 -04:00
Nathan Gaberel
624573726a Fixed #29791 -- Made Engine.render_to_string() honor autoescape. 2019-03-25 17:59:07 -04:00
Hasan Ramezani
d4df5e1b0b Fixed #27360 -- Added app or ModelAdmin details for AreadyRegistered exceptions. 2019-03-25 17:34:53 -04:00
Hasan Ramezani
981dd6dd71
Fixed #28431 -- Added a system check for BinaryField to prevent strings defaults.
Thanks Claude Paroz for the initial patch.
2019-03-25 20:04:35 +01:00
Mariusz Felisiak
dc53f2135b
Fixed typo in docs/releases/3.0.txt. 2019-03-25 08:39:11 +01:00
Jani Tiainen
044cc54420
Fixed #30259 -- Added support for admin_order_field attribute on properties in ModelAdmin.list_display. 2019-03-24 20:43:56 +01:00
Matthias Kestenholz
ea60b7bc74 Removed redundant model field choices tests. 2019-03-23 12:04:39 -04:00
Albert Wang
2ee1e1a174 Fixed #30283 -- Fixed shellcheck warnings in django_bash_completion. 2019-03-23 11:56:44 -04:00
Simon Charette
1ca825e4dc Fixed #30246 -- Reused annotation aliases references in aggregation filters.
Thanks Jan Baryła for the detailed report and the reduced test case.
2019-03-23 10:11:45 -04:00
Simon Charette
3f32154f40 Refs #30188 -- Avoided GROUP BY when aggregating over non-aggregates. 2019-03-23 10:11:41 -04:00
Simon Charette
d1e9c25162 Refs #30188 -- Prevented double annotation of subquery when aggregated over.
Thanks Can Sarıgöl for the suggested trimming approach.
2019-03-23 09:50:42 -04:00
Simon Charette
bdc07f176e Fixed #30188 -- Fixed a crash when aggregating over a subquery annotation. 2019-03-23 09:48:31 -04:00
Simon Charette
f19a4945e1 Fixed #21703 -- Fixed a crash when excluding a related field with a F(). 2019-03-23 09:48:28 -04:00
Ryan J Schave
cbf7e71558 Fixed #30257 -- Made UsernameValidators prohibit trailing newlines. 2019-03-22 13:16:25 -04:00
Matthias Kestenholz
ea071870f9 Fixed #30280 -- Restored Model.get_FIELD_display()'s coercion of lazy strings.
Reverted cc79c7ee637e65c8da27e56d746c87903d5ec901.
2019-03-22 12:30:10 -04:00
Nick Pope
d26b242443
Fixed #30271 -- Added the Sign database function. 2019-03-22 12:52:39 +01:00
Simon Charette
5935a9aead Removed obsolete Lookup hook to prepare rhs expressions.
After 3a505c70e7b228bf1212c067a8f38271ca86ce09, all _prepare() methods
return self.
2019-03-21 20:54:21 -04:00
Simon Charette
3a505c70e7 Refs #27149, #29542 -- Simplified subquery parentheses wrapping logic. 2019-03-21 20:42:26 -04:00
Simon Charette
3543129822 Refs #27149 -- Moved subquery expression resolving to Query.
This makes Subquery a thin wrapper over Query and makes sure it respects
the Expression source expression API by accepting the same number of
expressions as it returns. Refs #30188.

It also makes OuterRef usable in Query without Subquery wrapping. This
should allow Query's internals to more easily perform subquery push downs
during split_exclude(). Refs #21703.
2019-03-21 20:36:31 -04:00
Simon Charette
96b6ad94d9 Refs #27149 -- Made Subquery store Query instead of Queryset.
Subquery only uses Query.
2019-03-21 20:02:51 -04:00
Simon Charette
e595a713cc Refs #29542, #30158 -- Enabled a HAVING subquery filter test on Oracle.
Now that subquery annotations aren't included in the GROUP BY unless
explicitly grouped against, the test works on Oracle.
2019-03-21 18:48:41 -04:00
Simon Charette
fb3f034f1c Fixed #30158 -- Avoided unnecessary subquery group by on aggregation.
Subquery annotations can be omitted from the GROUP BY clause on aggregation
as long as they are not explicitly grouped against.

Thanks Jonny Fuller for the report.
2019-03-21 18:48:41 -04:00
Simon Charette
9dc367dc10 Refs #30158 -- Added alias argument to Expression.get_group_by_cols(). 2019-03-21 18:47:46 -04:00
oliver
2aaabe2004 Used QuerySet.bulk_create() in a couple of postgres tests.
Follow up to 0ce2ad9ca4623cfd6dc2515430c0ae8a1717a607.
2019-03-21 18:05:29 -04:00
birthdaysgift
dc740dde50 Fixed #29471 -- Added 'Vary: Cookie' to invalid/empty session cookie responses. 2019-03-21 18:02:49 -04:00
Carlton Gibson
d64808cacd Used a picklable argument for a subTest. 2019-03-21 13:56:05 -04:00
Philipp Bosch
0b8abd7cdf Used monospace font in date template filter format character docs.
Helps distinguish between lowercase L and uppercase I.
2019-03-21 10:20:09 -04:00
Tim Graham
8f1cc7e9e6 Fixed #30277 -- Fixed broken links to packaging.python.org. 2019-03-21 10:07:27 -04:00
Hasan Ramezani
5fc5d93512 Fixed #29956 -- Allowed overriding an order field widget in formsets. 2019-03-21 11:51:01 +01:00
Nick Pope
413d50b5ff Corrected settings names in SecurityMiddleware tests. 2019-03-20 20:15:34 -04:00
Nick Pope
0b70985f42 Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions.
Thanks Mariusz Felisiak and Tim Graham for reviews.
2019-03-20 19:30:43 +01:00
Francisco Couzo
0193bf874f Fixed #28738 -- Added the GeometryDistance function. 2019-03-20 12:54:42 -04:00
oliver
638d5ea375 Moved choices inside of a test model per coding style.
Follow up to 3a4558b84f76c1dbe54c8c38e90e4048c2bd3e9a.
2019-03-20 11:05:26 -04:00
Tim Graham
55490ac746 Fixed serializers test crash if PyYAML isn't installed.
Follow up to a57c783dd4e6dc73847081221827a1902eede88b.
2019-03-20 09:23:50 -04:00
Mariusz Felisiak
c9888bc8ec
Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit systems.
Thanks Andreas Beckmann and Chris Lamb for the report.
2019-03-20 13:44:30 +01:00
Carlton Gibson
418263c457
Fixed #30263 -- Doc'd changes to form Media sorting (refs #30179).
Thanks to Tim Graham for review.
2019-03-18 16:26:28 +01:00
Paul Wayper
1025e76429 Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by(). 2019-03-18 10:32:38 -04:00
Simon Charette
386d89ab55
Fixed #30258 -- Adjusted postgres schema value quoting of ranges.
Thanks Tilman Koschnick for the report and patch.
2019-03-18 09:05:39 +01:00
Paveł Tyślacki
5c17c273ae Refs #30172 -- Prevented removing a model Meta's index/unique_together from removing Meta constraints/indexes. 2019-03-17 20:50:57 -04:00
Paveł Tyślacki
4bb859e246 Refs #30172 -- Prevented removing a field's check or unique constraint from removing Meta constraints. 2019-03-17 20:50:22 -04:00
Simon Charette
218a485bf1 Refs #12663 -- Fixed reference to nonexistent field in model_fields tests. 2019-03-17 20:49:32 -04:00
Jon Dufresne
95b7699ffc Cleaned up exception message checking in some tests. 2019-03-15 19:27:57 -04:00
Matt Westcott
58ad030d05 Fixed #30254 -- Allowed model metaclasses to access the attribute dict in __init__().
Regression in a68ea231012434b522ce45c513d84add516afa60.
2019-03-14 21:05:23 -04:00
Herman S
f976ab1b11 Fixed #30237 -- Made Authentication/SessionMiddleware and ModelBackend admin checks allow subclasses. 2019-03-14 20:09:57 -04:00
Mariusz Felisiak
258110d6cd Simplified test_transform()s in db_functions.math. 2019-03-14 19:42:01 -04:00
Mariusz Felisiak
a57c783dd4 Fixed serializers tests for PyYAML 5.1+. 2019-03-14 13:16:48 -04:00
Paveł Tyślacki
782d85b6df Fixed #30183 -- Added introspection of inline SQLite constraints. 2019-03-13 10:24:28 -04:00
alexanderblnf
406de977ea Fixed #30161 -- Added how to decorate class-based views to view decorators docs. 2019-03-12 10:55:37 -04:00
Mariusz Felisiak
d77657737f
Simplified forms_tests.tests.test_formsets. 2019-03-12 15:46:39 +01:00
David Beitey
9fd90c4088 Clarified deconstruct() in Custom Model Field docs. 2019-03-12 10:12:33 -04:00
Jon Dufresne
45dfb3641a Minimized try block in Client.request(). 2019-03-11 10:39:59 -04:00
Jon Dufresne
ff09add274 Refs #18807 -- Removed unused exception handler from Client.request().
Unused since 8bd7b598b6de1be1e3f72f3a1ee62803b1c02010.
2019-03-10 18:10:51 -07:00
Hang Park
142e1ead76 Fixed #30242 -- Removed extra space before LIMIT/OFFSET SQL. 2019-03-09 21:32:20 +01:00
Nick Pope
a35bf4af72 Fixed typo in tests/check_framework/test_translation.py comment. 2019-03-09 13:17:50 +01:00
btknu
7c3a8b9db2 Fixed #30243 -- Simplified ModelAdmin.render_change_form()'s has_file_field. 2019-03-08 18:03:58 -05:00
tschilling
7c68cea7ee Fixed #30186 -- Made showmigrations --list display the applied datetimes at verbosity 2+. 2019-03-08 08:25:38 -05:00
Tim Schilling
371ddade1e Refs #30186 -- Changed MigrationRecorder.applied_migrations() to return a dict. 2019-03-07 19:36:55 -05:00
Parth Patil
acc041984f Fixed #30189 -- Removed transaction from sqlmigrate output if database doesn't use one. 2019-03-07 18:28:22 -05:00
ahbk
d527639804 Fixed #29754 -- Added is_dst parameter to Trunc database functions. 2019-03-07 10:02:18 -05:00
tschilling
38c3f7ea59 Corrected markup in v3.0 release notes. 2019-03-07 11:11:45 +01:00
Samuel Gaist
75840688f9 Doc'd the use of --noinput for test database handling. 2019-03-05 20:25:22 -05:00
Andra Denis Ionescu
4c086d7da4 Fixed #29459 -- Initialized form data/files with empty MultiValueDicts. 2019-03-05 10:41:08 -05:00
orlnub123
163236ea0e Fixed #30234 -- Disallowed non-upper settings in settings.configure(). 2019-03-05 09:52:08 -05:00
avas9366
9681e968eb Fixed #30232 -- Corrected expected format in invalid DurationField error message. 2019-03-04 19:25:27 -05:00
Jon Dufresne
17455e924e Removed executable bit from static asset xregexp.js. 2019-03-04 10:35:08 -05:00
Mariusz Felisiak
b435f82939
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.
2019-03-03 19:33:48 +01:00
Tim Graham
8ec7ded370 Refs #30227 -- Added helpful message for non-ASCII Content-Type in mulitpart request. 2019-03-02 09:19:05 -05:00
Tim Graham
2ed2acf872 Fixed #30227 -- Fixed crash on request without boundary in Content-Type. 2019-03-02 09:19:05 -05:00
Jon Dufresne
8a2ec55b18 Merged isinstance() calls.
Follow up to 0214f367bc84d7217e42ae0441d500d31c6a5b78.
2019-03-02 12:19:21 +01:00
Paveł Tyślacki
4492be348a Refs #30183 -- Moved SQLite table constraint parsing to a method. 2019-03-01 17:05:36 -05:00
Paveł Tyślacki
b777c0675e Unified nonexistent foreign key introspection value for SQLite. 2019-03-01 15:51:37 -05:00
Mariusz Felisiak
f69c7bbdce
Refs #29408 -- Cosmetic edits for validation of related fields and lookups in model Meta.ordering.
Follow up to 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.
2019-03-01 19:38:21 +01:00
Dan Wilson
fe65918dca Fixed #30229 -- Removed polyfill from inlines.min.js.
find() is only called on jQuery objects, so the polyfill is necessary.
2019-03-01 13:00:30 -05:00
Hasan Ramezani
440505cb2c Fixed #29408 -- Added validation of related fields and lookups in model Meta.ordering. 2019-03-01 17:09:33 +01:00
Etienne Chové
4dcbe6eb2d Fixed #30221 -- Made label suffix of admin's read-only fields translatable. 2019-02-28 11:12:30 -05:00
Johannes Hoppe
25e724a5d6 Fixed #30218 -- Fixed size of admin changelist's search button. 2019-02-28 11:05:48 -05:00
Tobias Bengfort
632d4861dd Clarified permission-related docs. 2019-02-28 15:27:15 +01:00
Matthias Kestenholz
231b513926 Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient.
Thanks gasman for the tests, and codingjoe and timgraham for the review.
2019-02-27 16:39:17 -05:00
Tim Graham
93e892bb64 Refs #29523 -- Updated admin's collapse.min.js.
Omitted in ba83378a7762c51be235b521aa5b48233d6c6c82.
2019-02-27 16:17:10 -05:00
shiningfm
99cfb28e99 Fixed #30215 -- Fixed autoreloader crash for modules without __spec__.
Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca.
2019-02-27 10:35:30 -05:00
Johannes Hoppe
5deb7a86e8 Removed AutocompleteJsonView.paginator_class.
Unused since its introduction in 94cd8efc50c717cd00244f4b2233f971a53b205e.
2019-02-27 09:54:16 -05:00
orlnub123
2c0fda7f20 Refs #30057 -- Added more diffsettings tests.
The test in 573f44d62fe1e87e2c20a74eba5e20ca9ff0ed85 doesn't act as a
regression test.
2019-02-26 10:30:38 -05:00
Tom Forbes
65ef5f467b Refs #27685 -- Removed "watchman unavailable" message. 2019-02-25 21:43:29 -05:00
Matthias Kestenholz
e04209e181 Refs #30179 -- Moved topological sort functions to django.utils. 2019-02-25 15:44:49 -05:00
Tim Graham
50f09264ae Refs #29683 -- Updated multi-db docs for view permission. 2019-02-25 14:56:36 -05:00
Matthias Kestenholz
c41e6c4eb8 Fixed #30208 -- Fixed login header height and alignment in the largest breakpoint. 2019-02-25 14:39:50 -05:00
Mariusz Felisiak
b0799f5d86
Fixed documentation of database representation for ManyToManyField. 2019-02-25 20:05:31 +01:00
Mariusz Felisiak
5c5d4d83dc
Removed not_skip from isort configuration per isort 4.3.5.
__init__.py has been removed from the default ignore list.
2019-02-25 11:25:15 +01:00
Mariusz Felisiak
463fe11bc8
Fixed relative paths imports per isort 4.3.5. 2019-02-25 11:03:30 +01:00
Gabriele Giaccari
52e9c75365 Added PositiveIntegerField support to LayerMapping. 2019-02-23 19:34:10 -05:00
Seunghun Lee
99fc5dc13c Fixed #30141 -- Fixed parse_duration() for some negative durations. 2019-02-23 18:54:09 -05:00
Tim Graham
36300ef336 Fixed a failure when running tests on systems with SQLite < 3.8.3. 2019-02-21 12:52:10 -05:00
Simon Charette
de7f6b51b2 Refs #19544 -- Added a fast path for through additions if supported.
The single query insertion path is taken if the backend supports inserts
that ignore conflicts and m2m_changed signals don't have to be sent.
2019-02-21 10:20:47 -05:00
Simon Charette
28712d8acf Refs #19544 -- Ignored auto-created through additions conflicts if supported.
This prevents IntegrityError caused by race conditions between missing ids
retrieval and bulk insertions.
2019-02-21 10:20:47 -05:00
Simon Charette
dd32f9a3a2 Refs #19544 -- Extracted ManyRelatedManager.add() missing ids logic to a method. 2019-02-21 10:20:47 -05:00
Tim Graham
0ac4e51b2c Fixed typos in tests/template_tests/test_context.py. 2019-02-21 09:43:00 -05:00
Mariusz Felisiak
9ff18c08c3
Refs #28643 -- Added MD5 database function.
Thanks Tim Graham, Nick Pope and Simon Charette for reviews.
2019-02-21 10:52:51 +01:00
Ran Benita
21ff23bfeb Removed an outdated comment on DefaultConnectionProxy. 2019-02-20 11:30:51 -05:00
Jon Dufresne
7feddd878c Fixed #18707 -- Added support for the test client to return 500 responses. 2019-02-20 12:16:10 +01:00
Simon Charette
7071f8f272 Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on initialization.
This addressed a regression introduced by a96b9019320ed8236659ee520a7a017c1bafbc6f as identified by Ran Benita.
2019-02-20 10:59:40 +01:00
Mariusz Felisiak
edec11ce86
Fixed #30187 -- Moved "install Django" command to a console box. 2019-02-16 07:56:28 +01:00
Jakub Szafrański
0104b5a417 Fixed #30181 -- Made cache.get() with default work correctly on PyLibMCCache if None is cached. 2019-02-14 19:57:38 -05:00
Hasan Ramezani
741ce81a42 Fixed #29619 -- Added field names to some FieldErrors. 2019-02-14 18:58:08 -05:00
Nick Pope
5013d38380 Optimized iterator exhaustion using collections.deque(). 2019-02-14 18:21:57 -05:00
Claude Paroz
a8e2a9bac6 Refs #15902 -- Deprecated storing user's language in the session. 2019-02-14 10:23:02 -05:00
Jon Dufresne
76990cbbda Fixed #30171 -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.

The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b.
2019-02-14 10:04:55 -05:00
Tim Graham
21f9d43737
Removed docs of unused libgeoip1/python-gdal packages. 2019-02-14 09:46:34 -05:00
Bernhard M. Wiedemann
5a465df70d Made a requests test that will fail in 2028 fail 10 years later.
2038 is chosen for compatibility with 32-bit systems.
2019-02-14 09:44:41 -05:00
Carlton Gibson
ed7dee55a9
Fixed admin_scripts test failures on macOS.
Regression in 487d904bf253de2f5633f181a168f94086bcd6cb.
2019-02-14 14:28:19 +01:00
Daniel Bowring
cf826c9a91 Fixed #30173 -- Simplified db.backends.postgresql.client. 2019-02-13 17:12:02 -05:00
Tim Graham
ddb2936852 Refs #25175 -- Renamed test file referencing the old postgresql_psycopg2 engine. 2019-02-13 17:11:33 -05:00
Dan Davis
2bd8df243a Fixed #30184 -- Removed ellipsis characters from shell output strings.
Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654)
to avoid a crash when the user shell doesn't support non-ASCII characters.
2019-02-13 13:59:44 -05:00
Hasan Ramezani
f63811f481 Fixed #29943 -- Doc'd that admin changelist may add pk to ordering. 2019-02-12 21:35:49 -05:00
Tim Graham
3b64e2b775 Refs #29478 -- Clarified cached_property 2.2 release note. 2019-02-12 18:17:30 -05:00
Claude Paroz
15715bf2a2 Fixed #22423 -- Added support for MySQL operators on real geometries.
Thanks Viswanathan Mahalingam for the report and initial patch, and
Nicke Pope and Tim Graham for the review.
2019-02-12 17:29:16 -05:00
Claude Paroz
8cf9dbee6a Doc'd database functions for overlaps lookup. 2019-02-12 15:41:50 -05:00
Mariusz Felisiak
7d5d20212c
Simplified test_cursor_var() by using str instead of Database.STRING. 2019-02-12 20:10:02 +01:00
Sergey Fedoseev
543fc97407 Removed unneeded list() calls in enumerate() argument. 2019-02-12 07:51:43 +05:00
Jonatan Alexis Anauati
85ada61ac4 Fixed indentation in docs/topics/templates.txt. 2019-02-11 16:52:31 -05:00
Tim Graham
d6e5aad5c7 Added CVE-2019-6975 to the security release archive. 2019-02-11 16:08:50 -05:00
Tim Graham
1b8f552b08 Refs #30177 -- Forwardported 2.0.13 release notes. 2019-02-11 15:45:04 -05:00
Carlton Gibson
b39bd0aa6d
Refs #30175 -- Added release notes for 2.1.7, 2.0.12, and 1.11.20 releases. 2019-02-11 15:46:33 +01:00
Semen Zhydenko
255d6a26a8 Fixed spelling mistakes in comments and tests. 2019-02-11 08:55:57 -05:00
Atul Varma
b6bb912e9c Fixed typo in docs/releases/2.2.txt. 2019-02-11 08:54:05 -05:00
Carlton Gibson
402c0caa85 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.
2019-02-11 11:08:45 +01:00
Jon Dufresne
c901a1775b Fixed typo in docs/releases/3.0.txt. 2019-02-10 17:45:03 +01:00
Sergey Fedoseev
1835563ab8 Removed unneeded list() calls in sorted() argument. 2019-02-09 19:08:22 -05:00
Jon Dufresne
a98bcfb0dd Refs #15362 -- Removed obsolete workaround in file_uploads test view. 2019-02-09 18:44:28 -05:00
Tim Graham
56b50cbf73 Fixed #30169 -- Removed SAP SQL Anywhere from "3rd party database backends" as it's inactive. 2019-02-09 18:36:46 -05:00
Vinay Karanam
5a36c81f58 Fixed #29391 -- Made PostgresSimpleLookup respect Field.get_db_prep_value(). 2019-02-09 18:05:50 -05:00
Jon Dufresne
c492fdfd24 Removed default empty content argument from HttpResponse calls. 2019-02-09 16:27:32 -05:00
Matthias Kestenholz
959d0c078a Fixed #30153 -- Fixed incorrect form Media asset ordering after three way merge.
Delaying merging assets as long as possible avoids introducing
incorrect relative orderings that cause a broken final result.
2019-02-09 09:38:52 -05:00
Sergey Fedoseev
1933e56eca Removed uneeded generator expressions and list comprehensions. 2019-02-09 09:18:48 -05:00
Sergey Fedoseev
b1a2ad6925 Removed uneeded iter() calls with generator expression as argument. 2019-02-09 09:18:22 -05:00
Simon Charette
b8c48d06fa Refs #26608 -- Added a database feature for fixed frame range distance support. 2019-02-09 08:47:41 -05:00
Simon Charette
64d5bafbc6 Fixed #30027 -- Errored out on Window function usage if unsupported. 2019-02-09 08:47:41 -05:00
Simon Charette
ebd2fe1861 Refs #30027 -- Enabled window function tests on SQLite 3.25+. 2019-02-09 08:47:40 -05:00
Sergey Fedoseev
eefc9550fd Simplified Window.as_sql(). 2019-02-09 08:41:35 -05:00
Tim Graham
ea87a85fad
Dropped support for GEOS 3.4. 2019-02-09 08:40:55 -05:00
Tim Graham
b2333426de
Confirmed support for GDAL 2.4. 2019-02-09 08:38:49 -05:00
Jon Dufresne
e42b788960 Simplified FileBasedCache.clear().
glob.glob1() ignores missing paths.
2019-02-08 18:23:41 -05:00
Mariusz Felisiak
25829197bb
Removed extra characters in docs header underlines. 2019-02-08 21:38:30 +01:00
Himanshu Lakhara
22aab8662f Fixed #30004 -- Changed default FILE_UPLOAD_PERMISSION to 0o644. 2019-02-08 14:53:15 -05:00
Tim Graham
e7fd69d051 Fixed #30166 -- Dropped support for GDAL 1.11. 2019-02-08 14:08:05 -05:00
Jon Dufresne
6eb4996672 Fixed #30165 -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy(). 2019-02-08 10:05:53 -05:00
Gregory N. Schmit
48c17807a9 Fixed #16027 -- Added app_label to ContentType.__str__(). 2019-02-07 19:56:47 -05:00
Carlton Gibson
5cc6f02f91 Added stub release notes for security releases. 2019-02-07 15:46:53 +01:00
Mariusz Felisiak
759a9b710c
Updated Oracle docs links to Oracle 18c. 2019-02-07 09:59:47 +01:00
Jon Dufresne
af1434329f Removed unnecessary type() calls for class methods. 2019-02-06 22:00:32 -05:00
Andy Chosak
80f4ecc647 Refs #15372 -- Removed obsolete docs about manage.py setting sys.path. 2019-02-06 14:47:35 -05:00
Tim Graham
77d25dbd0f Refs #27753 -- Favored SafeString over SafeText. 2019-02-06 14:12:06 -05:00
Tim Graham
d55e882927 Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text(). 2019-02-06 14:12:06 -05:00
Aymeric Augustin
3bb6a4390c Refs #27753 -- Favored force/smart_str() over force/smart_text(). 2019-02-06 14:12:06 -05:00
Nick Pope
24b82cd201 Fixed #30159 -- Removed unneeded use of OrderedDict.
Dicts preserve order since Python 3.6.
2019-02-06 13:48:39 -05:00
Mariusz Felisiak
21bb71ef0d
Fixed #30157 -- Dropped support for Oracle 12.1.
Thanks Tim Graham for the review.
2019-02-06 19:25:04 +01:00
Jon Dufresne
10b0fd1576 Refs #27804 -- Used subTest() in admin_scripts invalid name tests. 2019-02-06 12:59:55 -05:00
Tim Graham
b709d70130 Simplified and corrected LOGIN_URL, LOGIN_REDIRECT_URL, and LOGOUT_REDIRECT_URL docs. 2019-02-05 19:45:29 -05:00
Tim Graham
f09b0f6483 Refs #27753 -- Removed django.utils.safestring.SafeBytes. 2019-02-05 13:00:15 -05:00
Tim Graham
3004d7057f Refs #27753 -- Removed django.utils.functional.curry(). 2019-02-05 13:00:15 -05:00
Tim Graham
9a750cbd5c Refs #27753 -- Removed django.utils.decorators.ContextDecorator alias. 2019-02-05 13:00:11 -05:00
Tim Graham
41384812ef Refs #27753 -- Removed django.utils.six. 2019-02-05 12:58:55 -05:00
Tim Graham
efe28d3f56 Refs #27753 -- Removed django.utils._os.abspathu(), upath(), and npath(). 2019-02-05 12:57:11 -05:00
Tim Graham
d1f4b3c68a Refs #27753 -- Removed django.utils.decorators.available_attrs(). 2019-02-05 12:52:07 -05:00
Tim Graham
c679f357a8 Refs #27753 -- Removed django.utils.lru_cache. 2019-02-05 12:52:07 -05:00
Tim Graham
6d2ae49f25 Refs #27753 -- Removed django.test.utils.patch_logger() and str_prefix(). 2019-02-05 12:52:07 -05:00
Jon Dufresne
487d904bf2 Simplified temporary directory handling in AdminScriptTestCase.
Use tempfile.TemporaryDirectory() in AdminScriptTestCase.setUp()
to create and destroy a temporary directory for each test. It removes
the need for individual tests to delete files.

For test classes that don't use the temporary directory, inherit from
SimpleTestCase.
2019-02-05 12:11:54 -05:00
Jon Dufresne
099c36d546 Replaced manual current directory management with subprocess's cwd argument. 2019-02-05 11:01:36 -05:00
Jon Dufresne
4d425abc84 Removed redundant os.chdir() in RunInTmpDirMixin child classes.
setUp() already calls os.chdir(self.test_dir).
2019-02-05 11:00:04 -05:00
Jon Dufresne
1e280f031e Removed unused branch from SymlinkExtractorTests.test_symlink().
Unused since bb7bb379e8cd91a91336946829519d64e919a1d2.
SymlinkExtractorTests.test_dir, which contains
SymlinkExtractorTests.symlinked_dir, is deleted after every test.
2019-02-05 08:14:23 -05:00
Jon Dufresne
680cc417d3 Removed unused RunInTmpDirMixin.rmfile().
Unused since bb7bb379e8cd91a91336946829519d64e919a1d2.
2019-02-05 13:44:32 +01:00
Tim Graham
0367bc6d04 Removed django.utils.lru_cache usage. 2019-02-04 20:07:49 -05:00
Tim Graham
83c2bc52c2
Refs #27753 -- Deprecated django.utils.http urllib aliases. 2019-02-04 18:53:11 -05:00
Daniel Hahler
fdc4518fe2 Fixed duplicate word in docs/releases/2.0.txt. (#10934) 2019-02-04 18:30:09 -05:00
Tim Graham
39ebdf5a3c Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1. 2019-02-04 18:07:02 -05:00
Tim Graham
d47498c5df Fixed #30156 -- Dropped support for SpatiaLite 4.1 and 4.2. 2019-02-04 13:16:38 -05:00
Tim Graham
4763c97191 Refs #30055 -- Bumped minimum SQLite version in GIS docs. 2019-02-04 11:46:54 -05:00
Mariusz Felisiak
85f924a9b9
Refs #28859 -- Simplified fetch_returned_insert_id() by using int data type for binding variable on Oracle. 2019-02-04 16:31:23 +01:00
Vinay Karanam
3634560fa9 Fixed #29393 -- Prevented infinite loop in ExceptionReporter.get_traceback_frames(). 2019-02-02 16:39:36 -05:00
Mariusz Felisiak
199025fa88
Removed unused words from docs/spelling_wordlist. 2019-02-02 15:36:20 +01:00
Tim Graham
c34c6d0a2f Used extlinks for GitHub commits. 2019-02-01 21:42:48 +01:00
Kathryn Killebrew
75d627888b Fixed #30020 -- Fixed reading nulls with LayerMapping. 2019-01-31 19:50:16 -05:00
Daniel Roseman
6da28d5edf Used LoginRequiredMixin in "Models and request.user" example. 2019-01-31 18:01:53 -05:00
Robert Coup
a8b03bea18 Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText). 2019-01-31 13:13:53 -05:00
Jon Dufresne
290d8471bb Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=True). 2019-01-31 12:53:36 -05:00
Sergey Fedoseev
ba7a420012 Corrected output of Prefetch.to_attr example. 2019-01-31 09:09:08 -05:00
Johannes Hoppe
b131f9c79f Refs #29444 -- Renamed DatabaseFeatures.can_return_id* to be generic for other columns. 2019-01-30 15:31:56 -05:00
Joshua Cannon
16a5a2a2c8 Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty. 2019-01-30 13:44:10 -05:00
Carlton Gibson
bae66e759f Fixed #30091 -- Doc'd middleware ordering requirements with CSRF_USE_SESSIONS. 2019-01-30 11:02:26 -05:00
Tim Graham
7e6b214ed3 Fixed #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
Mariusz Felisiak
5a5c77d55d
Fixed E117 and F405 flake8 warnings. 2019-01-30 13:06:09 +01:00
Dan Tao
738faf9da2 Fixed #30108 -- Allowed adding foreign key constraints in the same statement that adds a field. 2019-01-29 15:42:57 -05:00
Tim Graham
9a0cc54524
Refs #30137 -- Fixed template test on Windows.
Broken in 7785e03ba89aafbd949191f126361fb9103cb980.
2019-01-29 10:05:10 -05:00
Daniel Hahler
14581553e4 Fixed typo in docs/releases/2.2.txt. 2019-01-29 09:10:30 -05:00
rsiemens
a168e5616c Fixed #29973 -- Added compilemessages --ignore option. 2019-01-28 18:23:41 -05:00
rsiemens
bc9f0b3203 Refs #29973 -- Extracted helper functions from makemessages. 2019-01-28 18:23:41 -05:00
Claude Paroz
16454ac35f Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the catalog. 2019-01-28 21:04:36 +01:00
Tom Forbes
1e92407f83 Fixed #25624 -- Fixed autoreload crash with jinja2.ModuleLoader. 2019-01-28 14:17:50 -05:00
Paveł Tyślacki
62b8596616 Made test table cleanup in OperationTestBase more robust.
Some non-unique constraint names were added in
b69f8eb04cc8762d3dfd5af5ea1fc58e3f2ebcc3 which resulted in failures
depending on the order in which tests were run.
2019-01-28 11:51:23 -05:00
Jon Dufresne
7785e03ba8 Fixed #30137 -- Replaced OSError aliases with the canonical OSError.
Used more specific errors (e.g. FileExistsError) as appropriate.
2019-01-28 11:15:06 -05:00
Tim Graham
7444f32527
Refs #30055 -- Added a helpful error when SQLite is too old. 2019-01-28 11:14:45 -05:00
Tim Graham
fcfb730658 Refs #30033 -- Doc'd change regarding apps without migrations depending on apps with migrations.
The addition of self.connection.check_constraints() in
7289874adceec46b5367ec3157cdd10c711253a0 is the cause.
2019-01-28 10:05:25 -05:00
Jon Dufresne
7e3bf2662b Removed default mode='r' argument from calls to open(). 2019-01-27 17:41:43 -05:00
Jon Dufresne
ce7293bc91 Refs #23919 -- Replaced codecs.open() with open().
On Python 3, open() handles encodings.
2019-01-27 17:39:57 -05:00
Sergey Fursov
20ea68c4fe Fixed typo in docs/ref/request-response.txt. 2019-01-27 17:30:47 -05:00
Jon Dufresne
00b2e4b67c Added missing assert in FileBasedCacheTests.test_creates_cache_dir_if_nonexistent(). 2019-01-26 16:38:46 -05:00
Jon Dufresne
ac956dae1d Fixed grammar in FakePayload exception message. 2019-01-25 08:43:21 -08:00
Hasan Ramezani
7e978fdc42 Completed test coverage for utils.text._replace_entity(). 2019-01-23 19:33:21 -05:00
Nick Pope
0ef9979669 Fixed #30123 -- Removed tuple support in DatabaseIntrospection.get_field_type().
Support for returning tuples was undocumented and error prone.
2019-01-23 13:18:03 -05:00
Nick Pope
8d01edfa65 Refs #30123 -- Simplified introspection of geography columns on PostGIS. 2019-01-23 13:18:03 -05:00
Nick Pope
327bbaae24 Refs #30123 -- Changed second arg of DatabaseIntrospection.get_geometry_type() to the row description. 2019-01-23 13:18:03 -05:00
Tim Graham
2de7eb6f4d Refs #30111 -- Fixed test cleanup in postgres_tests/test_integration.py.
Fixed "ERROR: Step ‘Publish JUnit test result report’ failed: No test report
files were found. Configuration error?" on Jenkins because report files were
put in tests/postgres_tests.
2019-01-23 11:34:55 -05:00
Nick Pope
bff748df3e Fixed #30115 -- Fixed SQLite introspection crash with a varchar primary key.
Removed obsolete max_length handling for CharField that caused the issue.
Regression in a35d2a4510d5beec398b1007aaa26492d6aedf97.
2019-01-22 19:02:34 -05:00
Nick Pope
d82f212ec8 Simplified DatabaseIntrospection.get_geometry_type() for PostGIS. 2019-01-22 18:23:37 -05:00
Nick Pope
e19f58fc01 Inlined DatabaseIntrospection._table_info() for SQLite. 2019-01-22 18:23:37 -05:00
Nasir Hussain
2804b8d215 Fixed #30111 -- Fixed AppRegistryNotReady error with django.contrib.postgres in INSTALLED_APPS.
Regression in e192223ed996ed30fe83787efdfa7f2be6b1a2ee.
2019-01-22 17:49:30 -05:00
Vytis Banaitis
d02b2aa11e Made assertOptimizesTo() more strict in migrations tests.
A recursive deconstruction is needed because comparing deconstructed
operations doesn't check field attributes. Fixed typo in failing test.
2019-01-21 17:29:46 -05:00
Simon Charette
8d2dcc47cd Fixed #30106 -- Made order_with_respect_to updates use QuerySet.bulk_update(). 2019-01-21 17:02:20 -05:00
Tim Graham
2110b17924 Tested Model.set_FOO_order() with an unrelated object. 2019-01-21 17:02:15 -05:00
Pavel Savchenko
130192b12b Corrected GenericRelation's related_query_name manual lookup example.
And changed related_query_name to a singular noun.
2019-01-21 10:13:42 -05:00
Jon Dufresne
d15c61cabb Fixed #30121 -- Fixed assertURLEqual() crash with reverse_lazy() URLs.
Regression in 24959e48d949a20be969f649ece3576dbc7ce422.
2019-01-21 09:31:33 -05:00
Simon Charette
65858119d2 Fixed #30120 -- Fixed invalid SQL in distinct aggregate.
Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111 (refs #28658).
2019-01-21 09:24:32 -05:00
Hasan Ramezani
838e432e3e Completed test coverage for utils.text.Truncator.chars(). 2019-01-19 18:45:41 -05:00
Tom Forbes
d8a2f4ec09 Removed redundant period in Watchman unavailable message. 2019-01-19 18:25:01 -05:00
Mariusz Felisiak
f05c02c4b8
Fixed #30117 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.4.0+. 2019-01-19 13:31:15 +01:00
Tom Forbes
7eb4db8732 Removed template_cache attribute from cached template loader.
Unused since 5d8da093a974f41e08573bbe0d32d5ffeaadd0ad.
2019-01-18 18:35:00 -05:00
Mariusz Felisiak
709a8b861d
Optimized Oracle PKs introspection by adding get_primary_key_column(). 2019-01-18 16:50:06 +01:00
Tim Graham
fe6d5a2da2
Fixed #30107 -- Removed unused dirs variable from cache template loader keys.
Unused since 5d8da093a974f41e08573bbe0d32d5ffeaadd0ad.
2019-01-18 10:14:41 -05:00
Tim Graham
6713926ebe Refs #28606 -- Corrected deprecation version for CachedStaticFilesStorage. 2019-01-17 18:34:44 -05:00
Day Barr
51fa59f0b3 Fixed typo in QuerySet.bulk_update documentation (#10859)
Looks like an accidental carry over from the pre-existing
QuerySet.bulk_create documentation.
2019-01-17 12:31:48 -05:00
Tim Graham
06670015f7 Increased the default PBKDF2 iterations for Django 3.0. 2019-01-17 11:15:27 -05:00
Tim Graham
f5060a1385 Advanced deprecation warnings for Django 3.0. 2019-01-17 11:15:27 -05:00
Tim Graham
da1de1615c Refs #28750 -- Removed suppport for model Meta.manager_inheritance_from_future. 2019-01-17 11:15:27 -05:00
Tim Graham
6079ed82f4 Refs #27991 -- Made obj a required argument of InlineModelAdmin.has_add_permission().
Per deprecation timeline.
2019-01-17 11:14:07 -05:00
Tim Graham
92d4d0859a Refs #21221 -- Removed staticfiles and admin_static template tag libraries.
Per deprecation timeline.
2019-01-17 10:52:19 -05:00
Tim Graham
958a7b4ca6 Refs #28965 -- Removed utils.http.cookie_date() per deprecation timeline. 2019-01-17 10:52:19 -05:00
Tim Graham
6f23996a59 Refs #28841 -- Removed ForceRHR function per deprecation timeline. 2019-01-17 10:52:19 -05:00
Tim Graham
1fecde6be9 Refs #11557 -- Removed the field_name keyword argument to QuerySet.earliest() and latest().
Per deprecation timeline.
2019-01-17 10:52:19 -05:00
Tim Graham
da5eb3d56c Refs #28370 -- Removed support for the context arg of Field.from_db_value() and Expression.convert_value().
Per deprecation timeline.
2019-01-17 10:52:19 -05:00
Tim Graham
7c66aaa2b6 Refs #28137 -- Removed HttpRequest.xreadlines() per deprecation timeline. 2019-01-17 10:52:16 -05:00
Tim Graham
8045dff98c Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline. 2019-01-17 10:50:25 -05:00
Tim Graham
573ec714e5 Refs #25978 -- Removed shortcuts.render_to_response() per deprecation timeline. 2019-01-17 10:50:25 -05:00
Tim Graham
944469939b Refs #25175 -- Removed db.backends.postgresql_psycopg2 per deprecation timeline. 2019-01-17 10:50:25 -05:00
Tim Graham
ec7e179aeb Removed versionadded/changed annotations for 2.1. 2019-01-17 10:50:25 -05:00
Tim Graham
eb0ce6fa36 Added stub release notes for 3.0. 2019-01-17 10:50:25 -05:00
Tim Graham
ffe53096a9 Bumped version; master is now 3.0 pre-alpha. 2019-01-17 10:50:24 -05:00
Carlton Gibson
a0c059995a Removed empty sections from 2.2 release notes. 2019-01-17 16:25:02 +01:00
Carlton Gibson
ba1a3c6034 Updated man page for Django 2.2 alpha. 2019-01-17 16:25:02 +01:00
Simon Charette
f84ad16ba4 Refs #17198 -- Detected existing total ordering in admin changelist.
Appending pk is not necessary when a subset of the ordering expressions is
contained in a non-nullable unique contraint.

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

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

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

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

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

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

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

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

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

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

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

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

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

Removed DatabaseFeatures.uppercases_column_names.

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

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

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

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

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

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

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

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

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

Refs #24343.

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

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

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

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

   If the model has no parents:

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

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

    * same applies to `force_update`.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Regression in 08654a99bbdd09049d682ae57cc94241534b29f0.

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

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

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

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

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

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

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

Regression in 095c1aaa898bed40568009db836aa8434f1b983d.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Refs #17209

Thanks Quentin Marlats for the report and Florian Apolloner and Tim
Graham for the review.
2017-02-15 00:35:04 +01:00
Tim Graham
103e6cf26c Fixed #27823 -- Updated mod_wsgi example to use WSGIPythonHome. 2017-02-13 19:52:08 -05:00
amalia
2f10216f84 Fixed #27820 -- Fixed RequestDataTooBig/TooManyFieldsSent crash. 2017-02-13 16:19:03 -05:00
Vytis Banaitis
3effe3a9c6 Refs #22669 -- Fixed bulk_create test if Pillow isn't installed. 2017-02-13 08:58:10 -05:00
Tim Graham
3f5a35d6e2 Added TransactionTestCase.multi_db instead of using getattr(). 2017-02-13 08:46:00 -05:00
Anton Samarchyan
9718fa2e8a Refs #27656 -- Updated django.utils docstring verbs according to PEP 257. 2017-02-11 16:11:08 -05:00
Robert Roskam
98bcc5d81b Fixed #27367 -- Doc'd and tested reversing of URLs with the same name.
Thanks Reinout van Rees for contributing to the patch.
2017-02-11 08:58:40 -05:00
Mads Jensen
fb5bd38e3b Refs #26610 -- Added CIText mixin and CIChar/Email/TextField. 2017-02-11 07:16:35 -05:00
Tim Graham
fe2d288434 Fixed #27722 -- Reallowed using django.Template in {% include %}. 2017-02-11 06:51:57 -05:00
Tim Graham
0595bca221 Fixed #27742 -- Reverted "Fixed #24607 -- Serialized natural keys in multi-table inheritance models."
This reverts commit 74a575eb7296fb04e1fc2bd4e3f68dee3c66ee0a as it causes
unexpected migrations and doesn't seem to be the best solution.
2017-02-11 06:34:59 -05:00
Tim Graham
7b6e42089c Fixed #25978 -- Deprecated shorcuts.render_to_response(). 2017-02-11 05:49:04 -05:00
Tim Graham
0166dd2f8c Fixed #25524 -- Removed GISOperations.get_distance()'s handle_spheroid param. 2017-02-11 05:47:20 -05:00
Claude Paroz
d4b00c5c24 Removed WSGIServer.server_bind() identical to parent version
The method customization was removed in 2ca00faa9137.
2017-02-11 11:16:35 +01:00
ClairePhila
d26413113c Refs #27148 -- Fixed UUIDField.to_python(None) crash.
Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89.
2017-02-10 13:54:52 -05:00
ClairePhila
edad02af06 Allow UUIDField to be None when deserializing 2017-02-10 17:26:02 +01:00
Tim Graham
ab83d4d8fe Added multi_db=True to test cases that access the 'other' db connection.
Fixed a failure in the context processors tests when running in
reverse on MySQL due to an extra query after refs #27683.
2017-02-10 08:19:32 -05:00
Nadège Michel
bece837829 Fixed #20238 -- Added threading support to LiveServerTestCase. 2017-02-09 19:08:32 -05:00
Mikhail Nacharov
c4e2fc5d98 Fixed #22669 -- Fixed QuerySet.bulk_create() with empty model fields on Oracle. 2017-02-09 18:47:08 -05:00
Mariusz Felisiak
965f678a39 Fixed #25898 -- Made test database/user creation on Oracle reraise unexpected errors.
Thanks Shai Berger and Tim Graham for review.
2017-02-09 17:55:07 -05:00
François Freitag
e124d2da94 Fixed #26551 -- Fixed negated Q() queries that span relations.
Prevented queries from reusing trimmed joins.
2017-02-09 11:20:33 -05:00
Tim Graham
ad36e5480d Explained the shell's $ prefix in tutorial 1.
Thanks Luke Sneeringer for the suggestion.
2017-02-09 09:33:42 -05:00
Chronial
03281d8fe7 Fixed #26005 -- Fixed some percent decoding cases in uri_to_iri(). 2017-02-09 09:22:00 -05:00
Tim Graham
500532c95d Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). 2017-02-09 09:03:47 -05:00
Tim Graham
21f13ff5b3 Refs #23919 -- Removed an used block in ExceptionReporter.get_traceback_data().
The test from refs #20368 only runs this block on Python 2.
2017-02-09 09:03:28 -05:00
Mariusz Felisiak
1b96dbdad0 Fixed #27822 -- Replaced deprecated cx_Oracle types in DatabaseIntrospection.data_types_reverse. 2017-02-09 08:57:34 -05:00
Tim Graham
545a88fc16 Fixed typo in docs/topics/testing/tools.txt. 2017-02-08 12:33:47 -05:00
Tim Graham
5e303836b6 Used JsonResponse and response.json in file_uploads tests. 2017-02-08 08:42:28 -05:00
Tim Graham
8863c475c5 Fixed #27821 -- Clarified docs of the return value of Form.clean_<fieldname>().
Thanks Christian Ullrich for the report and review.
2017-02-08 08:38:08 -05:00
Anton Samarchyan
b27166b769 Fixed #27356 -- Fixed ModelAdmin.lookup_allowed() for some nested relations. 2017-02-07 19:33:26 -05:00
Tim Graham
27793431cf Fixed #27814 -- Removed an inaccurate sentence about Paginator.orphans. 2017-02-07 14:15:06 -05:00
Mariusz Felisiak
6b048b364c Fixed #26903 -- Fixed __contains lookup for Date/DateTimeRangeField.
Thanks Mariusz Felisiak and Tim Graham for polishing the patch.
2017-02-07 12:46:18 -05:00
Mariusz Felisiak
0034e9af18 Fixed #5851 -- Allowed specifying different HTML attrs for SplitDateTimeWidget subwidgets.
Thanks Tim Graham and Nick Pope for review.
2017-02-07 11:33:37 -05:00
Claude Paroz
3a148f958d Refs #27795 -- Removed force_text from the template layer
Thanks Tim Graham for the review.
2017-02-07 17:14:02 +01:00
Tim Graham
854f695014 Refs #27815 -- Reordered LoginView.get_form_kwargs(). 2017-02-07 10:15:43 -05:00
Zoltan Gyarmati
41ba27fefd Fixed #27815 -- Made LoginView pass the request kwarg to AuthenticationForm. 2017-02-07 08:54:21 -05:00
Atul Varma
10c47f7b47 Fixed typo in docs/releases/1.11.txt. 2017-02-07 07:49:46 -05:00
Claude Paroz
c651331b34 Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
2017-02-07 09:04:04 +01:00
Tim Graham
4353640ea9 Fixed #27805 -- Fixed ClearableFileInput's "Clear" checkbox on model fields with a default. 2017-02-06 20:31:04 -05:00
Ryan O’Hara
7c4289d0b9 Fixed #27783 -- Switched VariableDoesNotExist.__str__() to repr() context.
Using __str__() and then repr'ing the result looks strange and can lead
to recursive rendering of forms.
2017-02-06 17:53:21 -05:00
Claude Paroz
2757209c9d Refs #27795 -- Removed force_text from templatize function 2017-02-06 17:35:03 +01:00
Mariusz Felisiak
15c14f6f16 Fixed #27802 -- Unified return value of db backend datetime SQL methods. 2017-02-06 09:19:13 -05:00
Charlie Denton
8b62e5df86 Fixed typo in docs/releases/2.0.txt. 2017-02-06 07:57:11 -05:00
Anton Samarchyan
5411821e3b Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257. 2017-02-04 16:39:28 -05:00
Jon Dufresne
3f62d20a9b Fixed running TransactionsPerRequestTests in isolation.
Caused by `contrib/auth/backends.py` changes in
cb7bbf97a74fa7800865e3615f196ad65dc4f281.
2017-02-04 14:19:52 -05:00
orf
b5393028bf Fixed #27767 -- Added distinct argument to ArrayAgg. 2017-02-04 13:57:39 -05:00
Tim Graham
245f209109 Fixed alphabetization of Tom's in AUTHORS. 2017-02-04 13:56:41 -05:00
Mads Jensen
86ae1d51ed Refs #27546 -- Removed hardcoded class names in __repr__() methods. 2017-02-04 11:42:45 -05:00
Mads Jensen
ce69a421f6 Added tests for various __repr__() methods. 2017-02-04 11:29:39 -05:00
Tim Graham
2d899ce16b Refs #23919 -- Removed a Python 2 code path in force_text().
Reverted the obsolete fix and tests for refs #12302.
2017-02-03 19:38:33 -05:00
Tim Graham
26619ad7b0 Removed an untested and broken branch in force_bytes() (refs #6353).
The new test crashed in the removed branch. It's unclear if the branch has
value since c6a2bd9b962af1cdf46f964589e6023046cfa8ec didn't include tests.
2017-02-03 19:36:53 -05:00
Tim Graham
4ee877a7b0 Used super() in DjangoUnicodeDecodeError. 2017-02-03 19:16:14 -05:00
Tim Graham
2f1394c76d Added a test for force_text()'s DjangoUnicodeDecodeError path. 2017-02-03 19:15:50 -05:00
David Sanders
8e3f9d3ee2 Fixed #27741 -- Isolated TestCollectionHashedFilesCache in a tmpdir. 2017-02-03 18:49:08 -05:00
Anton Samarchyan
4d6584000a Refs #27745 -- Improved test coverage of contrib.contenttypes. 2017-02-03 14:17:00 -05:00
Tim Graham
aa14528910 Split up contenttypes_tests. 2017-02-03 13:58:59 -05:00
Tim Graham
29f607927f Fixed spelling of "nonexistent". 2017-02-03 08:01:45 -05:00
Claude Paroz
a21ec12409 Fixed #27803 -- Kept safe status of lazy safe strings in conditional_escape 2017-02-02 21:01:39 +01:00
Tim Graham
f8d52521ab Refs #27804 -- Used subTest() in tests.utils_tests.test_html. 2017-02-02 08:17:00 -05:00
Tim Graham
2af8cd22a9 Imported specific functions in tests.utils_tests.test_html. 2017-02-02 07:23:10 -05:00
Tim Graham
597bfcbf8b Removed unused ExceptionReporter.format_exception() method.
Unused since its introduction in e7e4b8b0f774b119bc1c46a62a97e51d7c8a35e3.
2017-02-01 19:55:31 -05:00
Tim Graham
0205e04ce7 Removed ExceptionReporter support for string exceptions.
Reverted refs #6423 since raising string exceptions is prohibited
since Python 2.5.
2017-02-01 19:47:39 -05:00
Tim Graham
924af638e4 Fixed #27683 -- Made MySQL default to the read committed isolation level.
Thanks Shai Berger for test help and Adam Johnson for review.
2017-02-01 15:34:17 -05:00
Tim Graham
c4e18bb1ce Refs #27683 -- Split up MySQL isolation level tests. 2017-02-01 13:12:59 -05:00
Vytis Banaitis
8838d4dd49 Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. 2017-02-01 11:41:56 -05:00
Ling-Xiao Yang
0ec4dc91e0 Fixed #27661 -- Moved FileSystemFinder's ImproperlyConfigured exceptions to system checks.
Thanks Simon Charette, Mariusz Felisiak, Tim Graham, and Adam Johnson
for review.
2017-02-01 09:48:24 -05:00
Lex Berezhny
ac5f886c56 Fixed #27800 -- Fixed QuerySet.annotate(Length(...)).distinct() crash. 2017-01-31 18:45:55 -05:00
Vytis Banaitis
84126f2789 Refs #23919 -- Removed unneeded code in force_text().
Unneeded since 7b2f2e74adb36a4334e83130f6abc2f79d395235.
2017-01-31 18:31:17 -05:00
Daniel Wiesmann
ed3215ad53 Refs #27421 -- Documented GDALRaster creation in detail. 2017-01-31 11:33:04 -05:00
Jon Dufresne
6d8979f4c2 Fixed #27758 -- Reallowed AdvancedModelIterator pattern after template widget rendering. 2017-01-31 09:41:51 -05:00
Claude Paroz
3b2e28fc85 Used model_ngettext in two more places 2017-01-31 08:48:17 +01:00
Ryan Castner
dbf79c5acf Added missing word in docs/howto/error-reporting.txt. 2017-01-30 15:38:55 -05:00
Claude Paroz
ccfd1295f9 Refs #27795 -- Prevented SafeText from losing safe status on str()
This will allow to replace force_text() by str() in several places (as one of
the features of force_text is to keep the safe status).
2017-01-30 21:10:32 +01:00
Arkadiusz Adamski
274ca99982 Fixed incorrect namespace in sitemap example. 2017-01-30 12:07:14 -05:00
Claude Paroz
c182d66f69 Reintroduced lazy import from commit 52138b1fd0 2017-01-30 15:17:39 +01:00
Claude Paroz
52138b1fd0 Refs #23919 -- Removed usage of obsolete SafeBytes class
The class will be removed as part of #27753.
Thanks Tim Graham for the review.
2017-01-30 15:04:45 +01:00
Claude Paroz
277a4dd4b4 Fixed #27793 -- Used stdlib's ipaddress module to validate IP addresses
Thanks Tim Graham for the review.
2017-01-30 14:22:18 +01:00
Claude Paroz
c688336ebc Refs #23919 -- Assumed request COOKIES and META are str 2017-01-30 14:13:29 +01:00
Mariusz Felisiak
89501d9298 Fixed #27789 -- Simplified query for sequence value on Oracle. 2017-01-30 08:03:42 -05:00
Claude Paroz
068cd60366 Removed unneeded parentheses in class definitions 2017-01-29 18:06:26 +01:00
Subhrajyoti Sen
f5bf11c72b Fixed #26708 -- Updated the contributing tutorial to use a GitHub workflow. 2017-01-28 11:45:04 -05:00
Tim Graham
7d50d2bcb8 Refs #27790 -- Reverted "Removed available_apps on TestCase subclasses."
This reverts commit 91023d79ec70df9289271e63a67675ee51e7dea8 as it
increases memory usage for the test suite.
2017-01-28 10:01:13 -05:00
Thom Wiggers
d5b573d872 Fixed #26993 -- Increased User.last_name max_length to 150 characters. 2017-01-28 09:29:00 -05:00
Tim Graham
0de0699d94 Fixed #27788 -- Dropped support for Oracle < 12.1. 2017-01-28 08:19:47 -05:00
Srinivas Reddy Thatiparthy
a6755b29e9 Removed obsolete sentence in ManagementUtility docstring. 2017-01-28 08:09:42 -05:00
Claude Paroz
e34f4e6f87 Made ugettext* functions aliases of gettext*
Thanks Tim Graham for the review.
2017-01-28 12:01:30 +01:00
Tim Graham
9e9e73735e Refs #23919 -- Removed an obsolete test for a Python 2 code path (refs #15662).
Fixed #21628 by removing the last usage of the imp module.
2017-01-27 17:39:49 -05:00
Dmitry Gladkov
b09faa497e Fixed #27748 -- Switched HTTP error handlers to reference callables instead of strings. 2017-01-27 16:13:40 -05:00
Andrew Nester
c8d21f3351 Fixed #27769 -- Documented option naming differences between django-admin and call_command(). 2017-01-27 16:12:45 -05:00
Anton Samarchyan
56ea394dfd Improved test coverage for conf.urls.static. 2017-01-27 16:12:09 -05:00
Ed Morley
751d77cdd9 Refs #27537 -- Added default_addr(_ipv6) attributes to runserver command. 2017-01-27 13:30:27 -05:00
Anton Samarchyan
0cbfc844a3 Improved test coverage and error messages for conf.urls.__init__. 2017-01-27 13:16:55 -05:00
Tim Graham
e07e743e0c Refs #23919 -- Used DeclarativeFieldsMetaclass.__prepare__() for tracking form field order. 2017-01-27 12:46:21 -05:00
andrewnester
d2e40dd8c2 Fixed #27678 -- Warned that the template system isn't safe against untrusted authors. 2017-01-27 10:36:19 -05:00
Anton Samarchyan
110f4bb6a2 Tested AppConfig.__repr__(). 2017-01-27 09:55:08 -05:00
chillaranand
d9aeee205d Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset. 2017-01-26 18:54:55 -05:00
Anton Samarchyan
8ae90c58ac Slightly simplified django.conf.urls.static.static(). 2017-01-26 18:45:07 -05:00
Mariusz Felisiak
c37ec5a659 Fixed #27781 -- Made simplify_regex() remove outstanding '?' characters.
Regression in f0ef0c49e9284f262fbc63e8a497699ca4a248fe.
2017-01-26 18:36:34 -05:00
Chillar Anand
6478e07a62 Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context manager. 2017-01-26 13:54:16 -05:00
Claude Paroz
fee42fd99e Refs #23919 -- Replaced usage of django.utils.http utilities with Python equivalents
Thanks Tim Graham for the review.
2017-01-26 19:49:03 +01:00
Tim Graham
af598187ec Removed unnecessary force_text() in BaseTemporalField.to_python().
This seems unneeded since its introduction in
da3aa22d04d6452f87abbb1a0fee8a90a61eff5b.
2017-01-26 13:35:39 -05:00
Vytis Banaitis
d1bab24e01 Refs #23919, #27778 -- Removed obsolete mentions of unicode. 2017-01-26 08:19:27 -05:00
Tim Graham
888c1e9bfe Fixed #27776 -- Merged tests/requirements/base.txt into py3.txt. 2017-01-25 16:26:59 -05:00
Tim Graham
1c466994d9 Refs #23919 -- Removed misc Python 2/3 references. 2017-01-25 13:59:25 -05:00
Tim Graham
11856ea44e Refs #27741 -- Fixed staticfiles_tests.test_views when run in isolation. 2017-01-25 13:53:38 -05:00
Ed Morley
bfd42392ab Simplified tests with assertDoesNotOptimize(). 2017-01-25 13:52:44 -05:00
Tim Graham
90db4bb0d7 Corrected http.multipartparser.exhaust() docstring.
MultiPartParserError was removed in
ebf34c3cdcd2c75349c60a064427ac255958bf9b.
2017-01-25 13:00:00 -05:00
chillaranand
d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
chillaranand
dc165ec8e5 Refs #23919 -- Replaced super(ClassName, self) with super() in docs. 2017-01-25 11:53:05 -05:00
Tim Graham
2d96c027f5 Refs #23919 -- Removed obsolete MySQLdb references. 2017-01-25 10:16:10 -05:00
Tim Graham
632c4ffd9c Refs #23919 -- Replaced errno checking with PEP 3151 exceptions. 2017-01-25 10:13:08 -05:00
Tim Graham
3f0c4fe18f Refs #25175 -- Deprecated db.backends.postgresql_psycopg2 module. 2017-01-25 09:23:04 -05:00
Mads Jensen
ebf34c3cdc Removed unused variables that are overwritten. 2017-01-25 09:14:05 -05:00
Paolo Melchiorre
5890d6ab03 Fixed typo in docs/ref/models/expressions.txt. 2017-01-25 07:46:18 -05:00
Claude Paroz
2366100872 Removed unneeded force_text calls in the test suite 2017-01-24 18:45:54 +01:00
Tim Graham
5b95d421f7 Refs #23919 -- Removed a MySQLdb workaround (refs #6052) for Python 2. 2017-01-24 08:35:06 -05:00
Tim Graham
a87d6b69a7 Tidied djang.db.utils.load_backend().
Removed an unneeded EnvironmentError catching and used
"raise from exc" syntax.
2017-01-24 08:33:26 -05:00
Tim Graham
435e4bf38e Refs #23919 -- Removed __traceback__ setting needed for Python 2.
Partially reverted refs #25761 and refs #16245.
2017-01-24 08:31:58 -05:00
Nick Mavrakis
e5c2e43cc8 Fixed #27743 -- Prevented admin's "+" button icon from overlapping its label. 2017-01-23 19:24:47 -05:00
Jon Dufresne
0d74c41981 Replaced dict() usage with dict literals.
Literals are faster and more idiomatic.
2017-01-23 19:13:49 -05:00
Claude Paroz
d2e7d15b4c Assumed iri_to_uri always returns a string
Thanks Tim Graham for the review.
2017-01-23 19:59:33 +01:00
Jon Dufresne
f0573aad4b Replaced "not var is ..." with "is not" in attrs.html. 2017-01-23 13:14:00 -05:00
Tim Graham
248d54569e Removed MySQL decimal casting.
Added in Django 1.0: 92c35a0617836b09aef3b6909579ee368004969b
Unknown when it became obsolete.
2017-01-23 10:44:02 -05:00
Jon Dufresne
5fa390ee81 Fixed #27759 -- Prevented forms attrs.html template from rendering False attrs.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-01-23 08:49:00 -05:00
Jon Dufresne
88183117c2 Fixed #27761 -- Fixed quote location in multiple_input.html forms templates. 2017-01-23 07:44:57 -05:00
Jon Dufresne
ecd5944666 Removed ChoiceWidget.render() as it duplicates parent implementation. 2017-01-23 07:33:27 -05:00
Claude Paroz
8377a98ca5 Removed obsolete force_text_recursive 2017-01-22 21:13:00 +01:00
Claude Paroz
6e55e1d88a Refs #23919 -- Replaced six.reraise by raise 2017-01-22 20:08:04 +01:00
Tim Graham
d170c63351 Refs #23919 -- Removed misc references to Python 2. 2017-01-21 20:02:00 -05:00
Mariusz Felisiak
c22212220a Refs #23919 -- Removed re.U and re.UNICODE (default on Python 3). 2017-01-21 14:28:16 -05:00
Tim Graham
990ce6386c Refs #5748 -- Removed obsolete Python/Windows workarounds in floatformat filter. 2017-01-21 13:53:35 -05:00
Tim Graham
9e6e32bf5d Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.
It's only needed to workaround a bug on Python 2.
2017-01-21 13:20:17 -05:00
Tim Graham
8249c5b382 Added a missing floatformat test and simplified another. 2017-01-21 13:06:52 -05:00
Arkadiusz Adamski
a76d12ceb4 Removed unused imports in example migrations. 2017-01-21 07:40:33 -05:00
Alasdair Nicol
503e944ac7 Refs #16859 -- Updated CSRF FAQ to mention CSRF_USE_SESSIONS setting. 2017-01-20 18:56:48 -05:00
Tim Graham
1b06d5e6f6 Refs #23919 -- Removed pysqlite support (it's Python 2 only). 2017-01-20 18:21:15 -05:00
Claude Paroz
289fc1bfa5 Refs #23919 -- Removed str_prefix usage 2017-01-20 15:43:28 +01:00
Tim Graham
7aba69145d Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. 2017-01-20 08:17:20 -05:00
Claude Paroz
042b7350a0 Refs #23919 -- Removed unneeded str() calls 2017-01-20 14:13:55 +01:00
Tim Graham
4e729feaa6 Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.
These functions do nothing on Python 3.
2017-01-20 08:01:02 -05:00
Srinivas Reddy Thatiparthy
ec4c1d6717 Removed u'' prefx in django/core/signing.py comment. 2017-01-20 07:38:17 -05:00
Tim Graham
109b33f64c Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2. 2017-01-20 08:49:47 +01:00
Claude Paroz
dc8834cad4 Refs #23919 -- Removed unneeded force_str calls 2017-01-20 08:44:31 +01:00
Mariusz Felisiak
bf1c957027 Refs #23919 -- Removed Python 2 workaround for hashing Oracle params (refs #27632). 2017-01-19 22:20:14 -05:00
Tim Graham
fedda6d9bd Refs #23919 -- Removed Python 2 version check in django.http.cookie. 2017-01-19 20:06:03 -05:00
Srinivas Reddy Thatiparthy
eb0b921c29 Refs #23919 -- Removed SessionBase.iterkeys(), itervalues(), iteritems().
These methods only work on Python 2.
2017-01-19 14:15:00 -05:00
Tim Graham
9ee47ce7b4 Refs #23919 -- Removed enum ImportError handling for Python 2. 2017-01-19 13:55:20 -05:00
Tim Graham
d29fd3f9a6 Fixed django/utils/http.py comment typo. 2017-01-19 13:21:54 -05:00
Tim Graham
9d27478958 Refs #23919 -- Removed docs references to long integers. 2017-01-19 13:19:26 -05:00
Tim Graham
9e917cc291 Fixed #23905, refs #23919 -- Used make_msgid() from stdlib. 2017-01-19 12:58:19 -05:00
Tim Graham
d4bb37593e Refs #23919 -- Removed obsolete compare_digest() and pbkdf2() implementations. 2017-01-19 11:55:23 -05:00
Simon Charette
9695b14982 Refs #23919 -- Removed str() conversion of type and method __name__. 2017-01-19 11:31:07 -05:00
Chillar Anand
41e0033caf Refs #23919 -- Removed usage of django.utils.decorators.ContextDecorator. 2017-01-19 11:28:30 -05:00
Simon Charette
4c5ed3e683 Refs #23919 -- Removed __nonzero__() methods (for Python 2).
Thanks Tim for the review.
2017-01-19 11:26:26 -05:00
Claude Paroz
53f3d53ed4 Updated translation catalogs
Forward port of 518693bef559bb719e68b08904a9250abfd9237c from stable/1.11.x
2017-01-19 17:09:37 +01:00
Tim Graham
e5c67f0991 Refs #23919 -- Removed reset_warning_registry() workaround for Python < 3.4.2. 2017-01-19 10:56:00 -05:00
Tim Graham
56aee8d59f Removed xmlrunner from flake8 exclude.
This is an obsolete thing that Jenkins builds needed.
2017-01-19 09:10:35 -05:00
Tim Graham
5320fa77c3 Refs #23919 -- Removed obsolete contextlib.closing() calls (for Python 2). 2017-01-19 08:50:28 -05:00
james mike dupont
7d20094996 Fixed spelling mistakes in code and comments. 2017-01-19 07:52:41 -05:00
Simon Charette
cecc079168 Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
Aymeric Augustin
a556396339 Refs #23919 -- Replaced io.open() with open().
io.open() is an alias for open() on Python 3.
2017-01-18 21:45:12 -05:00
Aymeric Augustin
eb422e476f Refs #23919 -- Removed obsolete __ne__() methods.
__ne__() defaults to the opposite of __eq__() on Python 3
when it doesn't return NotImplemented.
2017-01-18 21:44:00 -05:00
Aymeric Augustin
3cc5f01d9b Refs #23919 -- Stopped using django.utils.lru_cache(). 2017-01-18 21:42:40 -05:00
Claude Paroz
2b281cc35e Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
2017-01-18 21:33:28 +01:00
Claude Paroz
7b2f2e74ad Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18 20:18:46 +01:00
Tim Graham
f6acd1d271 Refs #23919 -- Removed Python 2 notes in docs. 2017-01-18 11:51:29 -05:00
Claude Paroz
c716fe8782 Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
2017-01-18 16:21:28 +01:00
Tim Graham
e63d98b7be Removed formtools from intersphinx_mapping. 2017-01-18 08:33:40 -05:00
Claude Paroz
f3c43ad1fd Refs #23919 -- Removed python_2_unicode_compatible decorator usage 2017-01-18 13:44:34 +01:00
Claude Paroz
d7b9aaa366 Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
Tim Graham
397b3705c5 Removed settings.TEMPLATES upgrade guide. 2017-01-17 20:52:05 -05:00
Tim Graham
6192bffb13 Refs #26601 -- Removed obsolete system check for MIDDLEWARE_CLASSES setting. 2017-01-17 20:52:05 -05:00
Tim Graham
98760ab0b2 Refs #25079 -- Removed obsolete system check for TEMPLATE_* settings. 2017-01-17 20:52:05 -05:00
Tim Graham
0bf3228eec Increased the default PBKDF2 iterations for the 1.11 release cycle. 2017-01-17 20:52:05 -05:00
Tim Graham
f847308200 Advanced deprecation warnings for Django 2.0. 2017-01-17 20:52:05 -05:00
Tim Graham
e27e4c0339 Removed versionadded/changed annotations for 1.10. 2017-01-17 20:52:05 -05:00
Tim Graham
401c5b2e42 Refs #23957 -- Removed the useless SessionAuthenticationMiddleware. 2017-01-17 20:52:05 -05:00
Tim Graham
d334f46b7a Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES. 2017-01-17 20:52:04 -05:00
Tim Graham
631f4ab061 Removed Manager.use_for_related_fields and Meta.manager_inheritance_from_future.
Per deprecation timeline. Refs ed0ff913c648b16c4471fc9a9441d1ee48cb5420.
2017-01-17 20:52:04 -05:00
Tim Graham
60ca37d2e5 Refs #24046 -- Removed mark_for_escaping() per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
0dfc5479a8 Refs #26058 -- Removed deprecated FileField.get_directory_name()/get_filename(). 2017-01-17 20:52:04 -05:00
Tim Graham
58d3d14aea Refs #26533 -- Removed support for Widget._format_value() per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
9d0e8c1e7f Refs #26320 -- Removed implicit OneToOnField parent_link per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
1691782652 Refs #26509 -- Removed contrib.gis.utils.precision_wkt() per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham
2b20e4148f Refs #19567 -- Removed deprecated javascript_catalog() and json_catalog() views. 2017-01-17 20:52:03 -05:00
Tim Graham
933dc62742 Refs #16508 -- Removed virtual aliases of "private fields".
Per deprecation timeline.
2017-01-17 20:52:03 -05:00
Tim Graham
eba093e8b0 Refs #25847 -- Removed support for User.is_(anonymous|authenticated) as methods.
Per deprecation timeline.
2017-01-17 20:52:03 -05:00
Tim Graham
b70094f040 Refs #26226 -- Removed support for related manager classes without a _apply_rel_filters() method.
Per deprecation timeline.
2017-01-17 20:52:03 -05:00
Tim Graham
5139832398 Refs #26285 -- Removed MySQL __search lookup per deprecation timeline. 2017-01-17 20:52:03 -05:00
Tim Graham
bfe0d54514 Refs #26230 -- Removed support for model name query lookups when using Meta.default_related_name.
Per deprecation timeline.
2017-01-17 20:52:03 -05:00
Tim Graham
2d7fb77987 Refs #23832 -- Removed deprecated non-timezone aware Storage API. 2017-01-17 20:52:03 -05:00
Tim Graham
740f63a3df Refs #26263 -- Removed deprecated Context.has_key(). 2017-01-17 20:52:03 -05:00
Tim Graham
bcf3532ede Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. 2017-01-17 20:52:02 -05:00
Tim Graham
bc3540ce2c Refs #26013 -- Removed deprecated django.core.urlresolvers module. 2017-01-17 20:52:02 -05:00
Tim Graham
f65b1aee71 Refs #25838 -- Removed the deprecated shell --plain option. 2017-01-17 20:52:02 -05:00
Tim Graham
9d304b26cf Refs #20223 -- Removed deprecated django.utils.functional.allow_lazy(). 2017-01-17 20:52:02 -05:00
Tim Graham
7e63e84572 Refs #25773 -- Removed deprecated geos.MultiPolygon.cascaded_union property. 2017-01-17 20:52:02 -05:00
Tim Graham
997c9f7099 Refs #25665 -- Removed deprecated getter/setter of Point.tuple. 2017-01-17 20:52:02 -05:00
Tim Graham
19d8e64ac3 Refs #25665 -- Removed deprecated getters/setters of Point coordinate properties. 2017-01-17 20:52:02 -05:00
Tim Graham
a0149848f7 Refs #25665 -- Removed GEOSGeometry.get/set_srid() per deprecation timeline. 2017-01-17 20:52:01 -05:00
Tim Graham
ed251246cc Refs #25550 -- Removed support for direct assignment to the reverse side of a related set. 2017-01-17 20:52:01 -05:00
Tim Graham
e0910dcc92 Refs #25604 -- Removed makemigrations --exit option per deprecation timeline. 2017-01-17 20:52:01 -05:00
Tim Graham
ff419de263 Refs #25466 -- Removed aliases for LoaderOrigin and StringOrigin.
Per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
75cf9b5ac0 Refs #13110 -- Removed SyndicationFeed.add_item()'s enclosure argument.
Per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
d67a46e104 Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.
Per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
7510b872e7 Refs #25190 -- Removed callable_obj parameter to assertRaisesMessages().
Per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
9f9a3d643e Refs #24126 -- Removed auth views' current_app parameter per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham
8377abd59e Refs #25120 -- Removed template.loaders.eggs.Loader per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham
733c7c7030 Refs #24716 -- Removed Field._get_val_from_obj() per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham
ad393beeb7 Refs #21927 -- Removed include()'s app_name argument per deprecation timeline.
Also removed support for passing a 3-tuple to include() and support for
setting an instance namespace without an application namespace.

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

View File

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

193
AUTHORS
View File

@ -8,28 +8,40 @@ answer newbie questions, and generally made Django that much better:
Aaron Cannon <cannona@fireantproductions.com>
Aaron Swartz <http://www.aaronsw.com/>
Aaron T. Myers <atmyers@gmail.com>
Abeer Upadhyay <ab.esquarer@gmail.com>
Abhijeet Viswa <abhijeetviswa@gmail.com>
Abhinav Patil <https://github.com/ubadub/>
Abhishek Gautam <abhishekg1128@yahoo.com>
Adam Allred <adam.w.allred@gmail.com>
Adam Bogdał <adam@bogdal.pl>
Adam Donaghy
Adam Johnson <https://github.com/adamchainz>
Adam Malinowski <http://adammalinowski.co.uk>
Adam Malinowski <https://adammalinowski.co.uk/>
Adam Vandenberg
Adiyat Mubarak <adiyatmubarak@gmail.com>
Adnan Umer <u.adnan@outlook.com>
Adrian Holovaty <adrian@holovaty.com>
Adrien Lemaire <lemaire.adrien@gmail.com>
Afonso Fernández Nogueira <fonzzo.django@gmail.com>
AgarFu <heaven@croasanaso.sytes.net>
Ahmad Alhashemi <trans@ahmadh.com>
Ahmad Al-Ibrahim
Ahmed Eltawela <https://github.com/ahmedabt>
ajs <adi@sieker.info>
Akash Agrawal <akashrocksha@gmail.com>
Akis Kesoglou <akiskesoglou@gmail.com>
Aksel Ethem <aksel.ethem@gmail.com>
Akshesh Doshi <aksheshdoshi+django@gmail.com>
alang@bright-green.com
Alasdair Nicol <http://al.sdair.co.uk/>
Albert Wang <aywang31@gmail.com>
Alasdair Nicol <https://al.sdair.co.uk/>
Albert Wang <https://github.com/albertyw/>
Alcides Fonseca
Aleksandra Sendecka <asendecka@hauru.eu>
Aleksi Häkli <aleksi.hakli@iki.fi>
Alexander Dutton <dev@alexdutton.co.uk>
Alexander Myodov <alex@myodov.com>
Alexandr Tatarinov <tatarinov1997@gmail.com>
Alex Becker <https://alexcbecker.net/>
Alex Couper <http://alexcouper.com/>
Alex Dedul
Alex Gaynor <alex.gaynor@gmail.com>
@ -37,8 +49,9 @@ answer newbie questions, and generally made Django that much better:
Alex Ogier <alex.ogier@gmail.com>
Alex Robbins <alexander.j.robbins@gmail.com>
Alexey Boriskin <alex@boriskin.me>
Alexey Tsivunin <most-208@yandex.ru>
Aljosa Mohorovic <aljosa.mohorovic@gmail.com>
Amit Chakradeo <http://amit.chakradeo.net/>
Amit Chakradeo <https://amit.chakradeo.net/>
Amit Ramon <amit.ramon@gmail.com>
Amit Upadhyay <http://www.amitu.com/blog/>
A. Murat Eren <meren@pardus.org.tr>
@ -51,7 +64,7 @@ answer newbie questions, and generally made Django that much better:
Andreas Mock <andreas.mock@web.de>
Andreas Pelme <andreas@pelme.se>
Andrés Torres Marroquín <andres.torres.marroquin@gmail.com>
Andrew Brehaut <http://brehaut.net/blog>
Andrew Brehaut <https://brehaut.net/blog>
Andrew Clark <amclark7@gmail.com>
Andrew Durdin <adurdin@gmail.com>
Andrew Godwin <andrew@aeracode.org>
@ -78,6 +91,7 @@ answer newbie questions, and generally made Django that much better:
Artem Gnilov <boobsd@gmail.com>
Arthur <avandorp@gmail.com>
Arthur Koziel <http://arthurkoziel.com>
Arthur Rio <arthur.rio44@gmail.com>
Arvis Bickovskis <viestards.lists@gmail.com>
Aryeh Leib Taurog <http://www.aryehleib.com/>
A S Alam <aalam@users.sf.net>
@ -92,10 +106,12 @@ 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>
Batman
Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
Baurzhan Ismagulov <ibr@radix50.net>
Ben Dean Kawamura <ben.dean.kawamura@gmail.com>
Ben Firshman <ben@firshman.co.uk>
@ -110,13 +126,16 @@ 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>
Brad Melin <melinbrad@gmail.com>
Brandon Chinn <http://brandonchinn178.github.io>
Brandon Chinn <https://brandonchinn178.github.io/>
Brant Harris
Brendan Hayward <brendanhayward85@gmail.com>
Brendan Quinn <brendan@cluefulmedia.com>
Brenton Simpson <http://theillustratedlife.com>
Brett Cannon <brett@python.org>
Brett Hoerner <bretthoerner@bretthoerner.com>
@ -125,7 +144,7 @@ answer newbie questions, and generally made Django that much better:
Brian Harring <ferringb@gmail.com>
Brian Ray <http://brianray.chipy.org/>
Brian Rosner <brosner@gmail.com>
Bruce Kroeze <http://coderseye.com/>
Bruce Kroeze <https://coderseye.com/>
Bruno Alla <alla.brunoo@gmail.com>
Bruno Renié <buburno@gmail.com>
brut.alll@gmail.com
@ -134,16 +153,23 @@ answer newbie questions, and generally made Django that much better:
bthomas
btoll@bestweb.net
C8E
Caio Ariede <caio.ariede@gmail.com>
Calvin Spealman <ironfroggy@gmail.com>
Cameron Curry
Cameron Knight (ckknight)
Can Burak Çilingir <canburak@cs.bilgi.edu.tr>
Can Sarıgöl <ertugrulsarigol@gmail.com>
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
Chason Chaffin <chason@gmail.com>
Cheng Zhang
Chris Adams
Chris Beaven <smileychris@gmail.com>
@ -154,13 +180,14 @@ answer newbie questions, and generally made Django that much better:
Chris Jones <chris@brack3t.com>
Chris Lamb <chris@chris-lamb.co.uk>
Chris Streeter <chris@chrisstreeter.com>
Christian Barcenas <christian@cbarcenas.com>
Christian Metts
Christian Oudard <christian.oudard@gmail.com>
Christian Tanzer <tanzer@swing.co.at>
Christophe Pettus <xof@thebuild.com>
Christopher Adams <http://christopheradams.info>
Christopher Babiak <chrisbabiak@gmail.com>
Christopher Lenz <http://www.cmlenz.net/>
Christopher Lenz <https://www.cmlenz.net/>
Christoph Mędrela <chris.medrela@gmail.com>
Chris Wagner <cw264701@ohio.edu>
Chris Wesseling <Chris.Wesseling@cwi.nl>
@ -185,31 +212,35 @@ answer newbie questions, and generally made Django that much better:
dAniel hAhler
Daniel Jilg <daniel@breakthesystem.org>
Daniel Lindsley <daniel@toastdriven.com>
Daniel Poelzleithner <http://poelzi.org/>
Daniel Poelzleithner <https://poelzi.org/>
Daniel Pyrathon <pirosb3@gmail.com>
Daniel Roseman <http://roseman.org.uk/>
Daniel Tao <https://philosopherdeveloper.com/>
Daniel Wiesmann <daniel.wiesmann@gmail.com>
Danilo Bargen
Dan Johnson <danj.py@gmail.com>
Dan Palmer <dan@danpalmer.me>
Dan Poirier <poirier@pobox.com>
Dan Stephenson <http://dan.io/>
Dan Watson <http://danwatson.net/>
dave@thebarproject.com
David Ascher <http://ascher.ca/>
David Ascher <https://ascher.ca/>
David Avsajanishvili <avsd05@gmail.com>
David Blewett <david@dawninglight.net>
David Brenneman <http://davidbrenneman.com>
David Cramer <dcramer@gmail.com>
David Danier <david.danier@team23.de>
David Eklund
David Foster <david@dafoster.net>
David Gouldin <dgouldin@gmail.com>
david@kazserve.org
David Krauth
David Larlet <http://david.larlet.fr>
David Larlet <https://larlet.fr/david/>
David Reynolds <david@reynoldsfamily.org.uk>
David Sanders <dsanders11@ucsbalum.com>
David Schein
David Tulig <david.tulig@gmail.com>
David Wobrock <david.wobrock@gmail.com>
Davide Ceretti <dav.ceretti@gmail.com>
Deepak Thukral <deep.thukral@gmail.com>
Denis Kuzmichyov <kuzmichyov@gmail.com>
@ -223,6 +254,7 @@ answer newbie questions, and generally made Django that much better:
Dmitri Fedortchenko <zeraien@gmail.com>
Dmitry Jemerov <intelliyole@gmail.com>
dne@mayonnaise.net
Dolan Antenucci <antenucci.d@gmail.com>
Donald Harvey <donald@donaldharvey.co.uk>
Donald Stufft <donald@stufft.io>
Don Spaulding <donspauldingii@gmail.com>
@ -232,11 +264,13 @@ answer newbie questions, and generally made Django that much better:
dusk@woofle.net
Ed Morley <https://github.com/edmorley>
eibaan@gmail.com
elky <http://elky.me/>
Emmanuelle Delescolle <https://github.com/nanuxbe>
Emil Stenström <em@kth.se>
enlight
Enrico <rico.bl@gmail.com>
Eric Boersma <eric.boersma@gmail.com>
Eric Brandwein <brandweineric@gmail.com>
Eric Floehr <eric@intellovations.com>
Eric Florenzano <floguy@gmail.com>
Eric Holscher <http://ericholscher.com>
@ -245,9 +279,11 @@ answer newbie questions, and generally made Django that much better:
Erik Karulf <erik@karulf.com>
Erik Romijn <django@solidlinks.nl>
eriks@win.tue.nl
Erwin Junge <erwin@junge.nl>
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 +291,13 @@ answer newbie questions, and generally made Django that much better:
Filip Noetzel <http://filip.noetzel.co.uk/>
Filip Wasilewski <filip.wasilewski@gmail.com>
Finn Gruwier Larsen <finn@gruwier.dk>
Flávio Juvenal da Silva Junior <flavio@vinta.com.br>
flavio.curella@gmail.com
Florian Apolloner <florian@apolloner.eu>
Florian Moussous <florian.moussous@gmail.com>
Francisco Albarran Cristobal <pahko.xd@gmail.com>
Francisco Couzo <franciscouzo@gmail.com>
François Freitag <mail@franek.fr>
Frank Tegtmeyer <fte@fte.to>
Frank Wierzbicki
Frank Wiles <frank@revsys.com>
@ -273,6 +313,7 @@ answer newbie questions, and generally made Django that much better:
Gasper Koren
Gasper Zejn <zejn@kiberpipa.org>
Gavin Wahl <gavinwahl@gmail.com>
Ge Hanbin <xiaomiba0904@gmail.com>
geber@datacollect.com
Geert Vanderkelen
George Karpenkov <george@metaworld.ru>
@ -290,7 +331,9 @@ answer newbie questions, and generally made Django that much better:
Gonzalo Saavedra <gonzalosaavedra@gmail.com>
Gopal Narayanan <gopastro@gmail.com>
Graham Carlyle <graham.carlyle@maplecroft.net>
Grant Jenks <contact@grantjenks.com>
Greg Chapple <gregchapple1@gmail.com>
Gregor Allensworth <greg.allensworth@gmail.com>
Gregor Müllegger <gregor@muellegger.de>
Grigory Fateyev <greg@dial.com.ru>
Grzegorz Ślusarek <grzegorz.slusarek@gmail.com>
@ -298,16 +341,22 @@ answer newbie questions, and generally made Django that much better:
Guillaume Pannatier <guillaume.pannatier@gmail.com>
Gustavo Picon
hambaloney
Hang Park <hangpark@kaist.ac.kr>
Hannes Ljungberg <hannes.ljungberg@gmail.com>
Hannes Struß <x@hannesstruss.de>
Hasan Ramezani <hasan.r67@gmail.com>
Hawkeye
Helen Sherwood-Taylor <helen@rrdlabs.co.uk>
Henrique Romano <onaiort@gmail.com>
Henry Dang <henrydangprg@gmail.com>
Hidde Bultsma
Himanshu Chauhan <hchauhan1404@outlook.com>
hipertracker@gmail.com
Hiroki Kiyohara <hirokiky@gmail.com>
Honza Král <honza.kral@gmail.com>
Horst Gutmann <zerok@zerokspot.com>
Hugo Osvaldo Barrera <hugo@barrera.io>
HyukJin Jang <wkdgurwls00@naver.com>
Hyun Mi Ae
Iacopo Spalletti <i.spalletti@nephila.it>
Ian A Wilson <http://ianawilson.com>
@ -317,16 +366,19 @@ answer newbie questions, and generally made Django that much better:
Ian Lee <IanLee1521@gmail.com>
Ibon <ibonso@gmail.com>
Idan Gazit <idan@gazit.me>
Idan Melamed
Ifedapo Olarewaju <ifedapoolarewaju@gmail.com>
Igor Kolar <ike@email.si>
Illia Volochii <illia.volochii@gmail.com>
Ilya Semenov <semenov@inetss.com>
Ingo Klöcker <djangoproject@ingo-kloecker.de>
I.S. van Oostveen <v.oostveen@idca.nl>
ivan.chelubeev@gmail.com
Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
Jaap Roes <jaap.roes@gmail.com>
Jack Moffitt <https://metajack.im/>
Jacob Burch <jacobburch@gmail.com>
Jacob Green
Jacob Kaplan-Moss <jacob@jacobian.org>
Jakub Paczkowski <jakub@paczkowski.eu>
Jakub Wilk <jwilk@jwilk.net>
@ -336,6 +388,7 @@ answer newbie questions, and generally made Django that much better:
James Bennett <james@b-list.org>
James Murty
James Tauber <jtauber@jtauber.com>
James Timmins <jameshtimmins@gmail.com>
James Wheare <django@sparemint.com>
Jannis Leidel <jannis@leidel.info>
Janos Guljas
@ -343,13 +396,14 @@ answer newbie questions, and generally made Django that much better:
Jan Rademaker
Jarek Głowacki <jarekwg@gmail.com>
Jarek Zgoda <jarek.zgoda@gmail.com>
Jason Davies (Esaj) <http://www.jasondavies.com/>
Jason Davies (Esaj) <https://www.jasondavies.com/>
Jason Huggins <http://www.jrandolph.com/blog/>
Jason McBrayer <http://www.carcosa.net/jason/>
jason.sidabras@gmail.com
Jason Yan <tailofthesun@gmail.com>
Javier Mansilla <javimansilla@gmail.com>
Jay Parlar <parlar@gmail.com>
Jay Welborn <jesse.welborn@gmail.com>
Jay Wineinger <jay.wineinger@gmail.com>
J. Clifford Dyer <jcd@sdf.lonestar.org>
jcrasta@gmail.com
@ -359,21 +413,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 +441,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>
@ -403,6 +462,7 @@ answer newbie questions, and generally made Django that much better:
Josef Rousek <josef.rousek@gmail.com>
Joseph Kocherhans <joseph@jkocherhans.com>
Josh Smeaton <josh.smeaton@gmail.com>
Joshua Cannon <joshdcannon@gmail.com>
Joshua Ginsberg <jag@flowtheory.net>
Jozko Skrablin <jozko.skrablin@gmail.com>
J. Pablo Fernandez <pupeno@pupeno.com>
@ -414,6 +474,7 @@ answer newbie questions, and generally made Django that much better:
Julia Matsieva <julia.matsieva@gmail.com>
Julian Bez
Julien Phalip <jphalip@gmail.com>
Junyoung Choi <cupjoo@gmail.com>
junzhang.jn@gmail.com
Jure Cuhalev <gandalf@owca.info>
Justin Bronn <jbronn@gmail.com>
@ -426,10 +487,13 @@ answer newbie questions, and generally made Django that much better:
Karderio <karderio@gmail.com>
Karen Tracey <kmtracey@gmail.com>
Karol Sikora <elektrrrus@gmail.com>
Katherine “Kati” Michel <kthrnmichel@gmail.com>
Kathryn Killebrew <kathryn.killebrew@gmail.com>
Katie Miller <katie@sub50.com>
Keith Bussell <kbussell@gmail.com>
Kenneth Love <kennethlove@gmail.com>
Kent Hauser <kent@khauser.net>
Kevin Grinberg <kevin@kevingrinberg.com>
Kevin Kubasik <kevin@kubasik.net>
Kevin McConnell <kevin.mcconnell@gmail.com>
Kieran Holland <http://www.kieranholland.com>
@ -438,6 +502,7 @@ answer newbie questions, and generally made Django that much better:
knox <christobzr@gmail.com>
konrad@gwu.edu
Kowito Charoenratchatabhan <kowito@felspar.com>
Krišjānis Vaiders <krisjanisvaiders@gmail.com>
krzysiek.pawlik@silvermedia.pl
Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com>
Krzysztof Kulewski <kulewski@gmail.com>
@ -445,7 +510,7 @@ answer newbie questions, and generally made Django that much better:
Lakin Wecker <lakin@structuredabstraction.com>
Lars Yencken <lars.yencken@gmail.com>
Lau Bech Lauritzen
Laurent Luce <http://www.laurentluce.com>
Laurent Luce <https://www.laurentluce.com/>
Laurent Rahuel <laurent.rahuel@gmail.com>
lcordier@point45.com
Leah Culver <leah.culver@gmail.com>
@ -456,14 +521,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 <https://www.revolutiontech.ca/>
Luciano Ramalho
Ludvig Ericson <ludvig.ericson@gmail.com>
Luis C. Berrocal <luis.berrocal.1942@gmail.com>
Łukasz Langa <lukasz@langa.pl>
Łukasz Rekucki <lrekucki@gmail.com>
Luke Granger-Brown <django@lukegb.com>
@ -489,17 +558,20 @@ answer newbie questions, and generally made Django that much better:
Mario Gonzalez <gonzalemario@gmail.com>
Mariusz Felisiak <felisiak.mariusz@gmail.com>
Mark Biggers <biggers@utsl.com>
Mark Gensler <mark.gensler@protonmail.com>
mark@junklight.com
Mark Lavin <markdlavin@gmail.com>
Mark Sandstrom <mark@deliciouslynerdy.com>
Markus Amalthea Magnuson <markus.magnuson@gmail.com>
Markus Holtermann <https://markusholtermann.eu>
Marten Kenbeek <marten.knbk+django@gmail.com>
Marti Raudsepp <marti@juffo.org>
martin.glueck@gmail.com
Martin Green
Martin Kosír <martin@martinkosir.net>
Martin Mahner <http://www.mahner.org/>
Martin Mahner <https://www.mahner.org/>
Martin Maney <http://www.chipy.org/Martin_Maney>
Martin von Gagern <gagern@google.com>
Mart Sõmermaa <http://mrts.pri.ee/>
Marty Alchin <gulopine@gamemusic.org>
masonsimon+django@gmail.com
@ -511,7 +583,7 @@ answer newbie questions, and generally made Django that much better:
Matt Croydon <http://www.postneo.com/>
Matt Deacalion Stevens <matt@dirtymonkey.co.uk>
Matt Dennenbaum
Matthew Flanagan <http://wadofstuff.blogspot.com>
Matthew Flanagan <https://wadofstuff.blogspot.com/>
Matthew Schinckel <matt@schinckel.net>
Matthew Somerville <matthew-django@dracos.co.uk>
Matthew Tretter <m@tthewwithanm.com>
@ -519,16 +591,19 @@ answer newbie questions, and generally made Django that much better:
Matthias Kestenholz <mk@406.ch>
Matthias Pronk <django@masida.nl>
Matt Hoskins <skaffenuk@googlemail.com>
Matt McClanahan <http://mmcc.cx/>
Matt McClanahan <https://mmcc.cx/>
Matt Riggott
Matt Robenolt <m@robenolt.com>
Mattia Larentis <mattia@laretis.eu>
Mattia Procopio <promat85@gmail.com>
Mattias Loverot <mattias@stubin.se>
mattycakes@gmail.com
Max Burstein <http://maxburstein.com>
Max Derkachev <mderk@yandex.ru>
Max Smolens <msmolens@gmail.com>
Maxime Lorant <maxime.lorant@gmail.com>
Maxime Turcotte <maxocub@riseup.net>
Maximilian Merz <django@mxmerz.de>
Maximillian Dornseif <md@hudora.de>
mccutchen@gmail.com
Meir Kriheli <http://mksoft.co.il/>
@ -538,7 +613,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
@ -547,13 +624,14 @@ answer newbie questions, and generally made Django that much better:
Mihai Preda <mihai_preda@yahoo.com>
Mikaël Barbero <mikael.barbero nospam at nospam free.fr>
Mike Axiak <axiak@mit.edu>
Mike Grouchy <http://mikegrouchy.com/>
Mike Grouchy <https://mikegrouchy.com/>
Mike Malone <mjmalone@gmail.com>
Mike Richardson
Mike Wiacek <mjwiacek@google.com>
Mikhail Korobov <kmike84@googlemail.com>
Mikko Hellsing <mikko@sorl.net>
Mikołaj Siedlarek <mikolaj.siedlarek@gmail.com>
milkomeda
Milton Waddams
mitakummaa@gmail.com
mmarshall
@ -563,34 +641,41 @@ answer newbie questions, and generally made Django that much better:
Morten Bagai <m@bagai.com>
msaelices <msaelices@gmail.com>
msundstr
Mushtaq Ali <mushtaak@gmail.com>
Mykola Zamkovoi <nickzam@gmail.com>
Nadège Michel <michel.nadege@gmail.com>
Nagy Károly <charlie@rendszergazda.com>
Nasimul Haque <nasim.haque@gmail.com>
Nasir Hussain <nasirhjafri@gmail.com>
Natalia Bidart <nataliabidart@gmail.com>
Nate Bragg <jonathan.bragg@alum.rpi.edu>
Nathan Gaberel <nathan@gnab.fr>
Neal Norwitz <nnorwitz@google.com>
Nebojša Dorđević
Ned Batchelder <http://www.nedbatchelder.com/>
Ned Batchelder <https://nedbatchelder.com/>
Nena Kojadin <nena@kiberpipa.org>
Niall Dalton <niall.dalton12@gmail.com>
Niall Kelly <duke.sam.vimes@gmail.com>
Nick Efford <nick@efford.org>
Nick Lane <nick.lane.au@gmail.com>
Nick Pope <nick@nickpope.me.uk>
Nick Presta <nick@nickpresta.ca>
Nick Sandford <nick.sandford@gmail.com>
Nick Sarbicki <nick.a.sarbicki@gmail.com>
Niclas Olofsson <n@niclasolofsson.se>
Nicola Larosa <nico@teknico.net>
Nicolas Lara <nicolaslara@gmail.com>
Nicolas Noé <nicolas@niconoe.eu>
Niran Babalola <niran@niran.org>
Nis Jørgensen <nis@superlativ.dk>
Nowell Strite <http://nowell.strite.org/>
Nowell Strite <https://nowell.strite.org/>
Nuno Mariz <nmariz@gmail.com>
oggie rob <oz.robharvey@gmail.com>
oggy <ognjen.maric@gmail.com>
Oliver Beattie <oliver@obeattie.com>
Oliver Rutherfurd <http://rutherfurd.net/>
Olivier Sels <olivier.sels@gmail.com>
Olivier Tabone <olivier.tabone@ripplemotion.fr>
Orestis Markou <orestis@orestis.gr>
Orne Brocaar <http://brocaar.com/>
Oscar Ramirez <tuxskar@gmail.com>
@ -600,16 +685,20 @@ answer newbie questions, and generally made Django that much better:
Panos Laganakos <panos.laganakos@gmail.com>
Pascal Hartig <phartig@rdrei.net>
Pascal Varet
Patrik Sletmo <patrik.sletmo@gmail.com>
Paul Bissex <http://e-scribe.com/>
Paul Collier <paul@paul-collier.com>
Paul Collins <paul.collins.iii@gmail.com>
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,17 +721,24 @@ answer newbie questions, and generally made Django that much better:
pradeep.gowda@gmail.com
Preston Holmes <preston@ptone.com>
Preston Timmons <prestontimmons@gmail.com>
Priyansh Saxena <askpriyansh@gmail.com>
Przemysław Buczkowski <przemub@przemub.pl>
Przemysław Suliga <http://suligap.net>
Rachel Tobin <rmtobin@me.com>
Rachel Willmer <http://www.willmer.com/kb/>
Radek Švarz <http://www.svarz.cz/translate/>
Radek Švarz <https://www.svarz.cz/translate/>
Raffaele Salmaso <raffaele@salmaso.org>
Rajesh Dhawan <rajesh.dhawan@gmail.com>
Ramez Ashraf <ramezashraf@gmail.com>
Ramin Farajpour Cami <ramin.blackhat@gmail.com>
Ramiro Morales <ramiro@rmorales.net>
Ramon Saraiva <ramonsaraiva@gmail.com>
Ram Rachum <ram@rachum.com>
Randy Barlow <randy@electronsweatshop.com>
Raphaël Barrois <raphael.barrois@m4x.org>
Raphael Michel <mail@raphaelmichel.de>
Raúl Cumplido <raulcumplido@gmail.com>
Rebecca Smith <rebkwok@gmail.com>
Remco Wendt <remco.wendt@gmail.com>
Renaud Parent <renaud.parent@gmail.com>
Renbi Yu <averybigant@gmail.com>
@ -661,10 +757,13 @@ answer newbie questions, and generally made Django that much better:
Roberto Aguilar <roberto@baremetal.io>
Robert Rock Howard <http://djangomojo.com/>
Robert Wittams
Rob Hudson <http://rob.cogit8.org/>
Rob Golding-Day <rob@golding-day.com>
Rob Hudson <https://rob.cogit8.org/>
Rob Nguyen <tienrobertnguyenn@gmail.com>
Robin Munn <http://www.geekforgod.com/>
Rodrigo Pinheiro Marques de Araújo <fenrrir@gmail.com>
Romain Garrigues <romain.garrigues.cs@gmail.com>
Ronny Haryanto <http://ronny.haryan.to/>
Ronny Haryanto <https://ronny.haryan.to/>
Ross Poulton <ross@rossp.org>
Rozza <ross.lawley@gmail.com>
Rudolph Froger <rfroger@estrate.nl>
@ -677,18 +776,24 @@ 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>
Sachin Jat <sanch.jat@gmail.com>
Sam Newman <http://www.magpiebrain.com/>
Sander Dijkhuis <sander.dijkhuis@gmail.com>
Sanket Saurav <sanketsaurav@gmail.com>
Sanyam Khurana <sanyam.khurana01@gmail.com>
Sarthak Mehrish <sarthakmeh03@gmail.com>
schwank@gmail.com
Scot Hacker <shacker@birdhouse.org>
Scott Barr <scott@divisionbyzero.com.au>
Scott Fitsimones <scott@airgara.ge>
Scott Pashley <github@scottpashley.co.uk>
scott@staplefish.com
Sean Brant
Sebastian Hillig <sebastian.hillig@gmail.com>
Sebastian Spiegel <http://www.tivix.com/>
Sebastian Spiegel <https://www.tivix.com/>
Segyo Myung <myungsekyo@gmail.com>
Selwin Ong <selwin@ui.co.id>
Sengtha Chay <sengtha@e-khmer.com>
Senko Rašić <senko.rasic@dobarkod.hr>
@ -698,7 +803,7 @@ answer newbie questions, and generally made Django that much better:
Sergey Kolosov <m17.admin@gmail.com>
Seth Hill <sethrh@gmail.com>
Shai Berger <shai@platonix.com>
Shannon -jj Behrens <http://jjinux.blogspot.com/>
Shannon -jj Behrens <https://www.jjinux.com/>
Shawn Milochik <shawn@milochik.com>
Silvan Spross <silvan.spross@gmail.com>
Simeon Visser <http://simeonvisser.com>
@ -709,27 +814,35 @@ answer newbie questions, and generally made Django that much better:
Simon Meers <simon@simonmeers.com>
Simon Williams
Simon Willison <simon@simonwillison.net>
Sjoerd Job Postmus
Slawek Mikula <slawek dot mikula at gmail dot com>
sloonz <simon.lipp@insa-lyon.fr>
smurf@smurf.noris.de
sopel
Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
Stanislas Guerra <stan@slashdev.me>
Stanislaus Madueke
Stanislav Karpov <work@stkrp.ru>
starrynight <cmorgh@gmail.com>
Stefan R. Filipek
Stefane Fermgier <sf@fermigier.com>
Stefano Rivera <stefano@rivera.za.net>
Stéphane Raimbault <stephane.raimbault@gmail.com>
Stephan Jaekel <steph@rdev.info>
Stephen Burrows <stephen.r.burrows@gmail.com>
Steven L. Smith (fvox13) <steven@stevenlsmith.com>
Stuart Langridge <http://www.kryogenix.org/>
Steven Noorbergen (Xaroth) <xaroth+django@xaroth.nl>
Stuart Langridge <https://www.kryogenix.org/>
Subhav Gautam <subhavgautam@yahoo.co.uk>
Sujay S Kumar <sujay.skumar141295@gmail.com>
Sune Kirkeby <http://ibofobi.dk/>
Sune Kirkeby <https://ibofobi.dk/>
Sung-Jin Hong <serialx.net@gmail.com>
SuperJared
Susan Tan <susan.tan.fleckerl@gmail.com>
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 +851,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,21 +860,25 @@ 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 Givois <tim.givois.mendez@gmail.com>
Tim Graham <timograham@gmail.com>
Tim Heap <tim@timheap.me>
Tim Saylor <tim.saylor@gmail.com>
Tobias Kunze <rixx@cutebit.de>
Tobias McNulty <http://www.caktusgroup.com/blog>
Tobias McNulty <https://www.caktusgroup.com/blog/>
tobias@neuyork.de
Todd O'Bryan <toddobryan@mac.com>
Tom Christie <tom@tomchristie.com>
Tom Forbes <tom@tomforb.es>
Tom Insam
Tom Tobin
Tomáš Ehrlich <tomas.ehrlich@gmail.com>
Tomáš Kopeček <permonik@m6.cz>
Tom Christie <tom@tomchristie.com>
Tome Cvitan <tome@cvitan.com>
Tomek Paczkowski <tomek@hauru.eu>
Tom Insam
Tomer Chachamu
Tommy Beadle <tbeadle@gmail.com>
Tom Tobin
Tore Lundqvist <tore.lundqvist@gmail.com>
torne-django@wolfpuppy.org.uk
Travis Cline <travis.cline@gmail.com>
@ -779,11 +897,15 @@ answer newbie questions, and generally made Django that much better:
valtron
Vasiliy Stavenko <stavenko@gmail.com>
Vasil Vangelovski
Vibhu Agarwal <vibhu-agarwal.github.io>
Victor Andrée
viestards.lists@gmail.com
Ville Säävuori <http://www.unessa.net/>
Viktor Danyliuk <v.v.danyliuk@gmail.com>
Ville Säävuori <https://www.unessa.net/>
Vinay Karanam <https://github.com/vinayinvicible>
Vinay Sajip <vinay_sajip@yahoo.co.uk>
Vincent Foley <vfoleybourgon@yahoo.ca>
Vinny Do <vdo.code@gmail.com>
Vitaly Babiy <vbabiy86@gmail.com>
Vladimir Kuzma <vladimirkuzma.ch@gmail.com>
Vlado <vlado@labath.org>
@ -796,12 +918,13 @@ answer newbie questions, and generally made Django that much better:
Wiktor Kołodziej <wiktor@pykonik.org>
Wiley Kestner <wiley.kestner@gmail.com>
Wiliam Alves de Souza <wiliamsouza83@gmail.com>
Will Ayd <william.ayd@icloud.com>
William Schwartz <wkschwartz@gmail.com>
Will Hardy <django@willhardy.com.au>
Wilson Miner <wminer@gmail.com>
Wim Glenn <hey@wimglenn.com>
wojtek
Xia Kai <http://blog.xiaket.org/>
Xia Kai <https://blog.xiaket.org/>
Yann Fouillat <gagaro42@gmail.com>
Yann Malet
Yasushi Masuda <whosaysni@gmail.com>
@ -809,13 +932,16 @@ 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>
Žan Anderle <zan.anderle@gmail.com>
Zbigniew Siciarz <zbigniew@siciarz.net>
zegor
Zeynel Özdemir <ozdemir.zynl@gmail.com>
Zlatko Mašek <zlatko.masek@gmail.com>
<Please alphabetize new entries>
@ -828,7 +954,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.

1
FUNDING.yml Normal file
View File

@ -0,0 +1 @@
custom: https://www.djangoproject.com/fundraising/

13
INSTALL
View File

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

View File

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

View File

@ -1,3 +1,7 @@
======
Django
======
Django is a high-level Python Web framework that encourages rapid development
and clean, pragmatic design. Thanks for checking it out.
@ -25,8 +29,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 = (3, 0, 15, 'alpha', 0)
__version__ = get_version(VERSION)
@ -16,12 +14,11 @@ def setup(set_prefix=True):
from django.apps import apps
from django.conf import settings
from django.urls import set_script_prefix
from django.utils.encoding import force_text
from django.utils.log import configure_logging
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
if set_prefix:
set_script_prefix(
'/' if settings.FORCE_SCRIPT_NAME is None else force_text(settings.FORCE_SCRIPT_NAME)
'/' if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME
)
apps.populate(settings.INSTALLED_APPS)

View File

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

View File

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

View File

@ -1,21 +1,43 @@
"""
Settings and configuration for Django.
Values will be read from the module specified by the DJANGO_SETTINGS_MODULE environment
variable, and then from django.conf.global_settings; see the global settings file for
a list of all possible variables.
Read values from the module specified by the DJANGO_SETTINGS_MODULE environment
variable, and then from django.conf.global_settings; see the global_settings.py
for a list of all possible variables.
"""
import importlib
import os
import time
import traceback
import warnings
from pathlib import Path
import django
from django.conf import global_settings
from django.core.exceptions import ImproperlyConfigured
from django.utils.deprecation import RemovedInDjango31Warning
from django.utils.functional import LazyObject, empty
ENVIRONMENT_VARIABLE = "DJANGO_SETTINGS_MODULE"
FILE_CHARSET_DEPRECATED_MSG = (
'The FILE_CHARSET setting is deprecated. Starting with Django 3.1, all '
'files read from disk must be UTF-8 encoded.'
)
class SettingsReference(str):
"""
String subclass which references a current settings value. It's treated as
the value in memory but serializes to a settings.NAME attribute reference.
"""
def __new__(self, value, setting_name):
return str.__new__(self, value)
def __init__(self, value, setting_name):
self.setting_name = setting_name
class LazySettings(LazyObject):
"""
@ -26,8 +48,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 +71,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 +87,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):
@ -86,18 +104,32 @@ class LazySettings(LazyObject):
raise RuntimeError('Settings already configured.')
holder = UserSettingsHolder(default_settings)
for name, value in options.items():
if not name.isupper():
raise TypeError('Setting %r must be uppercase.' % name)
setattr(holder, name, value)
self._wrapped = holder
@property
def configured(self):
"""
Returns True if the settings have already been configured.
"""
"""Return True if the settings have already been configured."""
return self._wrapped is not empty
@property
def FILE_CHARSET(self):
stack = traceback.extract_stack()
# Show a warning if the setting is used outside of Django.
# Stack index: -1 this line, -2 the caller.
filename, _line_number, _function_name, _text = stack[-2]
if not filename.startswith(os.path.dirname(django.__file__)):
warnings.warn(
FILE_CHARSET_DEPRECATED_MSG,
RemovedInDjango31Warning,
stacklevel=2,
)
return self.__getattr__('FILE_CHARSET')
class Settings(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 +160,15 @@ class Settings(object):
if not self.SECRET_KEY:
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
if self.is_overridden('FILE_CHARSET'):
warnings.warn(FILE_CHARSET_DEPRECATED_MSG, RemovedInDjango31Warning)
if hasattr(time, 'tzset') and self.TIME_ZONE:
# When we can, attempt to validate the timezone. If we can't find
# this file, no check happens and it's harmless.
zoneinfo_root = '/usr/share/zoneinfo'
if (os.path.exists(zoneinfo_root) and not
os.path.exists(os.path.join(zoneinfo_root, *(self.TIME_ZONE.split('/'))))):
zoneinfo_root = Path('/usr/share/zoneinfo')
zone_info_file = zoneinfo_root.joinpath(*self.TIME_ZONE.split('/'))
if zoneinfo_root.exists() and not zone_info_file.exists():
raise ValueError("Incorrect timezone setting: %s" % self.TIME_ZONE)
# Move the time zone info into os.environ. See ticket #2315 for why
# we don't do this unconditionally (breaks Windows).
@ -150,10 +185,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
@ -167,22 +200,24 @@ class UserSettingsHolder(object):
self.default_settings = default_settings
def __getattr__(self, name):
if name in self._deleted:
if not name.isupper() or name in self._deleted:
raise AttributeError
return getattr(self.default_settings, name)
def __setattr__(self, name, value):
self._deleted.discard(name)
super(UserSettingsHolder, self).__setattr__(name, value)
if name == 'FILE_CHARSET':
warnings.warn(FILE_CHARSET_DEPRECATED_MSG, RemovedInDjango31Warning)
super().__setattr__(name, value)
def __delattr__(self, name):
self._deleted.add(name)
if hasattr(self, name):
super(UserSettingsHolder, self).__delattr__(name)
super().__delattr__(name)
def __dir__(self):
return sorted(
s for s in list(self.__dict__) + dir(self.default_settings)
s for s in [*self.__dict__, *dir(self.default_settings)]
if s not in self._deleted
)
@ -190,7 +225,7 @@ class UserSettingsHolder(object):
deleted = (setting in self._deleted)
set_locally = (setting in self.__dict__)
set_on_default = getattr(self.default_settings, 'is_overridden', lambda s: False)(setting)
return (deleted or set_locally or set_on_default)
return deleted or set_locally or set_on_default
def __repr__(self):
return '<%(cls)s>' % {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,7 @@
# -*- coding: utf-8 -*-
"""
Default Django settings. Override these with settings in the module pointed to
by the DJANGO_SETTINGS_MODULE environment variable.
"""
from __future__ import unicode_literals
# This is defined here as a do-nothing function because we can't import
@ -23,11 +21,6 @@ DEBUG = False
# on a live site.
DEBUG_PROPAGATE_EXCEPTIONS = False
# Whether to use the "ETag" header. This saves bandwidth but slows down performance.
# Deprecated (RemovedInDjango21Warning) in favor of ConditionalGetMiddleware
# which sets the ETag regardless of this setting.
USE_ETAGS = False
# People who get code error notifications.
# In the format [('Full Name', 'email@example.com'), ('Full Name', 'anotheremail@example.com')]
ADMINS = []
@ -96,6 +89,7 @@ LANGUAGES = [
('hr', gettext_noop('Croatian')),
('hsb', gettext_noop('Upper Sorbian')),
('hu', gettext_noop('Hungarian')),
('hy', gettext_noop('Armenian')),
('ia', gettext_noop('Interlingua')),
('id', gettext_noop('Indonesian')),
('io', gettext_noop('Ido')),
@ -103,6 +97,7 @@ LANGUAGES = [
('it', gettext_noop('Italian')),
('ja', gettext_noop('Japanese')),
('ka', gettext_noop('Georgian')),
('kab', gettext_noop('Kabyle')),
('kk', gettext_noop('Kazakh')),
('km', gettext_noop('Khmer')),
('kn', gettext_noop('Kannada')),
@ -141,6 +136,7 @@ LANGUAGES = [
('udm', gettext_noop('Udmurt')),
('uk', gettext_noop('Ukrainian')),
('ur', gettext_noop('Urdu')),
('uz', gettext_noop('Uzbek')),
('vi', gettext_noop('Vietnamese')),
('zh-hans', gettext_noop('Simplified Chinese')),
('zh-hant', gettext_noop('Traditional Chinese')),
@ -159,6 +155,9 @@ LANGUAGE_COOKIE_NAME = 'django_language'
LANGUAGE_COOKIE_AGE = None
LANGUAGE_COOKIE_DOMAIN = None
LANGUAGE_COOKIE_PATH = '/'
LANGUAGE_COOKIE_SECURE = False
LANGUAGE_COOKIE_HTTPONLY = False
LANGUAGE_COOKIE_SAMESITE = None
# If you set this to True, Django will format dates, numbers and calendars
@ -169,10 +168,8 @@ USE_L10N = False
# notifications and other various emails.
MANAGERS = ADMINS
# Default content type and charset to use for all HttpResponse objects, if a
# MIME type isn't manually specified. These are used to construct the
# Content-Type header.
DEFAULT_CONTENT_TYPE = 'text/html'
# Default charset to use for all HttpResponse objects, if a MIME type isn't
# manually specified. It's used to construct the Content-Type header.
DEFAULT_CHARSET = 'utf-8'
# Encoding of files read from disk (template and initial SQL files).
@ -244,7 +241,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 +252,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 +307,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.
FILE_UPLOAD_PERMISSIONS = None
# you'd pass directly to os.chmod; see https://docs.python.org/library/os.html#files-and-directories.
FILE_UPLOAD_PERMISSIONS = 0o644
# 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 +322,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 +366,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 +377,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'
@ -419,7 +416,7 @@ DEFAULT_TABLESPACE = ''
DEFAULT_INDEX_TABLESPACE = ''
# Default X-Frame-Options header value
X_FRAME_OPTIONS = 'SAMEORIGIN'
X_FRAME_OPTIONS = 'DENY'
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
@ -447,12 +444,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,14 +456,17 @@ SESSION_CACHE_ALIAS = 'default'
SESSION_COOKIE_NAME = 'sessionid'
# Age of cookie, in seconds (default: 2 weeks).
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2
# A string like ".example.com", or None for standard domain cookie.
# A string like "example.com", or None for standard domain cookie.
SESSION_COOKIE_DOMAIN = None
# Whether the session cookie should be secure (https:// only).
SESSION_COOKIE_SECURE = False
# The path of the session cookie.
SESSION_COOKIE_PATH = '/'
# Whether to use the non-RFC standard httpOnly flag (IE, FF3+, others)
# Whether to use the HttpOnly flag.
SESSION_COOKIE_HTTPONLY = True
# Whether to set the flag restricting cookie leaks on cross-site requests.
# This can be 'Lax', 'Strict', or None to disable the flag.
SESSION_COOKIE_SAMESITE = 'Lax'
# Whether to save the session data on every request.
SESSION_SAVE_EVERY_REQUEST = False
# Whether a user's session cookie expires when the Web browser is closed.
@ -523,7 +518,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 +543,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
@ -634,10 +629,11 @@ SILENCED_SYSTEM_CHECKS = []
# SECURITY MIDDLEWARE #
#######################
SECURE_BROWSER_XSS_FILTER = False
SECURE_CONTENT_TYPE_NOSNIFF = False
SECURE_CONTENT_TYPE_NOSNIFF = True
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
SECURE_HSTS_PRELOAD = False
SECURE_HSTS_SECONDS = 0
SECURE_REDIRECT_EXEMPT = []
SECURE_REFERRER_POLICY = None
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = 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.
@ -231,7 +228,7 @@ LANG_INFO = {
'bidi': False,
'code': 'hi',
'name': 'Hindi',
'name_local': 'Hindi',
'name_local': 'हिंदी',
},
'hr': {
'bidi': False,
@ -251,6 +248,12 @@ LANG_INFO = {
'name': 'Hungarian',
'name_local': 'Magyar',
},
'hy': {
'bidi': False,
'code': 'hy',
'name': 'Armenian',
'name_local': 'հայերեն',
},
'ia': {
'bidi': False,
'code': 'ia',
@ -293,6 +296,12 @@ LANG_INFO = {
'name': 'Georgian',
'name_local': 'ქართული',
},
'kab': {
'bidi': False,
'code': 'kab',
'name': 'Kabyle',
'name_local': 'taqbaylit',
},
'kk': {
'bidi': False,
'code': 'kk',
@ -527,6 +536,12 @@ LANG_INFO = {
'name': 'Urdu',
'name_local': 'اردو',
},
'uz': {
'bidi': False,
'code': 'uz',
'name': 'Uzbek',
'name_local': 'oʻzbek tili',
},
'vi': {
'bidi': False,
'code': 'vi',

View File

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

View File

@ -10,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: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\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"
@ -141,6 +141,9 @@ msgstr "الصربية العليا"
msgid "Hungarian"
msgstr "الهنغاريّة"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "اللغة الوسيطة"
@ -162,6 +165,9 @@ msgstr "اليابانيّة"
msgid "Georgian"
msgstr "الجورجيّة"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "الكازاخستانية"
@ -276,6 +282,9 @@ msgstr "الأكرانيّة"
msgid "Urdu"
msgstr "الأوردو"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "الفيتناميّة"
@ -297,6 +306,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,14 +327,15 @@ 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' صحيح يتكوّن من أحرف، أرقام، شرطات سفلية وعاديّة."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr "أدخل اختصار 'slug' صحيح يتكوّن من أحرف، أرقام، شرطات سفلية وعاديّة."
msgstr ""
msgid "Enter a valid IPv4 address."
msgstr "أدخل عنوان IPv4 صحيح."
@ -394,6 +413,9 @@ msgstr[5] ""
"تأكد أن هذه القيمة تحتوي على %(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."
@ -426,6 +448,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 "و"
@ -459,19 +490,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "حقل نوع: %(field_type)s"
msgid "Integer"
msgstr "عدد صحيح"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "قيمة '%(value)s' يجب ان تكون عدد صحيح."
msgid "Big (8 byte) integer"
msgstr "عدد صحيح كبير (8 بايت)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "قيمة '%(value)s' يجب أن تكون True أو False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "ثنائي (إما True أو False)"
@ -485,54 +510,46 @@ msgstr "أرقام صحيحة مفصولة بفواصل"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"قيمة '%(value)s' ليست من بُنية تاريخ صحيحة. القيمة يجب ان تكون من البُنية YYYY-"
"MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr "قيمة '%(value)s' من بُنية صحيحة (YYYY-MM-DD) لكنها تحوي تاريخ غير صحيح."
msgstr ""
msgid "Date (without time)"
msgstr "التاريخ (دون الوقت)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"قيمة '%(value)s' ليست من بُنية صحيحة. القيمة يجب ان تكون من البُنية YYYY-MM-DD "
"HH:MM[:ss[.uuuuuu]][TZ] ."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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' من بُنية صحيحة (YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]) لكنها "
"تحوي وقت و تاريخ غير صحيحين."
msgid "Date (with time)"
msgstr "التاريخ (مع الوقت)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "قيمة '%(value)s' يجب ان تكون عدد عشري."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "رقم عشري"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"قيمة '%(value)s' ليست بنسق صحيح. القيمة يجب ان تكون من التنسيق [DD] [HH:"
"[MM:]]ss[.uuuuuu]."
msgid "Duration"
msgstr "المدّة"
@ -544,12 +561,22 @@ msgid "File path"
msgstr "مسار الملف"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "قيمة '%(value)s' يجب ان تكون عدد فاصل عائم."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "رقم فاصلة عائمة"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "عدد صحيح"
msgid "Big (8 byte) integer"
msgstr "عدد صحيح كبير (8 بايت)"
msgid "IPv4 address"
msgstr "عنوان IPv4"
@ -557,8 +584,8 @@ msgid "IP address"
msgstr "عنوان IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "قيمة '%(value)s' يجب ان تكون None أو True أو False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "ثنائي (إما True أو False أو None)"
@ -581,18 +608,15 @@ msgstr "نص"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"قيمة '%(value)s' ليست من بُنية صحيحة. القيمة يجب ان تكون من البُنية HH:MM[:ss[."
"uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"قيمة '%(value)s' من بُنية صحيحة (HH:MM[:ss[.uuuuuu]]) لكنها تحوي وقت غير صحيح."
msgid "Time"
msgstr "وقت"
@ -604,8 +628,11 @@ msgid "Raw binary data"
msgstr "البيانات الثنائية الخام"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' ليست قيمة UUID صحيحة."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
msgstr "ملف"
@ -646,9 +673,6 @@ msgstr "هذا الحقل مطلوب."
msgid "Enter a whole number."
msgstr "أدخل رقما صحيحا."
msgid "Enter a number."
msgstr "أدخل رقماً."
msgid "Enter a valid date."
msgstr "أدخل تاريخاً صحيحاً."
@ -661,6 +685,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 "لم يتم ارسال ملف، الرجاء التأكد من نوع ترميز الاستمارة."
@ -772,23 +800,24 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"%(datetime)s لا يمكن تفسيرها في المنطقة الزمنية %(current_timezone)s; قد "
"تكون غامضة أو أنها غير موجودة."
msgid "Clear"
msgstr "تفريغ"
msgid "Currently"
msgstr "حالياً"
@ -796,9 +825,6 @@ msgstr "حالياً"
msgid "Change"
msgstr "عدّل"
msgid "Clear"
msgstr "تفريغ"
msgid "Unknown"
msgstr "مجهول"
@ -808,6 +834,15 @@ msgstr "نعم"
msgid "No"
msgstr "لا"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "نعم,لا,ربما"
@ -1074,8 +1109,8 @@ msgstr "هذا ليس عنوان IPv6 صحيح."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "أو"
@ -1154,23 +1189,25 @@ msgid "CSRF verification failed. Request aborted."
msgstr "تم الفشل للتحقق من CSRF. تم إنهاء الطلب."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"أنت ترى هذه الرسالة لأن هذا الموقع HTTPS يتطلب إرسال 'Referer header' من "
"قبل المتصفح، ولكن لم تم إرسال أي شيء. هذا الـ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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"إذا قمت بضبط متصفحك لتعطيل 'Referer headers'، يرجى إعادة تفعيلها، على الأقل "
"بالنسبة لهذا الموقع، أو لاتصالات HTTPS، أو للطلبات من نفس المنشأ 'same-"
"origin'."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1183,41 +1220,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"إذا قمت بضبط المتصفح لتعطيل الكوكيز الرجاء إعادة تغعيلها، على الأقل بالنسبة "
"لهذا الموقع، أو للطلبات من نفس المنشأ 'same-origin'."
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 "لم تحدد الشهر"
@ -1240,31 +1254,69 @@ msgstr ""
"allow_future هي False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "نسق تاريخ غير صحيح '%(datestr)s' محدد بالشكل '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "لم يعثر على أي %(verbose_name)s مطابقة لهذا الإستعلام"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "الصفحة ليست 'الأخيرة'، ولا يمكن تحويل القيمة إلى رقم صحيح."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "صفحة خاطئة (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "قائمة فارغة و '%(class_name)s.allow_empty' قيمته False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "لا يسمح لفهارس الدليل هنا."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "المسار \"%(path)s\" غير موجود."
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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,9 +6,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-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Asturian (http://www.transifex.com/django/django/language/"
"ast/)\n"
"MIME-Version: 1.0\n"
@ -137,6 +137,9 @@ msgstr ""
msgid "Hungarian"
msgstr "Húngaru"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "Interlingua"
@ -158,6 +161,9 @@ msgstr "Xaponés"
msgid "Georgian"
msgstr "Xeorxanu"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "Kazakh"
@ -272,6 +278,9 @@ msgstr "Ucranianu"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnamita"
@ -293,6 +302,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,14 +323,13 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Introduz un 'slug' válidu que consista en lletres, númberu, guiones baxos o "
"medios. "
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
@ -368,6 +385,9 @@ msgstr[1] ""
"Asegúrate qu'esti valor tien como muncho %(limit_value)d caráuteres (tien "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Introduz un númberu."
#, 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."
@ -390,6 +410,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"
@ -422,18 +451,12 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Campu de la triba: %(field_type)s"
msgid "Integer"
msgstr "Enteru"
#, python-format
msgid "'%(value)s' value must be an integer."
msgid "“%(value)s” value must be either True or False."
msgstr ""
msgid "Big (8 byte) integer"
msgstr "Enteru big (8 byte)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
@ -448,13 +471,13 @@ msgstr "Enteros separtaos per coma"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
@ -463,13 +486,13 @@ msgstr "Data (ensin hora)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
@ -477,7 +500,7 @@ msgid "Date (with time)"
msgstr "Data (con hora)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
@ -485,7 +508,7 @@ msgstr "Númberu decimal"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
@ -499,12 +522,22 @@ msgid "File path"
msgstr "Camín del ficheru"
#, python-format
msgid "'%(value)s' value must be a float."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Númberu de puntu flotante"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Enteru"
msgid "Big (8 byte) integer"
msgstr "Enteru big (8 byte)"
msgid "IPv4 address"
msgstr "Direición IPv4"
@ -512,7 +545,7 @@ msgid "IP address"
msgstr "Direición IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
@ -536,13 +569,13 @@ msgstr "Testu"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
@ -556,7 +589,10 @@ msgid "Raw binary data"
msgstr "Datos binarios crudos"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
@ -598,9 +634,6 @@ msgstr "Requierse esti campu."
msgid "Enter a whole number."
msgstr "Introduz un númberu completu"
msgid "Enter a number."
msgstr "Introduz un númberu."
msgid "Enter a valid date."
msgstr "Introduz una data válida."
@ -613,6 +646,10 @@ msgstr "Introduz una data/hora válida."
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 "Nun s'unvió'l ficheru. Comprueba la triba de cifráu nel formulariu."
@ -707,9 +744,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,16 +753,17 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -734,9 +771,6 @@ msgstr "Anguaño"
msgid "Change"
msgstr "Camudar"
msgid "Clear"
msgstr "Llimpiar"
msgid "Unknown"
msgstr "Desconocíu"
@ -746,6 +780,15 @@ msgstr "Sí"
msgid "No"
msgstr "Non"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "sí,non,quiciabes"
@ -1008,8 +1051,8 @@ msgstr ""
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "o"
@ -1064,16 +1107,24 @@ msgid "CSRF verification failed. Request aborted."
msgstr ""
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
msgid ""
@ -1084,34 +1135,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
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"
@ -1134,31 +1169,69 @@ msgstr ""
"allow_future ye False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Cadena de data inválida '%(datestr)s' col formatu dau '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Nun s'alcontró %(verbose_name)s que concase cola gueta"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "La páxina nun ye 'last', tampoco pue convertise a un int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Páxina inválida (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "La llista ta balera y '%(class_name)s.allow_empty' ye False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Nun tán almitíos equí los indexaos de direutoriu."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" nun esiste"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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,2020
# 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: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2020-01-12 07:21+0000\n"
"Last-Translator: Emin Mastizada <emin@linux.com>\n"
"Language-Team: Azerbaijani (http://www.transifex.com/django/django/language/"
"az/)\n"
@ -138,6 +139,9 @@ msgstr "Üst Sorbca"
msgid "Hungarian"
msgstr "Macarca"
msgid "Armenian"
msgstr "Ermənicə"
msgid "Interlingua"
msgstr "İnterlinqua"
@ -159,6 +163,9 @@ msgstr "Yaponca"
msgid "Georgian"
msgstr "Gürcücə"
msgid "Kabyle"
msgstr "Kabile"
msgid "Kazakh"
msgstr "Qazax"
@ -273,6 +280,9 @@ msgstr "Ukraynaca"
msgid "Urdu"
msgstr "Urduca"
msgid "Uzbek"
msgstr "Özbəkcə"
msgid "Vietnamese"
msgstr "Vyetnamca"
@ -294,6 +304,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,18 +325,19 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Hərflərdən, rəqəmlərdən, alt-xətlərdən və ya defislərdən ibarət düzgün "
"qısaltma daxil edin."
"qısaltma (“slug”) daxil edin."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Keçərli Unicode hərfləri, rəqəmlər, alt xətt və ya defis olan 'slug' daxil "
"edin."
"Unicode hərflərdən, rəqəmlərdən, alt-xətlərdən və ya defislərdən ibarət "
"düzgün qısaltma (“slug”) daxil edin."
msgid "Enter a valid IPv4 address."
msgstr "Düzgün IPv4 ünvanı daxil edin."
@ -373,6 +393,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 +416,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ə"
@ -427,19 +461,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Sahənin tipi: %(field_type)s"
msgid "Integer"
msgstr "Tam ədəd"
#, python-format
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 an integer."
msgstr "'%(value)s' dəyəri tam rəqəm olmalıdır."
msgid "Big (8 byte) integer"
msgstr "Böyük (8 bayt) tam ədəd"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' dəyəri True və ya False olmalıdır."
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)"
@ -453,49 +481,54 @@ msgstr "Vergüllə ayrılmış tam ədədlər"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(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 "
"“%(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 tarix xətalıdır."
msgid "Date (without time)"
msgstr "Tarix (saatsız)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(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]]"
"“%(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]) "
"amma bu tarix xətalıdır."
msgid "Date (with time)"
msgstr "Tarix (vaxt ilə)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr ""
msgid "“%(value)s” value must be a decimal number."
msgstr "“%(value)s” dəyəri onluq kəsrli (decimal) rəqəm olmalıdır."
msgid "Decimal number"
msgstr "Rasional ədəd"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(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"
@ -507,12 +540,22 @@ msgid "File path"
msgstr "Faylın ünvanı"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr ""
msgid "“%(value)s” value must be a float."
msgstr "“%(value)s” dəyəri float olmalıdır."
msgid "Floating point number"
msgstr "Sürüşən vergüllü ədəd"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "“%(value)s” dəyəri tam rəqəm olmalıdır."
msgid "Integer"
msgstr "Tam ədəd"
msgid "Big (8 byte) integer"
msgstr "Böyük (8 bayt) tam ədəd"
msgid "IPv4 address"
msgstr "IPv4 ünvanı"
@ -520,8 +563,8 @@ msgid "IP address"
msgstr "IP ünvan"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr ""
msgid "“%(value)s” value must be either None, True or False."
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ə)"
@ -544,15 +587,18 @@ msgstr "Mətn"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(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 "
"“%(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]]), amma vaxtı "
"xətalıdır."
msgid "Time"
msgstr "Vaxt"
@ -561,11 +607,14 @@ 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."
msgstr "'%(value)s' keçərli UUID deyil."
msgid "“%(value)s” is not a valid UUID."
msgstr "“%(value)s” keçərli UUID deyil."
msgid "Universally unique identifier"
msgstr "Universal təkrarolunmaz identifikator"
msgid "File"
msgstr "Fayl"
@ -575,7 +624,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 +634,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 +655,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 +667,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 +685,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 +722,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,23 +763,26 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"%(datetime)s %(current_timezone)s zaman qurşağında ifadə oluna bilmir; ya "
"duallıq, ya da yanlışlıq var."
"%(datetime)s vaxtı %(current_timezone)s zaman qurşağında ifadə oluna bilmir; "
"ya duallıq, ya da mövcud olmaya bilər."
msgid "Clear"
msgstr "Təmizlə"
msgid "Currently"
msgstr "Hal-hazırda"
@ -735,9 +790,6 @@ msgstr "Hal-hazırda"
msgid "Change"
msgstr "Dəyiş"
msgid "Clear"
msgstr "Təmizlə"
msgid "Unknown"
msgstr "Məlum deyil"
@ -747,6 +799,15 @@ msgstr "Hə"
msgid "No"
msgstr "Yox"
msgid "Year"
msgstr "İl"
msgid "Month"
msgstr "Ay"
msgid "Day"
msgstr "Gün"
msgid "yes,no,maybe"
msgstr "hə,yox,bəlkə"
@ -1009,8 +1070,8 @@ msgstr "Bu doğru IPv6 ünvanı deyil."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "və ya"
@ -1065,54 +1126,62 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF təsdiqləmə alınmadı. Sorğu ləğv edildi."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"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."
"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 youre 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."
"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"
@ -1135,31 +1204,75 @@ msgstr ""
"allow_future Yalan kimi qeyd olunub."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "\"%(format)s\" formatına görə \"%(datestr)s\" tarixi düzgün deyil"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr "“%(format)s” formatına görə “%(datestr)s” tarixi düzgün deyil"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Sorğuya uyğun %(verbose_name)s tapılmadı"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Səhifə nə \"axırıncı\"dır, nə də tam ədədə çevirmək mümkündür."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr "Səhifə həm “axırıncı” deyil, həm də tam ədədə çevrilə bilmir."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Qeyri-düzgün səhifə (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Siyahı boşdur və '%(class_name)s.allow_empty' Yalan kimi qeyd olunub."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr "Siyahı boşdur və “%(class_name)s.allow_empty” dəyəri False-dur."
msgid "Directory indexes are not allowed here."
msgstr "Ünvan indekslərinə icazə verilmir."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" mövcud deyil"
msgid "“%(path)s” does not exist"
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-tos"
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,15 +2,15 @@
#
# Translators:
# Viktar Palstsiuk <vipals@gmail.com>, 2014-2015
# znotdead <zhirafchik@gmail.com>, 2016
# znotdead <zhirafchik@gmail.com>, 2016-2017,2019
# Дмитрий Шатера <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"
"Last-Translator: znotdead <zhirafchik@gmail.com>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Belarusian (http://www.transifex.com/django/django/language/"
"be/)\n"
"MIME-Version: 1.0\n"
@ -141,6 +141,9 @@ msgstr "Верхнелужыцкая"
msgid "Hungarian"
msgstr "Вугорская"
msgid "Armenian"
msgstr "Армянскі"
msgid "Interlingua"
msgstr "Інтэрлінгва"
@ -162,6 +165,9 @@ msgstr "Японская"
msgid "Georgian"
msgstr "Грузінская"
msgid "Kabyle"
msgstr "Кабільскі"
msgid "Kazakh"
msgstr "Казаская"
@ -276,6 +282,9 @@ msgstr "Украінская"
msgid "Urdu"
msgstr "Урду"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Віетнамская"
@ -297,6 +306,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,12 +327,15 @@ 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 "Бірка можа зьмяшчаць літары, лічбы, знакі падкрэсьліваньня ды злучкі."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Значэнне павінна быць толькі з літараў, личбаў, знакаў падкрэслівання ці "
"злучкі."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Значэнне павінна быць толькі з літараў стандарту Unicode, личбаў, знакаў "
@ -386,6 +407,9 @@ msgstr[3] ""
"Упэўніцеся, што гэтае значэнне мае не болей %(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."
@ -412,6 +436,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 "і"
@ -446,19 +481,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Палі віду: %(field_type)s"
msgid "Integer"
msgstr "Цэлы лік"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr "Значэньне “%(value)s” павінна быць True альбо False."
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "Значэньне '%(value)s' павінна быць цэлым лікам."
msgid "Big (8 byte) integer"
msgstr "Вялікі (8 байтаў) цэлы"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "Значэньне '%(value)s' павінна быць True або False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr "Значэньне “%(value)s” павінна быць True, False альбо None."
msgid "Boolean (Either True or False)"
msgstr "Ляґічнае («сапраўдна» або «не сапраўдна»)"
@ -472,18 +501,18 @@ msgstr "Цэлыя лікі, падзеленыя коскаю"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"Значэнне '%(value)s' мае няправільны фармат. Яно павінна быць у фармаце ГГГГ-"
"Значэнне “%(value)s” мае няправільны фармат. Яно павінна быць у фармаце ГГГГ-"
"ММ-ДД."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"Значэнне '%(value)s' мае правільны фармат(ГГГГ-ММ-ДД) але гэта несапраўдная "
"Значэнне “%(value)s” мае правільны фармат(ГГГГ-ММ-ДД) але гэта несапраўдная "
"дата."
msgid "Date (without time)"
@ -491,36 +520,36 @@ msgstr "Дата (бяз часу)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"Значэнне '%(value)s' мае няправільны фармат. Яно павінна быць у фармаце ГГГГ-"
"Значэнне “%(value)s” мае няправільны фармат. Яно павінна быць у фармаце ГГГГ-"
"ММ-ДД ГГ:ХХ[:сс[.мммммм]][ЧА], дзе ЧА — часавы абсяг."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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' мае правільны фармат (ГГГГ-ММ-ДД ГГ:ХХ[:сс[.мммммм]]"
"Значэнне “%(value)s” мае правільны фармат (ГГГГ-ММ-ДД ГГ:ХХ[:сс[.мммммм]]"
"[ЧА], дзе ЧА — часавы абсяг) але гэта несапраўдныя дата/час."
msgid "Date (with time)"
msgstr "Дата (разам з часам)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "Значэньне '%(value)s' павінна быць дзесятковым лікам."
msgid "“%(value)s” value must be a decimal number."
msgstr "Значэньне “%(value)s” павінна быць дзесятковым лікам."
msgid "Decimal number"
msgstr "Дзесятковы лік"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"Значэньне '%(value)s' мае няправільны фармат. Яно павінна быць у фармаце "
"Значэньне “%(value)s” мае няправільны фармат. Яно павінна быць у фармаце "
"[ДД] [ГГ:[ХХ:]]сс[.мммммм]."
msgid "Duration"
@ -533,12 +562,22 @@ msgid "File path"
msgstr "Шлях да файла"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "Значэньне '%(value)s' павінна быць дробным лікам."
msgid "“%(value)s” value must be a float."
msgstr "Значэньне “%(value)s” павінна быць дробным лікам."
msgid "Floating point number"
msgstr "Лік зь пераноснай коскаю"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "Значэньне “%(value)s” павінна быць цэлым лікам."
msgid "Integer"
msgstr "Цэлы лік"
msgid "Big (8 byte) integer"
msgstr "Вялікі (8 байтаў) цэлы"
msgid "IPv4 address"
msgstr "Адрас IPv4"
@ -546,8 +585,8 @@ msgid "IP address"
msgstr "Адрас IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "Значэньне '%(value)s' павінна быць None, True альбо False."
msgid "“%(value)s” value must be either None, True or False."
msgstr "Значэньне “%(value)s” павінна быць None, True альбо False."
msgid "Boolean (Either True, False or None)"
msgstr "Ляґічнае («сапраўдна», «не сапраўдна» ці «нічога»)"
@ -570,18 +609,18 @@ msgstr "Тэкст"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"Значэньне '%(value)s' мае няправільны фармат. Яно павінна быць у фармаце HH:"
"MM[:ss[.uuuuuu]]."
"Значэньне “%(value)s” мае няправільны фармат. Яно павінна быць у фармаце ГГ:"
"ХХ[:сс[.мммммм]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"Значэнне '%(value)s' мае правільны фармат (ГГ:ХХ[:сс[.мммммм]]) але гэта "
"Значэнне “%(value)s” мае правільны фармат (ГГ:ХХ[:сс[.мммммм]]) але гэта "
"несапраўдны час."
msgid "Time"
@ -594,8 +633,11 @@ msgid "Raw binary data"
msgstr "Неапрацаваныя бінарныя зьвесткі"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' не з'яўляецца дапушчальным UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr "“%(value)s” не з'яўляецца дапушчальным UUID."
msgid "Universally unique identifier"
msgstr "Універсальны непаўторны ідэнтыфікатар"
msgid "File"
msgstr "Файл"
@ -636,9 +678,6 @@ msgstr "Поле трэба запоўніць."
msgid "Enter a whole number."
msgstr "Набярыце ўвесь лік."
msgid "Enter a number."
msgstr "Набярыце лік."
msgid "Enter a valid date."
msgstr "Пазначце чынную дату."
@ -651,6 +690,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} i {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Файл не даслалі. Зірніце кадоўку блянку."
@ -753,33 +796,33 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"У часавым абсягу «%(current_timezone)s» нельга зразумець дату %(datetime)s: "
"У часавым абсягу %(current_timezone)s нельга зразумець дату %(datetime)s: "
"яна можа быць неадназначнаю або яе можа не існаваць."
msgid "Clear"
msgstr "Ачысьціць"
msgid "Currently"
msgstr "Зараз"
msgid "Change"
msgstr "Зьмяніць"
msgid "Clear"
msgstr "Ачысьціць"
msgid "Unknown"
msgstr "Невядома"
@ -789,6 +832,15 @@ msgstr "Так"
msgid "No"
msgstr "Не"
msgid "Year"
msgstr "Год"
msgid "Month"
msgstr "Месяц"
msgid "Day"
msgstr "Дзень"
msgid "yes,no,maybe"
msgstr "так,не,магчыма"
@ -1053,7 +1105,7 @@ msgstr "Гэта ня правільны адрас IPv6."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s…"
msgid "or"
@ -1121,8 +1173,8 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF-праверка не атрымалася. Запыт спынены."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
@ -1132,14 +1184,27 @@ msgstr ""
"ўзаламаны трэцімі асобамі."
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."
"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 ""
"Калі вы сканфігуравалі ваш браўзэр так, каб ён не працаваў з 'Referer' "
"Калі вы сканфігуравалі ваш браўзэр так, каб ён не працаваў з “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 youre 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 "
@ -1151,41 +1216,20 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Калі вы сканфігуравалі ваш браўзэр так, каб ён не працаваў з кукамі, калі "
"ласка дазвольце іх хаця б для гэтага сайту ці для 'same-origin' запытаў."
"ласка дазвольце іх хаця б для гэтага сайту ці для “same-origin” запытаў."
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 "Не пазначылі месяц"
@ -1208,34 +1252,78 @@ msgstr ""
"allow_future» мае значэньне «не сапраўдна»."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Радок даты «%(datestr)s» не адпавядае выгляду «%(format)s»"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr "Радок даты “%(datestr)s” не адпавядае выгляду “%(format)s”"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Па запыце не знайшлі ніводнага %(verbose_name)s"
msgid "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
"Нумар бачыны ня мае значэньня «last» і яго нельга ператварыць у цэлы лік."
"Нумар бачыны ня мае значэньня “last” і яго нельга ператварыць у цэлы лік."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Няправільная старонка (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
"Сьпіс парожні, але «%(class_name)s.allow_empty» мае значэньне «не "
"Сьпіс парожні, але “%(class_name)s.allow_empty” мае значэньне «не "
"сапраўдна», што забараняе паказваць парожнія сьпісы."
msgid "Directory indexes are not allowed here."
msgstr "Не дазваляецца глядзець сьпіс файлаў каталёґа."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "Шлях «%(path)s» не існуе."
msgid "“%(path)s” does not exist"
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-tos"
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,16 +5,16 @@
# 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"
"Last-Translator: Venelin Stoykov <vkstoykov@gmail.com>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Bulgarian (http://www.transifex.com/django/django/language/"
"bg/)\n"
"MIME-Version: 1.0\n"
@ -143,6 +143,9 @@ msgstr ""
msgid "Hungarian"
msgstr "унгарски език"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "Международен"
@ -164,6 +167,9 @@ msgstr "японски език"
msgid "Georgian"
msgstr "грузински език"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "Казахски"
@ -278,6 +284,9 @@ msgstr "украински език"
msgid "Urdu"
msgstr "Урду"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "виетнамски език"
@ -299,6 +308,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,16 +329,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Въведете валиден 'слъг', състоящ се от букви, цифри, тирета или долни тирета."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Въведете валиден 'слъг', състоящ се от букви, цифри, тирета или долни тирета."
msgid "Enter a valid IPv4 address."
msgstr "Въведете валиден IPv4 адрес."
@ -355,10 +372,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,9 +389,12 @@ msgstr[0] ""
"Уверете се, тази стойност има най-много %(limit_value)d знака (тя има "
"%(show_value)d)."
msgstr[1] ""
"Уверете се, тази стойност има най-много %(limit_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."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -399,6 +419,15 @@ msgstr[0] ""
msgstr[1] ""
"Уверете се, че има не повече от %(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 "и"
@ -433,19 +462,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Поле от тип: %(field_type)s"
msgid "Integer"
msgstr "Цяло число"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "'%(value)s' стойност трябва да е цяло число."
msgid "Big (8 byte) integer"
msgstr "Голямо (8 байта) цяло число"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "Стойността на '%(value)s' трябва да бъде или True или False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Boolean (True или False)"
@ -459,57 +482,46 @@ msgstr "Цели числа, разделени с запетая"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s' стойност е с формат невалидна дата. Тя трябва да бъде в YYYY-MM-"
"DD формат."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"Стойността на '%(value)s' е в правилния формат (ГГГГ-ММ-ДД), но тя е "
"невалидна дата."
msgid "Date (without time)"
msgstr "Дата (без час)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"Стойността на '%(value)s' е с невалиден формат. Трябва да бъде във формат "
"ГГГГ-ММ-ДД ЧЧ:ММ[:сс[.uuuuuu]][TZ] (където u означава милисекунда, а TZ - "
"часова зона)"
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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' е с правилен формат ( ГГГГ-ММ-ДД ЧЧ:ММ[:сс[."
"μμμμμμ]][TZ]), но датата/часът са невалидни"
msgid "Date (with time)"
msgstr "Дата (и час)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "Стойността на '%(value)s' трябва да е десетично число."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "Десетична дроб"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"Стойността на '%(value)s' е с невалиден формат. Тя трябва да бъде в [ДД] "
"[ЧЧ:[ММ:]]сс[.μμμμμμ]"
msgid "Duration"
msgstr "Продължителност"
@ -521,12 +533,22 @@ msgid "File path"
msgstr "Път към файл"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "'%(value)s' стойност трябва да е число с плаваща запетая."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Число с плаваща запетая"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Цяло число"
msgid "Big (8 byte) integer"
msgstr "Голямо (8 байта) цяло число"
msgid "IPv4 address"
msgstr "IPv4 адрес"
@ -534,8 +556,8 @@ msgid "IP address"
msgstr "IP адрес"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "Стойност '%(value)s' трябва да бъде или None, True или False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Boolean (Възможните стойности са True, False или None)"
@ -558,19 +580,15 @@ msgstr "Текст"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"Стойността '%(value)s' е с невалиден формат. Тя трябва да бъде в ЧЧ:ММ [:"
"сс[.μμμμμμ]]"
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"Стойността на '%(value)s' е в правилния формат (ЧЧ:ММ [:сс[.μμμμμμ]]), но "
"часът е невалиден."
msgid "Time"
msgstr "Време"
@ -582,8 +600,11 @@ msgid "Raw binary data"
msgstr "сурови двоични данни"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' не е валиден UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
msgstr "Файл"
@ -624,9 +645,6 @@ msgstr "Това поле е задължително."
msgid "Enter a whole number."
msgstr "Въведете цяло число. "
msgid "Enter a number."
msgstr "Въведете число."
msgid "Enter a valid date."
msgstr "Въведете валидна дата. "
@ -639,6 +657,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 "Не е получен файл. Проверете типа кодиране на формата. "
@ -654,7 +676,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,23 +753,24 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"%(datetime)s не може да бъде разчетено в %(current_timezone)s; може да е "
"двусмислен или да не съществува"
msgid "Clear"
msgstr "Изчисти"
msgid "Currently"
msgstr "Сега"
@ -754,9 +778,6 @@ msgstr "Сега"
msgid "Change"
msgstr "Промени"
msgid "Clear"
msgstr "Изчисти"
msgid "Unknown"
msgstr "Неизвестно"
@ -766,6 +787,15 @@ msgstr "Да"
msgid "No"
msgstr "Не"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "да, не, може би"
@ -1028,8 +1058,8 @@ msgstr "Въведете валиден IPv6 адрес."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "или"
@ -1084,24 +1114,25 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF проверката се провали. Заявката прекратена."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Вие виждате това съобщение, защото този HTTPS сайт изисква 'Referer header' "
"да бъде изпратен от вашият WEB браузър, но такъв не бе изпратен. Този "
"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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Ако сте конфигурирали вашия браузър, да забраните 'Referer' headers, моля да "
"ги активирате отново, поне за този сайт, или за HTTPS връзки, или за 'same-"
"origin' заявки."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1115,36 +1146,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Ако сте конфигурирали вашия браузър, да забраните бисквитките, моля да ги "
"активирате отново, поне за този сайт, или за'same-origin' заявки."
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 "Не е посочен месец"
@ -1167,31 +1180,73 @@ msgstr ""
"allow_future е False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Невалидна дата '%(datestr)s' посочен формат '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Няма %(verbose_name)s , съвпадащи със заявката"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Страницата не е 'last' нито може да се преобразува в int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Невалидна страница (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Празен списък и '%(class_name)s.allow_empty' не е валидно."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Тук не е позволено индексиране на директория."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" не съществува"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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,16 +2,16 @@
#
# 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"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Bengali (http://www.transifex.com/django/django/language/"
"bn/)\n"
"MIME-Version: 1.0\n"
@ -140,6 +140,9 @@ msgstr ""
msgid "Hungarian"
msgstr "হাঙ্গেরিয়ান"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr ""
@ -161,6 +164,9 @@ msgstr "জাপানিজ"
msgid "Georgian"
msgstr "জর্জিয়ান"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "কাজাখ"
@ -275,6 +281,9 @@ msgstr "ইউক্রেনিয়ান"
msgid "Urdu"
msgstr "উর্দু"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "ভিয়েতনামিজ"
@ -296,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 "একটি বৈধ মান দিন।"
@ -308,14 +326,13 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"বৈধ slug' প্রবেশ করান যাতে শুধুমাত্র ইংরেজী বর্ণ, অঙ্ক, আন্ডারস্কোর অথবা হাইফেন "
"রয়েছে।"
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
@ -363,6 +380,9 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
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."
@ -383,6 +403,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 "এবং"
@ -415,18 +444,12 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "ফিল্ডের ধরণ: %(field_type)s"
msgid "Integer"
msgstr "ইন্টিজার"
#, python-format
msgid "'%(value)s' value must be an integer."
msgid "“%(value)s” value must be either True or False."
msgstr ""
msgid "Big (8 byte) integer"
msgstr "বিগ (৮ বাইট) ইন্টিজার"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
@ -441,13 +464,13 @@ msgstr "কমা দিয়ে আলাদা করা ইন্টিজ
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
@ -456,13 +479,13 @@ msgstr "তারিখ (সময় বাদে)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
@ -470,7 +493,7 @@ msgid "Date (with time)"
msgstr "তারিখ (সময় সহ)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
@ -478,7 +501,7 @@ msgstr "দশমিক সংখ্যা"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
@ -492,12 +515,22 @@ msgid "File path"
msgstr "ফাইল পথ"
#, python-format
msgid "'%(value)s' value must be a float."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "ফ্লোটিং পয়েন্ট সংখ্যা"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "ইন্টিজার"
msgid "Big (8 byte) integer"
msgstr "বিগ (৮ বাইট) ইন্টিজার"
msgid "IPv4 address"
msgstr "IPv4 ঠিকানা"
@ -505,7 +538,7 @@ msgid "IP address"
msgstr "আইপি ঠিকানা"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
@ -529,13 +562,13 @@ msgstr "টেক্সট"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
@ -549,7 +582,10 @@ msgid "Raw binary data"
msgstr "র বাইনারি ডাটা"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
@ -591,9 +627,6 @@ msgstr "এটি আবশ্যক।"
msgid "Enter a whole number."
msgstr "একটি পূর্ণসংখ্যা দিন"
msgid "Enter a number."
msgstr "একটি সংখ্যা প্রবেশ করান।"
msgid "Enter a valid date."
msgstr "বৈধ তারিখ দিন।"
@ -606,6 +639,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 "কোন ফাইল দেয়া হয়নি। ফর্মের এনকোডিং ঠিক আছে কিনা দেখুন।"
@ -692,31 +729,31 @@ 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
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
msgid "Clear"
msgstr "পরিষ্কার করুন"
msgid "Currently"
msgstr "এই মুহুর্তে"
msgid "Change"
msgstr "পরিবর্তন"
msgid "Clear"
msgstr "পরিষ্কার করুন"
msgid "Unknown"
msgstr "অজানা"
@ -726,6 +763,15 @@ msgstr "হ্যাঁ"
msgid "No"
msgstr "না"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "হ্যাঁ,না,হয়তো"
@ -988,8 +1034,8 @@ msgstr ""
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "অথবা"
@ -1044,16 +1090,24 @@ msgid "CSRF verification failed. Request aborted."
msgstr ""
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
msgid ""
@ -1064,34 +1118,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
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 "কোন মাস উল্লেখ করা হয়নি"
@ -1112,14 +1150,14 @@ msgid ""
msgstr ""
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "কুয়েরি ম্যাচ করে এমন কোন %(verbose_name)s পাওয়া যায় নি"
msgid "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
@ -1127,16 +1165,54 @@ msgid "Invalid page (%(page_number)s): %(message)s"
msgstr ""
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "ডিরেক্টরি ইনডেক্স অনুমোদিত নয়"
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" এর অস্তিত্ব নেই"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\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"
@ -136,6 +140,9 @@ msgstr ""
msgid "Hungarian"
msgstr "Hungareg"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "Interlingua"
@ -157,6 +164,9 @@ msgstr "Japaneg"
msgid "Georgian"
msgstr "Jorjianeg"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "kazak"
@ -271,6 +281,9 @@ msgstr "Ukraineg"
msgid "Urdu"
msgstr "Ourdou"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnameg"
@ -292,6 +305,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,14 +326,13 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"N'hall bezañ er vaezienn-mañ nemet lizherennoù, niveroù, tiredoù izel _ ha "
"barrennigoù-stagañ."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
@ -350,6 +371,9 @@ msgid_plural ""
"%(show_value)d)."
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[3] ""
msgstr[4] ""
#, python-format
msgid ""
@ -360,18 +384,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 +416,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"
@ -413,18 +461,12 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Seurt maezienn : %(field_type)s"
msgid "Integer"
msgstr "Anterin"
#, python-format
msgid "'%(value)s' value must be an integer."
msgid "“%(value)s” value must be either True or False."
msgstr ""
msgid "Big (8 byte) integer"
msgstr "Anterin bras (8 okted)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
@ -439,13 +481,13 @@ msgstr "Niveroù anterin dispartiet dre ur skej"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
@ -454,13 +496,13 @@ msgstr "Deizad (hep eur)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
@ -468,7 +510,7 @@ msgid "Date (with time)"
msgstr "Deizad (gant an eur)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
@ -476,7 +518,7 @@ msgstr "Niver dekvedennel"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
@ -490,12 +532,22 @@ msgid "File path"
msgstr "Treug war-du ar restr"
#, python-format
msgid "'%(value)s' value must be a float."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Niver gant skej nij"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Anterin"
msgid "Big (8 byte) integer"
msgstr "Anterin bras (8 okted)"
msgid "IPv4 address"
msgstr "Chomlec'h IPv4"
@ -503,8 +555,8 @@ msgid "IP address"
msgstr "Chomlec'h IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "Rekis eo d'an talvoud '%(value)s' bezañ par da Hini, Gwir pe Gaou."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Boulean (gwir pe gaou pe netra)"
@ -527,13 +579,13 @@ msgstr "Testenn"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
@ -547,7 +599,10 @@ msgid "Raw binary data"
msgstr ""
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
@ -589,9 +644,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 +656,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 +675,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 +718,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,25 +758,24 @@ 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
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -719,9 +783,6 @@ msgstr "Evit ar mare"
msgid "Change"
msgstr "Kemmañ"
msgid "Clear"
msgstr "Riñsañ"
msgid "Unknown"
msgstr "Dianav"
@ -731,6 +792,15 @@ msgstr "Ya"
msgid "No"
msgstr "Ket"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "ya, ket, marteze"
@ -739,6 +809,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"
@ -993,8 +1066,8 @@ msgstr ""
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "pe"
@ -1008,36 +1081,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"
@ -1049,16 +1140,24 @@ msgid "CSRF verification failed. Request aborted."
msgstr ""
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
msgid ""
@ -1069,34 +1168,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
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"
@ -1119,34 +1202,70 @@ msgstr ""
"allow_future."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
"Direizh eo ar furmad '%(format)s' evit an neudennad deiziad '%(datestr)s'"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr ""
"N'eus bet kavet traezenn %(verbose_name)s ebet o klotaén gant ar goulenn"
msgid "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
"N'eo ket 'last' ar bajenn na n'hall ket bezañ amdroet en un niver anterin."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr ""
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Roll goullo ha faos eo '%(class_name)s.allow_empty'."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "N'haller ket diskwel endalc'had ar c'havlec'h-mañ."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "N'eus ket eus \"%(path)s\""
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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,9 +7,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-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Bosnian (http://www.transifex.com/django/django/language/"
"bs/)\n"
"MIME-Version: 1.0\n"
@ -139,6 +139,9 @@ msgstr ""
msgid "Hungarian"
msgstr "mađarski"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr ""
@ -160,6 +163,9 @@ msgstr "japanski"
msgid "Georgian"
msgstr "gruzijski"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr ""
@ -274,6 +280,9 @@ msgstr "ukrajinski"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "vijetnamežanski"
@ -295,6 +304,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,14 +325,13 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Unesite ispravan „slug“, koji se sastoji od slova, brojki, donjih crta ili "
"crtica."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
@ -366,6 +383,9 @@ msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgid "Enter a number."
msgstr "Unesite broj."
#, 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."
@ -389,6 +409,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"
@ -421,18 +450,12 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Polje tipa: %(field_type)s"
msgid "Integer"
msgstr "Cijeo broj"
#, python-format
msgid "'%(value)s' value must be an integer."
msgid "“%(value)s” value must be either True or False."
msgstr ""
msgid "Big (8 byte) integer"
msgstr "Big (8 bajtni) integer"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
@ -447,13 +470,13 @@ msgstr "Cijeli brojevi razdvojeni zapetama"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
@ -462,13 +485,13 @@ msgstr "Datum (bez vremena)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
@ -476,7 +499,7 @@ msgid "Date (with time)"
msgstr "Datum (sa vremenom)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
@ -484,7 +507,7 @@ msgstr "Decimalni broj"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
@ -498,12 +521,22 @@ msgid "File path"
msgstr "Putanja fajla"
#, python-format
msgid "'%(value)s' value must be a float."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Broj sa pokrenom zapetom"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Cijeo broj"
msgid "Big (8 byte) integer"
msgstr "Big (8 bajtni) integer"
msgid "IPv4 address"
msgstr ""
@ -511,7 +544,7 @@ msgid "IP address"
msgstr "IP adresa"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
@ -535,13 +568,13 @@ msgstr "Tekst"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
@ -555,7 +588,10 @@ msgid "Raw binary data"
msgstr ""
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
@ -597,9 +633,6 @@ msgstr "Ovo polje se mora popuniti."
msgid "Enter a whole number."
msgstr "Unesite cijeo broj."
msgid "Enter a number."
msgstr "Unesite broj."
msgid "Enter a valid date."
msgstr "Unesite ispravan datum."
@ -612,6 +645,10 @@ msgstr "Unesite ispravan datum/vrijeme."
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 "Fajl nije prebačen. Provjerite tip enkodiranja formulara."
@ -704,32 +741,32 @@ 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
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"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"
@ -739,6 +776,15 @@ msgstr "Da"
msgid "No"
msgstr "Ne"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "da,ne,možda"
@ -1002,7 +1048,7 @@ msgstr ""
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
@ -1064,16 +1110,24 @@ msgid "CSRF verification failed. Request aborted."
msgstr ""
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
msgid ""
@ -1084,34 +1138,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
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"
@ -1132,14 +1170,14 @@ msgid ""
msgstr ""
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr ""
msgid "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
@ -1147,16 +1185,54 @@ msgid "Invalid page (%(page_number)s): %(message)s"
msgstr ""
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr ""
#, python-format
msgid "\"%(path)s\" does not exist"
msgid "“%(path)s” does not exist"
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-tos"
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,9 +1,11 @@
# 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
# Gil Obradors Via <gil.obradors@gmail.com>, 2019
# Gil Obradors Via <gil.obradors@gmail.com>, 2019
# Jannis Leidel <jannis@leidel.info>, 2011
# Manuel Miranda <manu.mirandad@gmail.com>, 2015
# Roger Pons <rogerpons@gmail.com>, 2015
@ -11,9 +13,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-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Catalan (http://www.transifex.com/django/django/language/"
"ca/)\n"
"MIME-Version: 1.0\n"
@ -65,7 +67,7 @@ msgid "German"
msgstr "alemany"
msgid "Lower Sorbian"
msgstr ""
msgstr "Lower Sorbian"
msgid "Greek"
msgstr "grec"
@ -137,11 +139,14 @@ msgid "Croatian"
msgstr "croat"
msgid "Upper Sorbian"
msgstr ""
msgstr "Upper Sorbian"
msgid "Hungarian"
msgstr "hongarès"
msgid "Armenian"
msgstr "Armeni"
msgid "Interlingua"
msgstr "Interlingua"
@ -163,6 +168,9 @@ msgstr "japonès"
msgid "Georgian"
msgstr "georgià"
msgid "Kabyle"
msgstr "Cabilenc"
msgid "Kazakh"
msgstr "Kazakh"
@ -200,7 +208,7 @@ msgid "Burmese"
msgstr "Burmès"
msgid "Norwegian Bokmål"
msgstr ""
msgstr "Norwegian Bokmål"
msgid "Nepali"
msgstr "Nepalí"
@ -277,6 +285,9 @@ msgstr "ucraïnès"
msgid "Urdu"
msgstr "urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "vietnamita"
@ -298,6 +309,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,14 +330,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Introduïu un 'slug' vàlid, consistent en lletres, números, guions o guions "
"baixos."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Introduïu un 'slug' vàlid format per lletres Unicode, números, guions o "
@ -377,6 +398,9 @@ msgstr[1] ""
"Assegureu-vos que aquest valor té com a molt %(limit_value)d caràcters (en "
"té %(show_value)d)."
msgid "Enter a number."
msgstr "Introduïu un número."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -399,6 +423,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 està permesa. Les extensions permeses "
"són: '%(allowed_extensions)s'."
msgid "Null characters are not allowed."
msgstr "Caràcters nul no estan permesos."
msgid "and"
msgstr "i"
@ -432,20 +467,14 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Camp del tipus: %(field_type)s"
msgid "Integer"
msgstr "Enter"
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "El valor '%(value)s' ha de ser un nombre enter."
msgid "Big (8 byte) integer"
msgstr "Enter gran (8 bytes)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True or False."
msgstr "El valor '%(value)s' ha de ser \"True\" o \"False\"."
#, python-format
msgid "“%(value)s” value must be either True, False, or None."
msgstr "El valor '%(value)s' ha de ser cert, fals o cap."
msgid "Boolean (Either True or False)"
msgstr "Booleà (Cert o Fals)"
@ -458,7 +487,7 @@ msgstr "Enters separats per comes"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"El valor '%(value)s' no té un format de data vàlid. Ha de tenir el format "
@ -466,7 +495,7 @@ msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"El valor '%(value)s' té el format correcte (YYYY-MM-DD) però no és una data "
@ -477,7 +506,7 @@ msgstr "Data (sense hora)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"El valor '%(value)s' no té un format vàlid. Ha de tenir el format YYYY-MM-DD "
@ -485,7 +514,7 @@ msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"El valor '%(value)s' té el format correcte (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
@ -495,7 +524,7 @@ msgid "Date (with time)"
msgstr "Data (amb hora)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr "El valor '%(value)s' ha de ser un nombre decimal."
msgid "Decimal number"
@ -503,7 +532,7 @@ msgstr "Número decimal"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"'El valor %(value)s' té un format invàlid. Ha d'estar en el format [DD] [HH:"
@ -519,12 +548,22 @@ msgid "File path"
msgstr "Ruta del fitxer"
#, python-format
msgid "'%(value)s' value must be a float."
msgid "“%(value)s” value must be a float."
msgstr "El valor '%(value)s' ha de ser un número de coma flotant."
msgid "Floating point number"
msgstr "Número de coma flotant"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "El valor '%(value)s' ha de ser un nombre enter."
msgid "Integer"
msgstr "Enter"
msgid "Big (8 byte) integer"
msgstr "Enter gran (8 bytes)"
msgid "IPv4 address"
msgstr "Adreça IPv4"
@ -532,7 +571,7 @@ msgid "IP address"
msgstr "Adreça IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgid "“%(value)s” value must be either None, True or False."
msgstr "El valor '%(value)s' ha de ser None, True o False."
msgid "Boolean (Either True, False or None)"
@ -556,7 +595,7 @@ msgstr "Text"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"El valor '%(value)s' no té un format vàlid. Ha de tenir el format HH:MM[:ss[."
@ -564,7 +603,7 @@ msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"El valor '%(value)s' té el format correcte (HH:MM[:ss[.uuuuuu]]) però no és "
@ -580,9 +619,12 @@ msgid "Raw binary data"
msgstr "Dades binàries"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr "'%(value)s' no és un UUID vàlid."
msgid "Universally unique identifier"
msgstr "Identificador únic universal"
msgid "File"
msgstr "Arxiu"
@ -601,11 +643,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"
@ -622,9 +664,6 @@ msgstr "Aquest camp és obligatori."
msgid "Enter a whole number."
msgstr "Introduïu un número sencer."
msgid "Enter a number."
msgstr "Introduïu un número."
msgid "Enter a valid date."
msgstr "Introduïu una data vàlida."
@ -637,6 +676,10 @@ msgstr "Introduïu una data/hora vàlides."
msgid "Enter a valid duration."
msgstr "Introdueixi una durada vàlida."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "El número de dies ha de ser entre {min_days} i {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"No s'ha enviat cap fitxer. Comproveu el tipus de codificació del formulari."
@ -733,36 +776,34 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Si us plau, corregiu els valors duplicats a sota."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr ""
"La clau forana en línia no coincideix amb la clau primària de la instància "
"mare."
msgid "The inline value did not match the parent instance."
msgstr "El valor en línia no coincideix la instancia mare ."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr ""
"Esculli una opció vàlida. Aquesta opció no és una de les opcions disponibles."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" no és un valor vàlid per a una clau primària."
msgid "“%(pk)s” is not a valid value."
msgstr "\"%(pk)s\" no és un valor vàlid"
#, python-format
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -772,6 +813,15 @@ msgstr "Sí"
msgid "No"
msgstr "No"
msgid "Year"
msgstr "Any"
msgid "Month"
msgstr "Mes"
msgid "Day"
msgstr "Dia"
msgid "yes,no,maybe"
msgstr "sí,no,potser"
@ -1034,7 +1084,7 @@ msgstr "Aquesta no és una adreça IPv6 vàlida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s..."
msgid "or"
@ -1090,8 +1140,8 @@ msgid "CSRF verification failed. Request aborted."
msgstr "La verificació de CSRF ha fallat. Petició abortada."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
@ -1101,14 +1151,28 @@ msgstr ""
"navegador no està sent infiltrat per tercers."
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."
"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 ""
"Si has configurat el teu navegador per deshabilitar capçaleres 'Referer', "
"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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Si utilitza l'etiqueta <meta name=\"referrer\" content=\"no-referrer\">o "
"inclou la capçalera 'Referrer-Policy: no-referrer' , si et plau elimina-la. "
"La protecció CSRF requereix la capçalera 'Referer' per a fer una "
"comprovació estricte. Si està preocupat en quan a la privacitat, utilitzi "
"alternatives com <a rel=\"noreferrer\" ...>per enllaçar a aplicacions de "
"tercers."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
"submitting forms. This cookie is required for security reasons, to ensure "
@ -1121,7 +1185,7 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Si has configurat el teu navegador per deshabilitar galetes, sisplau torna-"
"les a habilitar, com a mínim per a aquest lloc, o per a peticions amb el "
@ -1130,33 +1194,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 "Data fora de rang"
msgid "No month specified"
msgstr "No s'ha especificat mes"
@ -1179,14 +1222,14 @@ msgstr ""
"allow_future és Fals."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Cadena invàlida de dats '%(datestr)s' donat el format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr "Cadena invàlida de data '%(datestr)s' donat el format '%(format)s'"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "No s'ha trobat sap %(verbose_name)s que coincideixi amb la petició"
msgid "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr "La pàgina no és 'last', ni es pot convertir en un enter"
#, python-format
@ -1194,16 +1237,61 @@ msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Pàgina invàlida (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr "Llista buida i '%(class_name)s.allow_empty' és Fals."
msgid "Directory indexes are not allowed here."
msgstr "Aquí no es permeten índexs de directori."
#, python-format
msgid "\"%(path)s\" does not exist"
msgid "“%(path)s” does not exist"
msgstr "\"%(path)s\" no existeix"
#, python-format
msgid "Index of %(directory)s"
msgstr "Índex de %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "Django: l'entorn de treball per a perfeccionistes de temps rècord."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Visualitza <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/"
"\" target=\"_blank\" rel=\"noopener\">notes de llançament</a> per Django "
"%(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "La instal·lació ha estat un èxit! Felicitats!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Està veient aquesta pàgina degut a que el paràmetre <a href=\"https://docs."
"djangoproject.com/en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel="
"\"noopener\">DEBUG=True</a>consta al fitxer de configuració i no teniu "
"direccions URLs configurades."
msgid "Django Documentation"
msgstr "Documentació de Django"
msgid "Topics, references, &amp; how-tos"
msgstr "Temes, referències, &amp; Com es fa"
msgid "Tutorial: A Polling App"
msgstr "Programa d'aprenentatge: Una aplicació enquesta"
msgid "Get started with Django"
msgstr "Primers passos amb Django"
msgid "Django Community"
msgstr "Comunitat Django"
msgid "Connect, get help, or contribute"
msgstr "Connecta, obté ajuda, o col·labora"

View File

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

View File

@ -6,20 +6,21 @@
# Jirka Vejrazka <Jirka.Vejrazka@gmail.com>, 2011
# Tomáš Ehrlich <tomas.ehrlich@gmail.com>, 2015
# Vláďa Macek <macek@sandbox.cz>, 2012-2014
# Vláďa Macek <macek@sandbox.cz>, 2015-2016
# Vláďa Macek <macek@sandbox.cz>, 2015-2019
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-09-16 22:28+0000\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-18 11:37+0000\n"
"Last-Translator: Vláďa Macek <macek@sandbox.cz>\n"
"Language-Team: Czech (http://www.transifex.com/django/django/language/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
msgid "Afrikaans"
msgstr "afrikánsky"
@ -28,10 +29,10 @@ msgid "Arabic"
msgstr "arabsky"
msgid "Asturian"
msgstr "Asturian"
msgstr "asturštinou"
msgid "Azerbaijani"
msgstr "Ázerbájdžánština"
msgstr "ázerbájdžánštinou"
msgid "Bulgarian"
msgstr "bulharsky"
@ -64,7 +65,7 @@ msgid "German"
msgstr "německy"
msgid "Lower Sorbian"
msgstr "Dolnolužická srbština"
msgstr "dolnolužickou srbštinou"
msgid "Greek"
msgstr "řecky"
@ -91,10 +92,10 @@ msgid "Colombian Spanish"
msgstr "kolumbijskou španělštinou"
msgid "Mexican Spanish"
msgstr "Mexická španělština"
msgstr "mexickou španělštinou"
msgid "Nicaraguan Spanish"
msgstr "Nikaragujskou španělštinou"
msgstr "nikaragujskou španělštinou"
msgid "Venezuelan Spanish"
msgstr "venezuelskou španělštinou"
@ -136,11 +137,14 @@ msgid "Croatian"
msgstr "chorvatsky"
msgid "Upper Sorbian"
msgstr "Hornolužická srbština"
msgstr "hornolužickou srbštinou"
msgid "Hungarian"
msgstr "maďarsky"
msgid "Armenian"
msgstr "arménštinou"
msgid "Interlingua"
msgstr "interlingua"
@ -160,7 +164,10 @@ msgid "Japanese"
msgstr "japonsky"
msgid "Georgian"
msgstr "gruzínsky"
msgstr "gruzínštinou"
msgid "Kabyle"
msgstr "kabylštinou"
msgid "Kazakh"
msgstr "kazašsky"
@ -193,13 +200,13 @@ msgid "Mongolian"
msgstr "mongolsky"
msgid "Marathi"
msgstr "Marathi"
msgstr "marathi"
msgid "Burmese"
msgstr "barmštinou"
msgid "Norwegian Bokmål"
msgstr "Bokmål Norština"
msgstr "bokmål norštinou"
msgid "Nepali"
msgstr "nepálsky"
@ -274,7 +281,10 @@ msgid "Ukrainian"
msgstr "ukrajinsky"
msgid "Urdu"
msgstr "Urdština"
msgstr "urdsky"
msgid "Uzbek"
msgstr "uzbecky"
msgid "Vietnamese"
msgstr "vietnamsky"
@ -297,6 +307,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,14 +328,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Zadejte platný identifikátor složený pouze z písmen, čísel, podtržítek a "
"Vložte platný identifikátor složený pouze z písmen, čísel, podtržítek a "
"pomlček."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Zadejte platný identifikátor složený pouze z písmen, čísel, podtržítek a "
@ -359,6 +379,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 +395,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 +407,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 +415,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 +431,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"
@ -440,19 +483,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Pole typu: %(field_type)s"
msgid "Integer"
msgstr "Celé číslo"
#, python-format
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 an integer."
msgstr "Hodnota '%(value)s' musí být celé číslo."
msgid "Big (8 byte) integer"
msgstr "Velké číslo (8 bajtů)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "Hodnota '%(value)s' musí být buď True nebo False."
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))"
@ -466,53 +503,53 @@ msgstr "Celá čísla oddělená čárkou"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr "Hodnota '%(value)s' není platné datum. Musí být ve tvaru RRRR-MM-DD."
msgstr "Hodnota \"%(value)s\" není platné datum. Musí být ve tvaru RRRR-MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"Ačkoli hodnota '%(value)s' je ve správném tvaru (RRRR-MM-DD), jde o neplatné "
"datum."
"Ačkoli hodnota \"%(value)s\" je ve správném tvaru (RRRR-MM-DD), jde o "
"neplatné datum."
msgid "Date (without time)"
msgstr "Datum (bez času)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"Hodnota '%(value)s' je v neplatném tvaru, který má být RRRR-MM-DD HH:MM[:SS[."
"uuuuuu]][TZ]."
"Hodnota \"%(value)s\" je v neplatném tvaru, který má být RRRR-MM-DD HH:MM[:"
"SS[.uuuuuu]][TZ]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"Ačkoli hodnota '%(value)s' je ve správném tvaru (RRRR-MM-DD HH:MM[:SS[."
"Ačkoli hodnota \"%(value)s\" je ve správném tvaru (RRRR-MM-DD HH:MM[:SS[."
"uuuuuu]][TZ]), jde o neplatné datum a čas."
msgid "Date (with time)"
msgstr "Datum (s časem)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "Hodnota '%(value)s' musí být desítkové číslo."
msgid "“%(value)s” value must be a decimal number."
msgstr "Hodnota \"%(value)s\" musí být desítkové číslo."
msgid "Decimal number"
msgstr "Desetinné číslo"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"Hodnota '%(value)s' je v neplatném tvaru, který má být [DD] [HH:[MM:]]ss[."
"Hodnota \"%(value)s\" je v neplatném tvaru, který má být [DD] [HH:[MM:]]ss[."
"uuuuuu]."
msgid "Duration"
@ -525,12 +562,22 @@ msgid "File path"
msgstr "Cesta k souboru"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "Hodnota '%(value)s' musí být reálné číslo."
msgid "“%(value)s” value must be a float."
msgstr "Hodnota \"%(value)s\" musí být reálné číslo."
msgid "Floating point number"
msgstr "Číslo s pohyblivou řádovou čárkou"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "Hodnota \"%(value)s\" musí být celé číslo."
msgid "Integer"
msgstr "Celé číslo"
msgid "Big (8 byte) integer"
msgstr "Velké číslo (8 bajtů)"
msgid "IPv4 address"
msgstr "Adresa IPv4"
@ -538,8 +585,8 @@ msgid "IP address"
msgstr "Adresa IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "Hodnota '%(value)s' musí být buď None, True nebo False."
msgid "“%(value)s” value must be either None, True or False."
msgstr "Hodnota \"%(value)s\" musí být buď None, True nebo False."
msgid "Boolean (Either True, False or None)"
msgstr "Pravdivost (buď Ano (True), Ne (False) nebo Nic (None))"
@ -562,18 +609,18 @@ msgstr "Text"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"Hodnota '%(value)s' je v neplatném tvaru, který má být HH:MM[:ss[.uuuuuu]]."
"Hodnota \"%(value)s\" je v neplatném tvaru, který má být HH:MM[:ss[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"Ačkoli hodnota '%(value)s' je ve správném tvaru (HH:MM[:ss[.uuuuuu]]), jde o "
"neplatný čas."
"Ačkoli hodnota \"%(value)s\" je ve správném tvaru (HH:MM[:ss[.uuuuuu]]), jde "
"o neplatný čas."
msgid "Time"
msgstr "Čas"
@ -585,9 +632,12 @@ msgid "Raw binary data"
msgstr "Přímá binární data"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr "\"%(value)s\" není platná hodnota typu UUID."
msgid "Universally unique identifier"
msgstr "Všeobecně jedinečný identifikátor"
msgid "File"
msgstr "Soubor"
@ -628,9 +678,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 +690,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 +714,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 +756,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 +764,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,24 +791,26 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"Hodnotu %(datetime)s nelze interpretovat v časové zóně %(current_timezone)s; "
"může to být nejednoznačné nebo nemusí existovat."
"může být nejednoznačná nebo nemusí existovat."
msgid "Clear"
msgstr "Zrušit"
msgid "Currently"
msgstr "Aktuálně"
@ -761,9 +818,6 @@ msgstr "Aktuálně"
msgid "Change"
msgstr "Změnit"
msgid "Clear"
msgstr "Zrušit"
msgid "Unknown"
msgstr "Neznámé"
@ -773,6 +827,15 @@ msgstr "Ano"
msgid "No"
msgstr "Ne"
msgid "Year"
msgstr "Rok"
msgid "Month"
msgstr "Měsíc"
msgid "Day"
msgstr "Den"
msgid "yes,no,maybe"
msgstr "ano, ne, možná"
@ -782,6 +845,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"
@ -1036,8 +1100,8 @@ msgstr "Toto není platná adresa typu IPv6."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "nebo"
@ -1052,6 +1116,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 +1124,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 +1132,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 +1140,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 +1148,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 +1156,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"
@ -1098,24 +1168,37 @@ msgid "CSRF verification failed. Request aborted."
msgstr "Selhalo ověření typu CSRF. Požadavek byl zadržen."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Tato zpráva se zobrazuje, protože tento web na protokolu HTTPS požaduje "
"záhlaví Referer od vašeho webového prohlížeče. Záhlaví je požadováno z "
"záhlaví \"Referer\" od vašeho webového prohlížeče. Záhlaví je požadováno z "
"bezpečnostních důvodů, aby se zajistilo, že vašeho prohlížeče se nezmocnil "
"někdo další."
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."
"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 ""
"Pokud má váš prohlížeč záhlaví Referer vypnuté, žádáme vás o jeho zapnutí, "
"alespoň pro tento web nebo pro spojení typu HTTPS nebo pro požadavky typu "
"\"stejný původ\" (same origin)."
"Pokud má váš prohlížeč záhlaví \"Referer\" vypnuté, žádáme vás o jeho "
"zapnutí, 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 youre 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žijte 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 "
@ -1128,7 +1211,7 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Pokud má váš prohlížeč soubory cookie vypnuté, žádáme vás o jejich zapnutí, "
"alespoň pro tento web nebo pro požadavky typu \"stejný původ\" (same origin)."
@ -1136,34 +1219,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"
@ -1186,31 +1247,77 @@ msgstr ""
"%(class_name)s.allow_future je False"
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Datum '%(datestr)s' neodpovídá formátu '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr "Datum \"%(datestr)s\" neodpovídá formátu \"%(format)s\""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Nepodařilo se nalézt žádný objekt %(verbose_name)s"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Požadavek na stránku nemohl být konvertován na číslo, ani není 'last'"
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
"Požadavek na stránku nemohl být konvertován na celé číslo, ani není \"last\"."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Neplatná stránka (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "List je prázdný a '%(class_name)s.allow_empty' je nastaveno na False"
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr "List je prázdný a \"%(class_name)s.allow_empty\" je nastaveno na False"
msgid "Directory indexes are not allowed here."
msgstr "Indexy adresářů zde nejsou povoleny."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" neexistuje"
msgid "“%(path)s” does not exist"
msgstr "Cesta \"%(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-tos"
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,9 +7,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-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Welsh (http://www.transifex.com/django/django/language/cy/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -138,6 +138,9 @@ msgstr ""
msgid "Hungarian"
msgstr "Hwngareg"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "Interlingua"
@ -159,6 +162,9 @@ msgstr "Siapanëeg"
msgid "Georgian"
msgstr "Georgeg"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "Casacstanaidd"
@ -273,6 +279,9 @@ msgstr "Wcreineg"
msgid "Urdu"
msgstr "Wrdw"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Fietnameg"
@ -294,6 +303,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,14 +324,13 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Rhowch 'falwen' dilys yn cynnwys llythrennau, rhifau, tanlinellau neu "
"cysylltnodau."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
@ -382,6 +399,9 @@ msgstr[3] ""
"Sicrhewch fod gan y gwerth hwn ddim mwy na %(limit_value)d nod (mae ganddo "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Rhowch rif."
#, 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."
@ -408,6 +428,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"
@ -440,19 +469,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Maes o fath: %(field_type)s"
msgid "Integer"
msgstr "cyfanrif"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "Rhaid i'r gwerth '%(value)s' fod yn gyfanrif."
msgid "Big (8 byte) integer"
msgstr "Cyfanrif mawr (8 beit)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "Rhaid i werth '%(value)s' for unai'n True neu False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Boleaidd (Unai True neu False)"
@ -466,52 +489,44 @@ msgstr "Cyfanrifau wedi'u gwahanu gan gomas"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"Mae gan werth '%(value)s' fformat dyddiad annilys. Rhaid iddo fod yn y "
"fformat BBBB-MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"Mae'r gwerth '%(value)s' yn y fformat cywir (BBBB-MM-DD) ond mae'r dyddiad "
"yn annilys"
msgid "Date (without time)"
msgstr "Dyddiad (heb amser)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"Mae '%(value)s' mewn fformat annilys. Rhaid iddo fod yn y fformat BBBB-MM-DD "
"AA:MM[:ee[.uuuuuu]][CA]"
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"Mae '%(value)s' yn y fformat cywir (BBBB-MM-DD AA:MM[:ee[.uuuuuu]][CA]) on "
"mae'n ddyddiad/amser annilys."
msgid "Date (with time)"
msgstr "Dyddiad (gydag amser)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "Rhaid i '%(value)s' fod yn ddegolyn."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "Rhif degol"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
@ -525,12 +540,22 @@ msgid "File path"
msgstr "Llwybr ffeil"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "Rhaid i '%(value)s' fod yn rif pwynt arnawf."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Rhif pwynt symudol"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "cyfanrif"
msgid "Big (8 byte) integer"
msgstr "Cyfanrif mawr (8 beit)"
msgid "IPv4 address"
msgstr "Cyfeiriad IPv4"
@ -538,8 +563,8 @@ msgid "IP address"
msgstr "cyfeiriad IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "Rhaid i '%(value)s' gael y gwerth None, True neu False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Boleaidd (Naill ai True, False neu None)"
@ -562,19 +587,15 @@ msgstr "Testun"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"Mae gan y gwerth '%(value)s' fformat annilys. Rhaid iddo fod yn y fformat AA:"
"MM[:ee[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"Mae'r gwerth '%(value)s' yn y fformat cywir AA:MM[:ee[.uuuuuu]] ond mae'r "
"amser yn annilys."
msgid "Time"
msgstr "Amser"
@ -586,7 +607,10 @@ msgid "Raw binary data"
msgstr "Data deuol crai"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
@ -628,9 +652,6 @@ msgstr "Mae angen y maes hwn."
msgid "Enter a whole number."
msgstr "Rhowch cyfanrif."
msgid "Enter a number."
msgstr "Rhowch rif."
msgid "Enter a valid date."
msgstr "Rhif ddyddiad dilys."
@ -643,6 +664,10 @@ msgstr "Rhowch ddyddiad/amser dilys."
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 "Ni anfonwyd ffeil. Gwiriwch math yr amgodiad ar y ffurflen."
@ -743,10 +768,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,16 +777,17 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -771,9 +795,6 @@ msgstr "Ar hyn o bryd"
msgid "Change"
msgstr "Newid"
msgid "Clear"
msgstr "Clirio"
msgid "Unknown"
msgstr "Anhysbys"
@ -783,6 +804,15 @@ msgstr "Ie"
msgid "No"
msgstr "Na"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "ie,na,efallai"
@ -1047,8 +1077,8 @@ msgstr "Nid yw hwn yn gyfeiriad IPv6 dilys."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "neu"
@ -1115,23 +1145,25 @@ msgid "CSRF verification failed. Request aborted."
msgstr "Gwirio CSRF wedi methu. Ataliwyd y cais."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Rydych yn gweld y neges hwn can fod y safle HTTPS hwn angen 'Referer header' "
"i gael ei anfon gan ei porwr, ond ni anfonwyd un. Mae angen y pennyn hwn ar "
"mwyn diogelwch, i sicrhau na herwgipiwyd eich porwr gan trydydd parti."
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Os ydych wedi analluogi pennynau 'Referer' yn eich porwr yn galluogwch nhw, "
"oleiaf ar gyfer y safle hwn neu ar gyfer cysylltiadau HTTPS neu ar gyfer "
"ceisiadau 'same-origin'."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1144,36 +1176,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Os ydych wedi analluogi cwcis, galluogwch nhw, oleiaf i'r safle hwn neu "
"ceisiadau 'same-origin'."
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"
@ -1196,32 +1210,69 @@ msgstr ""
"allow_future yn 'False'. "
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
"Rhoddwyd y fformat '%(format)s' i'r llynyn dyddiad annilys '%(datestr)s'"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Ni ganfuwyd %(verbose_name)s yn cydweddu â'r ymholiad"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Nid yw'r dudalen yn 'last', ac ni ellir ei drosi i int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Tudalen annilys (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Rhestr wag a '%(class_name)s.allow_empty' yn False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Ni ganiateir mynegai cyfeiriaduron yma."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "Nid yw \"%(path)s\" yn bodoli"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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-2019
# Finn Gruwier Larsen, 2011
# Jannis Leidel <jannis@leidel.info>, 2011
# jonaskoelker <jonaskoelker@gnu.org>, 2012
@ -13,8 +13,8 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 19:27+0000\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 05:53+0000\n"
"Last-Translator: Erik Wognsen <r4mses@gmail.com>\n"
"Language-Team: Danish (http://www.transifex.com/django/django/language/da/)\n"
"MIME-Version: 1.0\n"
@ -143,6 +143,9 @@ msgstr "øvresorbisk"
msgid "Hungarian"
msgstr "ungarsk"
msgid "Armenian"
msgstr "armensk"
msgid "Interlingua"
msgstr "interlingua"
@ -164,6 +167,9 @@ msgstr "japansk"
msgid "Georgian"
msgstr "georgisk"
msgid "Kabyle"
msgstr "kabylsk"
msgid "Kazakh"
msgstr "kasakhisk"
@ -278,6 +284,9 @@ msgstr "ukrainsk"
msgid "Urdu"
msgstr "urdu"
msgid "Uzbek"
msgstr "usbekisk"
msgid "Vietnamese"
msgstr "vietnamesisk"
@ -299,6 +308,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,18 +329,19 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Indtast en \"slug\" bestående af bogstaver, cifre, understreger og "
"Indtast en gyldig “slug” bestående af bogstaver, cifre, understreger eller "
"bindestreger."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Indtast en \"slug\" bestående af bogstaver, cifre, understreger og "
"bindestreger."
"Indtast en gyldig “slug” bestående af Unicode-bogstaver, cifre, understreger "
"eller bindestreger."
msgid "Enter a valid IPv4 address."
msgstr "Indtast en gyldig IPv4-adresse."
@ -372,6 +391,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 +414,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"
@ -425,19 +458,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Felt af type: %(field_type)s"
msgid "Integer"
msgstr "Heltal"
#, python-format
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 an integer."
msgstr "'%(value)s'-værdien skal være et heltal."
msgid "Big (8 byte) integer"
msgstr "Stort heltal (8 byte)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s'-værdien skal være enten True eller False."
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)"
@ -451,18 +478,18 @@ msgstr "Kommaseparerede heltal"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s'-værdien har et ugyldigt datoformat. Den skal være i formatet "
"“%(value)s”-værdien har et ugyldigt datoformat. Den skal være i formatet "
"ÅÅÅÅ-MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"'%(value)s'-værdien har det korrekte format (ÅÅÅÅ-MM-DD) men er en ugyldig "
"“%(value)s”-værdien har det korrekte format (ÅÅÅÅ-MM-DD) men er en ugyldig "
"dato."
msgid "Date (without time)"
@ -470,37 +497,37 @@ msgstr "Dato (uden tid)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"'%(value)s'-værdien har et ugyldigt format. Den skal være i formatet ÅÅÅÅ-MM-"
"“%(value)s”-værdien har et ugyldigt format. Den skal være i formatet ÅÅÅÅ-MM-"
"DD TT:MM[:ss[.uuuuuu]][TZ]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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'-værdien har det korrekte format (ÅÅÅÅ-MM-DD TT:MM[:ss[.uuuuuu]]"
"“%(value)s”-værdien har det korrekte format (ÅÅÅÅ-MM-DD TT:MM[:ss[.uuuuuu]]"
"[TZ]) men er en ugyldig dato/tid."
msgid "Date (with time)"
msgstr "Dato (med tid)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "'%(value)s'-værdien skal være et decimaltal."
msgid "“%(value)s” value must be a decimal number."
msgstr "“%(value)s”-værdien skal være et decimaltal."
msgid "Decimal number"
msgstr "Decimaltal"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"'%(value)s' værdien har et ugyldigt format. Den skal være i formatet [DD] "
"[HH:[MM:]]ss[.uuuuuu]."
"“%(value)s”-værdien har et ugyldigt format. Den skal være i formatet [DD] "
"[[TT:]MM:]ss[.uuuuuu]."
msgid "Duration"
msgstr "Varighed"
@ -512,12 +539,22 @@ msgid "File path"
msgstr "Sti"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "'%(value)s'-værdien skal være en float (et kommatal)."
msgid "“%(value)s” value must be a float."
msgstr "“%(value)s”-værdien skal være et kommatal."
msgid "Floating point number"
msgstr "Flydende-komma-tal"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "“%(value)s”-værdien skal være et heltal."
msgid "Integer"
msgstr "Heltal"
msgid "Big (8 byte) integer"
msgstr "Stort heltal (8 byte)"
msgid "IPv4 address"
msgstr "IPv4-adresse"
@ -525,8 +562,8 @@ msgid "IP address"
msgstr "IP-adresse"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "'%(value)s'-værdien skal være enten None, True eller False."
msgid "“%(value)s” value must be either None, True or False."
msgstr "“%(value)s”-værdien skal være enten None, True eller False."
msgid "Boolean (Either True, False or None)"
msgstr "Boolsk (True, False eller None)"
@ -549,18 +586,18 @@ msgstr "Tekst"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"'%(value)s'-værdien har et ugyldigt format. Den skal være i formatet TT:MM[:"
"“%(value)s”-værdien har et ugyldigt format. Den skal være i formatet TT:MM[:"
"ss[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"'%(value)s'-værdien har det korrekte format (TT:MM[:ss[.uuuuuu]]) men er et "
"“%(value)s”-værdien har det korrekte format (TT:MM[:ss[.uuuuuu]]) men er et "
"ugyldigt tidspunkt."
msgid "Time"
@ -573,8 +610,11 @@ msgid "Raw binary data"
msgstr "Rå binære data"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' er ikke et gyldigt UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr "“%(value)s” er ikke et gyldigt UUID."
msgid "Universally unique identifier"
msgstr "Universelt unik identifikator"
msgid "File"
msgstr "Fil"
@ -615,9 +655,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 +667,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 +762,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,26 +771,26 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -760,6 +800,15 @@ msgstr "Ja"
msgid "No"
msgstr "Nej"
msgid "Year"
msgstr "År"
msgid "Month"
msgstr "Måned"
msgid "Day"
msgstr "Dag"
msgid "yes,no,maybe"
msgstr "ja,nej,måske"
@ -1022,8 +1071,8 @@ msgstr "Dette er ikke en gyldig IPv6-adresse."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "eller"
@ -1078,24 +1127,37 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF-verifikationen mislykkedes. Forespørgslen blev afbrudt."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Du ser denne besked fordi denne HTTPS-webside kræver at din browser sender "
"en 'Referer header', men den blev ikke sendt. Denne header er påkrævet af "
"Du ser denne besked fordi denne HTTPS-webside kræver at din browser sender "
"en “Referer header”, men den blev ikke sendt. Denne header er påkrævet af "
"sikkerhedsmæssige grunde for at sikre at din browser ikke bliver kapret af "
"tredjepart."
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."
"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 ""
"Hvis du har opsat din browser til ikke at sende 'Referer' headere, beder vi "
"Hvis du har opsat din browser til ikke at sende “Referer” headere, beder vi "
"dig slå dem til igen, i hvert fald for denne webside, eller for HTTPS-"
"forbindelser, eller for 'same-origin'-forespørgsler."
"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 youre 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 "
@ -1108,40 +1170,20 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Hvis du har slået cookies fra i din browser, beder vi dig slå dem til igen, "
"i hvert fald for denne webside, eller for 'same-origin'-forespørgsler."
"i hvert fald for denne webside, eller for “same-origin”-forespørgsler."
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"
@ -1164,31 +1206,74 @@ msgstr ""
"allow_future er falsk."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Ugyldig datostreng ' %(datestr)s ' givet format ' %(format)s '"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr "Ugyldig datostreng “%(datestr)s” givet format “%(format)s”"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Ingen %(verbose_name)s fundet matcher forespørgslen"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Side er ikke 'sidste', kan heller ikke konverteres til en int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr "Side er ikke “sidste”, og kan heller ikke konverteres til en int."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Ugyldig side (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Tom liste og ' %(class_name)s .allow_empty' er falsk."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr "Tom liste og “%(class_name)s.allow_empty” er falsk."
msgid "Directory indexes are not allowed here."
msgstr "Mappeindekser er ikke tilladte her"
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\" %(path)s\" eksisterer ikke"
msgid "“%(path)s” does not exist"
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-tos"
msgstr "Emner, referencer &amp; how-tos"
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,17 +3,18 @@
# 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,2020
# 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"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2020-01-17 22:58+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"Language-Team: German (http://www.transifex.com/django/django/language/de/)\n"
"MIME-Version: 1.0\n"
@ -142,6 +143,9 @@ msgstr "Obersorbisch"
msgid "Hungarian"
msgstr "Ungarisch"
msgid "Armenian"
msgstr "Armenisch"
msgid "Interlingua"
msgstr "Interlingua"
@ -163,6 +167,9 @@ msgstr "Japanisch"
msgid "Georgian"
msgstr "Georgisch"
msgid "Kabyle"
msgstr "Kabylisch"
msgid "Kazakh"
msgstr "Kasachisch"
@ -206,7 +213,7 @@ msgid "Nepali"
msgstr "Nepali"
msgid "Dutch"
msgstr "Holländisch"
msgstr "Niederländisch"
msgid "Norwegian Nynorsk"
msgstr "Norwegisch (Nynorsk)"
@ -277,6 +284,9 @@ msgstr "Ukrainisch"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr "Usbekisch"
msgid "Vietnamese"
msgstr "Vietnamesisch"
@ -298,6 +308,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,14 +329,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Bitte ein gültiges Kürzel eingeben, bestehend aus Buchstaben, Ziffern, "
"Unter- und Bindestrichen."
"Bitte ein gültiges Kürzel, bestehend aus Buchstaben, Ziffern, Unterstrichen "
"und Bindestrichen, eingeben."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Bitte ein gültiges Kürzel eingeben, bestehend aus Buchstaben (Unicode), "
@ -339,7 +359,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 +378,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 +392,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 +428,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"
@ -438,19 +472,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Feldtyp: %(field_type)s"
msgid "Integer"
msgstr "Ganzzahl"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr "Wert „%(value)s“ muss entweder True oder False sein."
#, python-format
msgid "'%(value)s' value must be an integer."
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."
msgid "“%(value)s” value must be either True, False, or None."
msgstr "Wert „%(value)s“ muss True, False oder None sein."
msgid "Boolean (Either True or False)"
msgstr "Boolescher Wert (True oder False)"
@ -464,54 +492,55 @@ msgstr "Kommaseparierte Liste von Ganzzahlen"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(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 "
"Wert „%(value)s“ hat ein ungültiges Datumsformat. Es muss YYYY-MM-DD "
"entsprechen."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(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."
"Wert „%(value)s“ hat das korrekte Format (YYYY-MM-DD) aber ein ungültiges "
"Datum."
msgid "Date (without time)"
msgstr "Datum (ohne Uhrzeit)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(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[."
"Wert „%(value)s“ hat ein ungültiges Format. Es muss YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] entsprechen."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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]]"
"Wert „%(value)s“ hat das korrekte Format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) aber eine ungültige Zeit-/Datumsangabe."
msgid "Date (with time)"
msgstr "Datum (mit Uhrzeit)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "%(value)s Wert muss eine Dezimalzahl sein."
msgid "“%(value)s” value must be a decimal number."
msgstr "Wert „%(value)s“ muss eine Dezimalzahl sein."
msgid "Decimal number"
msgstr "Dezimalzahl"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(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:"
"Wert „%(value)s“ hat ein ungültiges Format. Es muss der Form [DD] [HH:"
"[MM:]]ss[.uuuuuu] entsprechen."
msgid "Duration"
@ -524,12 +553,22 @@ msgid "File path"
msgstr "Dateipfad"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "%(value)s Wert muss eine Fließkommazahl sein."
msgid "“%(value)s” value must be a float."
msgstr "Wert „%(value)s“ muss eine Fließkommazahl sein."
msgid "Floating point number"
msgstr "Gleitkommazahl"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "Wert „%(value)s“ muss eine Ganzzahl sein."
msgid "Integer"
msgstr "Ganzzahl"
msgid "Big (8 byte) integer"
msgstr "Große Ganzzahl (8 Byte)"
msgid "IPv4 address"
msgstr "IPv4-Adresse"
@ -537,8 +576,8 @@ msgid "IP address"
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."
msgid "“%(value)s” value must be either None, True or False."
msgstr "Wert „%(value)s“ muss entweder None, True oder False sein."
msgid "Boolean (Either True, False or None)"
msgstr "Boolescher Wert (True, False oder None)"
@ -561,19 +600,19 @@ msgstr "Text"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(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]] "
"Wert „%(value)s“ hat ein ungültiges Format. Es muss HH:MM[:ss[.uuuuuu]] "
"entsprechen."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(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 "
"ungültige Zeitangabe."
"Wert „%(value)s“ hat das korrekte Format (HH:MM[:ss[.uuuuuu]]), aber ist "
"eine ungültige Zeitangabe."
msgid "Time"
msgstr "Zeit"
@ -585,8 +624,11 @@ msgid "Raw binary data"
msgstr "Binärdaten"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "Wert '%(value)s' ist keine gültige UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr "Wert „%(value)s“ ist keine gültige UUID."
msgid "Universally unique identifier"
msgstr "Universally Unique Identifier"
msgid "File"
msgstr "Datei"
@ -627,9 +669,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 +681,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 +701,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,35 +781,33 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -776,6 +817,15 @@ msgstr "Ja"
msgid "No"
msgstr "Nein"
msgid "Year"
msgstr "Jahr"
msgid "Month"
msgstr "Monat"
msgid "Day"
msgstr "Tag"
msgid "yes,no,maybe"
msgstr "Ja,Nein,Vielleicht"
@ -1038,8 +1088,8 @@ msgstr "Dies ist keine gültige IPv6-Adresse."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "oder"
@ -1094,8 +1144,8 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF-Verifizierung fehlgeschlagen. Anfrage abgebrochen."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
@ -1105,15 +1155,28 @@ msgstr ""
"nicht von Dritten missbraucht wird."
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."
"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 ""
"Falls Sie Ihren Webbrowser so konfiguriert haben, dass „Referer“-Header "
"nicht gesendet werden, müssen Sie diese Funktion mindestens für diese Seite, "
"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 youre 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 "
@ -1126,7 +1189,7 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Falls Sie Cookies in Ihren Webbrowser deaktiviert haben, müssen Sie sie "
"mindestens für diese Seite oder für „Same-Origin“-Verbindungen reaktivieren."
@ -1134,33 +1197,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"
@ -1183,16 +1225,16 @@ msgstr ""
"%(class_name)s.allow_future auf False gesetzt ist."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Ungültiges Datum '%(datestr)s' für das Format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given 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"
msgstr "Konnte keine %(verbose_name)s mit diesen Parametern finden."
msgid "Page is not 'last', nor can it be converted to an int."
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
@ -1200,16 +1242,61 @@ msgid "Invalid page (%(page_number)s): %(message)s"
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."
msgid "Empty list and “%(class_name)s.allow_empty” is 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"
msgid "“%(path)s” does not exist"
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-tos"
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,14 +1,14 @@
# 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-2019
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-07-01 21:52+0000\n"
"Last-Translator: Michael Wolf <milupo@sorbzilla.de>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Lower Sorbian (http://www.transifex.com/django/django/"
"language/dsb/)\n"
"MIME-Version: 1.0\n"
@ -138,6 +138,9 @@ msgstr "Górnoserbšćina"
msgid "Hungarian"
msgstr "Hungoršćina"
msgid "Armenian"
msgstr "Armeńšćina"
msgid "Interlingua"
msgstr "Interlingua"
@ -159,6 +162,9 @@ msgstr "Japańšćina"
msgid "Georgian"
msgstr "Georgišćina"
msgid "Kabyle"
msgstr "Kabylšćina"
msgid "Kazakh"
msgstr "Kazachšćina"
@ -273,6 +279,9 @@ msgstr "Ukrainšćina"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnamšćina"
@ -294,6 +303,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,18 +324,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Zapódajśo płaśiwe 'adresowe mě', kótarež jano wopśimujo pismiki, licby, "
"pódsmužki abo wězawki."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Zapódajśo płaśiwe 'adresowe mě', kótarež jano wopśimujo unicodowe pismiki, "
"licby, pódmužki abo wězawki."
msgid "Enter a valid IPv4 address."
msgstr "Zapódajśo płaśiwu IPv4-adresu."
@ -385,6 +400,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 +429,15 @@ 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 ""
msgid "Null characters are not allowed."
msgstr "Znamuška nul njejsu dowólone."
msgid "and"
msgstr "a"
@ -444,19 +471,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Typ póla: %(field_type)s"
msgid "Integer"
msgstr "Integer"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "Gódnota '%(value)s' musy ceła licba byś."
msgid "Big (8 byte) integer"
msgstr "Big (8 bajtow) integer"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "Gódnota '%(value)s musy pak True pak False byś."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Boolean (pak True pak False)"
@ -470,55 +491,46 @@ msgstr "Pśez komu źělone cełe licby"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"Gódnota '%(value)s' ma njepłaśiwy datumowy format. Musy we formaśe DD.MM."
"YYYY byś."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"Gódnota '%(value)s' ma korektny format (DD.MM.YYYY), ale jo njepłaśiwy datum."
msgid "Date (without time)"
msgstr "Datum (bźez casa)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"Gódnota '%(value)s' ma njepłaśiwy format. Musy w formaśe DD.MM.YYYY HH:MM[:"
"ss[.uuuuuu]][TZ] byś."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"Gódnota '%(value)s' ma korektny format (DD.MM.YYYY HH:MM[:ss[.uuuuuu]][TZ]), "
"ale jo njepłaśiwy datum/cas."
msgid "Date (with time)"
msgstr "Datum (z casom)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "Gódnota '%(value)s' musy decimalna licba byś."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "Decimalna licba"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"Gódnota '%(value)s ma njepłaśiwy format. Musy we formaśe [DD] [HH:[MM:]]ss[."
"uuuuuu] byś."
msgid "Duration"
msgstr "Traśe"
@ -530,12 +542,22 @@ msgid "File path"
msgstr "Datajowa sćažka"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "Gódnota '%(value)s' musy typ float měś."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Licba běžeceje komy"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Integer"
msgid "Big (8 byte) integer"
msgstr "Big (8 bajtow) integer"
msgid "IPv4 address"
msgstr "IPv4-adresa"
@ -543,8 +565,8 @@ msgid "IP address"
msgstr "IP-adresa"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "Gódnota '%(value)s' musy pak None, True pak False byś."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Boolean (pak True, False pak None)"
@ -567,19 +589,15 @@ msgstr "Tekst"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"Gódnota '%(value)s' ma njepłaśiwy format. Musy w formaśe HH:MM[:ss[."
"uuuuuu]] byś."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"Gódnota '%(value)s' ma korektny format (HH:MM[:ss[.uuuuuu]]), ale jo "
"njepłaśiwy cas."
msgid "Time"
msgstr "Cas"
@ -591,8 +609,11 @@ msgid "Raw binary data"
msgstr "Gropne binarne daty"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' njejo płaśiwy UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr "Uniwerselnje jadnorazowy identifikator"
msgid "File"
msgstr "Dataja"
@ -633,9 +654,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 +666,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 +777,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,16 +786,17 @@ 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 ""
#, python-format
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -783,9 +804,6 @@ msgstr "Tuchylu"
msgid "Change"
msgstr "Změniś"
msgid "Clear"
msgstr "Lašowaś"
msgid "Unknown"
msgstr "Njeznaty"
@ -795,6 +813,15 @@ msgstr "Jo"
msgid "No"
msgstr "Ně"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "jo,ně,snaź"
@ -1059,8 +1086,8 @@ msgstr "To njejo płaśiwa IPv6-adresa."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "abo"
@ -1127,24 +1154,25 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF-pśeglědanje njejo se raźiło. Napšašowanje jo se pśetergnuło."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Wiźiśo toś tu powěźeńku, dokulaž toś to HTTPS-sedło trjeba głowu 'Referer', "
"aby se pśez waš webwobglědowak słało, ale žedna njejo se pósłała. Toś ta "
"głowa jo trěbna z pśicynow wěstoty, aby so zawěsćiło, až waš wobglědowak "
"njekaprujo se wót tśeśich."
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Jolic sćo swój wobglědowak tak konfigurěrował, aby se głowy 'Referer' "
"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 ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1157,42 +1185,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Jolic sćo swój wobglědowak tak konfigurěrował, aby cookieje znjemóžnili, "
"zmóžniśo je pšosym zasej, nanejmjenjej za toś to sedło abo za napšašowanja "
"'same-origin'."
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"
@ -1215,32 +1219,76 @@ msgstr ""
"%(class_name)s.allow_future jo False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
"Njepłaśiwy '%(format)s' za datumowy znamuškowy rjeśazk '%(datestr)s' pódany"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Žedno %(verbose_name)s namakane, kótarež wótpowědujo napšašowanjeju."
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Bok njejo 'last', ani njedajo se do 'int' konwertěrowaś."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Njepłaśiwy bok (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Prozna lisćina a '%(class_name)s.allow_empty' jo False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Zapisowe indekse njejsu how dowólone."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" njeeksistěrujo"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
msgstr ""
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-2019
# Nikolas Demiridis <nikolas@demiridis.gr>, 2014
# Nick Mavrakis <mavrakis.n@gmail.com>, 2016
# Pãnoș <panos.laganakos@gmail.com>, 2014
@ -16,9 +17,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-14 16:48+0000\n"
"Last-Translator: Nick Mavrakis <mavrakis.n@gmail.com>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Greek (http://www.transifex.com/django/django/language/el/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -146,6 +147,9 @@ msgstr "Άνω Σορβικά"
msgid "Hungarian"
msgstr "Ουγγρικά"
msgid "Armenian"
msgstr "Αρμενικά"
msgid "Interlingua"
msgstr "Ιντερλίνγκουα"
@ -167,6 +171,9 @@ msgstr "Γιαπωνέζικα"
msgid "Georgian"
msgstr "Γεωργιανά"
msgid "Kabyle"
msgstr "Kabyle"
msgid "Kazakh"
msgstr "Καζακστά"
@ -281,6 +288,9 @@ msgstr "Ουκρανικά"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Βιετναμέζικα"
@ -302,6 +312,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,18 +333,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Εισάγετε ένα έγκυρο 'slug' αποτελούμενο από γράμματα, αριθμούς, παύλες ή "
"κάτω παύλες."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Ένα έγκυρο 'slug' αποτελείται από Unicode γράμματα, αριθμούς, παύλες ή κάτω "
"παύλες."
msgid "Enter a valid IPv4 address."
msgstr "Εισάγετε μια έγκυρη IPv4 διεύθυνση."
@ -364,8 +380,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 +394,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 +424,15 @@ msgstr[0] ""
msgstr[1] ""
"Βεβαιωθείτε ότι δεν υπάρχουν πάνω από %(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 "Δεν επιτρέπονται null (μηδενικοί) χαρακτήρες"
msgid "and"
msgstr "και"
@ -439,19 +467,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Πεδίο τύπου: %(field_type)s"
msgid "Integer"
msgstr "Ακέραιος"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "Η τιμή '%(value)s' πρέπει να είναι ακέραιος."
msgid "Big (8 byte) integer"
msgstr "Μεγάλος ακέραιος - big integer (8 bytes)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "Η τιμή '%(value)s' πρέπει να είναι είτε True ή False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Boolean (Είτε Αληθές ή Ψευδές)"
@ -465,56 +487,46 @@ msgstr "Ακέραιοι χωρισμένοι με κόμματα"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"Η τιμή του '%(value)s' έχει μια λανθασμένη μορφή ημερομηνίας. Η ημερομηνία "
"θα πρέπει να είναι στην μορφή YYYY-MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"Η τιμή '%(value)s' είναι στην σωστή μορφή (YYYY-MM-DD) αλλά είναι μια "
"λανθασμένη ημερομηνία."
msgid "Date (without time)"
msgstr "Ημερομηνία (χωρίς την ώρα)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"Η τιμή του '%(value)s' έχει μια λανθασμένη μορφή. Η ημερομηνία/ώρα θα πρέπει "
"να είναι στην μορφή YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]"
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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' έχει τη σωστή μορφή (YYYY-MM-DD HH:MM[:ss[.uuuuuu]][TZ]) "
"αλλά δεν αντιστοιχεί σε σωστή ημερομηνία και ώρα."
msgid "Date (with time)"
msgstr "Ημερομηνία (με ώρα)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "Η τιμή '%(value)s' πρέπει να είναι ακέραιος."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "Δεκαδικός αριθμός"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"Η τιμή '%(value)s' έχει εσφαλμένη μορφή. Πρέπει να είναι της μορφής [DD] [HH:"
"[MM:]]ss[.uuuuuu]."
msgid "Duration"
msgstr "Διάρκεια"
@ -526,12 +538,22 @@ msgid "File path"
msgstr "Τοποθεσία αρχείου"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "Η '%(value)s' τιμή πρέπει να είναι δεκαδικός."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Αριθμός κινητής υποδιαστολής"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Ακέραιος"
msgid "Big (8 byte) integer"
msgstr "Μεγάλος ακέραιος - big integer (8 bytes)"
msgid "IPv4 address"
msgstr "Διεύθυνση IPv4"
@ -539,8 +561,8 @@ msgid "IP address"
msgstr "IP διεύθυνση"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "Η '%(value)s' τιμή πρέπει είναι είτε None, True ή False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Boolean (Αληθές, Ψευδές, ή τίποτα)"
@ -563,19 +585,15 @@ msgstr "Κείμενο"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"Η τιμή '%(value)s' έχει εσφαλμένη μορφή. Πρέπει να είναι της μορφής HH:MM[:"
"ss[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"Η τιμή '%(value)s' έχει τη σωστή μορφή (HH:MM[:ss[.uuuuuu]]) αλλά δεν "
"αντιστοιχή σε σωστή ώρα."
msgid "Time"
msgstr "Ώρα"
@ -587,8 +605,11 @@ msgid "Raw binary data"
msgstr "Δυαδικά δεδομένα"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' δεν είναι ένα έγκυρο UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr "Καθολικά μοναδικό αναγνωριστικό"
msgid "File"
msgstr "Αρχείο"
@ -630,9 +651,6 @@ msgstr "Αυτό το πεδίο είναι απαραίτητο."
msgid "Enter a whole number."
msgstr "Εισάγετε έναν ακέραιο αριθμό."
msgid "Enter a number."
msgstr "Εισάγετε έναν αριθμό."
msgid "Enter a valid date."
msgstr "Εισάγετε μια έγκυρη ημερομηνία."
@ -645,6 +663,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 +766,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,16 +775,17 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"Η ημερομηνία %(datetime)s δεν μπόρεσε να μετατραπεί στην ζώνη ώρας "
"%(current_timezone)s; ίσως να είναι ασαφής ή να μην υπάρχει."
msgid "Clear"
msgstr "Εκκαθάριση"
msgid "Currently"
msgstr "Τώρα"
@ -772,9 +793,6 @@ msgstr "Τώρα"
msgid "Change"
msgstr "Επεξεργασία"
msgid "Clear"
msgstr "Εκκαθάριση"
msgid "Unknown"
msgstr "Άγνωστο"
@ -784,6 +802,15 @@ msgstr "Ναι"
msgid "No"
msgstr "Όχι"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "ναι,όχι,ίσως"
@ -1046,8 +1073,8 @@ msgstr "Αυτή δεν είναι έγκυρη διεύθυνση IPv6."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "ή"
@ -1102,24 +1129,25 @@ msgid "CSRF verification failed. Request aborted."
msgstr "Η πιστοποίηση CSRF απέτυχε. Το αίτημα ματαιώθηκε."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Βλέπετε αυτό το μήνυμα επειδή αυτή η HTTPS σελίδα απαιτεί από τον Web "
"browser σας να σταλεί ένας 'Referer header', όμως τίποτα δεν στάλθηκε. Αυτός "
"ο header είναι απαραίτητος για λόγους ασφαλείας, για να εξασφαλιστεί ότι ο "
"browser δεν έχει γίνει hijacked από τρίτους."
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Αν οι 'Referer' headers είναι απενεργοποιημένοι στον browser σας από εσάς, "
"παρακαλούμε να τους ξανά-ενεργοποιήσετε, τουλάχιστον για αυτό το site ή για "
"τις συνδέσεις HTTPS ή για τα 'same-origin' requests."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1132,42 +1160,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Αν τα cookies είναι απενεργοποιημένα στον browser σας από εσάς, παρακαλούμε "
"να τα ξανά-ενεργοποιήσετε, τουλάχιστον για αυτό το site ή για τα 'same-"
"origin' requests."
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 "Δεν έχει οριστεί μήνας"
@ -1190,35 +1194,76 @@ msgstr ""
"το %(class_name)s.allow_future."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
"Λανθασμένη αναπαράσταση ημερομηνίας '%(datestr)s' για την επιλεγμένη μορφή "
"'%(format)s'"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Δεν βρέθηκαν %(verbose_name)s που να ικανοποιούν την αναζήτηση."
msgid "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
"Η σελίδα δεν έχει την τιμή 'last' υποδηλώνοντας την τελευταία σελίδα, ούτε "
"μπορεί να μετατραπεί σε ακέραιο."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Άκυρη σελίδα (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Άδεια λίστα και το '%(class_name)s.allow_empty' είναι False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Τα ευρετήρια καταλόγων δεν επιτρέπονται εδώ."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "Το \"%(path)s\" δεν υπάρχει"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
msgstr ""
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

@ -1,14 +1,14 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Tom Fifield <tom@openstack.org>, 2014
# Tom Fifield <tom@tomfifield.net>, 2014
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: English (Australia) (http://www.transifex.com/django/django/"
"language/en_AU/)\n"
"MIME-Version: 1.0\n"
@ -137,6 +137,9 @@ msgstr ""
msgid "Hungarian"
msgstr "Hungarian"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "Interlingua"
@ -158,6 +161,9 @@ msgstr "Japanese"
msgid "Georgian"
msgstr "Georgian"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "Kazakh"
@ -272,6 +278,9 @@ msgstr "Ukrainian"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnamese"
@ -293,6 +302,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,13 +323,13 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
@ -367,6 +385,9 @@ msgstr[1] ""
"Ensure this value has at most %(limit_value)d characters (it has "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Enter a number."
#, 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."
@ -389,6 +410,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"
@ -421,18 +451,12 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Field of type: %(field_type)s"
msgid "Integer"
msgstr "Integer"
#, python-format
msgid "'%(value)s' value must be an integer."
msgid "“%(value)s” value must be either True or False."
msgstr ""
msgid "Big (8 byte) integer"
msgstr "Big (8 byte) integer"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
@ -447,13 +471,13 @@ msgstr "Comma-separated integers"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
@ -462,13 +486,13 @@ msgstr "Date (without time)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
@ -476,7 +500,7 @@ msgid "Date (with time)"
msgstr "Date (with time)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
@ -484,7 +508,7 @@ msgstr "Decimal number"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
@ -498,12 +522,22 @@ msgid "File path"
msgstr "File path"
#, python-format
msgid "'%(value)s' value must be a float."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Floating point number"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Integer"
msgid "Big (8 byte) integer"
msgstr "Big (8 byte) integer"
msgid "IPv4 address"
msgstr "IPv4 address"
@ -511,7 +545,7 @@ msgid "IP address"
msgstr "IP address"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
@ -535,13 +569,13 @@ msgstr "Text"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
@ -555,7 +589,10 @@ msgid "Raw binary data"
msgstr "Raw binary data"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
@ -597,9 +634,6 @@ msgstr "This field is required."
msgid "Enter a whole number."
msgstr "Enter a whole number."
msgid "Enter a number."
msgstr "Enter a number."
msgid "Enter a valid date."
msgstr "Enter a valid date."
@ -612,6 +646,10 @@ msgstr "Enter a valid date/time."
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 "No file was submitted. Check the encoding type on the form."
@ -701,24 +739,25 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -726,9 +765,6 @@ msgstr "Currently"
msgid "Change"
msgstr "Change"
msgid "Clear"
msgstr "Clear"
msgid "Unknown"
msgstr "Unknown"
@ -738,6 +774,15 @@ msgstr "Yes"
msgid "No"
msgstr "No"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "yes,no,maybe"
@ -1000,8 +1045,8 @@ msgstr ""
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "or"
@ -1056,16 +1101,24 @@ msgid "CSRF verification failed. Request aborted."
msgstr ""
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
msgid ""
@ -1076,34 +1129,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
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"
@ -1126,31 +1163,69 @@ msgstr ""
"allow_future is False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "No %(verbose_name)s found matching the query"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Invalid page (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Empty list and '%(class_name)s.allow_empty' is False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Directory indexes are not allowed here."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" does not exist"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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,9 +8,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-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/django/"
"django/language/en_GB/)\n"
"MIME-Version: 1.0\n"
@ -139,6 +139,9 @@ msgstr ""
msgid "Hungarian"
msgstr "Hungarian"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr ""
@ -160,6 +163,9 @@ msgstr "Japanese"
msgid "Georgian"
msgstr "Georgian"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "Kazakh"
@ -274,6 +280,9 @@ msgstr "Ukrainian"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnamese"
@ -295,6 +304,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,13 +325,13 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
@ -361,6 +379,9 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
msgid "Enter a number."
msgstr "Enter a number."
#, 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."
@ -381,6 +402,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"
@ -413,18 +443,12 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Field of type: %(field_type)s"
msgid "Integer"
msgstr "Integer"
#, python-format
msgid "'%(value)s' value must be an integer."
msgid "“%(value)s” value must be either True or False."
msgstr ""
msgid "Big (8 byte) integer"
msgstr "Big (8 byte) integer"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
@ -439,13 +463,13 @@ msgstr "Comma-separated integers"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
@ -454,13 +478,13 @@ msgstr "Date (without time)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
@ -468,7 +492,7 @@ msgid "Date (with time)"
msgstr "Date (with time)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
@ -476,7 +500,7 @@ msgstr "Decimal number"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
@ -490,12 +514,22 @@ msgid "File path"
msgstr "File path"
#, python-format
msgid "'%(value)s' value must be a float."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Floating point number"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Integer"
msgid "Big (8 byte) integer"
msgstr "Big (8 byte) integer"
msgid "IPv4 address"
msgstr "IPv4 address"
@ -503,7 +537,7 @@ msgid "IP address"
msgstr "IP address"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
@ -527,13 +561,13 @@ msgstr "Text"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
@ -547,7 +581,10 @@ msgid "Raw binary data"
msgstr ""
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
@ -589,9 +626,6 @@ msgstr "This field is required."
msgid "Enter a whole number."
msgstr "Enter a whole number."
msgid "Enter a number."
msgstr "Enter a number."
msgid "Enter a valid date."
msgstr "Enter a valid date."
@ -604,6 +638,10 @@ msgstr "Enter a valid date/time."
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 "No file was submitted. Check the encoding type on the form."
@ -691,24 +729,25 @@ 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
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -716,9 +755,6 @@ msgstr "Currently"
msgid "Change"
msgstr "Change"
msgid "Clear"
msgstr "Clear"
msgid "Unknown"
msgstr "Unknown"
@ -728,6 +764,15 @@ msgstr "Yes"
msgid "No"
msgstr "No"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "yes,no,maybe"
@ -990,8 +1035,8 @@ msgstr ""
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "or"
@ -1046,16 +1091,24 @@ msgid "CSRF verification failed. Request aborted."
msgstr ""
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
msgid ""
@ -1066,34 +1119,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
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"
@ -1116,31 +1153,69 @@ msgstr ""
"allow_future is False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "No %(verbose_name)s found matching the query"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr ""
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Empty list and '%(class_name)s.allow_empty' is False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Directory indexes are not allowed here."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" does not exist"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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,18 +2,20 @@
#
# Translators:
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2012-2013
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2013-2016
# Baptiste Darthenay <baptiste+transifex@darthenay.fr>, 2013-2019
# batisteo <bapdarth@yahoo·fr>, 2011
# Dinu Gherman <gherman@darwin.in-berlin.de>, 2011
# kristjan <kristjan.schmidt@googlemail.com>, 2011
# Nikolay Korotkiy <sikmir@gmail.com>, 2017-2018
# Robin van der Vliet <info@robinvandervliet.nl>, 2019
# Adamo Mesha <adam.raizen@gmail.com>, 2012
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-09-29 18:22+0000\n"
"Last-Translator: Baptiste Darthenay <baptiste+transifex@darthenay.fr>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Esperanto (http://www.transifex.com/django/django/language/"
"eo/)\n"
"MIME-Version: 1.0\n"
@ -142,6 +144,9 @@ msgstr "Suprasoraba"
msgid "Hungarian"
msgstr "Hungara"
msgid "Armenian"
msgstr "Armena"
msgid "Interlingua"
msgstr "Interlingvaa"
@ -163,6 +168,9 @@ msgstr "Japana"
msgid "Georgian"
msgstr "Kartvela"
msgid "Kabyle"
msgstr "Kabila"
msgid "Kazakh"
msgstr "Kazaĥa"
@ -277,6 +285,9 @@ msgstr "Ukraina"
msgid "Urdu"
msgstr "Urdua"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vjetnama"
@ -298,6 +309,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,17 +330,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Tiu kampo nur devas havi literojn, nombrojn, substrekojn aŭ streketojn."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Tiu kampo nur devas enhavi Unikodajn literojn, nombrojn, substrekojn aŭ "
"streketojn."
msgid "Enter a valid IPv4 address."
msgstr "Enigu validan IPv4-adreson."
@ -355,10 +373,10 @@ msgid_plural ""
"Ensure this value has at least %(limit_value)d characters (it has "
"%(show_value)d)."
msgstr[0] ""
"Certigu, ke tiu valuto havas %(limit_value)d karaktero (ĝi havas "
"Certigu, ke tiu valoro havas %(limit_value)d signon (ĝi havas "
"%(show_value)d)."
msgstr[1] ""
"Certigu, ke tiu valuto havas %(limit_value)d karakteroj (ĝi havas "
"Certigu, ke tiu valoro havas %(limit_value)d signojn (ĝi havas "
"%(show_value)d)."
#, python-format
@ -372,9 +390,12 @@ msgstr[0] ""
"Certigu, ke tio valuto maksimume havas %(limit_value)d karakterojn (ĝi havas "
"%(show_value)d)."
msgstr[1] ""
"Certigu, ke tio valuto maksimume havas %(limit_value)d karakterojn (ĝi havas "
"Certigu, ke tiu valoro maksimume havas %(limit_value)d signojn (ĝi havas "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Enigu nombron."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -395,6 +416,15 @@ 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 ""
msgid "Null characters are not allowed."
msgstr "Nulsignoj ne estas permesitaj."
msgid "and"
msgstr "kaj"
@ -428,19 +458,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Kampo de tipo: %(field_type)s"
msgid "Integer"
msgstr "Entjero"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "'%(value)s' valoro devas esti entjero."
msgid "Big (8 byte) integer"
msgstr "Granda (8 bitoka) entjero"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' valoro devas esti Vera aŭ Malvera"
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Bulea (Vera aŭ Malvera)"
@ -454,56 +478,46 @@ msgstr "Kom-apartigitaj entjeroj"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s' valoro ne havas validan datformaton. Ĝi devas esti kiel formato "
"JJJJ-MM-TT."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"'%(value)s' valoro havas la ĝustan formaton (JJJJ-MM-TT), sed ne estas "
"valida dato."
msgid "Date (without time)"
msgstr "Dato (sen horo)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"'%(value)s' valoro ne havas validan formaton. Ĝi devas esti kiel formato "
"JJJJ-MM-TT HH:MM[:ss[.uuuuuu]][HZ]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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' valoro havas la ĝustan formaton (JJJJ-MM-TT HH:MM[:ss[.uuuuuu]]"
"[HZ]), sed ne estas valida dato kaj horo."
msgid "Date (with time)"
msgstr "Dato (kun horo)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "'%(value)s' valoro devas esti dekuma nombro."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "Dekuma nombro"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"'%(value)s' valoro ne havas validan formaton. Ĝi devas esti kiel formato "
"[DD] [HH:[MM:]]ss[.uuuuuu]."
msgid "Duration"
msgstr "Daŭro"
@ -515,12 +529,22 @@ msgid "File path"
msgstr "Dosiervojo"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "'%(value)s' valoro devas esti glitkoma nombro."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Glitkoma nombro"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Entjero"
msgid "Big (8 byte) integer"
msgstr "Granda (8 bitoka) entjero"
msgid "IPv4 address"
msgstr "IPv4-adreso"
@ -528,8 +552,8 @@ msgid "IP address"
msgstr "IP-adreso"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "'%(value)s' valoro devas esti Neniu, Vera aŭ Malvera."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Buleo (Vera, Malvera aŭ Neniu)"
@ -552,19 +576,15 @@ msgstr "Teksto"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"'%(value)s' valoro ne havas validan formaton. Ĝi devas esti laŭ la formato "
"HH:MM[:ss[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"'%(value)s' valoro havas ĝustan formaton (HH:MM[:ss[.uuuuuu]]), sed ne estas "
"valida horo."
msgid "Time"
msgstr "Horo"
@ -576,8 +596,11 @@ msgid "Raw binary data"
msgstr "Kruda binara datumo"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' ne estas valida UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr "Universe unika identigilo"
msgid "File"
msgstr "Dosiero"
@ -618,9 +641,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 +653,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 "
@ -652,7 +676,7 @@ msgstr[0] ""
"Certigu, ke tio dosiernomo maksimume havas %(max)d karakteron (ĝi havas "
"%(length)d)."
msgstr[1] ""
"Certigu, ke tio dosiernomo maksimume havas %(max)d karakterojn (ĝi havas "
"Certigu, ke tiu dosiernomo maksimume havas %(max)d signojn (ĝi havas "
"%(length)d)."
msgid "Please either submit a file or check the clear checkbox, not both."
@ -728,23 +752,24 @@ 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 ""
#, python-format
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -752,9 +777,6 @@ msgstr "Nuntempe"
msgid "Change"
msgstr "Ŝanĝi"
msgid "Clear"
msgstr "Vakigi"
msgid "Unknown"
msgstr "Nekonate"
@ -764,6 +786,15 @@ msgstr "Jes"
msgid "No"
msgstr "Ne"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "jes,ne,eble"
@ -1026,8 +1057,8 @@ msgstr "Tiu ne estas valida IPv6-adreso."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "aŭ"
@ -1082,24 +1113,25 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF konfirmo malsukcesis. Peto ĉesigita."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Vi vidas tiun mesaĝon ĉar ĉi HTTPS retejo postulas “Referer header” esti "
"sendita per via foliumilo, sed neniu estis sendita. Ĉi kaplinio estas "
"bezonata pro motivoj de sekureco, por certigi ke via retumilo ne estu "
"forrabita de triaj partioj."
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Se vi agordis vian foliumilon por malebligi “Referer” kaplinioj, bonvolu "
"reaktivigi ilin, almenaŭ por tiu ĉi retejo, aŭ por HTTPS rilatoj, aŭ por "
"“samoriginaj” petoj."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1112,41 +1144,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Se vi agordis vian foliumilon por malŝalti kuketojn, bonvole reaktivigi "
"ilin, almenaŭ por tiu ĉi retejo, aŭ por “samoriginaj” petoj."
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"
@ -1169,33 +1178,74 @@ msgstr ""
"allow_future estas Malvera."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
"La formato « %(format)s » aplikita al la data ĉeno '%(datestr)s' ne estas "
"valida"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Neniu %(verbose_name)s trovita kongruas kun la informpeto"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Paĝo ne estas 'last', kaj ne povus esti transformita al entjero."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Nevalida paĝo (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Malplena listo kaj '%(class_name)s.allow_empty' estas Malvera."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Dosierujaj indeksoj ne estas permesitaj tie."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" ne ekzistas"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
msgstr ""
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,33 +1,38 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Abraham Estrada <abraham.estrada@gmail.com>, 2013
# Abe 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,2019
# 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 Avilés, 2015-2016
# Ernesto Avilés, 2014
# Ernesto Avilés, 2020
# Ernesto Rico Schmidt <e.rico.schmidt@gmail.com>, 2017
# franchukelly <inactive+franchukelly@transifex.com>, 2011
# Ignacio José Lizarán Rus <ilizaran@gmail.com>, 2019
# Igor Támara <igor@tamarapatino.org>, 2015
# Jannis Leidel <jannis@leidel.info>, 2011
# Yusuf (Josè) Luis <alagunajs@gmail.com>, 2016
# José Luis <alagunajs@gmail.com>, 2016
# Josue Naaman Nistal Guerra <josuenistal@hotmail.com>, 2014
# Leonardo J. Caballero G. <leonardocaballero@gmail.com>, 2011,2013
# Luigy, 2019
# Marc Garcia <garcia.marc@gmail.com>, 2011
# monobotsoft <monobot.soft@gmail.com>, 2012
# ntrrgc <ntrrgc@gmail.com>, 2013
# ntrrgc <ntrrgc@gmail.com>, 2013
# Pablo, 2015
# Sebastián Ramírez Magrí <sebasmagri@gmail.com>, 2013
# Sebastián Magrí, 2013
# Veronicabh <vero.blazher@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 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: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2020-01-08 08:24+0000\n"
"Last-Translator: Ernesto Avilés\n"
"Language-Team: Spanish (http://www.transifex.com/django/django/language/"
"es/)\n"
"MIME-Version: 1.0\n"
@ -37,7 +42,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "Afrikaans"
msgstr "Afrikaans"
msgstr "Africano"
msgid "Arabic"
msgstr "Árabe"
@ -103,7 +108,7 @@ msgid "Argentinian Spanish"
msgstr "Español de Argentina"
msgid "Colombian Spanish"
msgstr "Español Colombiano"
msgstr "Español de Colombia"
msgid "Mexican Spanish"
msgstr "Español de México"
@ -112,7 +117,7 @@ msgid "Nicaraguan Spanish"
msgstr "Español de Nicaragua"
msgid "Venezuelan Spanish"
msgstr "Español venezolano"
msgstr "Español de Venezuela"
msgid "Estonian"
msgstr "Estonio"
@ -156,6 +161,9 @@ msgstr "Alto sorbio"
msgid "Hungarian"
msgstr "Húngaro"
msgid "Armenian"
msgstr "Armenio"
msgid "Interlingua"
msgstr "Interlingua"
@ -177,6 +185,9 @@ msgstr "Japonés"
msgid "Georgian"
msgstr "Georgiano"
msgid "Kabyle"
msgstr "Cabilio"
msgid "Kazakh"
msgstr "Kazajo"
@ -187,7 +198,7 @@ msgid "Kannada"
msgstr "Kannada"
msgid "Korean"
msgstr "Koreano"
msgstr "Coreano"
msgid "Luxembourgish"
msgstr "Luxenburgués"
@ -291,11 +302,14 @@ msgstr "Ucraniano"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnamita"
msgid "Simplified Chinese"
msgstr "Cino simplificado"
msgstr "Chino simplificado"
msgid "Traditional Chinese"
msgstr "Chino tradicional"
@ -312,8 +326,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,18 +347,17 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Introduzca un 'slug' válido, consistente en letras, números, guiones bajos o "
"medios."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"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."
msgid "Enter a valid IPv4 address."
msgstr "Introduzca una dirección IPv4 válida."
@ -391,6 +413,9 @@ msgstr[1] ""
"Asegúrese de que este valor tenga menos de %(limit_value)d caracteres (tiene "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Introduzca un número."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -413,6 +438,15 @@ 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 ""
msgid "Null characters are not allowed."
msgstr "Los caracteres nulos no están permitidos."
msgid "and"
msgstr "y"
@ -446,19 +480,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Campo de tipo: %(field_type)s"
msgid "Integer"
msgstr "Entero"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "El valor'%(value)s' debe ser un entero."
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "El valor '%(value)s' debe ser verdadero o falso."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Booleano (Verdadero o Falso)"
@ -468,60 +496,50 @@ msgid "String (up to %(max_length)s)"
msgstr "Cadena (máximo %(max_length)s)"
msgid "Comma-separated integers"
msgstr "Enteros separados por comas"
msgstr "Enteros separados por coma"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"El valor '%(value)s' tiene un formato de fecha no válida. Debe estar en "
"formato AAAA-MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"El valor '%(value)s' tiene el formato correcto (AAAA-MM-DD), pero la fecha "
"no es válida."
msgid "Date (without time)"
msgstr "Fecha (sin hora)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"El valor'%(value)s' no tiene un formato válido. Debe estar en formato AAAA-"
"MM-DD HH: [TZ]: MM [ss [uuuuuu].]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"El valor '%(value)s' tiene el formato correcto (AAAA-MM-DD HH: MM [:. Ss "
"[uuuuuu]] [TZ]), pero la fecha/hora no es válida."
msgid "Date (with time)"
msgstr "Fecha (con hora)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "El valor '%(value)s' debe ser un número decimal."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "Número decimal"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"El valor '%(value)s' no tiene un formato válido. Debe estar en el formato "
"[DD] [HH:[MM:]]ss[.uuuuuu]."
msgid "Duration"
msgstr "Duración"
@ -533,12 +551,22 @@ msgid "File path"
msgstr "Ruta de fichero"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "El valor '%(value)s' debe ser un float."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Número en coma flotante"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Entero"
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
msgid "IPv4 address"
msgstr "Dirección IPv4"
@ -546,8 +574,8 @@ msgid "IP address"
msgstr "Dirección IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "El valor '%(value)s' debe ser Ninguno, Verdadero o Falso."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Booleano (Verdadero, Falso o Nulo)"
@ -570,19 +598,15 @@ msgstr "Texto"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"El valor '%(value)s' no tiene un formato válido. Debe estar en formato HH: "
"MM [: SS [uuuuuu].] ."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"El valor '%(value)s' tiene el formato correcto (HH: MM [:. Ss [uuuuuu]]), "
"pero es una hora no válida."
msgid "Time"
msgstr "Hora"
@ -591,11 +615,14 @@ msgid "URL"
msgstr "URL"
msgid "Raw binary data"
msgstr "Data de binarios brutos"
msgstr "Datos binarios en bruto"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' no es un UUID válido."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr "Identificador universal único"
msgid "File"
msgstr "Archivo"
@ -608,7 +635,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"
@ -636,9 +663,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."
@ -651,6 +675,10 @@ msgstr "Introduzca una fecha/hora válida."
msgid "Enter a valid duration."
msgstr "Introduzca una duración válida."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "El número de días debe estar entre {min_days} y {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr ""
"No se ha enviado ningún fichero. Compruebe el tipo de codificación en el "
@ -704,7 +732,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 +740,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,25 +775,24 @@ 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 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -773,9 +800,6 @@ msgstr "Actualmente"
msgid "Change"
msgstr "Modificar"
msgid "Clear"
msgstr "Limpiar"
msgid "Unknown"
msgstr "Desconocido"
@ -785,6 +809,15 @@ msgstr "Sí"
msgid "No"
msgstr "No"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "sí, no, quizás"
@ -920,7 +953,7 @@ msgid "mar"
msgstr "mar"
msgid "apr"
msgstr "apr"
msgstr "abr"
msgid "may"
msgstr "may"
@ -1043,11 +1076,11 @@ msgid "December"
msgstr "Diciembre"
msgid "This is not a valid IPv6 address."
msgstr "Esta no es una dirección IPv6 válida."
msgstr "No es una dirección IPv6 válida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s..."
msgid "or"
@ -1100,27 +1133,28 @@ msgid "Forbidden"
msgstr "Prohibido"
msgid "CSRF verification failed. Request aborted."
msgstr "Verificación CSRF fallida. Solicitud abortada"
msgstr "La verificación CSRF ha fallado. Solicitud abortada."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Estás viendo este mensaje porque este sitio web es HTTPS y requiere que tu "
"navegador envíe la cabecera Referer y no se envió ninguna. Esta cabecera se "
"necesita por razones de seguridad, para asegurarse de que tu navegador no ha "
"sido comprometido por terceras partes."
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Si has configurado tu navegador para desactivar las cabeceras 'Referer', por "
"favor vuélvelas a activar, al menos para esta web, o para conexiones HTTPS, "
"o para peticiones 'mismo-origen'."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1133,41 +1167,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Si has inhabilitado las cookies en tu navegador, por favor habilítalas "
"nuevamente al menos para este sitio, o para solicitudes del mismo origen."
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"
@ -1190,31 +1201,76 @@ msgstr ""
"%(class_name)s.allow_future es Falso."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Fecha '%(datestr)s' no válida, el formato válido es '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "No se encontró ningún %(verbose_name)s coincidente con la consulta"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "La página no es la \"ultima\", ni puede ser convertida a un entero."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Página inválida (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Lista vacía y '%(class_name)s.allow_empty' es Falso."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Los índices de directorio no están permitidos."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" no existe"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
msgstr ""
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-2019
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-07-30 23:44+0000\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-24 15:19+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Spanish (Argentina) (http://www.transifex.com/django/django/"
"language/es_AR/)\n"
@ -30,7 +30,7 @@ msgid "Asturian"
msgstr "asturiano"
msgid "Azerbaijani"
msgstr "Azerbaiyán"
msgstr "azerbaiyán"
msgid "Bulgarian"
msgstr "búlgaro"
@ -140,6 +140,9 @@ msgstr "alto sorabo"
msgid "Hungarian"
msgstr "húngaro"
msgid "Armenian"
msgstr "armenio"
msgid "Interlingua"
msgstr "Interlingua"
@ -161,6 +164,9 @@ msgstr "japonés"
msgid "Georgian"
msgstr "georgiano"
msgid "Kabyle"
msgstr "cabilio"
msgid "Kazakh"
msgstr "kazajo"
@ -186,7 +192,7 @@ msgid "Macedonian"
msgstr "macedonio"
msgid "Malayalam"
msgstr "Malayalam"
msgstr "malabar"
msgid "Mongolian"
msgstr "mongol"
@ -213,7 +219,7 @@ msgid "Ossetic"
msgstr "osetio"
msgid "Punjabi"
msgstr "Panyabí"
msgstr "panyabí"
msgid "Polish"
msgstr "polaco"
@ -275,6 +281,9 @@ msgstr "ucraniano"
msgid "Urdu"
msgstr "urdu"
msgid "Uzbek"
msgstr "uzbeko"
msgid "Vietnamese"
msgstr "vietnamita"
@ -296,6 +305,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,18 +326,17 @@ 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 ""
"Introduzca un 'slug' válido consistente de letras, números, guiones bajos o "
"guiones."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr "Introduzca un “slug” válido compuesto por letras, números o guiones."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Introduzca un 'slug' válido consistente de letras Unicode, números, guiones "
"bajos o guiones."
"Introduzca un “slug” compuesto por letras Unicode, números, guiones bajos o "
"guiones."
msgid "Enter a valid IPv4 address."
msgstr "Introduzca una dirección IPv4 válida."
@ -375,6 +392,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 +417,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"
@ -431,19 +462,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Campo tipo: %(field_type)s"
msgid "Integer"
msgstr "Entero"
#, python-format
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 an integer."
msgstr "El valor de '%(value)s' debe ser un número entero."
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "El valor de '%(value)s' debe ser Verdadero o Falso."
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)"
@ -457,18 +482,18 @@ msgstr "Enteros separados por comas"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"El valor de '%(value)s' tiene un formato de fecha inválido. Debe usar el "
"El valor de “%(value)s” tiene un formato de fecha inválido. Debe usar el "
"formato AAAA-MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"El valor de '%(value)s' tiene un formato de fecha correcto (AAAA-MM-DD) pero "
"El valor de “%(value)s” tiene un formato de fecha correcto (AAAA-MM-DD) pero "
"representa una fecha inválida."
msgid "Date (without time)"
@ -476,37 +501,37 @@ msgstr "Fecha (sin hora)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"El valor de '%(value)s' tiene un formato inválido. Debe usar el formato AAAA-"
"El valor de “%(value)s” tiene un formato inválido. Debe usar el formato AAAA-"
"MM-DD HH:MM[:ss[.uuuuuu]][TZ]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"El valor de '%(value)s' tiene un formato correcto (AAAA-MM-DD HH:MM[:ss[."
"El valor de “%(value)s” tiene un formato correcto (AAAA-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ]) pero representa una fecha/hora inválida."
msgid "Date (with time)"
msgstr "Fecha (con hora)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "El valor de '%(value)s' debe ser un número decimal."
msgid "“%(value)s” value must be a decimal number."
msgstr "El valor de “%(value)s” debe ser un número decimal."
msgid "Decimal number"
msgstr "Número decimal"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"El valor de '%(value)s' tiene un formato inválido. Debe usar el formato [DD] "
"[HH:[MM:]]ss[.uuuuuu]."
"El valor de “%(value)s” tiene un formato inválido. Debe usar el formato [DD] "
"[[HH:]MM:]ss[.uuuuuu]."
msgid "Duration"
msgstr "Duración"
@ -518,11 +543,21 @@ msgid "File path"
msgstr "Ruta de archivo"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "El valor de '%(value)s' debe ser un número de coma flotante."
msgid "“%(value)s” value must be a float."
msgstr "El valor de “%(value)s” debe ser un número de coma flotante."
msgid "Floating point number"
msgstr "Número de punto flotante"
msgstr "Número de coma flotante"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "El valor de “%(value)s” debe ser un número entero."
msgid "Integer"
msgstr "Entero"
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
msgid "IPv4 address"
msgstr "Dirección IPv4"
@ -531,8 +566,8 @@ msgid "IP address"
msgstr "Dirección IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "El valor de '%(value)s' debe ser None, Verdadero o Falso."
msgid "“%(value)s” value must be either None, True or False."
msgstr "El valor de “%(value)s” debe ser None, Verdadero o Falso."
msgid "Boolean (Either True, False or None)"
msgstr "Booleano (Verdadero, Falso o Nulo)"
@ -555,18 +590,18 @@ msgstr "Texto"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"El valor de '%(value)s' tiene un formato inválido. Debe usar el formato HH:"
"El valor de “%(value)s” tiene un formato inválido. Debe usar el formato HH:"
"MM[:ss[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"El valor de '%(value)s' tiene un formato correcto (HH:MM[:ss[.uuuuuu]]) pero "
"El valor de “%(value)s” tiene un formato correcto (HH:MM[:ss[.uuuuuu]]) pero "
"representa una hora inválida."
msgid "Time"
@ -579,8 +614,11 @@ msgid "Raw binary data"
msgstr "Datos binarios crudos"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' no es un UUID válido."
msgid "“%(value)s” is not a valid UUID."
msgstr "“%(value)s” no es un UUID válido."
msgid "Universally unique identifier"
msgstr "Identificador universalmente único"
msgid "File"
msgstr "Archivo"
@ -621,9 +659,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 +671,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 +772,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,26 +781,26 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -773,6 +810,15 @@ msgstr "Sí"
msgid "No"
msgstr "No"
msgid "Year"
msgstr "Año"
msgid "Month"
msgstr "Mes"
msgid "Day"
msgstr "Día"
msgid "yes,no,maybe"
msgstr "si,no,talvez"
@ -984,59 +1030,59 @@ msgstr "Dic."
msgctxt "alt. month"
msgid "January"
msgstr "Enero"
msgstr "enero"
msgctxt "alt. month"
msgid "February"
msgstr "Febrero"
msgstr "febrero"
msgctxt "alt. month"
msgid "March"
msgstr "Marzo"
msgstr "marzo"
msgctxt "alt. month"
msgid "April"
msgstr "Abril"
msgstr "abril"
msgctxt "alt. month"
msgid "May"
msgstr "Mayo"
msgstr "mayo"
msgctxt "alt. month"
msgid "June"
msgstr "Junio"
msgstr "junio"
msgctxt "alt. month"
msgid "July"
msgstr "Julio"
msgstr "julio"
msgctxt "alt. month"
msgid "August"
msgstr "Agosto"
msgstr "agosto"
msgctxt "alt. month"
msgid "September"
msgstr "Setiembre"
msgstr "setiembre"
msgctxt "alt. month"
msgid "October"
msgstr "Octubre"
msgstr "octubre"
msgctxt "alt. month"
msgid "November"
msgstr "Noviembre"
msgstr "noviembre"
msgctxt "alt. month"
msgid "December"
msgstr "Diciembre"
msgstr "diciembre"
msgid "This is not a valid IPv6 address."
msgstr "Esta no es una direción IPv6 válida."
msgstr "Esta no es una dirección IPv6 válida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "o"
@ -1091,26 +1137,40 @@ msgid "CSRF verification failed. Request aborted."
msgstr "Verificación CSRF fallida. Petición abortada."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Ud. está viendo este mensaje porque este sitio HTTPS tiene como "
"requerimiento que su browser Web envíe una cabecera 'Referer' pero el mismo "
"requerimiento que su browser Web envíe una cabecera “Referer” pero el mismo "
"no ha enviado una. El hecho de que esta cabecera sea obligatoria es una "
"medida de seguridad para comprobar que su browser no está siendo controlado "
"por terceros."
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."
"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 ""
"Si ha configurado su browser para deshabilitar las cabeceras 'Referer', por "
"Si ha configurado su browser para deshabilitar las cabeceras “Referer”, por "
"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 youre 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 "
"quitelos. 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 "
@ -1123,42 +1183,21 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Si ha configurado su browser para deshabilitar 'cookies', por favor "
"Si ha configurado su browser para deshabilitar “cookies”, por favor "
"activelas al menos para este sitio o para peticiones generadas desde el "
"mismo origen."
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"
@ -1181,23 +1220,23 @@ msgstr ""
"allow_future tiene el valor False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Cadena de fecha inválida '%(datestr)s', formato '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr "Cadena de fecha inválida “%(datestr)s”, formato “%(format)s”"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "No se han encontrado %(verbose_name)s que coincidan con la consulta "
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Página debe tener el valor 'last' o un valor número entero."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr "Página debe tener el valor “last” o un valor número entero."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Página inválida (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Lista vacía y '%(class_name)s.allow_empty' tiene el valor False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr "Lista vacía y “%(class_name)s.allow_empty” tiene el valor False."
msgid "Directory indexes are not allowed here."
msgstr ""
@ -1205,9 +1244,52 @@ msgstr ""
"ubicación."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" no existe"
msgid "“%(path)s” does not exist"
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-tos"
msgstr "Tópicos, referencia &amp; how-tos"
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,9 +6,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-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Spanish (Colombia) (http://www.transifex.com/django/django/"
"language/es_CO/)\n"
"MIME-Version: 1.0\n"
@ -137,6 +137,9 @@ msgstr ""
msgid "Hungarian"
msgstr "Húngaro"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "Interlingua"
@ -158,6 +161,9 @@ msgstr "Japonés"
msgid "Georgian"
msgstr "Georgiano"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "Kazajo"
@ -272,6 +278,9 @@ msgstr "Ucraniano"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnamita"
@ -293,6 +302,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,18 +323,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Ingrese un 'slug' válido, compuesto por letras, números, guiones bajos o "
"guiones."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Ingrese un 'slug' válido, compuesto por letras del conjunto Unicode, "
"números, guiones bajos o guiones."
msgid "Enter a valid IPv4 address."
msgstr "Ingrese una dirección IPv4 válida."
@ -370,6 +385,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 "Ingrese 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."
@ -392,6 +410,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"
@ -425,19 +452,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Tipo de campo: %(field_type)s"
msgid "Integer"
msgstr "Entero"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "'%(value)s' debe ser un valor entero."
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' debe ser Verdadero o Falso"
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Booleano (Verdadero o Falso)"
@ -451,56 +472,46 @@ msgstr "Enteros separados por comas"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s' tiene un formato de fecha no válida. Este valor debe estar en el "
"formato AAAA-MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"El valor '%(value)s' tiene un formato correcto (AAAA-MM-DD) pero es una "
"fecha invalida."
msgid "Date (without time)"
msgstr "Fecha (sin hora)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"'%(value)s' tiene un formato de fecha no válido. Este valor debe estar en el "
"formato AAAA-MM-DD HH: [TZ]: MM [ss [uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"El valor '%(value)s' tiene un formato correcto (AAAA-MM-DD HH: MM [:. Ss "
"[uuuuuu]] [TZ]) pero es una fecha/hora invalida."
msgid "Date (with time)"
msgstr "Fecha (con hora)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "El valor '%(value)s' debe ser un número decimal."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "Número decimal"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"'%(value)s' tiene un formato no válido. Este valor debe estar en el formato "
"[DD] [HH:[MM:]]ss[.uuuuuu]."
msgid "Duration"
msgstr "Duración"
@ -512,12 +523,22 @@ msgid "File path"
msgstr "Ruta de archivo"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "El valor '%(value)s' debe ser un número real."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Número de punto flotante"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Entero"
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
msgid "IPv4 address"
msgstr "Dirección IPv4"
@ -525,8 +546,8 @@ msgid "IP address"
msgstr "Dirección IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "El valor '%(value)s' debe ser Nulo, Verdadero o Falso"
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Booleano (Verdadero, Falso o Nulo)"
@ -549,19 +570,15 @@ msgstr "Texto"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"El valor '%(value)s' tiene un formato no válido. Este debe estar en el "
"formato HH:MM[:ss[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"El valor '%(value)s' tiene un formato correcto (HH:MM[:ss[.uuuuuu]]) pero "
"tiene la hora invalida."
msgid "Time"
msgstr "Hora"
@ -573,8 +590,11 @@ msgid "Raw binary data"
msgstr "Datos de binarios brutos"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' no es un UUID válido."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
msgstr "Archivo"
@ -615,9 +635,6 @@ msgstr "Este campo es obligatorio."
msgid "Enter a whole number."
msgstr "Ingrese un número entero."
msgid "Enter a number."
msgstr "Ingrese un número."
msgid "Enter a valid date."
msgstr "Ingrese una fecha válida."
@ -630,6 +647,10 @@ msgstr "Ingrese una fecha/hora válida."
msgid "Enter a valid duration."
msgstr "Ingrese una duración válida."
#, 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 ""
"No se ha enviado ningún fichero. Compruebe el tipo de codificación en el "
@ -726,25 +747,24 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -752,9 +772,6 @@ msgstr "Actualmente"
msgid "Change"
msgstr "Cambiar"
msgid "Clear"
msgstr "Limpiar"
msgid "Unknown"
msgstr "Desconocido"
@ -764,6 +781,15 @@ msgstr "Sí"
msgid "No"
msgstr "No"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "sí, no, quizás"
@ -1026,8 +1052,8 @@ msgstr "Esta no es una dirección IPv6 válida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "o"
@ -1082,24 +1108,25 @@ msgid "CSRF verification failed. Request aborted."
msgstr "Verificación CSRF fallida. Solicitud abortada."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Estás viendo este mensaje porque este sitio web es HTTPS y requiere que tu "
"navegador envíe una 'Referer header' y no se envió ninguna. Esta cabecera se "
"necesita por razones de seguridad, para asegurarse de que tu navegador no ha "
"sido comprometido por terceras partes."
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Si has configurado tu navegador desactivando las cabeceras 'Referer', por "
"favor vuélvelas a activar, al menos para esta web, o para conexiones HTTPS, "
"o para peticiones 'same-origin'."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1112,41 +1139,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Si has inhabilitado las cookies en tu navegador, por favor habilítalas "
"nuevamente al menos para este sitio, o para peticiones 'same-origin'."
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"
@ -1169,31 +1173,69 @@ msgstr ""
"%(class_name)s.allow_future es Falso."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Fecha '%(datestr)s' no válida, el formato válido es '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "No se encontró ningún %(verbose_name)s coincidente con la consulta"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "La página no es la \"ultima\", ni puede ser convertida a un entero."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Página inválida (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Lista vacía y '%(class_name)s.allow_empty' es Falso."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Los índices de directorio no están permitidos."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" no existe"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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,15 +1,16 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Abraham Estrada <abraham.estrada@gmail.com>, 2011-2013
# Abe Estrada, 2011-2013
# Jesús Bautista <jesbam98@gmail.com>, 2019-2020
# 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"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2020-01-13 02:18+0000\n"
"Last-Translator: Jesús Bautista <jesbam98@gmail.com>\n"
"Language-Team: Spanish (Mexico) (http://www.transifex.com/django/django/"
"language/es_MX/)\n"
"MIME-Version: 1.0\n"
@ -85,7 +86,7 @@ msgid "Argentinian Spanish"
msgstr "Español de Argentina"
msgid "Colombian Spanish"
msgstr ""
msgstr "Español Colombiano"
msgid "Mexican Spanish"
msgstr "Español de México"
@ -138,6 +139,9 @@ msgstr ""
msgid "Hungarian"
msgstr "Húngaro"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "Interlingua"
@ -159,6 +163,9 @@ msgstr "Japonés"
msgid "Georgian"
msgstr "Georgiano"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "Kazajstán"
@ -273,6 +280,9 @@ msgstr "Ucraniano"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnamita"
@ -283,17 +293,26 @@ msgid "Traditional Chinese"
msgstr "Chino tradicional"
msgid "Messages"
msgstr ""
msgstr "Mensajes"
msgid "Site Maps"
msgstr ""
msgid "Static Files"
msgstr ""
msgstr "Archivos Estáticos"
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."
@ -301,19 +320,18 @@ msgid "Enter a valid URL."
msgstr "Ingrese una URL válida."
msgid "Enter a valid integer."
msgstr ""
msgstr "Ingrese un 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Introduzca un \"slug\", compuesto por letras, números, guiones bajos o "
"medios."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
@ -365,6 +383,9 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
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."
@ -385,6 +406,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"
@ -417,18 +447,12 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Campo tipo: %(field_type)s"
msgid "Integer"
msgstr "Entero"
#, python-format
msgid "'%(value)s' value must be an integer."
msgid "“%(value)s” value must be either True or False."
msgstr ""
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
@ -443,13 +467,13 @@ msgstr "Enteros separados por comas"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
@ -458,13 +482,13 @@ msgstr "Fecha (sin hora)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
@ -472,7 +496,7 @@ msgid "Date (with time)"
msgstr "Fecha (con hora)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
@ -480,12 +504,12 @@ msgstr "Número decimal"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
msgid "Duration"
msgstr ""
msgstr "Duración"
msgid "Email address"
msgstr "Dirección de correo electrónico"
@ -494,12 +518,22 @@ msgid "File path"
msgstr "Ruta de archivo"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr ""
msgid "“%(value)s” value must be a float."
msgstr "El valor \"%(value)s\" debe ser flotante."
msgid "Floating point number"
msgstr "Número de punto flotante"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Entero"
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
msgid "IPv4 address"
msgstr "Dirección IPv4"
@ -507,7 +541,7 @@ msgid "IP address"
msgstr "Dirección IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
@ -531,13 +565,13 @@ msgstr "Texto"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
@ -551,7 +585,10 @@ msgid "Raw binary data"
msgstr ""
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
@ -593,9 +630,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."
@ -608,6 +642,10 @@ msgstr "Introduzca una fecha/hora válida."
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 ""
"No se envió un archivo. Verifique el tipo de codificación en el formulario."
@ -645,7 +683,7 @@ msgid "Enter a list of values."
msgstr "Introduzca una lista de valores."
msgid "Enter a complete value."
msgstr ""
msgstr "Ingrese un valor completo."
msgid "Enter a valid UUID."
msgstr ""
@ -699,10 +737,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,16 +746,17 @@ 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
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -727,9 +764,6 @@ msgstr "Actualmente"
msgid "Change"
msgstr "Modificar"
msgid "Clear"
msgstr "Borrar"
msgid "Unknown"
msgstr "Desconocido"
@ -739,6 +773,15 @@ msgstr "Sí"
msgid "No"
msgstr "No"
msgid "Year"
msgstr "Año"
msgid "Month"
msgstr "Mes"
msgid "Day"
msgstr "Día"
msgid "yes,no,maybe"
msgstr "sí, no, tal vez"
@ -997,12 +1040,12 @@ msgid "December"
msgstr "Diciembre"
msgid "This is not a valid IPv6 address."
msgstr ""
msgstr "Esta no es una dirección IPv6 válida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "o"
@ -1051,22 +1094,30 @@ msgid "0 minutes"
msgstr "0 minutos"
msgid "Forbidden"
msgstr ""
msgstr "Prohibido"
msgid "CSRF verification failed. Request aborted."
msgstr ""
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
msgid ""
@ -1077,34 +1128,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
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 "Fecha fuera de rango"
msgid "No month specified"
msgstr "No se ha especificado el valor mes"
@ -1127,31 +1162,69 @@ msgstr ""
"allow_future tiene el valor False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Cadena de fecha inválida '%(datestr)s', formato '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "No se han encontrado %(verbose_name)s que coincidan con la consulta"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "La página no es \"last\", ni puede ser convertido a un int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Página inválida (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Lista vacía y '%(class_name)s.allow_empty' tiene el valor False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Los índices del directorio no están permitidos."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" no existe"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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 "Documentación de Django"
msgid "Topics, references, &amp; how-tos"
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,15 +1,17 @@
# 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í, 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"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Spanish (Venezuela) (http://www.transifex.com/django/django/"
"language/es_VE/)\n"
"MIME-Version: 1.0\n"
@ -61,7 +63,7 @@ msgid "German"
msgstr "Alemán"
msgid "Lower Sorbian"
msgstr ""
msgstr "Sorbio Inferior"
msgid "Greek"
msgstr "Griego"
@ -133,11 +135,14 @@ msgid "Croatian"
msgstr "Croata"
msgid "Upper Sorbian"
msgstr ""
msgstr "Sorbio Superior"
msgid "Hungarian"
msgstr "Húngaro"
msgid "Armenian"
msgstr ""
msgid "Interlingua"
msgstr "Interlingua"
@ -159,6 +164,9 @@ msgstr "Japonés"
msgid "Georgian"
msgstr "Georgiano"
msgid "Kabyle"
msgstr ""
msgid "Kazakh"
msgstr "Kazajo"
@ -196,7 +204,7 @@ msgid "Burmese"
msgstr "Birmano"
msgid "Norwegian Bokmål"
msgstr ""
msgstr "Noruego"
msgid "Nepali"
msgstr "Nepalí"
@ -273,6 +281,9 @@ msgstr "Ucranio"
msgid "Urdu"
msgstr "Urdu"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "Vietnamita"
@ -294,6 +305,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,18 +326,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Introduzca un 'slug' válido, consistente de letras, números, guiones bajos o "
"guiones."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Ingrese un 'slug' válido, compuesto por letras del conjunto Unicode, "
"números, guiones bajos o guiones."
msgid "Enter a valid IPv4 address."
msgstr "Introduzca una dirección IPv4 válida."
@ -371,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."
@ -393,6 +413,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"
@ -426,19 +455,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Tipo de campo: %(field_type)s"
msgid "Integer"
msgstr "Entero"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "'%(value)s' debe ser un valor entero."
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' debe ser Verdadero o Falso."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "Booleano (Verdadero o Falso)"
@ -452,56 +475,46 @@ msgstr "Enteros separados por comas"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s' tiene un formato de fecha no válida. Este valor debe estar en el "
"formato AAAA-MM-DD."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"valor '%(value)s' tiene un formato correcto (AAAA-MM-DD) pero es una fecha "
"invalida."
msgid "Date (without time)"
msgstr "Fecha (sin hora)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"'%(value)s' tiene un formato de fecha no válido. Este valor debe estar en el "
"formato AAAA-MM-DD HH:MM[:ss[.uuuuuu]][TZ]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) but it is an invalid date/time."
msgstr ""
"el valor '%(value)s' tiene un formato correcto (AAAA-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ]) pero es una fecha/hora invalida."
msgid "Date (with time)"
msgstr "Fecha (con hora)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "el valor '%(value)s' debe ser un número decimal."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "Número decimal"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"el valor '%(value)s' tiene un formato no válido. Este valor debe estar en el "
"formato [DD] [HH:[MM:]]ss[.uuuuuu]."
msgid "Duration"
msgstr "Duración"
@ -513,12 +526,22 @@ msgid "File path"
msgstr "Ruta de archivo"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "el valor '%(value)s' debe ser un número real."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "Número de punto flotante"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "Entero"
msgid "Big (8 byte) integer"
msgstr "Entero grande (8 bytes)"
msgid "IPv4 address"
msgstr "Dirección IPv4"
@ -526,8 +549,8 @@ msgid "IP address"
msgstr "Dirección IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "el valor '%(value)s' debe ser Nulo, Verdadero o Falso."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "Booleano (Verdadero, Falso o Nulo)"
@ -550,19 +573,15 @@ msgstr "Texto"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"el valor '%(value)s' tiene un formato no válido. Este debe estar en el "
"formato HH:MM[:ss[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"el valor '%(value)s' tiene un formato correcto (HH:MM[:ss[.uuuuuu]]) pero "
"tiene la hora invalida."
msgid "Time"
msgstr "Hora"
@ -574,8 +593,11 @@ msgid "Raw binary data"
msgstr "Datos de binarios brutos"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' no es un UUID válido."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr ""
msgid "File"
msgstr "Archivo"
@ -595,11 +617,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"
@ -616,9 +638,6 @@ msgstr "Este campo es obligatorio."
msgid "Enter a whole number."
msgstr "Introduzca un número completo."
msgid "Enter a number."
msgstr "Introduzca un número."
msgid "Enter a valid date."
msgstr "Introduzca una fecha válida."
@ -631,6 +650,10 @@ msgstr "Introduzca una hora y fecha válida."
msgid "Enter a valid duration."
msgstr "Ingrese una duración válida."
#, 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 ""
"No se envió archivo alguno. Revise el tipo de codificación del formulario."
@ -725,26 +748,25 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -752,9 +774,6 @@ msgstr "Actualmente"
msgid "Change"
msgstr "Cambiar"
msgid "Clear"
msgstr "Limpiar"
msgid "Unknown"
msgstr "Desconocido"
@ -764,6 +783,15 @@ msgstr "Sí"
msgid "No"
msgstr "No"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "sí, no, quizás"
@ -1026,8 +1054,8 @@ msgstr "Esta no es una dirección IPv6 válida."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "o"
@ -1082,24 +1110,25 @@ msgid "CSRF verification failed. Request aborted."
msgstr "Verificación CSRF fallida. Solicitud abortada."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Estás viendo este mensaje porque este sitio web es HTTPS y requiere que tu "
"navegador envíe una 'Referer header' y no se envió ninguna. Esta cabecera se "
"necesita por razones de seguridad, para asegurarse de que tu navegador no ha "
"sido comprometido por terceras partes."
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Si has configurado tu navegador desactivando las cabeceras 'Referer', por "
"favor vuélvelas a activar, al menos para esta web, o para conexiones HTTPS, "
"o para peticiones 'same-origin'."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1112,41 +1141,18 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Si has inhabilitado las cookies en tu navegador, por favor habilítalas "
"nuevamente al menos para este sitio, o para peticiones 'same-origin'."
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"
@ -1169,31 +1175,69 @@ msgstr ""
"%(class_name)s.allow_future es Falso."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Fecha '%(datestr)s' no válida, el formato válido es '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "No se encontró ningún %(verbose_name)s coincidente con la consulta"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "La página no es la 'ultima', ni puede ser convertida a un entero."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Página inválida (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Lista vacía y '%(class_name)s.allow_empty' es Falso."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "Los índices de directorio no están permitidos."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" no existe"
msgid "“%(path)s” does not exist"
msgstr ""
#, 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-tos"
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,16 @@
# 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,2019
# Marti Raudsepp <marti@juffo.org>, 2014,2016
# Ragnar Rebase <rrebase@gmail.com>, 2019
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-07-18 21:42+0000\n"
"Last-Translator: Marti Raudsepp <marti@juffo.org>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-12-28 02:29+0000\n"
"Last-Translator: Ragnar Rebase <rrebase@gmail.com>\n"
"Language-Team: Estonian (http://www.transifex.com/django/django/language/"
"et/)\n"
"MIME-Version: 1.0\n"
@ -143,6 +144,9 @@ msgstr "ülemsorbi"
msgid "Hungarian"
msgstr "ungari"
msgid "Armenian"
msgstr "armeenia"
msgid "Interlingua"
msgstr "interlingua"
@ -164,6 +168,9 @@ msgstr "jaapani"
msgid "Georgian"
msgstr "gruusia"
msgid "Kabyle"
msgstr "Kabiili"
msgid "Kazakh"
msgstr "kasahhi"
@ -278,6 +285,9 @@ msgstr "ukrania"
msgid "Urdu"
msgstr "urdu"
msgid "Uzbek"
msgstr "Usbeki"
msgid "Vietnamese"
msgstr "vietnami"
@ -299,6 +309,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,17 +330,19 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"See väärtus võib sisaldada ainult tähti, numbreid, alljooni ja sidekriipse."
"Sisestage korrektne “nälk”, mis koosneb tähtedest, numbritest, "
"alakriipsudest või sidekriipsudest."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Sisesta korrektne 'nälk', mis koosneb Unicode tähtedest, numbritest, ala- ja "
"sidekriipsudest."
"Sisestage korrektne “nälk”, mis koosneb Unicode tähtedest, numbritest, ala- "
"või sidekriipsudest."
msgid "Enter a valid IPv4 address."
msgstr "Sisestage korrektne IPv4 aadress."
@ -375,6 +396,9 @@ msgstr[1] ""
"Väärtuses võib olla kõige rohkem %(limit_value)d tähemärki (praegu on "
"%(show_value)d)."
msgid "Enter a number."
msgstr "Sisestage arv."
#, python-format
msgid "Ensure that there are no more than %(max)s digit in total."
msgid_plural "Ensure that there are no more than %(max)s digits in total."
@ -397,6 +421,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” pole lubatud. Lubatud laiendid on: "
"%(allowed_extensions)s."
msgid "Null characters are not allowed."
msgstr "Tühjad tähemärgid ei ole lubatud."
msgid "and"
msgstr "ja"
@ -431,19 +466,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Lahter tüüpi: %(field_type)s"
msgid "Integer"
msgstr "Täisarv"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr "“%(value)s” väärtus peab olema Tõene või Väär."
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "'%(value)s' väärtus peab olema täisarv."
msgid "Big (8 byte) integer"
msgstr "Suur (8 baiti) täisarv"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "'%(value)s' väärtus peab olema kas Tõene või Väär."
msgid "“%(value)s” value must be either True, False, or None."
msgstr "“%(value)s” väärtus peab olema Tõene, Väär või Tühi."
msgid "Boolean (Either True or False)"
msgstr "Tõeväärtus (Kas tõene või väär)"
@ -457,55 +486,55 @@ msgstr "Komaga eraldatud täisarvud"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"'%(value)s' väärtusel on vale kuupäevaformaat. See peab olema kujul AAAA-KK-"
"“%(value)s” väärtusel on vale kuupäevaformaat. See peab olema kujul AAAA-KK-"
"PP."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"'%(value)s' väärtusel on õige formaat (AAAA-KK-PP), kuid kuupäev on vale."
"“%(value)s” väärtusel on õige formaat (AAAA-KK-PP), kuid kuupäev on vale."
msgid "Date (without time)"
msgstr "Kuupäev (kellaajata)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"'%(value)s' väärtusel on vale formaat. Peab olema formaadis AAAA-KK-PP HH:"
"“%(value)s” väärtusel on vale formaat. Peab olema formaadis AAAA-KK-PP HH:"
"MM[:ss[.uuuuuu]][TZ]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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' väärtusel on õige formaat (AAAA-KK-PP HH:MM[:ss[.uuuuuu]][TZ]), "
"“%(value)s” väärtusel on õige formaat (AAAA-KK-PP HH:MM[:ss[.uuuuuu]][TZ]), "
"kuid kuupäev/kellaaeg on vale."
msgid "Date (with time)"
msgstr "Kuupäev (kellaajaga)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "'%(value)s' väärtus peab olema kümnendarv."
msgid "“%(value)s” value must be a decimal number."
msgstr "“%(value)s” väärtus peab olema kümnendarv."
msgid "Decimal number"
msgstr "Kümnendmurd"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"'%(value)s' väärtusel on vale formaat. Peab olema formaadis [DD] [HH:"
"[MM:]]ss[.uuuuuu]."
"“%(value)s” väärtusel on vale formaat. Peab olema formaadis [DD] "
"[[HH:]MM:]ss[.uuuuuu]."
msgid "Duration"
msgstr "Kestus"
@ -517,12 +546,22 @@ msgid "File path"
msgstr "Faili asukoht"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "'%(value)s' väärtus peab olema ujukomaarv."
msgid "“%(value)s” value must be a float."
msgstr "“%(value)s” väärtus peab olema ujukomaarv."
msgid "Floating point number"
msgstr "Ujukomaarv"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "“%(value)s” väärtus peab olema täisarv."
msgid "Integer"
msgstr "Täisarv"
msgid "Big (8 byte) integer"
msgstr "Suur (8 baiti) täisarv"
msgid "IPv4 address"
msgstr "IPv4 aadress"
@ -530,8 +569,8 @@ msgid "IP address"
msgstr "IP aadress"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "'%(value)s' väärtus peab olema kas Puudub, Tõene või Väär."
msgid "“%(value)s” value must be either None, True or False."
msgstr "“%(value)s” väärtus peab olema kas Tühi, Tõene või Väär."
msgid "Boolean (Either True, False or None)"
msgstr "Tõeväärtus (Kas tõene, väär või tühi)"
@ -554,18 +593,18 @@ msgstr "Tekst"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"'%(value)s' väärtusel on vale formaat. Peab olema formaadis HH:MM[:ss[."
"“%(value)s” väärtusel on vale formaat. Peab olema formaadis HH:MM[:ss[."
"uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"'%(value)s' väärtusel on õige formaat (HH:MM[:ss[.uuuuuu]]), kuid kellaaeg "
"“%(value)s” väärtusel on õige formaat (HH:MM[:ss[.uuuuuu]]), kuid kellaaeg "
"on vale."
msgid "Time"
@ -578,8 +617,11 @@ msgid "Raw binary data"
msgstr "Töötlemata binaarandmed"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' ei ole korrektne UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr "“%(value)s” ei ole korrektne UUID."
msgid "Universally unique identifier"
msgstr "Universaalne unikaalne identifikaator"
msgid "File"
msgstr "Fail"
@ -620,9 +662,6 @@ msgstr "See lahter on nõutav."
msgid "Enter a whole number."
msgstr "Sisestage täisarv."
msgid "Enter a number."
msgstr "Sisestage arv."
msgid "Enter a valid date."
msgstr "Sisestage korrektne kuupäev."
@ -635,6 +674,10 @@ msgstr "Sisestage korrektne kuupäev ja kellaaeg."
msgid "Enter a valid duration."
msgstr "Sisestage korrektne kestus."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Päevade arv peab jääma vahemikku {min_days} kuni {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Ühtegi faili ei saadetud. Kontrollige vormi kodeeringutüüpi."
@ -727,23 +770,26 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"%(datetime)s ei saanud tõlgendada ajavööndis %(current_timezone)s; see on "
"kas puudu või mitmetähenduslik."
"kas mitmetähenduslik või seda ei eksisteeri."
msgid "Clear"
msgstr "Tühjenda"
msgid "Currently"
msgstr "Hetkel"
@ -751,9 +797,6 @@ msgstr "Hetkel"
msgid "Change"
msgstr "Muuda"
msgid "Clear"
msgstr "Tühjenda"
msgid "Unknown"
msgstr "Tundmatu"
@ -763,6 +806,15 @@ msgstr "Jah"
msgid "No"
msgstr "Ei"
msgid "Year"
msgstr "Aasta"
msgid "Month"
msgstr "Kuu"
msgid "Day"
msgstr "Päev"
msgid "yes,no,maybe"
msgstr "jah,ei,võib-olla"
@ -1025,8 +1077,8 @@ msgstr "See ei ole korrektne IPv6 aadress."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s"
msgid "or"
msgstr "või"
@ -1081,24 +1133,37 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF verifitseerimine ebaõnnestus. Päring katkestati."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"Näete seda sõnumit, kuna käesolev HTTPS leht nõuab 'Viitaja päise' saatmist "
"Näete seda sõnumit, kuna käesolev HTTPS leht nõuab “Viitaja päise” saatmist "
"teie brauserile, kuid seda ei saadetud. Seda päist on vaja "
"turvakaalutlustel, kindlustamaks et teie brauserit ei ole kolmandate "
"osapoolte poolt üle võetud."
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."
"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 ""
"Kui olete oma brauseri seadistustes välja lülitanud 'Viitaja' päised siis "
"Kui olete oma brauseri seadistustes välja lülitanud “Viitaja” päised siis "
"lülitage need taas sisse vähemalt antud lehe jaoks või HTTPS üheduste jaoks "
"või 'sama-allika' päringute 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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"Kui kasutate <meta name=\"referrer\" content=\"no-referrer\"> silti või "
"saadate päist “Referrer-Policy: no-referrer”, siis palun eemaldage need. "
"CSRF kaitse vajab range viitaja kontrolliks päist “Referer”. Kui privaatsus "
"on probleemiks, kasutage alternatiive nagu <a rel=\"noreferrer\" …> "
"linkidele, mis viivad kolmandate poolte lehtedele."
msgid ""
"You are seeing this message because this site requires a CSRF cookie when "
@ -1111,40 +1176,20 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Kui olete oma brauseris küpsised keelanud, siis palun lubage need vähemalt "
"selle lehe jaoks või 'sama-allika' päringute jaoks."
"selle lehe jaoks või “sama-allika” päringute jaoks."
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 "Kuupäev vahemikust väljas"
msgid "No month specified"
msgstr "Kuu on valimata"
@ -1167,31 +1212,74 @@ msgstr ""
"allow_future on False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "Vigane kuupäeva-string '%(datestr)s' lähtudes formaadist '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr "Vigane kuupäeva sõne “%(datestr)s” lähtudes formaadist “%(format)s”"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Päringule vastavat %(verbose_name)s ei leitud"
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Lehekülg ei ole 'last', ka ei saa teda konvertida täisarvuks."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr "Lehekülg pole “viimane” ja ei saa teda konvertida täisarvuks."
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Vigane leht (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "Tühi list ja '%(class_name)s.allow_empty' on False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr "Tühi list ja “%(class_name)s.allow_empty” on Väär."
msgid "Directory indexes are not allowed here."
msgstr "Kausta sisuloendid ei ole siin lubatud."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" ei eksisteeri"
msgid "“%(path)s” does not exist"
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 "Django: Veebiraamistik tähtaegadega perfektsionistidele."
#, 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 ""
"Vaata <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> Djangole %(version)s"
msgid "The install worked successfully! Congratulations!"
msgstr "Paigaldamine õnnestus! Palju õnne!"
#, 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-tos"
msgstr "Teemad, viited, &amp; õpetused"
msgid "Tutorial: A Polling App"
msgstr "Õpetus: Küsitlusrakendus"
msgid "Get started with Django"
msgstr "Alusta Djangoga"
msgid "Django Community"
msgstr "Django Kogukond"
msgid "Connect, get help, or contribute"
msgstr "Suhelge, küsige abi või panustage"

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 =

File diff suppressed because it is too large Load Diff

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

@ -3,9 +3,12 @@
# Translators:
# Ali Vakilzade <ali.vakilzade@gmail.com>, 2015
# Arash Fazeli <a.fazeli@gmail.com>, 2012
# Eric Hamiter <ehamiter@gmail.com>, 2019
# Jannis Leidel <jannis@leidel.info>, 2011
# Mazdak Badakhshan <geraneum@gmail.com>, 2014
# Mohammad Hossein Mojtahedi <Mhm5000@gmail.com>, 2013
# Milad Hazrati <miladhazrati75@gmail.com>, 2019
# MJafar Mashhadi <raindigital2007@gmail.com>, 2018
# Mohammad Hossein Mojtahedi <Mhm5000@gmail.com>, 2013,2019
# Pouya Abbassi, 2016
# Reza Mohammadi <reza@teeleh.ir>, 2013-2016
# Saeed <sd.javadi@gmail.com>, 2011
@ -14,16 +17,16 @@ msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 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: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2019-11-05 00:38+0000\n"
"Last-Translator: Ramiro Morales\n"
"Language-Team: Persian (http://www.transifex.com/django/django/language/"
"fa/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fa\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "Afrikaans"
msgstr "آفریکانس"
@ -92,7 +95,7 @@ msgid "Argentinian Spanish"
msgstr "اسپانیایی آرژانتینی"
msgid "Colombian Spanish"
msgstr "کلمبیائی اسپانیایی"
msgstr "اسپانیایی کلمبیایی"
msgid "Mexican Spanish"
msgstr "اسپانیولی مکزیکی"
@ -145,6 +148,9 @@ msgstr "صربستانی بالا"
msgid "Hungarian"
msgstr "مجاری"
msgid "Armenian"
msgstr "ارمنی"
msgid "Interlingua"
msgstr "اینترلینگوا"
@ -166,6 +172,9 @@ msgstr "ژاپنی"
msgid "Georgian"
msgstr "گرجی"
msgid "Kabyle"
msgstr "قبایلی"
msgid "Kazakh"
msgstr "قزاقستان"
@ -280,6 +289,9 @@ msgstr "اکراینی"
msgid "Urdu"
msgstr "اردو"
msgid "Uzbek"
msgstr ""
msgid "Vietnamese"
msgstr "ویتنامی"
@ -301,6 +313,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,14 +334,15 @@ 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' معتبر شامل حروف، ارقام، خط زیر و یا خط تیره وارد کنید."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr "یک «نامک» معتبر شامل حروف یونیکد، اعداد، زیرخط یا خط فاصله وارد کنید."
msgstr ""
msgid "Enter a valid IPv4 address."
msgstr "یک نشانی IPv4 معتبر وارد کنید."
@ -356,6 +378,9 @@ msgid_plural ""
msgstr[0] ""
"طول این مقدار باید حداقل %(limit_value)d کاراکتر باشد (طولش %(show_value)d "
"است)."
msgstr[1] ""
"طول این مقدار باید حداقل %(limit_value)d کاراکتر باشد (طولش %(show_value)d "
"است)."
#, python-format
msgid ""
@ -367,16 +392,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 +417,16 @@ 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 ""
msgid "Null characters are not allowed."
msgstr "کاراکترهای تهی مجاز نیستند."
msgid "and"
msgstr "و"
@ -418,19 +461,13 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "فیلد با نوع: %(field_type)s"
msgid "Integer"
msgstr "عدد صحیح"
#, python-format
msgid "“%(value)s” value must be either True or False."
msgstr ""
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "مقدار «%(value)s» باید یک عدد باشد."
msgid "Big (8 byte) integer"
msgstr "بزرگ (8 بایت) عدد صحیح"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgstr "مقدار «%(value)s» باید یا True باشد و یا False."
msgid "“%(value)s” value must be either True, False, or None."
msgstr ""
msgid "Boolean (Either True or False)"
msgstr "بولی (درست یا غلط)"
@ -444,56 +481,46 @@ msgstr "اعداد صحیح جدا-شده با ویلگول"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"مقدار تاریخ «%(value)s» در قالب نادرستی وارد شده است. باید در قالب YYYY-MM-"
"DD باشد."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"مقدار تاریخ «%(value)s» با اینکه در قالب درستی (YYYY-MM-DD) است ولی تاریخ "
"ناممکنی را نشان می‌دهد."
msgid "Date (without time)"
msgstr "تاریخ (بدون زمان)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"مقدار «%(value)s» در قالب نادرستی وارد شده است. باید در قالب YYYY-MM-DD HH:"
"MM[:ss[.uuuuuu]][TZ] باشد."
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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» با اینکه در قالب درستی (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"[TZ]) است ولی تاریخ/زمان ناممکنی را نشان می‌دهد."
msgid "Date (with time)"
msgstr "تاریخ (با زمان)"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgstr "مقدار «%(value)s» باید عدد باشد."
msgid "“%(value)s” value must be a decimal number."
msgstr ""
msgid "Decimal number"
msgstr "عدد دهدهی"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr ""
"مقدار «%(value)s» در قالب نادرستی وارد شده است. باید در قالب [DD] [HH:"
"[MM:]]ss[.uuuuuu] باشد."
msgid "Duration"
msgstr "بازهٔ زمانی"
@ -505,12 +532,22 @@ msgid "File path"
msgstr "مسیر پرونده"
#, python-format
msgid "'%(value)s' value must be a float."
msgstr "مقدار «%(value)s» باید عدد حقیقی باشد."
msgid "“%(value)s” value must be a float."
msgstr ""
msgid "Floating point number"
msgstr "عدد اعشاری"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr ""
msgid "Integer"
msgstr "عدد صحیح"
msgid "Big (8 byte) integer"
msgstr "بزرگ (8 بایت) عدد صحیح"
msgid "IPv4 address"
msgstr "IPv4 آدرس"
@ -518,8 +555,8 @@ msgid "IP address"
msgstr "نشانی IP"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgstr "مقدار «%(value)s» باید یا None باشد یا True و یا False."
msgid "“%(value)s” value must be either None, True or False."
msgstr ""
msgid "Boolean (Either True, False or None)"
msgstr "‌بولی (درست، نادرست یا پوچ)"
@ -542,19 +579,15 @@ msgstr "متن"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr ""
"مقدار «%(value)s» در قالب نادرستی وارد شده است. باید در قالب HH:MM[:ss[."
"uuuuuu]] باشد."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"مقدار «%(value)s» با اینکه در قالب درستی (HH:MM[:ss[.uuuuuu]]) است ولی زمان "
"ناممکنی را نشان می‌دهد."
msgid "Time"
msgstr "زمان"
@ -566,8 +599,11 @@ msgid "Raw binary data"
msgstr "دادهٔ دودویی خام"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgstr "'%(value)s' یک UUID معتبر نیست."
msgid "“%(value)s” is not a valid UUID."
msgstr ""
msgid "Universally unique identifier"
msgstr "شناسه منحصر به فرد سراسری"
msgid "File"
msgstr "پرونده"
@ -608,9 +644,6 @@ msgstr "این فیلد لازم است."
msgid "Enter a whole number."
msgstr "به طور کامل یک عدد وارد کنید."
msgid "Enter a number."
msgstr "یک عدد وارد کنید."
msgid "Enter a valid date."
msgstr "یک تاریخ معتبر وارد کنید."
@ -623,6 +656,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 "پرونده‌ای ارسال نشده است. نوع کدگذاری فرم را بررسی کنید."
@ -638,6 +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 است)."
msgid "Please either submit a file or check the clear checkbox, not both."
msgstr "لطفا یا فایل ارسال کنید یا دکمه پاک کردن را علامت بزنید، نه هردو."
@ -677,11 +716,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,23 +749,24 @@ 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 ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
msgstr ""
"%(datetime)s نمیتواند در %(current_timezone)s معنی شود.شاید این زمان مبهم "
"است و یا وجود ندارد."
msgid "Clear"
msgstr "پاک کردن"
msgid "Currently"
msgstr "در حال حاضر"
@ -732,9 +774,6 @@ msgstr "در حال حاضر"
msgid "Change"
msgstr "تغییر"
msgid "Clear"
msgstr "پاک کردن"
msgid "Unknown"
msgstr "ناشناخته"
@ -744,6 +783,15 @@ msgstr "بله"
msgid "No"
msgstr "خیر"
msgid "Year"
msgstr ""
msgid "Month"
msgstr ""
msgid "Day"
msgstr ""
msgid "yes,no,maybe"
msgstr "بله،خیر،شاید"
@ -751,6 +799,7 @@ msgstr "بله،خیر،شاید"
msgid "%(size)d byte"
msgid_plural "%(size)d bytes"
msgstr[0] "%(size)d بایت"
msgstr[1] "%(size)d بایت"
#, python-format
msgid "%s KB"
@ -1005,8 +1054,8 @@ msgstr "این مقدار آدرس IPv6 معتبری نیست."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgstr "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr ""
msgid "or"
msgstr "یا"
@ -1019,31 +1068,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 دقیقه"
@ -1055,69 +1110,49 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF تأیید نشد. درخواست لغو شد."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
"شما این پیغام را میبینید چون این سایتِ HTTPS نیازمند یک «تیتر ارجاع» برای "
"ارسال به بروزر شماست، ولی هیچ چیزی ارسال نشده است. این تیتر به دلایل امنیتی "
"مورد نیاز است، برای اینکه از هایجک نشدن بروزر اطمینان حاصل شود."
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."
"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 ""
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 youre concerned about privacy, use alternatives like <a rel=\"noreferrer"
"\" …> for links to third-party sites."
msgstr ""
"اگر بزوزر خود را برای غیر فعال کردن تیترهای «ارجاع» تنظیم کرده‌اید، لطفا "
"مجددا این ویژگی را فعال کنید، حداقل برای این وبسایت، یا برای اتصالات HTTPS، "
"یا برای درخواستهایی با «مبدا یکسان»."
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 "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"چنانچه مروگرتان را طوری تنظیم کرده‌اید که cookie ها غیر فعال باشند، لطفاً "
"حداقل برای این وبگاه و یا برای «same-origin» فعالش کنید."
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 "هیچ ماهی مشخص نشده است"
@ -1140,31 +1175,76 @@ msgstr ""
"allow_future برابر False تنظیم شده است."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgstr "متن تاریخ '%(datestr)s' با فرمت '%(format)s' غلط است."
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr ""
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "هیچ %(verbose_name)s ای مطابق جستجو پیدا نشد."
msgid "Page is not 'last', nor can it be converted to an int."
msgstr "Page مقدار 'last' نیست,همچنین قابل تبدیل به عدد هم نمیباشد."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr ""
#, python-format
msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "صفحه‌ی اشتباه (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr " لیست خالی است و '%(class_name)s.allow_empty' برابر False است."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr ""
msgid "Directory indexes are not allowed here."
msgstr "شاخص دایرکتوری اینجا قابل قبول نیست."
#, python-format
msgid "\"%(path)s\" does not exist"
msgstr "\"%(path)s\" وجود ندارد"
msgid "“%(path)s” does not exist"
msgstr ""
#, python-format
msgid "Index of %(directory)s"
msgstr "فهرست %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr "جنگو: فریمورک وب برای کمال گرایانی که محدودیت زمانی دارند."
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"نمایش <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> برای نسخه %(version)s "
"جنگو"
msgid "The install worked successfully! Congratulations!"
msgstr "نصب درست کار کرد. تبریک می گویم!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"شما این صفحه را به این دلیل مشاهده می کنید که <a href=\"https://docs."
"djangoproject.com/en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel="
"\"noopener\">DEBUG=True</a> در فایل تنظیمات شما وجود دارد و شما هیچ URL "
"تنظیم نکرده اید."
msgid "Django Documentation"
msgstr "مستندات جنگو"
msgid "Topics, references, &amp; how-tos"
msgstr ""
msgid "Tutorial: A Polling App"
msgstr "آموزش گام به گام: برنامکی برای رأی‌گیری"
msgid "Get started with Django"
msgstr "شروع به کار با جنگو"
msgid "Django Community"
msgstr "جامعهٔ جنگو"
msgid "Connect, get help, or contribute"
msgstr "متصل شوید، کمک بگیرید یا مشارکت کنید"

View File

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

View File

@ -1,18 +1,19 @@
# This file is distributed under the same license as the Django package.
#
# Translators:
# Aarni Koskela, 2015
# Aarni Koskela, 2015,2017-2018,2020
# Antti Kaihola <antti.15+transifex@kaihola.fi>, 2011
# Jannis Leidel <jannis@leidel.info>, 2011
# Lasse Liehu <larso@gmx.com>, 2015
# Mika Mäkelä <mika.m.makela@gmail.com>, 2018
# Klaus Dahlén <klaus.dahlen@gmail.com>, 2011
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-29 20:57+0200\n"
"PO-Revision-Date: 2016-06-30 08:31+0000\n"
"Last-Translator: Jannis Leidel <jannis@leidel.info>\n"
"POT-Creation-Date: 2019-09-27 22:40+0200\n"
"PO-Revision-Date: 2020-01-21 09:38+0000\n"
"Last-Translator: Aarni Koskela\n"
"Language-Team: Finnish (http://www.transifex.com/django/django/language/"
"fi/)\n"
"MIME-Version: 1.0\n"
@ -64,7 +65,7 @@ msgid "German"
msgstr "saksa"
msgid "Lower Sorbian"
msgstr ""
msgstr "Alasorbi"
msgid "Greek"
msgstr "kreikka"
@ -136,11 +137,14 @@ msgid "Croatian"
msgstr "kroatia"
msgid "Upper Sorbian"
msgstr ""
msgstr "Yläsorbi"
msgid "Hungarian"
msgstr "unkari"
msgid "Armenian"
msgstr "armenian kieli"
msgid "Interlingua"
msgstr "interlingua"
@ -162,6 +166,9 @@ msgstr "japani"
msgid "Georgian"
msgstr "georgia"
msgid "Kabyle"
msgstr "Kabyle"
msgid "Kazakh"
msgstr "kazakin kieli"
@ -199,7 +206,7 @@ msgid "Burmese"
msgstr "burman kieli"
msgid "Norwegian Bokmål"
msgstr ""
msgstr "norja (bokmål)"
msgid "Nepali"
msgstr "nepalin kieli"
@ -276,6 +283,9 @@ msgstr "ukraina"
msgid "Urdu"
msgstr "urdu"
msgid "Uzbek"
msgstr "uzbekki"
msgid "Vietnamese"
msgstr "vietnam"
@ -297,6 +307,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,14 +328,15 @@ 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."
"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens."
msgstr ""
"Tässä voidaan käyttää vain kirjaimia (a-z), numeroita (0-9) sekä ala- ja "
"tavuviivoja (_ -)."
"Tässä voidaan käyttää vain kirjaimia, numeroita sekä ala- ja tavuviivoja (_ "
"-)."
msgid ""
"Enter a valid 'slug' consisting of Unicode letters, numbers, underscores, or "
"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or "
"hyphens."
msgstr ""
"Tässä voidaan käyttää vain Unicode-kirjaimia, numeroita sekä ala- ja "
@ -374,6 +394,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 +419,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"
@ -430,20 +464,14 @@ msgstr ""
msgid "Field of type: %(field_type)s"
msgstr "Kenttä tyyppiä: %(field_type)s"
msgid "Integer"
msgstr "Kokonaisluku"
#, python-format
msgid "'%(value)s' value must be an integer."
msgstr "%(value)s-arvo tulee olla kokonaisluku."
msgid "Big (8 byte) integer"
msgstr "Suuri (8-tavuinen) kokonaisluku"
#, python-format
msgid "'%(value)s' value must be either True or False."
msgid "“%(value)s” value must be either True or False."
msgstr "%(value)s-arvo pitää olla joko tosi tai epätosi."
#, python-format
msgid "“%(value)s” value must be either True, False, or None."
msgstr "%(value)s-arvo pitää olla joko tosi, epätosi tai ei mitään."
msgid "Boolean (Either True or False)"
msgstr "Totuusarvo: joko tosi (True) tai epätosi (False)"
@ -456,7 +484,7 @@ msgstr "Pilkulla erotetut kokonaisluvut"
#, python-format
msgid ""
"'%(value)s' value has an invalid date format. It must be in YYYY-MM-DD "
"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD "
"format."
msgstr ""
"%(value)s-arvo on väärässä päivämäärämuodossa. Sen tulee olla VVVV-KK-PP -"
@ -464,7 +492,7 @@ msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD) but it is an invalid "
"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid "
"date."
msgstr ""
"%(value)s-arvo on oikeassa päivämäärämuodossa (VVVV-KK-PP), muttei ole "
@ -475,7 +503,7 @@ msgstr "Päivämäärä (ilman kellonaikaa)"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[."
"uuuuuu]][TZ] format."
msgstr ""
"%(value)s-arvon muoto ei kelpaa. Se tulee olla VVVV-KK-PP TT:MM[:ss[.uuuuuu]]"
@ -483,7 +511,7 @@ msgstr ""
#, python-format
msgid ""
"'%(value)s' value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]"
"“%(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-arvon muoto on oikea (VVVV-KK-PP TT:MM[:ss[.uuuuuu]][TZ]), mutta "
@ -493,7 +521,7 @@ msgid "Date (with time)"
msgstr "Päivämäärä ja kellonaika"
#, python-format
msgid "'%(value)s' value must be a decimal number."
msgid "“%(value)s” value must be a decimal number."
msgstr "%(value)s-arvo tulee olla desimaaliluku."
msgid "Decimal number"
@ -501,7 +529,7 @@ msgstr "Desimaaliluku"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in [DD] [HH:[MM:]]ss[."
"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[."
"uuuuuu] format."
msgstr "%(value)s-arvo pitää olla muodossa [PP] TT:MM[:ss[.uuuuuu]]."
@ -515,12 +543,22 @@ msgid "File path"
msgstr "Tiedostopolku"
#, python-format
msgid "'%(value)s' value must be a float."
msgid "“%(value)s” value must be a float."
msgstr "%(value)s-arvo tulee olla liukuluku."
msgid "Floating point number"
msgstr "Liukuluku"
#, python-format
msgid "“%(value)s” value must be an integer."
msgstr "%(value)s-arvo tulee olla kokonaisluku."
msgid "Integer"
msgstr "Kokonaisluku"
msgid "Big (8 byte) integer"
msgstr "Suuri (8-tavuinen) kokonaisluku"
msgid "IPv4 address"
msgstr "IPv4-osoite"
@ -528,7 +566,7 @@ msgid "IP address"
msgstr "IP-osoite"
#, python-format
msgid "'%(value)s' value must be either None, True or False."
msgid "“%(value)s” value must be either None, True or False."
msgstr "%(value)s-arvo tulee olla joko ei mitään, tosi tai epätosi."
msgid "Boolean (Either True, False or None)"
@ -552,13 +590,13 @@ msgstr "Tekstiä"
#, python-format
msgid ""
"'%(value)s' value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] "
"format."
msgstr "%(value)s-arvo pitää olla muodossa TT:MM[:ss[.uuuuuu]]."
#, python-format
msgid ""
"'%(value)s' value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an "
"invalid time."
msgstr ""
"%(value)s-arvo on oikeassa muodossa (TT:MM[:ss[.uuuuuu]]), mutta kellonaika "
@ -574,9 +612,12 @@ msgid "Raw binary data"
msgstr "Raaka binaaridata"
#, python-format
msgid "'%(value)s' is not a valid UUID."
msgid "“%(value)s” is not a valid UUID."
msgstr "%(value)s ei ole kelvollinen UUID."
msgid "Universally unique identifier"
msgstr "UUID-tunnus"
msgid "File"
msgstr "Tiedosto"
@ -595,11 +636,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 +657,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 +669,10 @@ msgstr "Syötä oikea pvm/kellonaika."
msgid "Enter a valid duration."
msgstr "Syötä oikea kesto."
#, python-brace-format
msgid "The number of days must be between {min_days} and {max_days}."
msgstr "Päivien määrä täytyy olla välillä {min_days} ja {max_days}."
msgid "No file was submitted. Check the encoding type on the form."
msgstr "Tiedostoa ei lähetetty. Tarkista lomakkeen koodaus (encoding)."
@ -721,33 +763,33 @@ msgstr ""
msgid "Please correct the duplicate values below."
msgstr "Korjaa allaolevat kaksoisarvot."
msgid "The inline foreign key did not match the parent instance primary key."
msgstr "Liittyvä perusavain ei vastannut vanhemman perusavainta."
msgid "The inline value did not match the parent instance."
msgstr "Liittyvä arvo ei vastannut vanhempaa instanssia."
msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "Valitse oikea vaihtoehto. Valintasi ei löydy vaihtoehtojen joukosta."
#, python-format
msgid "\"%(pk)s\" is not a valid value for a primary key."
msgstr "\"%(pk)s\" ei ole kelvollinen pääavainarvo."
msgid "“%(pk)s” is not a valid value."
msgstr "\"%(pk)s\" ei ole kelvollinen arvo."
#, python-format
msgid ""
"%(datetime)s couldn't be interpreted in time zone %(current_timezone)s; it "
"%(datetime)s couldnt be interpreted in time zone %(current_timezone)s; it "
"may be ambiguous or it may not exist."
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"
@ -757,6 +799,15 @@ msgstr "Kyllä"
msgid "No"
msgstr "Ei"
msgid "Year"
msgstr "Vuosi"
msgid "Month"
msgstr "Kuukausi"
msgid "Day"
msgstr "Päivä"
msgid "yes,no,maybe"
msgstr "kyllä,ei,ehkä"
@ -1019,7 +1070,7 @@ msgstr "Tämä ei ole kelvollinen IPv6-osoite."
#, python-format
msgctxt "String to return when truncating text"
msgid "%(truncated_text)s..."
msgid "%(truncated_text)s"
msgstr "%(truncated_text)s…"
msgid "or"
@ -1075,8 +1126,8 @@ msgid "CSRF verification failed. Request aborted."
msgstr "CSRF-vahvistus epäonnistui. Pyyntö hylätty."
msgid ""
"You are seeing this message because this HTTPS site requires a 'Referer "
"header' to be sent by your Web browser, but none was sent. This header is "
"You are seeing this message because this HTTPS site requires a Referer "
"header to be sent by your Web browser, but none was sent. This header is "
"required for security reasons, to ensure that your browser is not being "
"hijacked by third parties."
msgstr ""
@ -1086,14 +1137,27 @@ msgstr ""
"selaintasi haltuun."
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."
"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 ""
"Jos olet konfiguroinut selaimesi olemaan lähettämättä Referer-otsaketta, ole "
"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 youre 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 "
@ -1105,7 +1169,7 @@ msgstr ""
msgid ""
"If you have configured your browser to disable cookies, please re-enable "
"them, at least for this site, or for 'same-origin' requests."
"them, at least for this site, or for “same-origin” requests."
msgstr ""
"Jos olet konfiguroinut selaimesi olemaan vastaanottamatta tai lähettämättä "
"evästeitä, ole hyvä ja kytke evästeet takaisin päälle ainakin tälle sivulle "
@ -1114,33 +1178,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"
@ -1163,14 +1206,14 @@ msgstr ""
"allow_future:n arvo on False."
#, python-format
msgid "Invalid date string '%(datestr)s' given format '%(format)s'"
msgid "Invalid date string “%(datestr)s” given format “%(format)s”"
msgstr "Päivämäärä '%(datestr)s' ei ole muotoa '%(format)s'"
#, python-format
msgid "No %(verbose_name)s found matching the query"
msgstr "Hakua vastaavaa %(verbose_name)s -kohdetta ei löytynyt"
msgid "Page is not 'last', nor can it be converted to an int."
msgid "Page is not “last”, nor can it be converted to an int."
msgstr "Sivunumero ei ole 'last' (viimeinen) eikä näytä luvulta."
#, python-format
@ -1178,16 +1221,59 @@ msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "Epäkelpo sivu (%(page_number)s): %(message)s"
#, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgid "Empty list and “%(class_name)s.allow_empty” is False."
msgstr "Lista on tyhjä, ja '%(class_name)s.allow_empty':n arvo on False."
msgid "Directory indexes are not allowed here."
msgstr "Hakemistolistauksia ei sallita täällä."
#, python-format
msgid "\"%(path)s\" does not exist"
msgid "“%(path)s” does not exist"
msgstr "\"%(path)s\" ei ole olemassa"
#, python-format
msgid "Index of %(directory)s"
msgstr "Hakemistolistaus: %(directory)s"
msgid "Django: the Web framework for perfectionists with deadlines."
msgstr ""
#, python-format
msgid ""
"View <a href=\"https://docs.djangoproject.com/en/%(version)s/releases/\" "
"target=\"_blank\" rel=\"noopener\">release notes</a> for Django %(version)s"
msgstr ""
"Katso Django %(version)s <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/releases/\" target=\"_blank\" rel=\"noopener\">julkaisutiedot</a>"
msgid "The install worked successfully! Congratulations!"
msgstr "Asennus toimi! Onneksi olkoon!"
#, python-format
msgid ""
"You are seeing this page because <a href=\"https://docs.djangoproject.com/en/"
"%(version)s/ref/settings/#debug\" target=\"_blank\" rel=\"noopener"
"\">DEBUG=True</a> is in your settings file and you have not configured any "
"URLs."
msgstr ""
"Näet tämän viestin, koska asetuksissasi on <a href=\"https://docs."
"djangoproject.com/en/%(version)s/ref/settings/#debug\" target=\"_blank\" rel="
"\"noopener\">DEBUG = True</a> etkä ole konfiguroinut yhtään URL-osoitetta."
msgid "Django Documentation"
msgstr "Django-dokumentaatio"
msgid "Topics, references, &amp; how-tos"
msgstr "Aiheet, viittaukset &amp; how-tot"
msgid "Tutorial: A Polling App"
msgstr "Tutoriaali: kyselyapplikaatio"
msgid "Get started with Django"
msgstr "Miten päästä alkuun Djangolla"
msgid "Django Community"
msgstr "Django-yhteisö"
msgid "Connect, get help, or contribute"
msgstr "Verkostoidu, saa apua tai jatkokehitä"

View File

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

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