1
0
mirror of https://github.com/django/django.git synced 2025-02-09 17:06:05 +00:00

22773 Commits

Author SHA1 Message Date
Tim Graham
6646a396cc [1.10.x] Fixed inconsistent indentation in docs/ref/models/options.txt
Backport of ba246bd5fe3c3c392cb0a56648542dbca435d107 from master
2016-07-15 13:43:05 -04:00
Marc-Aurèle Brothier
a8b2445a78 [1.10.x] Fixed #26868 -- Changed MySQL version detection to use a query.
Workaround a bug with MariaDB and MySQL native client not stripping the
`5.5.5-` prefix.

Backport of f8bfa806805a87d2cdd677089bd96fbf8400cb95 from master
2016-07-15 10:22:28 -04:00
Claude Paroz
cb78011402 [1.10.x] Updated contrib.postgres translation catalog 2016-07-15 09:47:30 +02:00
Claude Paroz
de9af3912c [1.10.x] Refs #26897 -- Added cleanup to i18n test 2016-07-14 22:39:28 +02:00
Claude Paroz
208eead787 [1.10.x] Refs #26897 -- Missing directory containment in i18n test 2016-07-14 21:44:47 +02:00
Marten Kenbeek
06323dafc7 [1.10.x] Fixed #26888 -- Fixed concurrency issue in URL resolver.
Fixed a regression in 625b8e9295d79650208bfb3fca8bf9e6aaf578e4:
improper short-circuiting could lead to a KeyError when threads
concurrently call RegexURLResolver._populate().

Backport of 389a5318a06e7e4d8f8aba14af88c4cc4ea0db47 from master
2016-07-14 14:42:23 -04:00
Claude Paroz
96a37a0266 [1.10.x] Fixed #26897 -- Fixed makemessages crash on Python 2 with non-ASCII file names
Thanks Tim Graham for the review.
Backport of 3e71f6544feca490211e88db4f449dfdb7acce39 from master.
2016-07-14 20:39:00 +02:00
Jon Dufresne
acb804e552 [1.10.x] Fixed #26890 -- Fixed IntegerField crash on Unicode numbers.
Backport of 76e19da5b0385d4f8afda509e0b60f77f7ffc4c2 from master
2016-07-14 09:39:18 -04:00
Tim Graham
5c56ce7a3f [1.10.x] Reverted "Fixed #25388 -- Added an option to allow disabling of migrations during test database creation"
This reverts commit 157d7f1f1de4705daddebb77f21bd7097a74513d since it
disables migrations all the time, not just during tests.

Backport of 944e66cb1db6614ef0644b9030dd1d75e950767c from master
2016-07-14 09:22:06 -04:00
Tim Graham
3b92272c55 [1.10.x] Fixed #26894 -- Fixed a typo in docs/faq/admin.txt
Backport of a11719047711d8031dcea6a71cc5972b9ec1d48f from master
2016-07-14 08:04:53 -04:00
Tom Carrick
8c385b7697 [1.10.x] Fixed typos in docs/ref/contrib/postgres/search.txt
Backport of 46e20104609bbf78500c2bde10f75f51585ddf11 from master
2016-07-14 07:53:00 -04:00
Daniel Rice
bec0faa154 [1.10.x] Reworded a sentence in tutorial 7.
Backport of 08c723fbae9d7625599fb84f602b425e82943e15 from master
2016-07-14 07:51:02 -04:00
Jon Dufresne
1a2ee697e0 [1.10.x] Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field().
Backport of 2e4cfcd2b9a0984ad6c4087a5deebbf33413835c from master
2016-07-13 21:55:25 -04:00
Andrey Fedoseev
ded5020241 [1.10.x] Fixed #17657 -- Made ModelForm respect ModelMultipleChoiceField's to_field_name.
Follow up to 67d984413c9540074e4fe6aa033081a35cf192bc.

