1
0
mirror of https://github.com/django/django.git synced 2025-01-19 06:43:15 +00:00

20303 Commits

Author SHA1 Message Date
Tim Graham
e7366ab1f9 [1.8.x] Fixed mistakes in tests unveiled by version bump to 1.8.1. 2015-04-02 07:01:42 -04:00
Krzysztof Gogolewski
b0512db5c4 [1.8.x] Fixed typo in docs/internals/deprecation.txt 2015-04-01 19:01:44 -04:00
Aymeric Augustin
ae4d21e159 [1.8.x] Pointed Jinja2 users to Babel instead of makemessages.
Backport of 8520551 from master
2015-04-01 22:37:39 +02:00
Tim Graham
0c01913d55 [1.8.x] Added stub release notes for 1.8.1.
Backport of 1b605838bf1fa5527fd82b0f94d11c43d41f3f81 from master
2015-04-01 16:18:47 -04:00
Tim Graham
349c15b45e [1.8.x] Post-release version bump. 2015-04-01 16:18:03 -04:00
Tim Graham
feac4c30ce [1.8.x] Bumped version for 1.8 release. 1.8 2015-04-01 15:46:45 -04:00
Tim Graham
2011c7a031 [1.8.x] Added release date for Django 1.8.
Backport of 61d6c5d02effef8852d344e4fcaf0754fd47d741 from master
2015-04-01 15:31:16 -04:00
Claude Paroz
72de42cd40 [1.8.x] Refs #24500 -- Avoided locale.getpreferredencoding in makemessages
Fixes a regression introduced in 53c2cf1e.
Backport of 3f4e77840 from master.
2015-04-01 20:03:51 +02:00
Claude Paroz
70c5031d56 [1.8.x] Adapted form regression test to new translations
Backport of 2112b7d78 from master.
2015-04-01 19:53:11 +02:00
Tim Graham
5a4f95805f [1.8.x] Refs #24538 -- Simplified a test per Aymeric's feedback.
Backport of a184a99123e4dc4c2a90c20e1604e5d301cd76bf from master
2015-04-01 13:19:57 -04:00
Tim Graham
5c63c45512 [1.8.x] Fixed #23441, #24555 -- Improved the behavior of InclusionNode.
This change:

* Makes the InclusionNode cache-safe by removing render-time side effects
  to its nodelist.
* Ensures the render_context stack is properly scoped and reset by updating
  the render call to use Template.render rather than Nodelist.render.

Backport of 0808ccce3808235c5b5a56e3f689cec0d4bc0ebf from master
2015-04-01 13:12:18 -04:00
Tim Heap
ff8eabc5cc [1.8.x] Fixed #24538 -- Allowed self in Jinja context
Rendering a Jinja template with self in the context threw an error.
While self is a reserved variable in Jinja, including self in the
context is not an error, so Django should respect that.

Backport of 4ea1909d3c420ba1fbdbf7221cad518d43aef885 from master
2015-04-01 12:27:52 -04:00
Claude Paroz
5483c66f85 [1.8.x] Fetched updated contrib translations from Transifex 2015-04-01 15:05:29 +02:00
Claude Paroz
d1b206daf8 [1.8.x] Fetched updated core translations from Transifex 2015-04-01 14:54:32 +02:00
Claude Paroz
05a781a475 [1.8.x] Removed source strings from translated po files 2015-04-01 14:54:07 +02:00
Markus Holtermann
2218f7617e [1.8.x] Refs #24554 -- Prevented rendering of unused migrations
Thanks Claude Paroz and Tim Graham for the review

Backport of 3e7d9d05ac5efff4e4732c3453c7a8ef502d0ed0 from master
2015-04-01 11:14:55 +02:00
Markus Holtermann
0c7e2833d9 [1.8.x] Fixed #24554 -- Sped up migrations by rendering initial apps when they are first needed
Calling Migration.mutate_state() now also allows to do in_place
mutations in case an intermediate state is thrown away later.

Thanks Anssi Kääriäinen for the idea, Ryan Hall for parts of the patch,
and Claude Paroz and Tim Graham for the review

