Commit Graph

22792 Commits

Author SHA1 Message Date
Tim Graham 9687004538 [1.10.x] Fixed #26002 -- Explained ModelAdmin.get_search_results() example.
Backport of c9d0a0f7f4 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 baff4dd37d from master
2016-06-30 08:55:21 -04:00
Claude Paroz eb0e48e64a [1.10.x] Added Upper/Lower Sorbian translations
Backport of 490107f14d 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 6aeb932fc5 from master
2016-06-29 21:13:33 +02:00
Claude Paroz 4976cbf649 [1.10.x] Added Upper/Lower Sorbian languages
Backport of e8cbf53c33 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 18571aefe6 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 fc4b4fd585 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 a9e188ccd6 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 222e1334bf 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 49b4596cb4 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 6bf7964023 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 d47f6d75ef 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 c962b9104a 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 2032bcf182 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 ca77b50905 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 9a54face25 from master
2016-06-22 06:38:55 -04:00
Tim Graham bd97496d07 [1.10.x] Bumped version for 1.10 beta 1. 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 ea4665066b 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 c2e62fd1ae from master
2016-06-21 16:38:00 -04:00
Tim Graham 1b0b6f0342 [1.10.x] Refs #21379, #26719 -- Moved username normalization to AbstractBaseUser.
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.

Backport of 39805686b3 from master
2016-06-21 16:20:00 -04:00
Tim Graham 45a650777e [1.10.x] Fixed #26787 -- Documented deleting and reloading of model instance fields.
Thanks Julien Hartmann for the report.

Backport of 20d1cb33c2 from master
2016-06-21 15:25:16 -04:00
Paulo c464cf88ff [1.10.x] Fixed #26729 -- Allowed overriding a form field's label/help_text in Form.__init__() for TabularInline.
Backport of 9c2d5a8d33 from master
2016-06-21 14:32:19 -04:00
Jon Dufresne e725a68bcc [1.10.x] Fixed #26783 -- Fixed SessionMiddleware's empty cookie deletion when using SESSION_COOKIE_PATH.
Backport of d13881bd34 from master
2016-06-21 11:03:40 -04:00
Claude Paroz b1592dd73b [1.10.x] Fixed #26750 -- Fixed introspection for geography point field with dim=3
Thanks Yegor Kazantsev for the report and the initial patch.
Backport of 140c23502 from master.
2016-06-21 15:23:58 +02:00
Samir Shah 69b46fcc39 [1.10.x] Corrected firstof template tag's docstring.
Since Django 1.8, firstof escapes its output.

Backport of fff5dbe59c from master
2016-06-21 08:12:28 -04:00
Tim Graham 8c25d8fc10 [1.10.x] Refs #22384 -- Readded RegexURLResolver.reverse().
It was removed in 785cc71d5b only because
it was untested and unused in Django itself, however, some third-party
apps use it.

Backport of 4e400dcb79 from master
2016-06-20 14:51:28 -04:00
Loïc Bistuer 0f23bcebdf [1.10.x] Fixed #26643 -- Prevented unnecessary AlterModelManagers operations caused by the manager inheritance refactor.
This also makes migrations respect the base_manager_name and
default_manager_name model options.

Thanks Anthony King and Matthew Schinckel for the initial patches.

Backport of 2eb7cb2fff from master
2016-06-20 12:56:37 -04:00
Andrew Nester 7a3cc2957f [1.10.x] Fixed #26776 -- Documented url()'s view argument.
Backport of a12826bba7 from master
2016-06-20 11:57:58 -04:00
Tim Graham 44eaa2dac8 [1.10.x] Fixed typo in docs/topics/db/managers.txt
Backport of 00551c3eff from master
2016-06-20 09:07:51 -04:00
Tim Graham 91d754eb2a [1.10.x] Fixed #26778 -- Fixed ModelSignal.connect() weak argument.
Backport of 9bf8d50a67 from master
2016-06-18 20:45:58 -04:00
Claude Paroz 1b6de8fd23 [1.10.x] Fixed #26775 -- Supported dim=3 geography fields
Thanks François-Xavier Thomas for the report.
Backport of 8ba44ecda0 from master.
2016-06-18 21:50:45 +02:00
Paul J Stevens d3b9c49919 [1.10.x] Refs #26772 -- Added a test for FileField reopening closed files.
Thanks Simon Charette for review.