Backport of 81963b37a92ef583b9f725f1a78dd2ca97c1ab95 from master
2016-07-12 16:20:28 -04:00
Md. Sadaf Noor
5d8332aaee [1.10.x] Fixed #26831 -- Documented session data must be JSON encodable for JSONSerializer.
Backport of 1f82b857ceb75f2d7a68e79c6a00c30bfe7f1318 from master
2016-07-12 13:46:49 -04:00
Tim Graham
a01d3d5776 [1.10.x] Linked "Features removed" release notes to corresponding deprecation notes.
Backport of ee2f0f311a1e84754f30d2586c0bd96f4fd9e8b6 from master
2016-07-11 15:23:34 -04:00
Julien Hartmann
39c25b772b [1.10.x] Fixed #26749 -- Preserved behavior of use_for_related_field during deprecation.
Backport of f4afb85d7e900123fa8f88110adc011ab184e153 from master
2016-07-11 13:34:18 -04:00
Baptiste Mispelon
4b6560f5a9 [1.10.x] Fixed numpy deprecation warning silencing in template_tests.
Backport of 418658f453bed7fe7949dda26651aab370003e6a from master
2016-07-09 10:24:27 -04:00
Loïc Bistuer
a2af2420ce [1.10.x] Fixed #26881 -- Fixed duplicate managers in migrations.
When both parent and child models had managers with the same name and
a migrations opt-in both were added to the migration state.

Backport of dab83e5ba108c08a04ae400ac5354fd73e26c6f5 from master
2016-07-09 18:12:18 +07:00
Simon Charette
cf6f0e9978 [1.10.x] Refs #25774 -- Adjusted datetime database function docs field names.
Backport of 90468079ec6f72a1b8b6a908d81d3201a3204b24 from master
2016-07-08 12:37:24 -04:00
Sean Marlow
fda151e512 [1.10.x] Fixed #26837 -- Documented ModelMultipleChoiceField.to_field_name
Backport of 8b9e16ec858c23cb65ea5de95f65a71b31521841 from master
2016-07-08 11:30:26 -04:00
Mathieu Richardoz
d58a27c349 Fixed a typo in docs/ref/contrib/postgres/search.txt. 2016-07-07 07:05:49 -04:00
Tim Graham
48a570164e [1.10.x] Fixed capitalization of "URL pattern".
Backport of 415ae960bb9f1bdae798023fdce3247d2c938eec from master
2016-07-06 15:31:44 -04:00
Daniel Rice
cdb6d83f44 [1.10.x] Improved grammar in tutorial01.
Backport of 1f9deba1b312a12c47668724daf70b8fe2d56b17 from master
2016-07-06 15:25:00 -04:00
Romain Garrigues
8976d08edb [1.10.x] Fixed #25461 -- Corrected meta API code examples to account for MTI.
In the case of multiple-table inheritance models, get_all_related_objects() and
get_all_related_objects_with_model() don't return the auto-created
OneToOneField, but the new examples didn't account for this.

Backport of 8be84e2ac42b2556fd6fa07794b3708b143ef341 from master
2016-07-06 09:28:51 -04:00
Taylor Edmiston
87940f1f3c [1.10.x] Fixed typo in docs/topics/class-based-views/generic-display.txt
Backport of 43d0345fe11624d6b4fd960139ff653451b4f147 from master
2016-07-06 08:49:02 -04:00
Jiang Haiyun
aa777cdaaa [1.10.x] Fixed a typo in auth docs.
Backport of 6d61ec0e1a4eb5768be5add9e1c44c89dacbfa7e from master
2016-07-04 11:03:28 -04:00
Leila20
2847b22f29 [1.10.x] Fixed #26832 -- Added translated language name on the get_language_info documentation
Backport of de4265e082bcce45ef6fb0929a44205463ba552e from master
2016-07-02 20:50:51 -04:00
Md. Sadaf Noor
623ab0e6ae [1.10.x] Fixed #26829 -- Simplified version detection command in tutorial
Backport of ed1c15d8fbc17e60621ca56f67340987531e647d from master
2016-07-02 20:29:50 -04:00
Tim Graham
567cfc1601 [1.10.x] Replaced use of TestCase.fail() with assertRaises().
Also removed try/except/fail antipattern that hides exceptions.