Backport of 57dc8dd3fa3c3adf133c522ecadb501d94bacd52 from master
2015-04-01 11:14:55 +02:00
Joost Rijneveld
9e9914701a [1.8.x] Fixed typo in docs/ref/templates/builtins.txt
Backport of 48ddc66219deaac2aa5fa3d2cb0f420404d6b8ec from master
2015-03-31 21:21:50 -04:00
Kostochko Dmitriy
c2674c2103 [1.8.x] Fixed typo in docs/topics/cache.txt
Backport of d026eb63666a34382912cf68af75492fc583b9db from master
2015-03-31 21:16:26 -04:00
Tim Graham
7b9f7b6670 [1.8.x] Fixed sessions test on Python 3.5; refs #23763.
SimpleCookie.__repr__() changed in
https://hg.python.org/cpython/rev/88e1151e8e02

Backport of 4e59156c10d36eeb1e6fced4dff0f11157f68264 from master
2015-03-31 08:41:31 -04:00
Tim Graham
793ecf6db7 [1.8.x] Documented jinja2 install requirement.
Backport of 56286542dbb7d1cca253b25de0eb3eb4392ff271 from master
2015-03-31 07:45:02 -04:00
Andriy Sokolovskiy
121c5f7d5b [1.8.x] Removed duplicate attribute in MySQL DatabaseSchemaEditor.
Backport of 29b4a3f513f412fb4a987b777b61b596c09d217e from master
2015-03-30 19:24:06 -04:00
Jorge Barata González
2bddc74b42 [1.8.x] Fixed #15590 -- Documented how the path of a FileField can be changed.
Thanks simon29 for report, and freakboy3742, floledermann,
jacob, claudep and collinanderson for discussing the task.

Backport of 931a340f1feca05b7a9f95efb9a3ba62b93b37f9 from master
2015-03-30 10:39:14 -04:00
Christopher Luc
c4e8f21a9c [1.8.x] Fixed #24281 -- Improved docs for timezone handling for auto_now and auto_now_add
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.

Backport of 8119876d4a533fbc2ba4d1c30eaddbcc28119488 from master
2015-03-29 23:38:51 +02:00
Tim Graham
c0102dc7ff [1.8.x] Fixed skipping of gis_tests when dependencies not installed.
Backport of ba1665ed75264e57b7bc6cd7606e072ad3050a3b from master
2015-03-28 09:39:49 -04:00
Tim Graham
a70dea2c06 [1.8.x] Fixed #24541 -- Clarified ModelFormSet's handling of initial data.
Backport of 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 from master
2015-03-28 08:59:50 -04:00
Tim Graham
b0846a040e [1.8.x] Fixed syntax highlighting in docs/topics/auth/default.txt
Backport of 3e132406e3a95b3fe54e75129013e10bf3e9e86a from master
2015-03-28 07:51:37 -04:00
SaeX
6f69e77a9e [1.8.x] Fixed typo in docs/topics/forms/modelforms.txt
Backport of 19e41a9799079ddae3ba94f95d25577ab4232037 from master
2015-03-28 07:40:54 -04:00
Moritz Sichert
44a05a8a91 [1.8.x] Fixed #24469 -- Refined escaping of Django's form elements in non-Django templates.
Backport of 1f2abf784a9fe550959de242d91963b2ad6f7e9c from master
2015-03-27 20:01:41 -04:00
Tim Graham
6a2f46f238 [1.8.x] Fixed #24519 -- Clarified location of templates directory in tutorial 2.
Backport of 2acf9d099d29f45c829ee0127e55b7cfdd201995 from master
2015-03-27 09:58:44 -04:00
Tim Graham
17c3a26ac2 [1.8.x] Added some missing newlines in docs/ref/validators.txt.
Backport of f4cc0c40a85a8cbba6d2e4cd3158070dfd8645a2 from master
2015-03-25 18:32:48 -04:00
David Seddon
ef61b69447 [1.8.x] Corrected typo in documentation
Backport of 0f6f80c2e7736ec4e2aa40287fe8c37ffff0a783 from master
2015-03-25 13:44:13 -04:00
Tim Graham
0dc986d1c8 [1.8.x] Fixed #24361 -- Clarified docs on reconfiguring logging.
Thanks Tuttle for the report and draft patch, and Carl Meyer for
help and review.