Backport of b45852c263 from master
2016-06-18 12:46:42 -04:00
Tim Graham e2b266fdf7 [1.10.x] Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File."
This reverts commit 1b407050dd as it
introduces a regression in the test for refs #26772.

Backport of cd217de610 from master
2016-06-18 12:46:34 -04:00
Markus Holtermann 31a789f646 [1.10.x] Fixed #24931 -- Made namespaced RegexURLResolvers populate callback strings.
Fixed a regression in 2f16ff5a6c.

Thanks Tim Graham for the review.

Backport of 625b8e9295 from master
2016-06-18 10:39:49 -04:00
Tim Graham 1213ef2b18 [1.10.x] Refs #15667 -- Fixed crash when indexing RadioFieldRenderer with ModelChoiceIterator.
Regression in 86573861a9
2016-06-18 10:37:37 -04:00
Tim Graham bdc29b7188 [1.10.x] Reverted "Fixed #26398 -- Made FieldFile.open() respect its mode argument."
This reverts commit a52a531a8b due to
regressions described in refs #26772.

Backport of 7def55c3f6 from master
2016-06-17 21:08:56 -04:00
Trey Hunner 799fbc7235 [1.10.x] Added urlpatterns variable in docs/topics/http/urls.txt.
Backport of 91e9be45ed from master
2016-06-17 21:02:40 -04:00
Carl Meyer 69de988f92 [1.10.x] Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware exception handling.
Backport of 7d1b69dbe7 from master
2016-06-17 15:55:55 -04:00
Carl Meyer 34fbec3cb4 [1.10.x] Moved old-middleware tests in preparation for adding new tests.
Backport of 104ee2fdae from master
2016-06-17 15:55:44 -04:00
Carl Meyer 6be0e93b8f [1.10.x] Improved debugging of failed middleware_exceptions tests.
Backport of 702dfa3589 from master
2016-06-17 09:16:12 -04:00
Tim Graham f94f4db0a3 [1.10.x] Used SQL from DB backend in GeomValue.
This avoids the deprecated GeomFromText on MySQL (refs #26134).

Thanks Claude Paroz for the review.

Backport of 9c3fbf5423 from master
2016-06-16 20:32:09 -04:00
Jon Dufresne 13d60298ea [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.
Backport of 4f336f6652 from master
2016-06-16 14:21:14 -04:00
Tim Graham 70b7d6b4ea [1.10.x] Fixed flake8 2.6 warnings.
Backport of ea34426ae7 from master
2016-06-16 09:33:02 -04:00
Ville Skyttä efe9874371 [1.10.x] Fixed broken links in docs and comments.
Backport of 96f97691ad from master
2016-06-15 21:20:38 -04:00
Sergey Fedoseev f9b3a6a76f [1.10.x] Refs #14030 -- Updated docs per "Improved expression support for python values."
Complements e2d6e14662.

Backport of db613f4f12 from master
2016-06-15 10:35:34 -04:00
Tim Graham 539ccfbf62 [1.10.x] Removed nonexistent attribute in docs/ref/contrib/admin/index.txt
Backport of abec15ad81 from master
2016-06-15 08:32:08 -04:00
Hugo Osvaldo Barrera c37f9253a6 [1.10.x] Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File.
914c72be2a introduced a regression that
causes saving a NamedTemporaryFile in a FileField to raise a
SuspiciousFileOperation. To remedy this, if a File has an absolute
path as a filename, use only the basename as the filename.

Backport of 1b407050dd from master
2016-06-14 09:58:27 -04:00
Ville Skyttä 84737135f6 [1.10.x] Removed usage of a deprecated unittest assertion.
Backport of fa654da613 from master
2016-06-14 09:04:53 -04:00
Ville Skyttä 61bcf04132 [1.10.x] Fixed #26754 -- Documented django.template.context_processors.tz
Backport of 7003174fec from master
2016-06-14 11:58:50 +02:00
Dmitry Medvinsky 8f91c42b58 [1.10.x] Fixed #26742 -- Fixed action select color in admin changelist.
Backport of 0451dcc2eb from master
2016-06-10 11:39:46 -04:00