Backport of c9ae09addffb839403312131d4251e9d8b454508 from master
2016-07-01 09:58:56 -04:00
Harry Moreno
9c48e17480 [1.10.x] Added parallel test running to "Speeding up the tests" docs.
Backport of 30c65ee8187c7a87d2fc83c5b8966b1ea5e5316b from master
2016-07-01 09:06:16 -04:00
Tim Graham
9687004538 [1.10.x] Fixed #26002 -- Explained ModelAdmin.get_search_results() example.
Backport of c9d0a0f7f47c8496a9d8b0cfda94e2ef118d9ab3 from master
2016-06-30 09:00:35 -04:00
Andrew Nester
f683bba6f6 [1.10.x] Fixed #25292 -- Fixed crash in ManyToManyField.through_fields check.
Backport of baff4dd37dabfef1ff939513fa45124382b57bf8 from master
2016-06-30 08:55:21 -04:00
Claude Paroz
eb0e48e64a [1.10.x] Added Upper/Lower Sorbian translations
Backport of 490107f14dbf9445e145aea1157b27e7ef407214 from master
2016-06-29 21:14:00 +02:00
Claude Paroz
040c92750a [1.10.x] Removed contrib-messages entry in Transifex config file
Complement to debf521d49.
Backport of 6aeb932fc57bccc250e14b06d5e98abaa21e5797 from master
2016-06-29 21:13:33 +02:00
Claude Paroz
4976cbf649 [1.10.x] Added Upper/Lower Sorbian languages
Backport of e8cbf53c33d9bcf6bcb9065ebefa545c530c9b74 from master
2016-06-29 21:13:12 +02:00
Lh4cKg
e05b0d1035 [1.10.x] Added Georgian mapping to contrib/admin/static/admin/js/urlify.js
Backport of 18571aefe6dcb7d69b910ff57d83221a739c790c from master
2016-06-29 10:01:13 -04:00
Tsering
be03ce25c4 [1.10.x] Refs #23386 -- Documented that F() expressions are applied on each model.save()
Backport of fc4b4fd5850989458d6e54de12a29b2e40e94ce8 from master
2016-06-28 16:27:36 -04:00
Christopher Grebs
712838a53d [1.10.x] Fixed #26119 -- Fixed URLValidator crash on URLs with brackets.
Backport of a9e188ccd6315d278795355a53bce6c1a63f5a50 from master
2016-06-28 15:44:07 -04:00
Camilo Nova
87584a0af1 [1.10.x] Used strict comparison in docs/ref/csrf.txt's JavaScript.
Backport of 222e1334bf29605925eefa45ff107ca1155e93c0 from master
2016-06-28 12:52:05 -04:00
Eduard Stepanov
28de25c249 [1.10.x] Fixed #26786 -- Avoided redundant max value validators on integer fields.
Backport of 49b4596cb4744e4b68d56e6a540a3e15c1582963 from master
2016-06-28 11:40:59 -04:00
Aaron Elliot Ross
198128684b [1.10.x] Fixed #26171 -- Made MySQL create an index on ForeignKeys with db_contraint=False.
Refactored "Prevented unneeded index creation on MySQL-InnoDB" (2ceb10f)
to avoid setting db_index=False.

Backport of 6bf7964023487f2a352084e74aca27aecb354d6c from master
2016-06-28 08:22:36 -04:00
Jon Dufresne
5c04852455 [1.10.x] Refs #26034 -- Corrected a schema test to work with the correct field state.
Backport of d47f6d75ef67dbd18abf2bb927753f739a9c117d from master
2016-06-27 12:16:52 -04:00
Ramiro Morales
b2c28a3770 [1.10.x] Added missing trailing '$' to url() patterns in docs.
Backport of c962b9104a22505a7d6c57bbec9eda163f486c7d from master
2016-06-27 09:26:10 -04:00
Anderson Resende
b752eae700 [1.10.x] Fixed #26806 -- Triple quoted docstrings in docs/ref/forms/validation.txt.
Backport of 2032bcf18280a875a59a39cf85c226da0a310d11 from master
2016-06-27 09:07:18 -04:00
akki
7f249e73dd [1.10.x] Fixed #26795 -- Factored out get_changes() in test_autodetector.py.
Backport of ca77b509059831b055a3b735ff77e042f8e1c0eb from master
2016-06-24 22:01:56 -04:00
John-Scott Atlakson
fbbdb070e4 [1.10.x] Fixed typo in docs/topics/logging.txt
Backport of 9a54face2572d67c7a31dc967bfb66af6e98165c from master
2016-06-22 06:38:55 -04:00
Tim Graham
bd97496d07 [1.10.x] Bumped version for 1.10 beta 1. 1.10b1 2016-06-21 21:01:17 -04:00
Sergey Fedoseev
be1022d0e7 [1.10.x] Fixed #26785 -- Made Oracle return None rather than empty string for empty geometries.
Backport of ea4665066b651e0e2730f2e2d85fcef9d7ac7966 from master
2016-06-21 18:51:08 -04:00
Simon Charette
23ac35af19 [1.10.x] Fixed #26781 -- Made table name case change a noop on SQLite.
SQLite disgresses from the SQL standard by ignoring case of quoted identifiers.

Thanks to laozzzi for the report and Tim for the review.

Backport of c2e62fd1aed093c4d9ff84e3d86e6a85c8aa1917 from master
2016-06-21 16:38:00 -04:00