Backport of c633667da3605208ea5fc137f5322c599f48da69 from master
2015-03-24 12:26:25 -04:00
Tim Graham
b81ce2ed67 [1.8.x] Fixed #24532 -- Restored fallback support for allow_syncdb. 2015-03-24 10:33:50 -04:00
Matt Seymour
09933aef68 [1.8.x] Fixed #24501 -- Improved auth.decorators.user_passes_test() example.
Backport of fca14cd3f27a01f7ba1fe32ea9587fa75b85713a from master
2015-03-24 10:30:30 -04:00
Varun Sharma
8f5e8ab666 [1.8.x] Added test for LogEntry.get_edited_object(); refs #24244.
Backport of 74f8110e74927c231bfcd106fa28bf6e6dd034e6 from master
2015-03-23 08:52:32 -04:00
Bas Peschier
015a9b928a [1.8.x] Fixed #13525 -- Added tests and docs for nested parameters in URL patterns.
When reversing, only outer parameters are used if captured parameters are
nested. Added tests to check the edge cases and documentation for the
behavior with an example to avoid it.

Backport of 23a5d64f40b0f4a3fbfef7427ca793cb1df1034e from master
2015-03-23 08:43:58 -04:00
Tim Graham
ce6062dbd9 [1.8.x] Fixed backport of refs #24485 tests. 2015-03-22 16:14:15 -04:00
Iacopo Spalletti
6da4ce5365 [1.8.x] Fixed #23814 -- Pointed localflavor documentation to external package
Edited localflavor doc to point to the external package documentation,
leaving just the 'How to migrate' section in Django.

Backport of 87fed9444033533ad7105c4b1e4ffc5d7854a2c6 from master.
2015-03-22 15:36:44 +01:00
Josh Smeaton
e654123f7f Fixed #24485 -- Allowed combined expressions to set output_field 2015-03-22 17:41:12 +11:00
Josh Smeaton
3a1886d111 [1.8.x] Fixed #24508 -- Made annotations commutative
Backport of 127b3873d03704f77428b984de022664b268314e from master
2015-03-22 17:35:22 +11:00
Pakal
dc2cff5fcb [1.8.x] Fixed #24500 -- Fixed makemessages encoding problems retrieving gettext version.
Backport of 53c2cf1e7b3f1c9a7794fcc5c4669145f351b2fa from master
2015-03-21 09:10:01 -04:00
Claude Paroz
8e4b0d6010 [1.8.x] Fixed #24515 -- Fixed DjangoTranslation plural handling
Backport of 9e83f30cd31 from master.
2015-03-21 10:29:22 +01:00
David Seddon
744d9a10ef [1.8.x] Refs #14645 -- Documented bug with exclude() and multi-value relations
Backport of 6770b7ecd208a0746f181e54202fb829460c6490 from master
2015-03-20 17:51:57 -04:00
Claude Paroz
5da3153d56 [1.8.x] Fixed #23520 -- Explained that custom plural forms should be avoided
Thanks aruseni for the report.
Backport of 556eb67701 from master.
2015-03-20 20:46:02 +01:00
Tim Graham
5cd551409e [1.8.x] Fixed #24503 -- Added docs on LANGUAGE_CODE fallback change in 1.8.
Thanks Pakal and Claude.

Backport of 8219eabbba6e8f6d8569792615935011b5cf0771 from master
2015-03-20 12:10:18 -04:00
Jon Walsh
2b267a70a1 [1.8.x] Fixed typo in escape_filter() docstring.
Backport of 8d90489fe0049049f1f13c737ac51a24abf1efc3 from master
2015-03-19 07:22:21 -04:00
Tim Graham
e3c9412d86 [1.8.x] Bumped version to 1.8 rc 1. 1.8c1 2015-03-18 19:23:22 -04:00
Tim Graham
770427c289 [1.8.x] Made is_safe_url() reject URLs that start with control characters.
This is a security fix; disclosure to follow shortly.
2015-03-18 19:23:21 -04:00
Tim Graham
5447709a57 [1.8.x] Fixed an infinite loop possibility in strip_tags().
This is a security fix; disclosure to follow shortly.
2015-03-18 19:23:21 -04:00